:root {
    --primary-gold: #FFD700;
    --secondary-gold: #B8860B;
    --dark-bg: #050505;
    --card-bg: #111111;
    --text-light: #ffffff;
    --text-dim: #cccccc;
    --gradient-gold: linear-gradient(135deg, #FFD700 0%, #B8860B 100%);
    --gradient-gold-hover: linear-gradient(135deg, #FFED4D 0%, #D4A017 100%);
    --glow-shadow: 0 0 15px rgba(255, 215, 0, 0.3);
    --font-heading: 'Outfit', sans-serif;
    --font-body: 'Inter', sans-serif;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--dark-bg);
    color: var(--text-light);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
}

#dust-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
}

/* Typography */
h1,
h2,
h3,
h4,
h5,
h6 {
    font-family: var(--font-heading);
    color: var(--primary-gold);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
    display: inline-block;
    width: 100%;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background: var(--gradient-gold);
    margin: 10px auto 0;
    border-radius: 2px;
}

/* Header / Navbar */
header {
    background: rgba(5, 5, 5, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
}

.nav-logo img {
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--primary-gold);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
    font-family: var(--font-heading);
}

.nav-links a:hover {
    color: var(--primary-gold);
}

/* Hero Section */
.hero {
    min-height: 60vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background: transparent;
    padding: 120px 20px 60px;
    margin-top: 0;
    position: relative;
    z-index: 1;
}

.hero-logo-large {
    width: 180px;
    height: 180px;
    border-radius: 50%;
    border: 4px solid var(--primary-gold);
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    margin-bottom: 2rem;
    object-fit: cover;
    animation: float 6s ease-in-out infinite;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 1rem;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(184, 134, 11, 0.3);
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
}

/* Cards / App Sections */
.app-section {
    padding: 40px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.app-section:nth-child(even) {
    background: rgba(255, 255, 255, 0.02);
    /* Very subtle separation */
}

.app-container {
    max-width: 1100px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    gap: 4rem;
}

.app-image {
    flex: 1;
    min-width: 300px;
    display: flex;
    justify-content: center;
}

.app-image img {
    width: 100%;
    max-width: 350px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5), 0 0 0 2px rgba(255, 215, 0, 0.2);
    transition: transform 0.3s ease;
}

.app-image img:hover {
    transform: scale(1.02);
    box-shadow: 0 15px 50px rgba(255, 215, 0, 0.15), 0 0 0 3px rgba(255, 215, 0, 0.4);
}

.app-content {
    flex: 1.5;
    min-width: 300px;
}

.app-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.version-badge {
    font-size: 0.9rem;
    background: rgba(255, 215, 0, 0.1);
    color: var(--primary-gold);
    padding: 4px 12px;
    border-radius: 20px;
    border: 1px solid var(--primary-gold);
    font-family: var(--font-body);
}

.app-details {
    list-style-type: none;
    margin: 1.5rem 0;
}

.app-details li {
    margin-bottom: 0.8rem;
    padding-left: 25px;
    position: relative;
    color: var(--text-dim);
}

.app-details li::before {
    content: '✦';
    color: var(--primary-gold);
    position: absolute;
    left: 0;
    top: 2px;
}

.btn {
    display: inline-block;
    background: var(--gradient-gold);
    color: #000;
    padding: 14px 40px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: all 0.3s ease;
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.2);
    margin-top: 1rem;
}

.btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.4);
    background: var(--gradient-gold-hover);
}

.btn.disabled {
    background: #333;
    color: #666;
    cursor: not-allowed;
    box-shadow: none;
}

.btn.disabled:hover {
    transform: none;
}

/* Telegram Network Section */
.network-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.network-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 215, 0, 0.1);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

.network-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-gold);
    box-shadow: 0 10px 40px rgba(255, 215, 0, 0.1);
    background: rgba(255, 255, 255, 0.05);
}

