/*
 * May88 Theme Styles
 * =================
 */

/* Reset & Base */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

a {
    text-decoration: none;
    color: inherit;
}

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 6px;
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 14px;
}

.btn-primary {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 107, 53, 0.4);
}

.btn-outline {
    background: transparent;
    color: #ff6b35;
    border: 2px solid #ff6b35;
}

.btn-outline:hover {
    background: #ff6b35;
    color: #fff;
}

.btn-lg {
    padding: 16px 32px;
    font-size: 16px;
}

/* Header */
.site-header {
    background: #fff;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.site-title {
    font-size: 28px;
    font-weight: 800;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.main-navigation {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    gap: 30px;
}

.nav-menu a {
    font-weight: 600;
    color: #333;
    transition: color 0.3s;
    font-size: 14px;
}

.nav-menu a:hover {
    color: #ff6b35;
}

.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.menu-toggle span {
    width: 25px;
    height: 3px;
    background: #333;
    transition: all 0.3s;
}

.header-actions {
    display: flex;
    gap: 10px;
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #fff;
    padding: 100px 0;
    text-align: center;
}

.hero-title {
    font-size: 48px;
    font-weight: 800;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 20px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-cta {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stats Section */
.stats-section {
    background: #fff;
    padding: 60px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
    text-align: center;
}

.stat-item {
    padding: 20px;
}

.stat-number {
    font-size: 36px;
    font-weight: 800;
    color: #ff6b35;
    margin-bottom: 10px;
}

.stat-label {
    color: #666;
    font-size: 14px;
}

/* Section Common */
.section {
    padding: 80px 0;
}

.section-title {
    font-size: 36px;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #1a1a2e;
}

.section-subtitle {
    text-align: center;
    color: #666;
    margin-top: -40px;
    margin-bottom: 50px;
}

/* Games Section */
.games-section {
    background: #f8f9fa;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
}

.game-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
}

.game-icon {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    font-size: 32px;
    color: #fff;
}

.game-title {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 15px;
    color: #1a1a2e;
}

.game-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    background: #fff;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-item {
    text-align: center;
    padding: 20px;
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 24px;
    color: #ff6b35;
}

.feature-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #1a1a2e;
}

.feature-desc {
    color: #666;
    font-size: 14px;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 80px 0;
    text-align: center;
}

.cta-title {
    font-size: 36px;
    font-weight: 700;
    margin-bottom: 20px;
}

.cta-text {
    font-size: 18px;
    margin-bottom: 30px;
    opacity: 0.9;
}

.cta-btn {
    background: #fff;
    color: #ff6b35;
    font-weight: 700;
}

.cta-btn:hover {
    background: #f8f9fa;
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-section {
    background: #f8f9fa;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: #fff;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.faq-question {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    color: #1a1a2e;
}

.faq-answer {
    padding: 0 20px 20px;
    color: #666;
    display: none;
}

.faq-item.active .faq-answer {
    display: block;
}

.faq-toggle {
    font-size: 20px;
    transition: transform 0.3s;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

/* Footer */
.site-footer {
    background: #1a1a2e;
    color: #fff;
    padding: 60px 0 30px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-desc {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-nav h4,
.footer-links h4,
.footer-support h4 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
    color: #fff;
}

.footer-menu li,
.footer-links li {
    margin-bottom: 10px;
}

.footer-menu a,
.footer-links a {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    transition: color 0.3s;
}

.footer-menu a:hover,
.footer-links a:hover {
    color: #ff6b35;
}

.footer-support p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
    line-height: 1.8;
}

.footer-bottom {
    border-top: 1px solid rgba(255,255,255,0.1);
    padding-top: 30px;
}

.copyright {
    text-align: center;
    color: rgba(255,255,255,0.5);
    font-size: 14px;
    margin-bottom: 15px;
}

.seo-text {
    text-align: center;
    color: rgba(255,255,255,0.4);
    font-size: 12px;
    line-height: 1.6;
    max-width: 900px;
    margin: 0 auto;
}

/* Page Content */
.page-content {
    padding: 60px 0;
    background: #fff;
}

.page-title {
    font-size: 36px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 30px;
    text-align: center;
}

.page-body {
    max-width: 800px;
    margin: 0 auto;
}

.page-body h2 {
    font-size: 24px;
    font-weight: 600;
    color: #1a1a2e;
    margin: 40px 0 20px;
}

.page-body h3 {
    font-size: 20px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
}

.page-body p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.page-body ul,
.page-body ol {
    margin-left: 20px;
    margin-bottom: 20px;
}

.page-body li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Content Section */
.content-section {
    padding: 60px 0;
}

.content-section:nth-child(even) {
    background: #f8f9fa;
}

.content-section:nth-child(odd) {
    background: #fff;
}

.content-section h2 {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 25px;
}

.content-section h3 {
    font-size: 22px;
    font-weight: 600;
    color: #333;
    margin: 30px 0 15px;
}

.content-section p {
    color: #666;
    line-height: 1.8;
    margin-bottom: 20px;
}

.content-section ul {
    margin-left: 20px;
    margin-bottom: 20px;
}

.content-section li {
    color: #666;
    line-height: 1.8;
    margin-bottom: 10px;
}

/* Steps */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.step-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    margin: 0 auto 15px;
}

.step-title {
    font-weight: 600;
    color: #1a1a2e;
    margin-bottom: 10px;
}

.step-desc {
    font-size: 14px;
    color: #666;
}

/* Promo Cards */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin: 40px 0;
}

.promo-card {
    background: #fff;
    border-radius: 12px;
    padding: 30px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.08);
    transition: transform 0.3s;
}

.promo-card:hover {
    transform: translateY(-5px);
}

.promo-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff6b35 0%, #f7931e 100%);
    color: #fff;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: 600;
    margin-bottom: 15px;
}

.promo-title {
    font-size: 20px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 15px;
}

.promo-desc {
    color: #666;
    font-size: 14px;
    line-height: 1.6;
    margin-bottom: 20px;
}

.promo-value {
    font-size: 28px;
    font-weight: 800;
    color: #ff6b35;
}

/* Methods Grid */
.methods-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin: 30px 0;
}

.method-item {
    background: #fff;
    padding: 25px;
    border-radius: 8px;
    text-align: center;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
}

.method-icon {
    width: 50px;
    height: 50px;
    background: rgba(255, 107, 53, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 15px;
    font-size: 20px;
    color: #ff6b35;
}

.method-name {
    font-weight: 600;
    color: #1a1a2e;
}

/* Responsive */
@media (max-width: 768px) {
    .header-inner {
        height: 60px;
    }
    
    .menu-toggle {
        display: flex;
    }
    
    .nav-menu {
        display: none;
        position: absolute;
        top: 60px;
        left: 0;
        right: 0;
        background: #fff;
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 4px 10px rgba(0,0,0,0.1);
        gap: 15px;
    }
    
    .nav-menu.active {
        display: flex;
    }
    
    .header-actions {
        display: none;
    }
    
    .hero-section {
        padding: 60px 0;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .games-grid,
    .features-grid,
    .promo-grid,
    .methods-grid {
        grid-template-columns: 1fr;
    }
    
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .section {
        padding: 60px 0;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .page-title {
        font-size: 28px;
    }
}

@media (max-width: 480px) {
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .hero-cta {
        flex-direction: column;
        align-items: center;
    }
    
    .btn {
        width: 100%;
        max-width: 280px;
    }
}
