* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    scroll-behavior: smooth;
}

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

/* Header Styles */
.header {
    background: #161c24;
    padding: 0.8rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.header.scrolled {
    padding: 0.5rem 0;
    background: #161c24;
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo {
    display: flex;
    align-items: center;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.logo:hover {
    transform: scale(1.05);
}

.logo svg {
    height: 40px;
    width: auto;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.2));
}

.nav-list {
    display: flex;
    list-style: none;
    gap: 0.5rem;
    align-items: center;
}

.nav-list a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.7rem 1.2rem;
    border-radius: 25px;
    position: relative;
    font-size: 0.95rem;
}

.nav-list a:hover {
    background-color: rgba(255,255,255,0.15);
    color: #fff;
    transform: translateY(-1px);
}

.nav-list a.active {
    background-color: rgba(255,255,255,0.2);
    color: #fff;
}

/* Header Buttons */
.header-buttons {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.header-btn {
    padding: 8px 20px;
    border: none;
    border-radius: 25px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.login-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.3);
}

.login-btn:hover {
    background: rgba(255,255,255,0.1);
    border-color: rgba(255,255,255,0.6);
    transform: translateY(-1px);
}

.register-btn {
    background: #00ab55;
    color: white;
    border: 2px solid transparent;
}

.register-btn:hover {
    background: linear-gradient(45deg, #ff5252, #e55039);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #161c24 0%, #212b36 100%);
    color: white;
    padding: 150px 0 100px;
    text-align: center;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

/* Hero Decorative Images */
.hero-decoration {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    width: 250px;
    height: 400px;
    z-index: 1;
    pointer-events: none;
}

.hero-decoration svg {
    width: 100%;
    height: 100%;
}

.hero-decoration-left {
    left: 20px;
    animation: floatLeft 6s ease-in-out infinite;
}

.hero-decoration-right {
    right: 20px;
    animation: floatRight 6s ease-in-out infinite reverse;
}

/* Floating animations */
@keyframes floatLeft {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-60%) translateX(10px) rotate(2deg);
    }
    50% {
        transform: translateY(-40%) translateX(-5px) rotate(-1deg);
    }
    75% {
        transform: translateY(-55%) translateX(8px) rotate(1deg);
    }
}

@keyframes floatRight {
    0%, 100% {
        transform: translateY(-50%) translateX(0) rotate(0deg);
    }
    25% {
        transform: translateY(-45%) translateX(-8px) rotate(-2deg);
    }
    50% {
        transform: translateY(-55%) translateX(5px) rotate(1deg);
    }
    75% {
        transform: translateY(-40%) translateX(-10px) rotate(-1deg);
    }
}

.hero .container {
    position: relative;
    z-index: 2;
}

.hero-content h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    font-weight: bold;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.cta-button {
    background: #01ab55;
    color: white;
    padding: 15px 40px;
    font-size: 1.2rem;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    font-weight: bold;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(255, 107, 107, 0.4);
}

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

.section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 2rem;
    color: #333;
}

.section p {
    max-width: 800px;
    margin: 0 auto 2rem;
    color: #666;
    font-size: 1.1rem;
    line-height: 1.7;
}

/* Section Content Layout */
.section-content {
    display: grid;
    grid-template-columns: 100px 1fr 100px;
    align-items: center;
    gap: 2rem;
    max-width: 1000px;
    margin: 40px auto;
}

.section-text {
    text-align: center;
}

.section-text p {
    margin: 0 0 1.5rem;
    text-align: left;
}

.section-text p:last-child {
    margin-bottom: 0;
}

/* Section Icons */
.section-icon {
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: float 4s ease-in-out infinite;
}

.section-icon svg {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.1));
}

.section-icon-left {
    animation-delay: 0s;
}

.section-icon-right {
    animation-delay: 2s;
}

/* Floating animation for section icons */
@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.bg-light {
    background-color: #f8f9fa;
}

