/**
 * MAY88 Theme Styles
 * @package MAY88
 * @version 1.0.0
 */

/* 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: #f5f5f5;
}

a {
    text-decoration: none;
    color: inherit;
    transition: color 0.3s ease;
}

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

ul,
ol {
    list-style: none;
}

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

/* Header */
.site-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.header-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.site-branding .logo-text {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    text-transform: uppercase;
    letter-spacing: 2px;
}

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

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

.nav-menu a {
    color: #fff;
    font-weight: 500;
    padding: 8px 0;
    position: relative;
    text-transform: capitalize;
    font-size: 14px;
}

.nav-menu a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #ffd700;
    transition: width 0.3s ease;
}

.nav-menu a:hover::after {
    width: 100%;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    padding: 10px;
}

.menu-icon {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    position: relative;
}

.menu-icon::before,
.menu-icon::after {
    content: '';
    position: absolute;
    width: 25px;
    height: 3px;
    background: #fff;
    left: 0;
}

.menu-icon::before {
    top: -8px;
}

.menu-icon::after {
    top: 8px;
}

/* Header Actions */
.header-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-block;
    padding: 10px 25px;
    border-radius: 5px;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 13px;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
}

.btn-login {
    background: transparent;
    color: #fff;
    border: 2px solid #ffd700;
}

.btn-login:hover {
    background: #ffd700;
    color: #1a1a2e;
}

.btn-register {
    background: #ffd700;
    color: #1a1a2e;
}

.btn-register:hover {
    background: #ffed4e;
}

/* 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: 42px;
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.3;
    text-transform: capitalize;
}

.hero-description {
    font-size: 18px;
    max-width: 800px;
    margin: 0 auto 30px;
    color: #ccc;
}

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

.btn-primary {
    background: #ffd700;
    color: #1a1a2e;
    padding: 15px 40px;
    font-size: 16px;
}

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

.btn-secondary {
    background: transparent;
    color: #fff;
    border: 2px solid #fff;
    padding: 15px 40px;
    font-size: 16px;
}

.btn-secondary:hover {
    background: #fff;
    color: #1a1a2e;
}

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

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-title {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: capitalize;
}

.section-subtitle {
    font-size: 18px;
    color: #666;
}

/* Brand Section */
.brand-section {
    background: #fff;
}

