:root {
    --bg-color: #161b22;
    --card-bg: rgba(255, 255, 255, 0.06);

    --text-primary: #f0f6fc;
    --text-secondary: #8b949e;
    --accent-color: #D69CE3;

    --accent-secondary: #BA17CF;

    --accent-glow: 0 0 15px rgba(214, 156, 227, 0.3);

    --border-color: rgba(240, 246, 252, 0.1);
    --font-stack: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 20px;
    font-family: var(--font-stack);
    background-color: var(--bg-color);
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L11 20L14 12L22 9L2 2Z' fill='%23D69CE3' stroke='%2306367E' stroke-width='2'/%3E%3C/svg%3E"), auto;
}

a,
button,
.module,
.tab-btn,
.game-card {
    cursor: url("data:image/svg+xml,%3Csvg width='24' height='24' viewBox='0 0 24 24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M2 2L11 20L14 12L22 9L2 2Z' fill='%23BA17CF' stroke='%23D69CE3' stroke-width='2'/%3E%3C/svg%3E"), pointer;
}

#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: rgba(22, 27, 34, 0.85);
}


.app-container {
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.module {
    background: var(--card-bg);
    border: 1px solid transparent;
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 1, 0.5, 1);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;

}

.module:hover {
    border-color: var(--accent-color);
    box-shadow: 0 8px 32px 0 rgba(0, 112, 255, 0.2), var(--accent-glow);
    transform: translateY(-2px);
}

.module.active {
    border-color: var(--text-secondary);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);

    transform: none;
}

.module-summary {
    padding: 25px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to right, rgba(255, 255, 255, 0.02), transparent);
    border-bottom: 1px solid transparent;
}

.module.active .module-summary {
    border-bottom: 1px solid var(--border-color);
    background: rgba(0, 0, 0, 0.2);
}

.module-title {
    font-size: 1.25rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--text-primary);
}

.module-stats {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--accent-color);
    text-shadow: 0 0 8px rgba(100, 149, 237, 0.4);
}

.module-content {
    max-height: 0;
    opacity: 0;
    transition: all 0.5s ease;
    overflow: hidden;
    background: transparent;
    background: transparent;
}

.module.active .module-content {
    max-height: 2000px;
    opacity: 1;
    padding: 30px;
}

h2 {
    font-size: 1.5rem;
    color: var(--text-primary);
    margin-top: 30px;
    margin-bottom: 15px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

h2:first-child {
    margin-top: 0;
}

p,
li {
    color: var(--text-secondary);
}

strong {
    color: var(--text-primary);
}

ul {
    padding-left: 20px;
}

li {
    margin-bottom: 8px;
}

.tabs-nav {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 10px;
    overflow-x: auto;
}

.tab-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid transparent;
    color: var(--text-secondary);
    font-weight: bold;

    padding: 8px 16px;
    border-radius: 4px;
    transition: all 0.2s;
    text-transform: uppercase;
    font-size: 0.9rem;
}

.tab-btn:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--accent-color);
}

