:root {
    --bg: #020912;
    --panel: #081725;
    --panel2: #0c1c2a;
    --line: rgba(90, 174, 229, .18);
    --text: #eef7ff;
    --muted: #83a0b5;
    --cyan: #19d7ff;
    --blue: #128dff;
    --green: #38e4a5;
}

* {
    box-sizing: border-box
}

html {
    scroll-behavior: smooth
}

body {
    margin: 0;
    font-family: "Segoe UI", Tahoma, Arial, sans-serif;
    color: var(--text);
    background: radial-gradient(circle at 50% 0, rgba(18, 141, 255, .10), transparent 28%), linear-gradient(180deg, #020812, #05101a 52%, #020811);
}

a {
    text-decoration: none;
    color: inherit
}

.container {
    width: min(1180px, calc(100% - 28px));
    margin: auto
}

.nav {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(2, 9, 18, .82);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--line)
}

.navin {
    height: 72px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px
}

.logo {
    font-size: 22px;
    font-weight: 900;
    letter-spacing: .5px
}

.logo b {
    color: var(--cyan)
}

.logo small {
    display: block;
    color: var(--muted);
    font-size: 9px;
    letter-spacing: 2px;
    margin-top: 2px
}

.links {
    display: flex;
    gap: 22px;
    font-size: 13px;
    color: #b6c5d2
}

.links a:hover, .links a.active {
    color: var(--cyan)
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 11px 15px;
    border-radius: 12px;
    font-weight: 800;
    font-size: 13px;
    border: 1px solid transparent
}

.btn.primary {
    background: linear-gradient(135deg, var(--cyan), #71efff);
    color: #00131b;
    box-shadow: 0 10px 28px rgba(25, 215, 255, .18)
}

.btn.ghost {
    border-color: var(--line);
    background: rgba(255, 255, 255, .025);
    color: #d7e6f1
}

.hero {
    min-height: 600px;
    display: grid;
    grid-template-columns:1.05fr .95fr;
    align-items: center;
    gap: 42px;
    padding: 70px 0
}

.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 10px;
    border: 1px solid rgba(25, 215, 255, .18);
    background: rgba(25, 215, 255, .05);
    border-radius: 999px;
    color: #a9eeff;
    font-size: 12px;
    font-weight: 800
}

.dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--green);
    box-shadow: 0 0 12px var(--green)
}

.hero h1 {
    font-size: clamp(44px, 6vw, 78px);
    line-height: .98;
    margin: 18px 0 18px;
    letter-spacing: -2px
}

.hero h1 span {
    color: var(--cyan)
}

.hero p {
    color: #a4b6c4;
    line-height: 1.9;
    font-size: 17px;
    max-width: 650px
}

.actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 24px
}

.stats {
    display: flex;
    gap: 26px;
    flex-wrap: wrap;
    margin-top: 32px
}

.stats b {
    display: block;
    font-size: 22px
}

.stats span {
    color: var(--muted);
    font-size: 11px
}

.visual {
    height: 420px;
    border-radius: 30px;
    border: 1px solid var(--line);
    position: relative;
    overflow: hidden;
    display: grid;
    place-items: center;
    background: radial-gradient(circle at 55% 30%, rgba(25, 215, 255, .20), transparent 25%), linear-gradient(160deg, #0d2133, #06111b 60%)
}

.visual:before {
    content: "";
    position: absolute;
    inset: auto -10% 0;
    height: 45%;
    background: linear-gradient(rgba(25, 215, 255, .06) 1px, transparent 1px), linear-gradient(90deg, rgba(25, 215, 255, .06) 1px, transparent 1px);
    background-size: 36px 36px;
    transform: perspective(420px) rotateX(58deg);
    transform-origin: bottom
}

.hero-logo {
    position: relative;
    width: min(72%, 330px);
    filter: drop-shadow(0 0 48px rgba(25, 215, 255, .3));
    animation: logoFloat 6s ease-in-out infinite
}

@keyframes logoFloat {
    50% {
        transform: translateY(-12px)
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-logo {
        animation: none
    }
}

section {
    padding: 72px 0
}

.head {
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
    margin-bottom: 22px
}

.head h2 {
    font-size: 32px;
    margin: 0 0 6px
}

.head p {
    margin: 0;
    color: var(--muted)
}

.grid3 {
    display: grid;
    grid-template-columns:repeat(3, 1fr);
    gap: 14px
}

.grid4 {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 12px
}

.card {
    background: linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, .012));
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 18px;
    transition: .2s
}

