*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box
}

* {
    -webkit-tap-highlight-color: transparent;
}

:root {
    --bg: #06060a;
    --text: #f0f0f5;
    --text2: rgba(255, 255, 255, .45);
    --border: rgba(255, 255, 255, .06);
    --tiktok: #fe2c55;
    --tiktok-glow: rgba(254, 44, 85, .25);
    --roblox: #00b06f;
    --roblox-glow: rgba(0, 176, 111, .25);
    --psn: #006fcd;
    --psn-glow: rgba(0, 111, 205, .25);
}

html {
    scroll-behavior: smooth;
    scrollbar-gutter: stable;
    overflow-y: scroll;
}

body {
    font-family: 'Inter', system-ui, sans-serif;
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    overflow-x: hidden;
}

/* ===== BG ===== */
.bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none
}

.bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 70% 50% at 50% 0%, rgba(100, 50, 255, .08), transparent),
        radial-gradient(ellipse 50% 40% at 80% 100%, rgba(254, 44, 85, .05), transparent),
        radial-gradient(ellipse 50% 40% at 20% 100%, rgba(0, 111, 205, .05), transparent);
}

.bg-noise {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    opacity: .03;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

/* ===== LAYOUT ===== */
.wrapper {
    position: relative;
    z-index: 2;
    max-width: 680px;
    width: 100%;
    margin: 0 auto;
    padding: 60px 20px 80px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
}

/* ===== HEADER ===== */
.header {
    text-align: center;
    margin-bottom: 56px
}

.header-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    border-radius: 100px;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    font-size: 11px;
    font-weight: 600;
    color: var(--text2);
    margin-bottom: 28px;
    letter-spacing: .5px;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    animation: fadeIn .6s ease both;
}

.header-badge i {
    color: #a78bfa;
    font-size: 10px
}

.header-title {
    font-family: 'Space Grotesk', 'Inter', sans-serif;
    font-size: clamp(3rem, 8vw, 5.5rem);
    font-weight: 700;
    letter-spacing: -3px;
    line-height: .95;
    margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 30%, rgba(255, 255, 255, .35));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeSlide .7s ease both;
}

.header-sub {
    font-size: clamp(1rem, 2.5vw, 1.2rem);
    color: var(--text2);
    font-weight: 500;
    letter-spacing: -.3px;
    line-height: 1.5;
    animation: fadeSlide .7s .15s ease both;
}

.header-sub strong {
    color: #fff;
    font-weight: 700;
    background: linear-gradient(90deg, var(--tiktok), var(--roblox), var(--psn));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

@keyframes fadeIn {
    from {
        opacity: 0
    }

    to {
        opacity: 1
    }
}

@keyframes fadeSlide {
    from {
        opacity: 0;
        transform: translateY(20px)
    }

    to {
        opacity: 1;
        transform: translateY(0)
    }
}

/* ===== ACCORDION ===== */
.accordion {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
    animation: fadeSlide .7s .3s ease both;
}

.acc-item {
    border-radius: 20px;
    overflow: visible;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, .03);
    transition: border-color .4s ease, box-shadow .4s ease, background .4s ease;
    position: relative;
    contain: layout style;
}

.acc-item.open {
    background: rgba(255, 255, 255, .045)
}

/* Per-platform active glow */
.acc-item.tiktok.open {
    border-color: rgba(254, 44, 85, .25);
    box-shadow: 0 8px 40px rgba(254, 44, 85, .1)
}

.acc-item.roblox.open {
    border-color: rgba(0, 176, 111, .25);
    box-shadow: 0 8px 40px rgba(0, 176, 111, .1)
}

.acc-item.psn.open {
    border-color: rgba(0, 111, 205, .25);
    box-shadow: 0 8px 40px rgba(0, 111, 205, .1)
}

/* Hover glow (subtle) */
.acc-item.tiktok:not(.open):hover {
    border-color: rgba(254, 44, 85, .12);
    box-shadow: 0 4px 20px rgba(254, 44, 85, .05)
}

.acc-item.roblox:not(.open):hover {
    border-color: rgba(0, 176, 111, .12);
    box-shadow: 0 4px 20px rgba(0, 176, 111, .05)
}

