        :root {
            --mc-aqua: #55FFFF;
            --mc-green: #55FF55;
            --mc-dark-green: #0f5132;
            --mc-darker-green: #0a3c3f;
            --mc-black: #050509;
            --mc-gray: #1a1a26;
            --mc-gold: #FFD700;
            --mc-red: #FF5555;
            --mc-blue: #5555FF;
            --transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
            --transition-slow: all 0.8s cubic-bezier(0.175, 0.885, 0.32, 1.275);
        }

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            font-family: Vazir, Tahoma, sans-serif;
        }

        html {
            scroll-behavior: smooth;
        }

        body {
            background: linear-gradient(135deg, var(--mc-darker-green) 0%, var(--mc-black) 70%);
            color: #fff;
            line-height: 1.6;
            overflow-x: hidden;
            background-image: 
                url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h60v60H0z' fill='%230a3c3f'/%3E%3Cpath d='M0 0l60 60M60 0L0 60' stroke='%230f5132' stroke-width='0.5'/%3E%3C/svg%3E");
            position: relative;
        }

        body::before {
            content: '';
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 30%, rgba(15, 81, 50, 0.3) 0%, transparent 50%),
                        radial-gradient(circle at 80% 70%, rgba(10, 60, 63, 0.3) 0%, transparent 50%);
            pointer-events: none;
            z-index: -1;
        }

        #loading {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: var(--mc-black);
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            z-index: 9999;
            transition: opacity 0.8s ease-out;
        }