.tab-btn.active {
    color: #161b22;
    background: var(--accent-color);
    box-shadow: 0 0 15px rgba(214, 156, 227, 0.4);
    font-weight: 800;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(5px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.qr-css {
    width: 200px;
    height: 200px;
    background-image: linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000),
        linear-gradient(45deg, #000 25%, transparent 25%, transparent 75%, #000 75%, #000);
    background-position: 0 0, 10px 10px;
    background-size: 20px 20px;
    border: 10px solid #fff;
    margin: 0 auto;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.qr-css::after {
    content: "VIPPS";
    background: #FF5B24;
    color: #fff;
    padding: 5px 10px;
    font-weight: bold;
    border-radius: 4px;
}


.hero-module {
    min-height: 400px;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    background-image: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.8)), url('../assets/hero_bg.png');
    background-size: cover;
    background-position: center;
    padding: 40px 20px;
    border: none;
}

.hero-module:hover {
    transform: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: none;
}

.hero-title {
    font-size: 5rem;
    line-height: 1;
    margin: 0;
    font-weight: 900;
    background: linear-gradient(135deg, #fff 0%, #aaa 100%);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-top: 15px;
    color: var(--accent-color);
    font-weight: 600;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.game-card {
    background: #252525;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s;
    border: 1px solid var(--border-color);
}

.game-card:hover {
    transform: scale(1.05);
    border-color: var(--accent-color);
}

.game-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    background: var(--card-bg);
    padding: 0;
    filter: none;
    transition: filter 0.2s;
}


.game-info {
    padding: 15px;
    text-align: center;
}

.game-info strong {
    display: block;
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.game-info p {
    margin: 0;
    font-size: 0.9rem;
}

.price-tag {
    font-size: 4rem;
    font-weight: 900;
    color: var(--accent-color);
    margin: 20px 0;
    display: block;
    text-shadow: 0 0 20px rgba(143, 188, 143, 0.4);
}

.cta-btn {
    display: block;
    width: 100%;
    padding: 20px;
    background: var(--accent-color);
    color: #000;
    text-align: center;
    text-decoration: none;
    font-weight: 800;
    text-transform: uppercase;
    font-size: 1.2rem;
    margin-top: 30px;
    border-radius: 8px;
    transition: background 0.2s, transform 0.2s;
}

.cta-btn:hover {
    background: #a3cea3;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(143, 188, 143, 0.4);
}

@media (max-width: 600px) {
    .app-container {
        padding: 0 10px;
    }

    body {
        padding: 10px;
    }

    .module-summary {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;

        padding: 20px;
        white-space: normal;

    }

    .module-stats {
        margin-left: 0;
        font-size: 0.8rem;
        width: 100%;

        display: block;

    }

    .module-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-logo {
        max-width: 90%;
        height: auto;
    }

    .hero-module {
        height: auto;
        padding: 30px 15px;
        min-height: 250px;
    }

    .hero-subtitle {
        font-size: 1rem;
    }


    .social-links {
        gap: 15px;
        margin-top: 15px;
    }

    .social-btn {
        width: 50px;
        height: 50px;
    }

    .social-btn svg {
        width: 24px;
    }


    .sponsors-grid {
        display: grid;

        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
        justify-content: center;
    }

    .sponsor-category {
        grid-column: span 2;

        width: 100%;
        margin-bottom: 10px;
    }

    .sponsor-list {
        display: grid;
        grid-template-columns: repeat(2, 1fr);

        gap: 10px;
        width: 100%;
    }

    .sponsor-item {
        width: 100%;
        min-height: 120px;

        padding: 10px;
    }

    .tab-btn {
        flex: 1 1 auto;
        text-align: center;
        font-size: 0.8rem;
        padding: 8px 10px;
    }

    .qr-css {
        width: 150px;
        height: 150px;
        border-width: 5px;
    }

    .price-tag {
        font-size: 3rem;
    }
}


html::-webkit-scrollbar,
body::-webkit-scrollbar,
::-webkit-scrollbar {
    width: 10px !important;
    display: block !important;
}


::selection {
    background: rgba(100, 149, 237, 0.3);
    color: #ffffff;
    text-shadow: 0 0 8px var(--accent-color);
}


* {
    -webkit-tap-highlight-color: rgba(100, 149, 237, 0.1);
}

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--accent-color), var(--accent-secondary));
    border-radius: 5px;
    border: 2px solid var(--bg-color);
    border: 2px solid var(--bg-color);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #BA17CF, #06367E);
    background: linear-gradient(180deg, var(--accent-color), var(--accent-secondary));
}


:focus-visible {
    outline: 2px solid var(--accent-color);
    outline-offset: 4px;
    box-shadow: 0 0 10px var(--accent-color);
}


::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-box-shadow: 0 0 0 30px #1a1a1a inset !important;
    -webkit-text-fill-color: white !important;
    transition: background-color 5000s ease-in-out 0s;
}





.sponsors-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
}

.sponsor-category {
    flex: 1 1 300px;
    background: rgba(20, 20, 35, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.category-title {
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 10px;
    width: 100%;
    text-align: center;
}

.sponsor-list {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    justify-content: center;
    width: 100%;
}

.sponsor-category.simple-block {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px 20px;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 150px;
    transition: all 0.3s ease;
}

.sponsor-category.simple-block:hover {
    border-color: var(--accent-color);
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-2px);
}

.hero-module {
    text-align: center;
    padding: 60px 40px;
    background-image: linear-gradient(rgba(22, 27, 34, 0.8), rgba(22, 27, 34, 0.9)), url("../assets/hero_bg_purple.png");
    background-size: cover;
    background-position: center;
    position: relative;
    overflow: hidden;
}

.placeholder-content {
    text-align: center;
    width: 100%;
}

.placeholder-logo {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-secondary);
    letter-spacing: 2px;
    opacity: 0.7;
}

.hero-logo {
    max-width: 300px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0 auto 20px;
    filter: drop-shadow(0 0 20px rgba(186, 23, 207, 0.4));
    animation: floatLogo 6s ease-in-out infinite;
}

@keyframes floatLogo {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.hero-title {
    font-family: 'Bungee Shade', cursive;
    font-size: 5rem;
    line-height: 1;
    margin: 10px 0 20px;
    font-weight: 400;
    color: #E0C0FF;
    filter: drop-shadow(0 0 5px rgba(186, 23, 207, 0.8)) drop-shadow(0 0 15px rgba(186, 23, 207, 0.4));
    background: none;
    -webkit-text-fill-color: initial;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--accent-secondary);
    letter-spacing: 4px;
    margin-bottom: 20px;
}