.acc-item.psn:not(.open):hover {
    border-color: rgba(0, 111, 205, .12);
    box-shadow: 0 4px 20px rgba(0, 111, 205, .05)
}

/* Header */
.acc-header {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 24px;
    cursor: pointer;
    transition: background .3s ease;
    user-select: none;
    position: relative;
    z-index: 2;
}

.acc-header:hover {
    background: rgba(255, 255, 255, .02)
}

.acc-header:active {
    background: rgba(255, 255, 255, .04)
}

.acc-icon {
    width: 48px;
    height: 48px;
    border-radius: 14px;
    flex-shrink: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    background: transparent;
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), box-shadow .4s ease;
}

.acc-item.open .acc-icon {
    transform: scale(1.1) rotate(-5deg)
}

/* Icon styling: no background, colored icon + pronounced colored shadow */
.acc-icon.ic-tiktok {
    color: #fe2c55;
    box-shadow: 0 0 24px rgba(254, 44, 85, .5), 0 0 48px rgba(254, 44, 85, .2);
}

.acc-icon.ic-roblox {
    color: #00b06f;
    box-shadow: 0 0 24px rgba(0, 176, 111, .5), 0 0 48px rgba(0, 176, 111, .2);
}

.acc-icon.ic-psn {
    color: #006fcd;
    box-shadow: 0 0 24px rgba(0, 111, 205, .5), 0 0 48px rgba(0, 111, 205, .2);
}

/* Stronger glow when open */
.acc-item.open .acc-icon.ic-tiktok {
    box-shadow: 0 0 30px rgba(254, 44, 85, .65), 0 0 60px rgba(254, 44, 85, .25);
}

.acc-item.open .acc-icon.ic-roblox {
    box-shadow: 0 0 30px rgba(0, 176, 111, .65), 0 0 60px rgba(0, 176, 111, .25);
}

.acc-item.open .acc-icon.ic-psn {
    box-shadow: 0 0 30px rgba(0, 111, 205, .65), 0 0 60px rgba(0, 111, 205, .25);
}

.rblx-tilt {
    width: 20px;
    height: 20px;
    position: relative;
    transform: rotate(15deg)
}

.rblx-tilt .o {
    position: absolute;
    inset: 0;
    border: 2.5px solid #00b06f;
    border-radius: 2px
}

.rblx-tilt .i {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 7px;
    height: 7px;
    transform: translate(-50%, -50%);
    border: 2px solid #00b06f;
    border-radius: 1px
}

.acc-info {
    flex: 1;
    min-width: 0
}

.acc-label {
    font-size: 10px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: var(--text2);
    margin-bottom: 2px;
}

.acc-name {
    font-size: 1.15rem;
    font-weight: 800;
    letter-spacing: -.3px
}

.acc-chevron {
    width: 32px;
    height: 32px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, .05);
    transition: transform .4s cubic-bezier(.34, 1.56, .64, 1), background .3s ease;
    font-size: 12px;
    color: var(--text2);
    flex-shrink: 0;
}

.acc-item.open .acc-chevron {
    transform: rotate(180deg);
    background: rgba(255, 255, 255, .08)
}

/* Body — clip via own overflow */
.acc-body {
    max-height: 0;
    overflow: hidden;
    border-radius: 0 0 20px 20px;
    transition: max-height .5s cubic-bezier(.22, 1, .36, 1), opacity .4s ease, padding .4s ease;
    opacity: 0;
    padding: 0 24px;
    will-change: max-height, opacity;
}

.acc-item.open .acc-body {
    max-height: 400px;
    opacity: 1;
    padding: 0 24px 24px;
}

.acc-content {
    display: flex;
    flex-direction: column;
    gap: 16px
}

.acc-desc {
    font-size: .92rem;
    line-height: 1.7;
    color: var(--text2);
    padding-top: 4px;
    border-top: 1px solid var(--border);
}

.acc-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px
}

.acc-feat {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    border-radius: 100px;
    font-size: 12px;
    font-weight: 600;
    background: rgba(255, 255, 255, .04);
    border: 1px solid var(--border);
    color: rgba(255, 255, 255, .7);
}

.acc-feat i {
    font-size: 10px
}

.tiktok .acc-feat i {
    color: var(--tiktok)
}