.brand-text p {
    font-size: 16px;
    color: #555;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* Advantages Section */
.advantages-section {
    background: #f9f9f9;
}

.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.advantage-item {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.advantage-item:hover {
    transform: translateY(-5px);
}

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

.advantage-desc {
    color: #666;
    line-height: 1.6;
}

/* Products Section */
.products-section {
    background: #fff;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.product-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px 30px;
    border-radius: 10px;
    text-align: center;
}

.product-title {
    font-size: 22px;
    color: #ffd700;
    margin-bottom: 15px;
    font-weight: bold;
}

.product-desc {
    color: #ccc;
    line-height: 1.6;
}

/* CTA Section */
.cta-section {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    text-align: center;
}

.cta-title {
    font-size: 36px;
    color: #1a1a2e;
    margin-bottom: 20px;
    font-weight: bold;
}

.cta-description {
    font-size: 18px;
    color: #333;
    max-width: 700px;
    margin: 0 auto 30px;
}

.btn-cta {
    background: #1a1a2e;
    color: #fff;
    padding: 15px 50px;
    font-size: 18px;
}

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

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

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

.faq-item {
    background: #fff;
    padding: 30px;
    margin-bottom: 20px;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.faq-question {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: bold;
}

.faq-answer {
    color: #666;
    line-height: 1.8;
}

/* Page Header */
.page-header {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 60px 0;
    text-align: center;
}

.page-title {
    font-size: 36px;
    margin-bottom: 15px;
    font-weight: bold;
    text-transform: capitalize;
}

.breadcrumb {
    color: #ccc;
    font-size: 14px;
}

.breadcrumb a {
    color: #ffd700;
}

.breadcrumb .separator {
    margin: 0 10px;
}

/* Guide Sections */
.guide-section {
    background: #fff;
    padding: 60px 0;
}

.guide-section:nth-child(even) {
    background: #f9f9f9;
}

.guide-content {
    max-width: 900px;
    margin: 0 auto;
}

.guide-intro {
    font-size: 16px;
    color: #555;
    margin-bottom: 30px;
    line-height: 1.8;
}

.guide-steps {
    margin-bottom: 40px;
}

.step-item {
    display: flex;
    gap: 20px;
    margin-bottom: 30px;
    padding: 25px;
    background: #f9f9f9;
    border-radius: 10px;
}

.step-number {
    width: 50px;
    height: 50px;
    background: #ffd700;
    color: #1a1a2e;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    font-weight: bold;
    flex-shrink: 0;
}

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

.step-content p {
    color: #666;
    line-height: 1.6;
}

.guide-tips {
    background: #fff3cd;
    padding: 25px;
    border-radius: 10px;
    border-left: 4px solid #ffd700;
}

.tips-title {
    font-size: 18px;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: bold;
}

.tips-list {
    list-style: disc;
    padding-left: 20px;
}

.tips-list li {
    margin-bottom: 10px;
    color: #555;
    line-height: 1.6;
}

/* Payment & Method Cards */
.payment-methods,
.methods-grid,
.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.method-card,
.category-card {
    background: #fff;
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.method-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #1a1a2e;
    margin-bottom: 20px;
}

.method-title,
.category-title {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 15px;
    font-weight: bold;
}

.method-desc {
    color: #666;
    line-height: 1.6;
    margin-bottom: 15px;
}

.method-contact a,
.hotline-number {
    color: #ffd700;
    font-weight: bold;
    font-size: 16px;
}

.status-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 12px;
    font-weight: bold;
}

.status-badge.online {
    background: #28a745;
    color: #fff;
}

.category-services {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 15px;
}

.category-services li {
    margin-bottom: 8px;
    color: #555;
}

.category-note {
    color: #666;
    font-size: 14px;
    line-height: 1.5;
}

/* Promo Styles */
.promo-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.promo-item {
    background: #fff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
    position: relative;
}

.promo-item.featured {
    border: 2px solid #ffd700;
    transform: scale(1.05);
}

.promo-badge {
    position: absolute;
    top: -10px;
    right: 20px;
    background: #dc3545;
    color: #fff;
    padding: 5px 20px;
    border-radius: 20px;
    font-weight: bold;
    font-size: 12px;
}

.promo-title {
    font-size: 24px;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: bold;
}

.promo-value {
    font-size: 28px;
    color: #ffd700;
    font-weight: bold;
    margin-bottom: 15px;
}

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

.promo-terms {
    list-style: disc;
    padding-left: 20px;
    margin-bottom: 25px;
}

.promo-terms li {
    margin-bottom: 8px;
    color: #555;
    font-size: 14px;
}

.btn-promo {
    background: #ffd700;
    color: #1a1a2e;
    width: 100%;
    text-align: center;
}

.btn-promo:hover {
    background: #ffed4e;
}

/* Timeline */
.timeline {
    max-width: 800px;
    margin: 0 auto;
}

.timeline-item {
    display: flex;
    gap: 30px;
    margin-bottom: 40px;
    position: relative;
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: 60px;
    top: 50px;
    width: 2px;
    height: calc(100% + 20px);
    background: #ffd700;
}

.timeline-item:last-child::before {
    display: none;
}

.timeline-year {
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    color: #1a1a2e;
    flex-shrink: 0;
}

.timeline-content h3 {
    font-size: 20px;
    color: #1a1a2e;
    margin-bottom: 10px;
    font-weight: bold;
}

.timeline-content p {
    color: #666;
    line-height: 1.6;
}

/* VIP Section */
.vip-levels {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.vip-item {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    color: #fff;
    padding: 40px;
    border-radius: 10px;
    text-align: center;
}

.vip-level {
    font-size: 28px;
    color: #ffd700;
    margin-bottom: 10px;
    font-weight: bold;
}

.vip-requirement {
    font-size: 16px;
    color: #ccc;
    margin-bottom: 20px;
}

.vip-benefits {
    list-style: none;
    text-align: left;
}

.vip-benefits li {
    padding: 10px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    color: #ccc;
}

.vip-benefits li:last-child {
    border-bottom: none;
}

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

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

.footer-logo {
    font-size: 28px;
    font-weight: bold;
    color: #ffd700;
    display: block;
    margin-bottom: 20px;
}

.footer-description {
    color: #aaa;
    line-height: 1.8;
}

.footer-title {
    font-size: 18px;
    color: #ffd700;
    margin-bottom: 20px;
    font-weight: bold;
}

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

.footer-menu a {
    color: #aaa;
    transition: color 0.3s ease;
}

.footer-menu a:hover {
    color: #ffd700;
}

.contact-list li {
    color: #aaa;
    margin-bottom: 10px;
}

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

.footer-seo-text {
    margin-bottom: 20px;
}

.footer-seo-text p {
    color: #888;
    font-size: 14px;
    line-height: 1.6;
}

.copyright {
    text-align: center;
    color: #666;
    font-size: 14px;
}

/* Responsive */
@media (max-width: 768px) {
    .header-wrapper {
        flex-wrap: wrap;
    }

    .menu-toggle {
        display: block;
        order: 3;
    }

    .main-navigation {
        order: 3;
        width: 100%;
        margin-top: 15px;
    }

    .nav-menu {
        display: none;
        flex-direction: column;
        gap: 10px;
        background: rgba(0, 0, 0, 0.2);
        padding: 20px;
        border-radius: 5px;
    }

    .nav-menu.active {
        display: flex;
    }

    .header-actions {
        order: 2;
    }

    .hero-title {
        font-size: 28px;
    }

    .hero-description {
        font-size: 16px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 28px;
    }

    .advantages-grid,
    .products-grid,
    .promo-grid {
        grid-template-columns: 1fr;
    }

    .footer-wrapper {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .timeline-item {
        flex-direction: column;
        gap: 15px;
    }

    .timeline-item::before {
        display: none;
    }

    .step-item {
        flex-direction: column;
        gap: 15px;
    }

    .promo-item.featured {
        transform: none;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .hero-section {
        padding: 60px 0;
    }

    section {
        padding: 50px 0;
    }

    .btn {
        padding: 8px 20px;
        font-size: 12px;
    }

    .page-title {
        font-size: 24px;
    }
}

/* Image Styles */
.hero-image,
.brand-image,
.products-image,
.cta-image,
.faq-image,
.faq-bottom-image,
.intro-image {
    margin: 30px 0;
    text-align: center;
}

.hero-image img,
.brand-image img,
.products-image img,
.cta-image img,
.faq-image img,
.faq-bottom-image img,
.intro-image img {
    max-width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-image img {
    max-width: 600px;
    margin: 0 auto;
}

.brand-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 50px;
    align-items: start;
}

@media (max-width: 768px) {
    .brand-content {
        grid-template-columns: 1fr;
    }
    
    .hero-image img,
    .brand-image img,
    .products-image img,
    .cta-image img,
    .faq-image img,
    .faq-bottom-image img,
    .intro-image img {
        max-width: 100%;
    }
}

/* Screen reader text */
.screen-reader-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}