.program-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.program-item {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 15px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.program-item::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    opacity: 0.1;
    z-index: 0;
    transition: all 0.5s ease;
    filter: saturate(0);
}

.program-item:hover::before {
    opacity: 0.3;
    filter: saturate(1) blur(2px);
    transform: scale(1.05);
}

.prog-stage::before {
    background-image: url('../assets/hero_bg_purple.png');
}

.prog-minecraft::before {
    background-image: url('../assets/minecraft.png');
}

.prog-console::before {
    background-image: url('../assets/tekken8.png');
}

.prog-pc::before {
    background-image: url('../assets/cs2.jpg');
}

.prog-night::before {
    background-image: url('../assets/escapefromtarkov.jpg');
}

.program-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--accent-secondary);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.prog-time,
.prog-details {
    position: relative;
    z-index: 1;
}

.prog-time {
    min-width: 80px;
    text-align: center;
    font-weight: 800;
    font-size: 0.9rem;
    color: var(--accent-color);
    line-height: 1.2;
    padding-right: 20px;
    border-right: 2px solid rgba(255, 255, 255, 0.1);
    margin-right: 20px;
}

.prog-details h3 {
    margin: 0 0 5px 0;
    font-size: 1.1rem;
    color: #fff;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.prog-details p {
    margin: 0;
    font-size: 0.9rem;
    color: var(--text-secondary);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.tag {
    display: inline-block;
    margin-top: 8px;
    font-size: 0.75rem;
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid;
    font-weight: 600;
    letter-spacing: 1px;
    background: rgba(0, 0, 0, 0.3);

    backdrop-filter: blur(4px);
}



.sponsor-img {
    max-width: 100%;
    max-height: 90px;
    object-fit: contain;

    background: rgba(255, 255, 255, 0.95);
    padding: 12px;
    border-radius: 12px;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.sponsor-item {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    padding: 10px;
    transition: transform 0.3s ease;

}


.sponsor-item:hover .sponsor-img {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 8px 20px rgba(186, 23, 207, 0.3);

}

.sponsor-item:hover {
    transform: translateY(-2px);
}

.icon-small {
    max-height: 70px;
}

.tag-purple {
    border-color: #BA17CF;
    color: #BA17CF;
    background: rgba(186, 23, 207, 0.1);
}

.tag-green {
    border-color: #00ff9d;
    color: #00ff9d;
    background: rgba(0, 255, 157, 0.1);
}

.tag-blue {
    border-color: #00ccff;
    color: #00ccff;
    background: rgba(0, 204, 255, 0.1);
}

.tag-red {
    border-color: #ff4444;
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
}

.tag-dark {
    border-color: #666;
    color: #aaa;
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 480px) {
    .program-item {
        flex-direction: column;
        align-items: flex-start;
        text-align: left;
    }

    .prog-time {
        border-right: none;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
        padding-bottom: 10px;
        margin-bottom: 10px;
        width: 100%;
        text-align: left;
        display: flex;
        align-items: center;
        gap: 10px;
    }

    .prog-time br {
        display: none;
    }

    .prog-time::after {
        content: " //";
        color: var(--text-secondary);
        opacity: 0.5;
    }
}


.social-links {
    display: flex;
    gap: 20px;
    margin-top: 25px;
    z-index: 2;
    justify-content: center;
    flex-wrap: wrap;
}



.social-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(5px);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-btn svg {
    width: 28px;
    height: 28px;
    fill: currentColor;
    transition: transform 0.3s ease;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.1);
    border-color: #fff;
}

.social-btn:hover svg {
    transform: scale(1.1);
}

.social-btn.tiktok:hover {
    background: #000;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5), 0 0 10px rgba(255, 0, 85, 0.5);
    border-color: #00f2ea;
}

.social-btn.insta:hover {
    background: radial-gradient(circle at 30% 107%, #fdf497 0%, #fdf497 5%, #fd5949 45%, #d6249f 60%, #285AEB 90%);
    box-shadow: 0 0 20px rgba(225, 48, 108, 0.5);
    border-color: rgba(255, 255, 255, 0.8);
}

.social-btn.youtube:hover {
    background: #FF0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.5);
    border-color: #FF0000;
}

/* Mobile Overrides - Ensure these are last */
@media (max-width: 600px) {
    .hero-title {
        font-size: 2.5rem !important;
        margin: 10px 0;
    }

    .hero-logo {
        max-width: 180px;
        margin-bottom: 10px;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        letter-spacing: 2px;
    }

    .hero-module {
        padding: 40px 15px;
    }
}