.roblox .acc-feat i {
    color: var(--roblox)
}

.psn .acc-feat i {
    color: var(--psn)
}

.acc-stats {
    display: flex;
    gap: 20px
}

.acc-stat {
    display: flex;
    flex-direction: column
}

.acc-stat-val {
    font-size: 1.3rem;
    font-weight: 800;
    letter-spacing: -.5px
}

.acc-stat-lbl {
    font-size: 10px;
    color: var(--text2);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: .5px
}

.tiktok .acc-stat-val {
    color: var(--tiktok)
}

.roblox .acc-stat-val {
    color: var(--roblox)
}

.psn .acc-stat-val {
    color: var(--psn)
}

.acc-go {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 14px;
    font-size: .95rem;
    font-weight: 700;
    color: #fff;
    border: none;
    cursor: pointer;
    transition: transform .2s ease, box-shadow .2s ease;
    text-decoration: none;
    align-self: flex-start;
    letter-spacing: -.2px;
}

.acc-go:hover {
    transform: translateY(-2px)
}

.acc-go:active {
    transform: scale(.97)
}

.acc-go i {
    transition: transform .3s ease
}

.acc-go:hover i {
    transform: translateX(4px)
}

.tiktok .acc-go {
    background: linear-gradient(135deg, #fe2c55, #d62548);
    box-shadow: 0 4px 20px rgba(254, 44, 85, .3)
}

.roblox .acc-go {
    background: linear-gradient(135deg, #00b06f, #009a5f);
    box-shadow: 0 4px 20px rgba(0, 176, 111, .3)
}

.psn .acc-go {
    background: linear-gradient(135deg, #006fcd, #0058a8);
    box-shadow: 0 4px 20px rgba(0, 111, 205, .3)
}

.tiktok .acc-go:hover {
    box-shadow: 0 8px 30px rgba(254, 44, 85, .4)
}

.roblox .acc-go:hover {
    box-shadow: 0 8px 30px rgba(0, 176, 111, .4)
}

.psn .acc-go:hover {
    box-shadow: 0 8px 30px rgba(0, 111, 205, .4)
}

/* ===== FLOATING SVG ICONS ===== */
.floating-icons {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
    border-radius: 20px;
}

.fi {
    position: absolute;
    pointer-events: none;
    opacity: 0;
    transform: scale(0) rotate(var(--r, 0deg));
    transition: opacity .4s ease, transform .4s cubic-bezier(.34, 1.56, .64, 1);
    transition-delay: var(--d, 0s);
}

.fi svg {
    width: 100%;
    height: 100%;
}

.acc-item.open .fi {
    opacity: var(--o, .3);
    transform: scale(1) rotate(var(--r, 0deg));
    animation: fiIdle var(--s, 4s) ease-in-out infinite;
    animation-delay: var(--d, 0s);
}

.acc-item:not(.open) .fi {
    transition-delay: 0s;
    transition-duration: .25s;
    animation: none;
}

@keyframes fiIdle {

    0%,
    100% {
        transform: translate(0, 0) rotate(var(--r, 0deg)) scale(1);
    }

    50% {
        transform: translate(var(--ix, 0px), var(--iy, -4px)) rotate(var(--r, 0deg)) scale(var(--is, 1.05));
    }
}

/* ===== FOOTER ===== */
.footer {
    margin-top: auto;
    padding: 40px 0 0;
    text-align: center;
    font-size: 11px;
    color: rgba(255, 255, 255, .15);
    letter-spacing: .3px;
    animation: fadeIn .7s .5s ease both;
}

/* ===== RESPONSIVE ===== */
@media(max-width:500px) {
    .wrapper {
        padding: 40px 14px 60px
    }

    .acc-header {
        padding: 16px 18px;
        gap: 12px
    }

    .acc-icon {
        width: 42px;
        height: 42px;
        border-radius: 12px;
        font-size: 18px
    }

    .acc-body {
        padding: 0 18px
    }

    .acc-item.open .acc-body {
        padding: 0 18px 20px
    }

    .acc-stats {
        gap: 16px
    }

    .acc-go {
        width: 100%;
        justify-content: center
    }

    .header-title {
        letter-spacing: -2px
    }
}