.network-card h3 {
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.network-card p {
    color: var(--text-dim);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
}

.network-icon {
    font-size: 2.5rem;
    color: var(--primary-gold);
    margin-bottom: 1rem;
}

/* Footer and Socials */
footer {
    padding: 80px 20px 40px;
    background: #000;
    text-align: center;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
}

.socials {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-light);
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
    font-size: 1.5rem;
}

.social-btn:hover {
    background: var(--primary-gold);
    color: #000;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.4);
    transform: translateY(-5px);
}

.social-btn i {
    pointer-events: none;
}

.copyright {
    color: var(--text-dim);
    font-size: 0.9rem;
    margin-top: 2rem;
}

.copyright span {
    color: var(--primary-gold);
    font-weight: bold;
}

/* Animations */
@keyframes float {
    0% {
        transform: translateY(0px);
    }

    50% {
        transform: translateY(-15px);
    }

    100% {
        transform: translateY(0px);
    }
}

/* Responsive */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .app-container {
        flex-direction: column;
        text-align: center;
        gap: 2rem;
    }

    .app-details {
        text-align: left;
        display: inline-block;
    }

    .app-content h2 {
        justify-content: center;
    }

    .nav-links {
        display: none;
        /* Hide for simplicity on mobile, or add JS toggle later */
    }

    .nav-logo {
        margin: 0 auto;
    }
}

/* Category Headers */
.category-header {
    text-align: center;
    margin: 4rem 0 2rem;
    position: relative;
    padding: 0 20px;
}

.category-header h2 {
    font-family: var(--font-heading);
    font-size: 2rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    position: relative;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.category-header::after {
    content: '';
    display: block;
    width: 60px;
    height: 4px;
    background: var(--secondary-gold);
    margin: 10px auto 0;
    border-radius: 2px;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

/* Centered Text Section (Sports Network) */
.centered-text-section .app-container.text-center-layout {
    flex-direction: column;
    text-align: center;
    justify-content: center;
    max-width: 1000px;
    /* Increased for card width */
}

.sports-card {
    background: rgba(20, 20, 20, 0.6);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 30px;
    padding: 4rem 2rem;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5), inset 0 0 30px rgba(255, 215, 0, 0.05);
    position: relative;
    overflow: hidden;
    width: 100%;
}

.sports-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.05) 0%, transparent 60%);
    pointer-events: none;
    z-index: 0;
}

.centered-text-section .app-content.full-width {
    width: 100%;
    flex: none;
    position: relative;
    z-index: 1;
}

.app-content h2.massive-title {
    font-size: 4rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    background: var(--gradient-gold);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4);
    letter-spacing: 4px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    display: block;
    /* Overrides flex */
    text-align: center;
    width: 100%;
}

.subtitle {
    font-size: 1.3rem;
    color: var(--text-light);
    margin-bottom: 3rem;
    font-weight: 300;
    opacity: 0.9;
    letter-spacing: 1px;
}

.centered-list {
    text-align: left;
    display: inline-block;
    margin: 0 auto 3rem;
    font-size: 1.15rem;
    max-width: 800px;
}

.centered-list li {
    padding-left: 35px;
    margin-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 1rem;
}

.centered-list li:last-child {
    border-bottom: none;
}

.centered-list li::before {
    content: '✦';
    font-size: 1.2em;
    top: 0;
}

.large-btn {
    padding: 20px 60px;
    font-size: 1.3rem;
    letter-spacing: 2px;
    border-radius: 100px;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.pulse-btn {
    animation: pulse-gold 2s infinite;
}

@keyframes pulse-gold {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.7);
    }

    70% {
        box-shadow: 0 0 0 20px rgba(255, 215, 0, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
    }
}

@media (max-width: 768px) {
    .massive-title {
        font-size: 2.2rem;
        text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
    }

    .sports-card {
        padding: 2rem 1rem;
    }

    .subtitle {
        font-size: 1rem;
    }
}