#hero {
    background-image: url('aks.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

#hero::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    z-index: 0;
}
        .minecraft-loading {
            width: 120px;
            height: 120px;
            position: relative;
            margin-bottom: 30px;
        }

        .block {
            position: absolute;
            width: 40px;
            height: 40px;
            background: var(--mc-green);
            border: 3px solid #000;
            animation: blockLoad 2s infinite;
            box-shadow: 0 0 15px var(--mc-green);
        }

        .block:nth-child(1) { top: 0; left: 0; animation-delay: 0s; }
        .block:nth-child(2) { top: 0; right: 0; animation-delay: 0.2s; background: var(--mc-aqua); box-shadow: 0 0 15px var(--mc-aqua); }
        .block:nth-child(3) { bottom: 0; left: 0; animation-delay: 0.4s; background: var(--mc-dark-green); box-shadow: 0 0 15px var(--mc-dark-green); }
        .block:nth-child(4) { bottom: 0; right: 0; animation-delay: 0.6s; background: var(--mc-gold); box-shadow: 0 0 15px var(--mc-gold); }

        @keyframes blockLoad {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.2) rotate(180deg); }
        }

        .loading-text {
            font-size: 1.2rem;
            color: var(--mc-green);
            text-shadow: 0 0 10px var(--mc-green);
            letter-spacing: 2px;
        }

        .progress-bar {
            width: 200px;
            height: 10px;
            background: rgba(255, 255, 255, 0.1);
            border-radius: 5px;
            margin-top: 20px;
            overflow: hidden;
            position: relative;
        }

        .progress {
            width: 0%;
            height: 100%;
            background: linear-gradient(90deg, var(--mc-green), var(--mc-aqua));
            border-radius: 5px;
            transition: width 0.5s ease;
        }

        #main-header {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            padding: 0.8rem 2rem;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            background: rgba(5, 5, 9, 0.95);
            backdrop-filter: blur(10px);
            border-bottom: 2px solid var(--mc-green);
            box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
            transition: var(--transition);
        }

        #main-header.hidden {
            transform: translateY(-100%);
        }

        .logo {
            display: flex;
            align-items: center;
            gap: 12px;
            font-size: 1.8rem;
            font-weight: bold;
            color: #fff;
            text-shadow: 0 0 15px var(--mc-green);
        }

        .logo-icon {
            color: var(--mc-green);
            font-size: 2.2rem;
            animation: spin 10s linear infinite;
        }

        @keyframes spin {
            0% { transform: rotate(0deg); }
            100% { transform: rotate(360deg); }
        }

        .logo span {
            color: var(--mc-aqua);
        }

        .logo .accent {
            color: var(--mc-green);
            position: relative;
        }

        .logo .accent::after {
            content: '';
            position: absolute;
            bottom: -5px;
            left: 0;
            width: 100%;
            height: 3px;
            background: var(--mc-green);
            border-radius: 2px;
            box-shadow: 0 0 10px var(--mc-green);
        }

        .nav-links {
            display: flex;
            gap: 1.5rem;
        }

        .nav-links a {
            color: #fff;
            text-decoration: none;
            padding: 0.7rem 1.2rem;
            border: 2px solid transparent;
            border-radius: 8px;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            font-size: 1rem;
            font-weight: 500;
        }

        .nav-links a::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(85, 255, 85, 0.2), transparent);
            transition: 0.5s;
        }

        .nav-links a:hover {
            color: #000;
            background: var(--mc-green);
            border-color: var(--mc-green);
            transform: translateY(-3px);
            box-shadow: 0 5px 15px rgba(85, 255, 85, 0.4);
        }

        .nav-links a:hover::before {
            left: 100%;
        }

        .nav-links a.active {
            background: rgba(85, 255, 85, 0.1);
            border-color: var(--mc-green);
            color: var(--mc-green);
            box-shadow: 0 0 15px rgba(85, 255, 85, 0.3);
        }

        #mobile-menu-btn {
            display: none;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 45px;
            height: 45px;
            background: var(--mc-green);
            border: 2px solid #000;
            border-radius: 8px;
            cursor: pointer;
            z-index: 1001;
            box-shadow: 0 0 10px var(--mc-green);
        }

        #mobile-menu-btn span {
            display: block;
            width: 25px;
            height: 3px;
            background: #000;
            margin: 3px 0;
            transition: var(--transition);
            border-radius: 2px;
        }

        #mobile-menu-btn.active span:nth-child(1) {
            transform: translateY(8px) rotate(45deg);
        }

        #mobile-menu-btn.active span:nth-child(2) {
            opacity: 0;
        }

        #mobile-menu-btn.active span:nth-child(3) {
            transform: translateY(-8px) rotate(-45deg);
        }

        #hero {
            min-height: 100vh;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            text-align: center;
            padding: 7rem 2rem 3rem;
            position: relative;
            overflow: hidden;
        }

        .hero-bg {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
        }

        .hero-bg::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 30%, rgba(15, 81, 50, 0.2) 0%, transparent 40%),
                        radial-gradient(circle at 80% 70%, rgba(10, 60, 63, 0.2) 0%, transparent 40%);
        }

        .hero-title {
            font-size: 4rem;
            margin-bottom: 1.5rem;
            text-shadow: 0 0 20px var(--mc-green);
            background: linear-gradient(45deg, var(--mc-green), var(--mc-aqua));
            -webkit-background-clip: text;
            background-clip: text;
            color: #ffffff;
            line-height: 1.2;
            font-weight: bold;
            position: relative;
            padding: 0 1rem;
        }

        .hero-subtitle {
            font-size: 1.5rem;
            margin-bottom: 2.5rem;
            max-width: 800px;
            padding: 0 1rem;
            line-height: 1.6;
            color: 00ffff;
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.5);
        }

        .ip-display {
            background: rgba(0, 0, 0, 0.7);
            padding: 1.5rem 2.5rem;
            border: 3px solid var(--mc-green);
            border-radius: 12px;
            font-size: 1.8rem;
            font-family: 'Courier New', monospace;
            margin-bottom: 2.5rem;
            display: flex;
            align-items: center;
            gap: 1.5rem;
            box-shadow: 0 0 25px rgba(85, 255, 85, 0.5);
            animation: pulse 2s infinite;
            flex-wrap: wrap;
            justify-content: center;
            backdrop-filter: blur(10px);
            position: relative;
            overflow: hidden;
        }

        .ip-display::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(85, 255, 85, 0.1), transparent);
            transform: rotate(45deg);
            animation: shine 3s linear infinite;
        }

        @keyframes pulse {
            0% { box-shadow: 0 0 20px rgba(85, 255, 85, 0.5); }
            50% { box-shadow: 0 0 30px rgba(85, 255, 85, 0.8); }
            100% { box-shadow: 0 0 20px rgba(85, 255, 85, 0.5); }
        }

        .copy-btn {
            background: var(--mc-green);
            color: #000;
            border: none;
            padding: 0.8rem 1.5rem;
            border-radius: 8px;
            cursor: pointer;
            font-weight: bold;
            transition: var(--transition);
            font-size: 1.1rem;
            box-shadow: 0 0 15px rgba(85, 255, 85, 0.7);
            position: relative;
            overflow: hidden;
        }

        .copy-btn:hover {
            background: var(--mc-aqua);
            transform: scale(1.05);
            box-shadow: 0 0 20px rgba(85, 255, 85, 0.9);
        }

        .copy-btn::before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
            transition: 0.5s;
        }

        .copy-btn:hover::before {
            left: 100%;
        }

        .server-stats {
            display: flex;
            gap: 2rem;
            margin-top: 3rem;
            flex-wrap: wrap;
            justify-content: center;
        }

        .stat {
            background: rgba(0, 0, 0, 0.7);
            padding: 1.2rem 2rem;
            border-radius: 10px;
            border: 2px solid var(--mc-green);
            text-align: center;
            min-width: 160px;
            backdrop-filter: blur(10px);
            box-shadow: 0 0 20px rgba(85, 255, 85, 0.3);
            transition: var(--transition);
            position: relative;
            overflow: hidden;
        }

        .stat:hover {
            transform: translateY(-5px);
            box-shadow: 0 0 25px rgba(85, 255, 85, 0.5);
            border-color: var(--mc-aqua);
        }

        .stat-value {
            font-size: 1.8rem;
            font-weight: bold;
            color: var(--mc-green);
            margin-bottom: 0.5rem;
            text-shadow: 0 0 10px rgba(85, 255, 85, 0.7);
        }

        .stat-label {
            font-size: 1rem;
            color: #ccc;
        }

        .section {
            padding: 6rem 2rem;
            position: relative;
        }

        .section-title {
            text-align: center;
            font-size: 3rem;
            margin-bottom: 3.5rem;
            color: var(--mc-green);
            text-shadow: 0 0 15px rgba(85, 255, 85, 0.7);
            position: relative;
            padding: 0 1rem;
        }

        .section-title::after {
            content: '';
            display: block;
            width: 120px;
            height: 5px;
            background: linear-gradient(90deg, transparent, var(--mc-green), transparent);
            margin: 1.5rem auto;
            border-radius: 3px;
            box-shadow: 0 0 15px var(--mc-green);
        }

        .features-grid {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2.5rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .feature-card {
            background: linear-gradient(145deg, var(--mc-darker-green), var(--mc-black));
            border: 3px solid var(--mc-green);
            border-radius: 15px;
            padding: 2.5rem;
            text-align: center;
            transition: var(--transition);
            position: relative;
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .feature-card::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(85, 255, 85, 0.1), transparent);
            transform: rotate(45deg);
            transition: 0.6s;
        }

        .feature-card:hover {
            transform: translateY(-10px) rotateX(5deg);
            box-shadow: 0 20px 40px rgba(85, 255, 85, 0.3);
            border-color: var(--mc-aqua);
        }

        .feature-card:hover::before {
            animation: shine 1.5s linear;
        }

        @keyframes shine {
            0% { left: -50%; }
            100% { left: 100%; }
        }

        .feature-icon {
            font-size: 3.5rem;
            color: var(--mc-green);
            margin-bottom: 1.8rem;
            text-shadow: 0 0 20px rgba(85, 255, 85, 0.7);
            transition: var(--transition);
        }

        .feature-card:hover .feature-icon {
            color: var(--mc-aqua);
            transform: scale(1.2) rotate(10deg);
        }

        .feature-title {
            font-size: 1.8rem;
            margin-bottom: 1.2rem;
            color: var(--mc-green);
            text-shadow: 0 0 10px rgba(85, 255, 85, 0.5);
            transition: var(--transition);
        }

        .feature-card:hover .feature-title {
            color: var(--mc-aqua);
        }

        .feature-card p {
            font-size: 1.1rem;
            line-height: 1.7;
            color: #ccc;
        }

        .gallery-container {
            display: grid;
            grid-template-columns: 1fr;
            gap: 2rem;
            max-width: 1200px;
            margin: 0 auto;
        }

        .gallery-item {
            height: 300px;
            border-radius: 12px;
            overflow: hidden;
            position: relative;
            cursor: pointer;
            transition: var(--transition);
            border: 3px solid var(--mc-green);
            box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5);
        }

        .gallery-item img {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: var(--transition);
        }

        .gallery-item:hover {
            transform: translateY(-8px) scale(1.02);
            box-shadow: 0 15px 35px rgba(85, 255, 85, 0.4);
            border-color: var(--mc-aqua);
        }

        .gallery-item:hover img {
            transform: scale(1.1);
        }

        .gallery-overlay {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            background: linear-gradient(transparent, rgba(0, 0, 0, 0.9));
            padding: 2rem;
            opacity: 0;
            transition: var(--transition);
        }

        .gallery-item:hover .gallery-overlay {
            opacity: 1;
        }

        .gallery-overlay h3 {
            font-size: 1.5rem;
            margin-bottom: 0.8rem;
            color: var(--mc-green);
            text-shadow: 0 0 10px rgba(0, 0, 0, 0.8);
        }

        .gallery-overlay p {
            font-size: 1rem;
            opacity: 0.9;
            color: #ccc;
        }

        .leaderboard {
            max-width: 1000px;
            margin: 0 auto;
            background: linear-gradient(145deg, var(--mc-darker-green), var(--mc-black));
            border-radius: 15px;
            border: 3px solid var(--mc-green);
            overflow: hidden;
            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
        }

        .leaderboard-header {
            background: rgba(0, 0, 0, 0.7);
            padding: 1.5rem;
            display: grid;
            grid-template-columns: 0.5fr 1fr 0.7fr;
            font-weight: bold;
            color: var(--mc-green);
            text-align: center;
            font-size: 1.2rem;
            text-shadow: 0 0 10px rgba(85, 255, 85, 0.7);
            border-bottom: 2px solid var(--mc-green);
        }

        .leaderboard-item {
            display: grid;
            grid-template-columns: 0.5fr 1fr 0.7fr;
            padding: 1.5rem;
            border-bottom: 1px solid rgba(85, 255, 85, 0.2);
            text-align: center;
            transition: var(--transition);
            font-size: 1.1rem;
        }

        .leaderboard-item:hover {
            background: rgba(85, 255, 85, 0.1);
        }

        .rank {
            font-weight: bold;
            font-size: 1.4rem;
        }

        .rank-1 { color: var(--mc-gold); text-shadow: 0 0 10px rgba(255, 204, 0, 0.7); }
        .rank-2 { color: silver; text-shadow: 0 0 10px rgba(192, 192, 192, 0.7); }
        .rank-3 { color: #cd7f32; text-shadow: 0 0 10px rgba(205, 127, 50, 0.7); }

        footer {
            background: var(--mc-black);
            padding: 4rem 2rem;
            text-align: center;
            border-top: 3px solid var(--mc-green);
            box-shadow: 0 -5px 20px rgba(85, 255, 85, 0.3);
            position: relative;
            overflow: hidden;
        }

        footer::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: radial-gradient(circle at 20% 80%, rgba(85, 255, 85, 0.1) 0%, transparent 50%);
            pointer-events: none;
        }

        .social-links {
            display: flex;
            justify-content: center;
            gap: 2rem;
            margin-bottom: 2.5rem;
        }

        .social-link {
            width: 60px;
            height: 60px;
            border-radius: 50%;
            background: rgba(0, 0, 0, 0.5);
            display: flex;
            justify-content: center;
            align-items: center;
            color: var(--mc-green);
            font-size: 1.8rem;
            transition: var(--transition);
            border: 2px solid var(--mc-green);
            box-shadow: 0 0 15px rgba(85, 255, 85, 0.5);
            position: relative;
            overflow: hidden;
        }

        .social-link::before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: linear-gradient(45deg, transparent, rgba(85, 255, 85, 0.2), transparent);
            transform: rotate(45deg);
            transition: 0.6s;
        }

        .social-link:hover {
            background: var(--mc-green);
            color: #000;
            transform: translateY(-5px) rotate(10deg);
            box-shadow: 0 0 25px rgba(85, 255, 85, 0.8);
        }

        .social-link:hover::before {
            animation: shine 1.5s linear;
        }

        footer p {
            margin-bottom: 0.8rem;
            font-size: 1.1rem;
            color: #ccc;
        }

        .footer-logo {
            font-size: 2.5rem;
            font-weight: bold;
            color: var(--mc-green);
            text-shadow: 0 0 15px var(--mc-green);
            margin-bottom: 1.5rem;
        }

        ::-webkit-scrollbar {
            width: 12px;
        }

        ::-webkit-scrollbar-track {
            background: var(--mc-darker-green);
            border-radius: 10px;
        }

        ::-webkit-scrollbar-thumb {
            background: linear-gradient(45deg, var(--mc-green), var(--mc-aqua));
            border-radius: 10px;
            border: 2px solid var(--mc-darker-green);
            box-shadow: 0 0 10px var(--mc-green);
        }

        ::-webkit-scrollbar-thumb:hover {
            background: linear-gradient(45deg, var(--mc-aqua), var(--mc-green));
        }

        .back-to-top {
            position: fixed;
            bottom: 30px;
            right: 30px;
            width: 50px;
            height: 50px;
            background: var(--mc-green);
            color: #000;
            border-radius: 50%;
            display: flex;
            justify-content: center;
            align-items: center;
            font-size: 1.5rem;
            cursor: pointer;
            transition: var(--transition);
            box-shadow: 0 0 15px rgba(85, 255, 85, 0.7);
            z-index: 999;
            opacity: 0;
            visibility: hidden;
            border: 2px solid #000;
        }

        .back-to-top.visible {
            opacity: 1;
            visibility: visible;
        }

        .back-to-top:hover {
            background: var(--mc-aqua);
            transform: translateY(-5px) rotate(360deg);
            box-shadow: 0 0 20px rgba(85, 255, 85, 0.9);
        }

        @media (min-width: 768px) {
            .hero-title {
                font-size: 5rem;
            }
            
            .hero-subtitle {
                font-size: 1.8rem;
            }
            
            .features-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .gallery-container {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .section {
                padding: 8rem 3rem;
            }
        }

        @media (min-width: 1024px) {
            .features-grid {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .gallery-container {
                grid-template-columns: repeat(3, 1fr);
            }
            
            .section {
                padding: 10rem 4rem;
            }
            
            .hero-title {
                font-size: 6rem;
            }
        }

        @media (max-width: 768px) {
            #mobile-menu-btn {
                display: flex;
            }
            
            .nav-links {
                position: fixed;
                top: 0;
                right: -100%;
                width: 75%;
                height: 100vh;
                background: var(--mc-black);
                flex-direction: column;
                padding: 6rem 2rem 2rem;
                transition: var(--transition);
                box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
                z-index: 999;
                border-left: 2px solid var(--mc-green);
            }
            
            .nav-links.active {
                right: 0;
            }
            
            .nav-links a {
                width: 100%;
                text-align: center;
                padding: 1.2rem;
                margin-bottom: 1rem;
                font-size: 1.2rem;
            }

            .hero-title {
                font-size: 3rem;
            }

            .hero-subtitle {
                font-size: 1.2rem;
            }

            .ip-display {
                padding: 1.2rem;
                font-size: 1.4rem;
            }

            .server-stats {
                gap: 1rem;
            }

            .stat {
                min-width: 140px;
                padding: 1rem 1.5rem;
            }

            .section-title {
                font-size: 2.2rem;
            }
        }