.card:hover {
    transform: translateY(-3px);
    border-color: rgba(25, 215, 255, .35)
}

.thumb {
    height: 145px;
    border-radius: 14px;
    background: radial-gradient(circle at 70% 35%, rgba(25, 215, 255, .22), transparent 22%), linear-gradient(145deg, #142638, #09131e 65%);
    position: relative;
    overflow: hidden;
    margin-bottom: 14px
}

.thumb:after {
    content: "▶";
    position: absolute;
    inset: 0;
    display: grid;
    place-items: center;
    color: #e9fbff;
    font-size: 22px
}

.thumb img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: fill;
    transition: .25s
}

.card:hover .thumb img {
    transform: scale(1.04)
}

.thumb.has-image:after {
    background: linear-gradient(180deg, rgba(2, 9, 18, .1), rgba(2, 9, 18, .45));
    text-shadow: 0 2px 10px rgba(0, 0, 0, .55)
}

.thumb-link {
    display: block
}

.tag {
    display: inline-flex;
    padding: 5px 8px;
    border-radius: 999px;
    background: rgba(25, 215, 255, .07);
    color: #93edff;
    font-size: 10px
}

.card h3 {
    font-size: 17px;
    margin: 10px 0 7px
}

.card p {
    color: var(--muted);
    font-size: 12px;
    line-height: 1.7
}

.tournament {
    display: grid;
    grid-template-columns:1fr auto;
    gap: 18px;
    align-items: center;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(25, 215, 255, .14);
    background: linear-gradient(135deg, rgba(25, 215, 255, .07), rgba(18, 141, 255, .02)), var(--panel)
}

.prize {
    min-width: 145px;
    text-align: center;
    padding: 17px;
    border: 1px solid var(--line);
    border-radius: 14px;
    background: rgba(0, 0, 0, .2)
}

.tournament h2 {
    margin: 12px 0 6px
}

.tournament p {
    color: var(--muted);
    line-height: 1.7
}

.prize strong {
    display: block;
    color: var(--cyan);
    font-size: 28px
}

.prize .label {
    font-size: 10px;
    color: var(--muted)
}

.prize .btn {
    margin-top: 10px;
    width: 100%
}

/* Roadmap */
.roadmap-wrap {
    padding-top: 82px
}

.roadmap-hero {
    text-align: center;
    margin-bottom: 10px
}

.roadmap-hero h2 {
    font-size: 40px;
    margin: 0 0 5px
}

.roadmap-hero .sub {
    color: #90a9bd;
    font-size: 16px;
    margin: 0
}

.roadmap-hero .desc {
    max-width: 730px;
    margin: 10px auto 0;
    color: #6f8da4;
    font-size: 12px;
    line-height: 1.8
}

.kicker {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
    color: #58bfe9;
    letter-spacing: 5px;
    font-size: 9px;
    margin-top: 13px
}

.kicker:before, .kicker:after {
    content: "";
    width: 34px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan))
}

.kicker:after {
    transform: scaleX(-1)
}

.carousel {
    direction: ltr;
    display: grid;
    grid-template-columns:42px 1fr 42px;
    gap: 10px;
    align-items: center;
    margin: 16px 0 18px
}

.arrow {
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1px solid rgba(25, 215, 255, .52);
    color: var(--cyan);
    background: rgba(5, 19, 31, .72);
    cursor: pointer;
    font-size: 25px;
    display: grid;
    place-items: center
}

.arrow:disabled {
    opacity: .18;
    cursor: default
}

.track {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 6px;
    overflow: hidden;
    min-height: 122px
}

.rank-item {
    width: 112px;
    min-width: 112px;
    height: 112px;
    border-radius: 13px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 1px solid transparent;
    cursor: pointer;
    transition: .25s;
    color: #aebfcd;
    background: transparent;
    position: relative
}

.rank-item img {
    width: 57px;
    height: 57px;
    transition: .25s;
    filter: saturate(.8) brightness(.82)
}

.rank-item span {
    font-size: 10px;
    margin-top: 4px
}