/* Registration Section */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.step {
    text-align: center;
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

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

.step-number {
    width: 60px;
    height: 60px;
    background: #01ab55;
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

.step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Login Section */
.login-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.login-step {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.login-step h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

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

/* Games Section */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.game-category {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.game-category:hover {
    transform: translateY(-5px);
}

.game-category h3 {
    font-size: 1.4rem;
    margin-bottom: 1rem;
    color: #333;
}

.game-category p {
    color: #666;
    line-height: 1.6;
}

/* Mirrors Section */
.mirrors-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.mirror-item {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
    border: 2px solid transparent;
}

.mirror-item:hover {
    transform: translateY(-5px);
    border-color: #00ab55;
}

.mirror-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.mirror-url {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    font-family: 'Courier New', monospace;
    font-size: 1.1rem;
    color: #00ab55;
    font-weight: bold;
    margin-bottom: 1rem;
    border: 1px solid #e9ecef;
    cursor: pointer;
    transition: all 0.3s ease;
}

.mirror-url:hover {
    background: #e8f5e8;
    border-color: #00ab55;
}

.mirror-status {
    display: inline-block;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.mirror-status.active {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.mirror-status.inactive {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Support Section */
.support-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.support-item {
    padding: 2rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    text-align: center;
}

.support-item h3 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
    color: #333;
}

.support-item p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 2rem;
}

.support-button {
    background: #01ab55;
    color: white;
    padding: 12px 25px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.3s ease;
    font-weight: 500;
}

.support-button:hover {
    transform: translateY(-2px);
}

/* FAQ Section */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    padding: 2rem;
    margin-bottom: 1rem;
    border-radius: 15px;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #333;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: #333;
    color: white;
    text-align: center;
    padding: 2rem 0;
}

/* Tablet Styles */
@media (max-width: 1024px) {
    .header .container {
        padding: 0 1.5rem;
    }

    .nav-list {
        gap: 0.3rem;
    }

    .nav-list a {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
}

/* Mobile Styles */
@media (max-width: 768px) {
    .header .container {
        padding: 0 1rem;
    }

    .mobile-menu-toggle {
        display: flex;
    }

    .header-buttons {
        display: none;
    }

    .nav {
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: #161c24;
        backdrop-filter: blur(15px);
        display: none;
        padding: 1rem 0 0;
        z-index: 999;
        box-shadow: 0 8px 32px rgba(0,0,0,0.2);
    }

    .mobile-nav-buttons {
        display: none;
    }

    .nav.active .mobile-nav-buttons {
        display: flex;
    }

    .nav.active {
        display: block;
    }

    .nav-list {
        flex-direction: column;
        gap: 0;
        padding: 0 1rem;
    }

    .nav-list li {
        border-bottom: 1px solid rgba(255,255,255,0.1);
    }

    .nav-list li:last-child {
        border-bottom: none;
    }

    .nav-list a {
        display: block;
        padding: 1rem 1.5rem;
        border-radius: 0;
        transition: all 0.3s ease;
    }

    .nav-list a:hover {
        background-color: rgba(255,255,255,0.1);
        transform: translateX(5px);
    }

    .logo svg {
        height: 35px;
    }

    /* Hide decorative images on tablets */
    .hero-decoration {
        width: 250px;
        height: 400px;
    }

    .hero-decoration-left {
        left: 10px;
    }

    .hero-decoration-right {
        right: 10px;
    }

    /* Adapt section content for tablets */
    .section-content {
        grid-template-columns: 80px 1fr 80px;
        gap: 1.5rem;
    }

    .section-icon {
        width: 60px;
        height: 60px;
    }

    .hero-content h1 {
        font-size: 2.5rem;
    }

    .hero-content p {
        font-size: 1.1rem;
    }

    .section h2 {
        font-size: 2rem;
    }

    .steps {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .mirrors-list {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .mirror-item {
        padding: 1.5rem;
    }

    .mirror-url {
        font-size: 1rem;
        padding: 0.8rem;
    }

    .support-content {
        grid-template-columns: 1fr;
    }

    .login-info {
        grid-template-columns: 1fr;
    }
}

/* Mobile navigation buttons */
.mobile-nav-buttons {
    display: none;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 1rem 1rem;
    border-top: 1px solid rgba(255,255,255,0.15);
    margin-top: 1rem;
}

.mobile-btn {
    padding: 12px 24px;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    flex: 1;
    max-width: 170px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-mobile-btn {
    background: transparent;
    color: white;
    border: 2px solid rgba(255,255,255,0.4);
}

.login-mobile-btn:hover {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.7);
    transform: translateY(-1px);
}

.register-mobile-btn {
    background: #00ab55;
    color: white;
    border: 2px solid transparent;
}

.register-mobile-btn:hover {
    background: linear-gradient(45deg, #ff5252, #e55039);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.4);
}

@media (max-width: 480px) {
    .hero {
        padding: 110px 0 80px;
    }

    .header .container {
        padding: 0 1rem;
    }

    .logo svg {
        height: 32px;
    }

    .mobile-btn {
        font-size: 0.85rem;
        padding: 10px 20px;
    }



    /* Stack section content vertically on mobile */
    .section-content {
        grid-template-columns: 1fr;
        grid-template-rows: auto auto auto;
        gap: 1rem;
        text-align: center;
    }

    .section-icon {
        width: 50px;
        height: 50px;
        margin: 0 auto;
    }

    .section-text p {
        text-align: center;
    }

    .hero-content h1 {
        font-size: 2rem;
    }

    .section {
        padding: 60px 0;
    }

    .cta-button {
        padding: 12px 30px;
        font-size: 1rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .game-category {
        padding: 1.5rem;
    }
}


/* Animation for mobile menu toggle */
.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(-45deg) translate(-5px, 6px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(45deg) translate(-5px, -6px);
}