.rank-item.active {
    border-color: var(--cyan);
    background: linear-gradient(180deg, rgba(25, 215, 255, .09), rgba(25, 215, 255, .02));
    color: #86f2ff;
    box-shadow: 0 0 25px rgba(25, 215, 255, .08)
}

.rank-item.active:after {
    content: "";
    position: absolute;
    left: 31%;
    right: 31%;
    bottom: -1px;
    height: 3px;
    background: var(--cyan);
    box-shadow: 0 0 12px var(--cyan)
}

.rank-item.active img {
    filter: none;
    transform: scale(1.1)
}

.rpanel {
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(8, 23, 37, .96), rgba(4, 14, 24, .95));
    border-radius: 20px;
    padding: 18px;
    overflow: hidden
}

.rhead {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    margin-bottom: 12px
}

.rsum {
    display: flex;
    align-items: center;
    gap: 12px
}

.rsum img {
    width: 58px;
    height: 58px
}

.rsum h3 {
    margin: 0 0 3px;
    font-size: 22px;
    direction: ltr;
    text-align: left
}

.rsum p {
    margin: 0;
    color: #79a4bf;
    font-size: 11px
}

.rstat {
    min-width: 130px;
    border: 1px solid var(--line);
    background: rgba(9, 26, 41, .68);
    border-radius: 12px;
    padding: 9px 11px;
    text-align: center
}

.rstat b {
    display: block;
    color: var(--cyan);
    font-size: 20px
}

.rstat span {
    font-size: 9px;
    color: #7993a6
}

.skills {
    display: grid;
    grid-template-columns:repeat(5, minmax(0, 1fr));
    gap: 9px;
    transform-origin: center top
}

.skills.out-left {
    animation: outLeft .22s ease forwards
}

.skills.out-right {
    animation: outRight .22s ease forwards
}

.skills.in-left {
    animation: inLeft .34s cubic-bezier(.22, .8, .2, 1)
}

.skills.in-right {
    animation: inRight .34s cubic-bezier(.22, .8, .2, 1)
}

@keyframes outLeft {
    to {
        opacity: 0;
        transform: translateX(-30px) scale(.985)
    }
}

@keyframes outRight {
    to {
        opacity: 0;
        transform: translateX(30px) scale(.985)
    }
}

@keyframes inLeft {
    from {
        opacity: 0;
        transform: translateX(34px) scale(.985)
    }
    to {
        opacity: 1;
        transform: none
    }
}

@keyframes inRight {
    from {
        opacity: 0;
        transform: translateX(-34px) scale(.985)
    }
    to {
        opacity: 1;
        transform: none
    }
}

.skill {
    min-height: 116px;
    border: 1px solid rgba(89, 153, 196, .28);
    background: linear-gradient(180deg, rgba(10, 28, 43, .94), rgba(6, 20, 31, .94));
    border-radius: 10px;
    padding: 11px;
    transition: .2s
}

.skill:hover {
    border-color: rgba(25, 215, 255, .5);
    transform: translateY(-2px)
}

.skill-title {
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 0 8px;
    min-height: 30px
}

.skill-title a.name, .skill-title span.name {
    font-size: 11px;
    font-weight: 760;
    line-height: 1.35
}

.skill-title a.name:hover {
    color: var(--cyan)
}

.yt-icon {
    width: 14px;
    height: 14px;
    border-radius: 4px;
    background: #ff1744;
    color: #fff;
    display: inline-grid;
    place-items: center;
    font-size: 7px
}

.meta {
    display: flex;
    gap: 5px;
    margin-bottom: 6px;
    flex-wrap: wrap
}

.pill {
    font-size: 8px;
    color: #89bdd7;
    background: rgba(16, 49, 68, .58);
    border-radius: 999px;
    padding: 3px 5px
}

.row {
    font-size: 9px;
    color: #7e96a9;
    margin: 4px 0;
    line-height: 1.35
}

.row b {
    color: #bfd0dd;
    font-weight: 600
}

.resources .icon {
    width: 42px;
    height: 42px;
    border-radius: 13px;
    display: grid;
    place-items: center;
    background: rgba(25, 215, 255, .07);
    border: 1px solid rgba(25, 215, 255, .12);
    font-size: 20px;
    margin-bottom: 12px
}

/* Social */
.socials {
    display: grid;
    grid-template-columns:repeat(4, 1fr);
    gap: 12px
}

.social-card {
    --brand: var(--cyan);
    position: relative;
    overflow: hidden;
    display: flex;
    align-items: center;
    gap: 13px;
    padding: 16px;
    border-radius: 18px;
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(255, 255, 255, .022), rgba(255, 255, 255, .012));
    transition: .22s
}

.social-card:before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 88% 50%, var(--brand), transparent 62%);
    opacity: 0;
    transition: .22s;
    pointer-events: none
}

.social-card:hover {
    transform: translateY(-3px);
    border-color: var(--brand)
}

.social-card:hover:before {
    opacity: .11
}

.social-icon {
    flex: none;
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: grid;
    place-items: center;
    color: var(--brand);
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .04);
    transition: .22s
}

.social-icon svg {
    width: 22px;
    height: 22px
}

.social-card:hover .social-icon {
    border-color: var(--brand);
    box-shadow: 0 0 24px -8px var(--brand)
}

.social-meta {
    display: grid;
    gap: 2px;
    min-width: 0
}

.social-meta b {
    font-size: 15px
}

.social-handle {
    direction: ltr;
    text-align: right;
    font-size: 11px;
    color: var(--brand)
}

.social-desc {
    font-size: 10px;
    color: var(--muted)
}

.social-go {
    margin-inline-start: auto;
    color: var(--muted);
    font-size: 14px;
    transition: .22s
}

.social-card:hover .social-go {
    color: var(--brand);
    transform: translateY(-2px)
}

.about {
    display: grid;
    grid-template-columns:1fr 1fr;
    gap: 18px
}

.about .box {
    border: 1px solid var(--line);
    border-radius: 18px;
    padding: 20px;
    background: rgba(255, 255, 255, .015)
}

.about .box p {
    color: var(--muted);
    line-height: 1.8
}

.cta {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 18px;
    padding: 30px;
    border-radius: 22px;
    border: 1px solid rgba(25, 215, 255, .14);
    background: radial-gradient(circle at 15% 20%, rgba(25, 215, 255, .13), transparent 35%), linear-gradient(135deg, #0c1b29, #07121d)
}

.cta h2 {
    margin: 0 0 6px
}

.cta p {
    margin: 0;
    color: var(--muted)
}

footer {
    border-top: 1px solid var(--line);
    padding: 36px 0 45px;
    color: var(--muted)
}

.foot {
    display: grid;
    grid-template-columns:1.3fr repeat(3, .7fr);
    gap: 22px
}

.foot h4 {
    color: #dbe8f0;
    margin: 0 0 10px
}

.foot p {
    font-size: 12px;
    line-height: 1.8
}

.foot a {
    display: block;
    margin: 7px 0;
    font-size: 12px
}

.copy {
    margin-top: 25px;
    padding-top: 16px;
    border-top: 1px solid var(--line);
    font-size: 11px
}

@media (max-width: 1000px) {
    .hero {
        grid-template-columns:1fr
    }

    .visual {
        height: 350px;
        order: -1
    }

    .grid4, .socials {
        grid-template-columns:repeat(2, 1fr)
    }

    .skills {
        grid-template-columns:repeat(4, 1fr)
    }

    .about {
        grid-template-columns:1fr
    }
}

@media (max-width: 820px) {
    .links {
        display: none
    }

    .grid3 {
        grid-template-columns:1fr 1fr
    }

    .skills {
        grid-template-columns:repeat(3, 1fr)
    }

    .track {
        justify-content: flex-start;
        overflow-x: auto;
        scrollbar-width: none
    }

    .track::-webkit-scrollbar {
        display: none
    }

    .foot {
        grid-template-columns:1fr 1fr
    }
}

@media (max-width: 600px) {
    .hero {
        padding-top: 45px
    }

    .hero h1 {
        font-size: 48px
    }

    .grid3, .grid4, .skills, .socials {
        grid-template-columns:1fr
    }

    .tournament {
        grid-template-columns:1fr
    }

    .head {
        align-items: start;
        flex-direction: column
    }

    .rhead {
        align-items: flex-start
    }

    .rstat {
        display: none
    }

    .cta {
        flex-direction: column;
        align-items: flex-start
    }

    .foot {
        grid-template-columns:1fr
    }

    .rank-item {
        width: 86px;
        min-width: 86px;
        height: 90px
    }

    .rank-item img {
        width: 46px;
        height: 46px
    }
}