:root {
    --bg-main: #020712;
    --bg-secondary: #061225;
    --bg-card: rgba(5, 18, 38, 0.78);
    --bg-card-strong: rgba(7, 26, 54, 0.94);
    --purple-dark: #061a35;
    --purple: #0a4ea3;
    --purple-neon: #28a8ff;
    --magenta: #146bff;
    --blue-neon: #43c8ff;
    --text-light: #f3f9ff;
    --text-muted: #9db7d4;
    --border: rgba(67, 200, 255, 0.28);
    --shadow-purple: 0 0 50px rgba(20, 107, 255, 0.24);
    --header-height: 82px;
}



* {
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-height: 100vh;
    color: var(--text-light);
    font-family: Manrope, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background:
        radial-gradient(circle at 15% 10%, rgba(20, 107, 255, 0.22), transparent 30%),
        radial-gradient(circle at 85% 18%, rgba(67, 200, 255, 0.18), transparent 26%),
        radial-gradient(circle at 50% 100%, rgba(10, 78, 163, 0.2), transparent 34%),
        linear-gradient(180deg, #020712 0%, #061225 42%, #020712 100%);
    overflow-x: hidden;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.18;
    background-image:
        linear-gradient(rgba(67, 200, 255, 0.12) 1px, transparent 1px),
        linear-gradient(90deg, rgba(67, 200, 255, 0.12) 1px, transparent 1px);
    background-size: 70px 70px;
    mask-image: linear-gradient(to bottom, black, transparent 85%);
    z-index: -2;
}

body::after {
    content: "";
    position: fixed;
    inset: 0;
    pointer-events: none;
    opacity: 0.08;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 250 250' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)'/%3E%3C/svg%3E");
    z-index: -1;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    max-width: 100%;
}

.container {
    width: min(1180px, calc(100% - 36px));
    margin-inline: auto;
}

.site-glow {
    position: fixed;
    width: 360px;
    height: 360px;
    border-radius: 999px;
    filter: blur(80px);
    pointer-events: none;
    z-index: -1;
}

.site-glow-one {
    top: -120px;
    right: -90px;
    background: rgba(20, 107, 255, 0.28);
}

.site-glow-two {
    bottom: 15%;
    left: -120px;
    background: rgba(67, 200, 255, 0.16);
}

.main-header {
    position: sticky;
    top: 0;
    z-index: 20;
    backdrop-filter: blur(18px);
    background: rgba(2, 7, 18, 0.18);
    border-bottom: 1px solid rgba(67, 200, 255, 0.12);
    transition: background 0.28s ease, border-color 0.28s ease;
}

.main-header:hover {
    background: rgba(2, 7, 18, 0.62);
    border-bottom-color: rgba(67, 200, 255, 0.28);
}

.header-inner {
    min-height: var(--header-height);
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.logo {
    display: inline-flex;
    align-items: center;
    flex: 0 0 auto;
}

.logo-image {
    display: block;
    width: auto;
    height: 64px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(67, 200, 255, 0.28));
}

.main-nav {
    display: flex;
    align-items: center;
    gap: 10px;
}

.main-nav a {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 12px;
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 700;
    transition: color 0.2s ease, background 0.2s ease;
    border-radius: 999px;
}

.main-nav a:hover,
.main-nav a.is-active {
    color: #fff;
    background: rgba(67, 200, 255, 0.12);
}

.main-nav .nav-login {
    color: #fff;
    background: linear-gradient(135deg, #063d83, #146bff 55%, #43c8ff);
    border: 1px solid rgba(243, 249, 255, 0.18);
    box-shadow: 0 0 22px rgba(20, 107, 255, 0.32);
}

.main-nav .nav-login:hover,
.main-nav .nav-login:focus-visible {
    color: #1a1300;
    background: linear-gradient(135deg, #ff9f1c, #ffe45c 52%, #fff1a6);
    border-color: rgba(255, 228, 92, 0.62);
    box-shadow: 0 0 30px rgba(255, 228, 92, 0.42);
    outline: none;
}

.discord-icon,
.login-icon {
    width: 20px;
    height: 20px;
    flex: 0 0 auto;
    fill: currentColor;
}

.menu-toggle {
    display: none;
    width: 44px;
    height: 44px;
    border: 1px solid var(--border);
    border-radius: 14px;
    background: rgba(255, 255, 255, 0.04);
    padding: 10px;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    height: 2px;
    background: #fff;
    margin: 5px 0;
    border-radius: 99px;
}

.hero {
    position: relative;
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    padding: 82px 0 96px;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(2, 7, 18, 0.98) 0%, rgba(2, 7, 18, 0.78) 35%, rgba(2, 7, 18, 0.18) 70%, rgba(2, 7, 18, 0.94) 100%),
        radial-gradient(circle at 72% 47%, rgba(20, 107, 255, 0.48), transparent 15%),
        radial-gradient(circle at 75% 48%, rgba(67, 200, 255, 0.24), transparent 26%),
        url('../images/hero.png'),
        radial-gradient(circle at 80% 50%, rgba(10, 78, 163, 0.68), transparent 20%),
        linear-gradient(135deg, #020712 0%, #061a35 50%, #020712 100%);
    background-size: cover;
    background-position: center;
    transform: scale(1.02);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 75% 52%, rgba(67, 200, 255, 0.16), transparent 26%),
        linear-gradient(180deg, transparent 70%, var(--bg-main) 100%);
    pointer-events: none;
}

.hero-grid {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) 370px;
    gap: 48px;
    align-items: center;
}

.hero-content {
    max-width: 740px;
}

.eyebrow,
.card-kicker {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: var(--blue-neon);
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.18em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(67, 200, 255, 0.9), 0 0 24px rgba(20, 107, 255, 0.55);
}

.card-kicker {
    display: flex;
    justify-content: center;
    width: 100%;
}

.eyebrow::before,
.eyebrow::after,
.card-kicker::before,
.card-kicker::after {
    content: "";
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, #b9f1ff, var(--blue-neon), transparent);
    box-shadow: 0 0 12px rgba(67, 200, 255, 0.85);
}

.eyebrow::after,
.card-kicker::after {
    background: linear-gradient(90deg, transparent, var(--blue-neon), #b9f1ff);
}

h1,
h2,
h3,
h4,
p {
    margin-top: 0;
}

h1,
h2,
h3,
h4 {
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
}

.hero h1 {
    margin: 18px 0 20px;
    font-size: clamp(44px, 8vw, 92px);
    line-height: 1.08;
}

.hero h1 span {
    display: block;
    padding-bottom: 0.08em;
    color: transparent;
    background: linear-gradient(135deg, #f3f9ff 0%, #43c8ff 42%, #146bff 100%);
    -webkit-background-clip: text;
    background-clip: text;
    text-shadow: 0 0 40px rgba(67, 200, 255, 0.24);
}

.hero p {
    max-width: 720px;
    color: rgba(255, 255, 255, 0.94);
    font-size: 18px;
    line-height: 1.75;
}

.hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 14px;
    margin: 34px 0 26px;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 52px;
    padding: 0 24px;
    border-radius: 999px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 13px;
    font-weight: 900;
    overflow: hidden;
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
    white-space: nowrap;
}

.btn-icon {
    width: 18px;
    height: 18px;
    flex: 0 0 18px;
    fill: currentColor;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn-primary,
.btn-yellow,
.btn-secondary {
    color: #fff;
    background: linear-gradient(135deg, #063d83, #146bff 52%, #43c8ff);
    border-color: rgba(67, 200, 255, 0.34);
    box-shadow: 0 0 34px rgba(20, 107, 255, 0.36);
}

.btn-primary,
.btn-yellow,
.btn-secondary {
    isolation: isolate;
}

.btn:not(.btn-discord):hover {
    color: #1a1300;
    background: linear-gradient(135deg, #ff9f1c, #ffe45c 52%, #fff1a6);
    border-color: rgba(255, 228, 92, 0.62);
    box-shadow: 0 0 30px rgba(255, 228, 92, 0.42);
}

.btn-discord {
    gap: 10px;
    background: #5865f2;
    border-color: rgba(255, 255, 255, 0.18);
    box-shadow: 0 0 28px rgba(88, 101, 242, 0.34);
}

.btn-discord:hover {
    box-shadow: 0 0 34px rgba(88, 101, 242, 0.46);
}

@keyframes shine {
    0%, 35% { transform: translateX(-120%); }
    65%, 100% { transform: translateX(120%); }
}

.server-line {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border);
    color: var(--text-muted);
    box-shadow: var(--shadow-purple);
}

.server-line strong {
    color: #fff;
}

.pulse {
    width: 10px;
    height: 10px;
    border-radius: 999px;
    background: #22c55e;
    box-shadow: 0 0 0 rgba(34, 197, 94, 0.9);
    animation: pulse 1.6s infinite;
}

@keyframes pulse {
    0% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.7); }
    70% { box-shadow: 0 0 0 12px rgba(34, 197, 94, 0); }
    100% { box-shadow: 0 0 0 0 rgba(34, 197, 94, 0); }
}

.event-card,
.feature-card,
.news-card,
.download-card,
.ranking-card,
.requirements,
.news-row,
.cta-box,
.systems-panel {
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        var(--bg-card);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.32), var(--shadow-purple);
    backdrop-filter: blur(18px);
}

.event-card {
    position: relative;
    padding: 24px;
    border-radius: 24px;
    min-height: 290px;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    overflow: hidden;
    isolation: isolate;
    background:
        radial-gradient(circle at 82% 12%, rgba(67, 200, 255, 0.08), transparent 28%),
        rgba(5, 18, 38, 0.5);
    box-shadow: 0 20px 68px rgba(0, 0, 0, 0.42), 0 0 38px rgba(20, 107, 255, 0.18);
    backdrop-filter: blur(18px);
}

.event-card::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--neon-angle), transparent 0deg, transparent 238deg, rgba(67, 200, 255, 0.18) 278deg, #b9f1ff 304deg, #43c8ff 322deg, transparent 360deg);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    animation: cardBorderNeon 3.4s linear infinite;
    pointer-events: none;
}

.event-card::after {
    content: none;
}

.event-card > * {
    position: relative;
    z-index: 1;
}

.event-card h2 {
    margin: 14px 0 12px;
    font-size: 31px;
}

.event-card p {
    color: var(--text-muted);
    line-height: 1.7;
}

.event-server {
    margin-bottom: 14px;
    padding: 14px 16px;
    border-radius: 16px;
    border: 1px solid rgba(67, 200, 255, 0.26);
    text-align: center;
    background:
        radial-gradient(circle at 92% 20%, rgba(34, 197, 94, 0.08), transparent 28%),
        linear-gradient(135deg, rgba(67, 200, 255, 0.07), transparent 42%),
        rgba(2, 7, 18, 0.66);
    box-shadow: inset 0 0 28px rgba(67, 200, 255, 0.08), 0 14px 32px rgba(0, 0, 0, 0.16);
}

.server-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #f3f9ff;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 14px;
    font-weight: 400;
    letter-spacing: 0.12em;
    text-transform: uppercase;
}

.server-status-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 10px;
    border: 1px solid rgba(67, 200, 255, 0.28);
    border-radius: 999px;
    color: #22c55e;
    background: rgba(3, 18, 38, 0.86);
    box-shadow: inset 0 0 12px rgba(67, 200, 255, 0.1), 0 0 14px rgba(34, 197, 94, 0.12);
}

.server-status-pill .pulse {
    width: 8px;
    height: 8px;
}

.event-server strong,
.event-server small {
    display: block;
}

.event-server strong {
    margin-top: 10px;
    color: #ffe45c;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 52px;
    font-weight: 400;
    line-height: 1;
    text-shadow: 0 0 10px rgba(255, 228, 92, 0.7), 0 0 24px rgba(255, 191, 0, 0.34);
}

.event-server small {
    margin-top: 8px;
    color: #f3f9ff;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 17px;
    font-weight: 400;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.event-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 9px;
    margin-top: 14px;
}

.event-stats div {
    position: relative;
    padding: 13px 10px;
    border-radius: 14px;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 0%, rgba(67, 200, 255, 0.18), transparent 48%),
        linear-gradient(180deg, rgba(20, 107, 255, 0.14), rgba(255, 255, 255, 0.03));
    border: 1px solid rgba(67, 200, 255, 0.18);
    text-align: center;
    box-shadow: inset 0 0 22px rgba(67, 200, 255, 0.06), 0 10px 26px rgba(0, 0, 0, 0.14);
    animation: statFloat 3.8s ease-in-out infinite;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.event-stats div:nth-child(2) {
    animation-delay: 0.18s;
}

.event-stats div:nth-child(3) {
    animation-delay: 0.36s;
}

.event-stats div::before {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(115deg, transparent 0%, rgba(243, 249, 255, 0.2) 45%, transparent 62%);
    transform: translateX(-130%);
    animation: statShine 3.2s ease-in-out infinite;
}

.event-stats div:hover {
    animation-play-state: paused;
    transform: translateY(-4px);
    border-color: rgba(67, 200, 255, 0.58);
    box-shadow: inset 0 0 26px rgba(67, 200, 255, 0.12), 0 16px 34px rgba(20, 107, 255, 0.24);
}

.event-stats strong {
    position: relative;
    display: block;
    color: #fff;
    font-size: 22px;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-weight: 400;
}

.event-stats span {
    position: relative;
    color: var(--text-muted);
    font-size: 12px;
    font-weight: 800;
    text-transform: uppercase;
}

@keyframes statFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

@keyframes statShine {
    0%, 45% { transform: translateX(-130%); }
    70%, 100% { transform: translateX(130%); }
}

@property --neon-angle {
    syntax: "<angle>";
    inherits: false;
    initial-value: 0deg;
}

@keyframes cardBorderNeon {
    to { --neon-angle: 360deg; }
}

.section {
    padding: 92px 0;
}

.section-status {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(2, 7, 18, 0.9), rgba(2, 7, 18, 0.58) 48%, rgba(2, 7, 18, 0.94)),
        url('../images/bg-02.png') center / cover no-repeat;
}

.section-status::before,
.section-status::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background:
        linear-gradient(90deg, transparent 0%, rgba(185, 241, 255, 0.2) 18%, #43c8ff 50%, rgba(185, 241, 255, 0.2) 82%, transparent 100%);
    box-shadow: 0 0 12px rgba(67, 200, 255, 0.85), 0 0 28px rgba(20, 107, 255, 0.42);
    pointer-events: none;
}

.section-status::before {
    top: 0;
}

.section-status::after {
    bottom: 0;
}

.section-status > .container {
    position: relative;
    z-index: 1;
}

.cards-grid {
    display: grid;
    gap: 22px;
}

.cards-grid.three {
    grid-template-columns: repeat(3, minmax(0, 1fr));
}

.cards-grid.two {
    grid-template-columns: repeat(2, minmax(0, 1fr));
}

.section-status > .cards-grid {
    display: none;
}

.rank-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.rank-panel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(67, 200, 255, 0.24);
    border-radius: 18px;
    background:
        radial-gradient(circle at 80% 0%, rgba(67, 200, 255, 0.16), transparent 30%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.06), transparent 28%),
        rgba(5, 18, 38, 0.78);
    box-shadow: 0 18px 54px rgba(0, 0, 0, 0.34), 0 0 28px rgba(20, 107, 255, 0.16);
    backdrop-filter: blur(16px);
}

.rank-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 1px;
    background: linear-gradient(135deg, rgba(185, 241, 255, 0.72), transparent 34%, rgba(20, 107, 255, 0.42));
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    pointer-events: none;
}

.rank-panel h3 {
    margin: 0;
    padding: 18px 18px 16px;
    color: #f3f9ff;
    font-size: 20px;
    line-height: 1;
    text-shadow: 0 0 16px rgba(67, 200, 255, 0.55);
    background: linear-gradient(135deg, rgba(10, 78, 163, 0.72), rgba(20, 107, 255, 0.42));
}

.rank-table {
    display: grid;
}

.rank-head,
.rank-entry {
    display: grid;
    grid-template-columns: 25% 50% 25%;
    align-items: center;
}

.rank-head {
    min-height: 44px;
    padding: 0;
    color: #d7f5ff;
    background: rgba(2, 7, 18, 0.42);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.rank-entry {
    min-height: 66px;
    padding: 0;
    border-top: 1px solid rgba(67, 200, 255, 0.1);
    color: #f3f9ff;
    background: rgba(2, 7, 18, 0.22);
}

.rank-head > span,
.rank-entry > strong,
.rank-entry > span:not(.rank-medal) {
    min-height: inherit;
    display: flex;
    align-items: center;
    align-self: stretch;
    padding: 0 14px;
    border-left: 1px solid rgba(67, 200, 255, 0.16);
}

.rank-entry > span:first-child {
    min-height: inherit;
    display: flex;
    align-items: center;
    justify-content: center;
    align-self: stretch;
    border-left: 0;
}

.rank-head > span:first-child {
    border-left: 0;
    justify-content: center;
}

.rank-head > span:nth-child(1) {
    color: #43c8ff;
}

.rank-head > span:nth-child(2) {
    color: #f3f9ff;
}

.rank-head > span:nth-child(3) {
    justify-content: flex-end;
    color: #ffe45c;
}

.rank-entry:nth-child(odd) {
    background: rgba(255, 255, 255, 0.03);
}

.rank-entry strong {
    min-width: 0;
    overflow: hidden;
    color: #f3f9ff;
    font-size: 13px;
    font-weight: 900;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.rank-entry > span:last-child {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    justify-self: stretch;
    color: #ffe45c;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 15px;
    text-shadow: 0 0 12px rgba(255, 228, 92, 0.36);
}

.rank-medal {
    position: relative;
    display: grid;
    place-items: center;
    width: 100%;
    height: 100%;
    min-height: inherit;
    padding: 0;
    filter: drop-shadow(0 0 10px rgba(67, 200, 255, 0.25));
}

.rank-medal::before,
.rank-medal::after {
    content: "";
    position: absolute;
    inset: 10px;
    border-radius: 14px;
    pointer-events: none;
}

.rank-medal::before {
    opacity: 0.44;
    filter: blur(10px);
    animation: rankAura 2.8s ease-in-out infinite;
}

.rank-medal::after {
    opacity: 0.22;
    background-image:
        linear-gradient(currentColor 1px, transparent 1px),
        linear-gradient(90deg, currentColor 1px, transparent 1px);
    background-size: 8px 8px;
    mask-image: radial-gradient(circle, #000 0%, transparent 72%);
    animation: rankPixels 3.6s steps(4) infinite;
}

.rank-medal img {
    position: relative;
    z-index: 1;
    display: block;
    width: 42px;
    height: 42px;
    object-fit: contain;
}

.rank-entry:nth-child(2) .rank-medal {
    color: #ffe45c;
}

.rank-entry:nth-child(2) .rank-medal::before {
    background: radial-gradient(circle, rgba(255, 228, 92, 0.72), transparent 68%);
}

.rank-entry:nth-child(3) .rank-medal {
    color: #d8efff;
}

.rank-entry:nth-child(3) .rank-medal::before {
    background: radial-gradient(circle, rgba(216, 239, 255, 0.62), transparent 68%);
}

.rank-entry:nth-child(4) .rank-medal {
    color: #ff9f1c;
}

.rank-entry:nth-child(4) .rank-medal::before {
    background: radial-gradient(circle, rgba(255, 159, 28, 0.58), transparent 68%);
}

@keyframes rankAura {
    0%, 100% { transform: scale(0.92); opacity: 0.32; }
    50% { transform: scale(1.12); opacity: 0.56; }
}

@keyframes rankPixels {
    0%, 100% { transform: translate(0, 0); opacity: 0.14; }
    50% { transform: translate(2px, -2px); opacity: 0.3; }
}

.feature-card,
.news-card,
.download-card,
.news-row {
    position: relative;
    padding: 30px;
    border-radius: 28px;
    overflow: hidden;
}

.news-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.news-card p {
    flex: 1;
    margin-bottom: 6px;
}

.feature-card::after,
.news-card::after,
.download-card::after {
    content: "";
    position: absolute;
    width: 150px;
    height: 150px;
    right: -55px;
    bottom: -55px;
    border-radius: 999px;
    background: rgba(67, 200, 255, 0.08);
    filter: blur(28px);
}

.card-number {
    display: block;
    color: rgba(255, 255, 255, 0.18);
    font: 400 44px/1 "Pixel Digivolve", Manrope, sans-serif;
    margin-bottom: 28px;
}

.feature-card h3,
.news-card h3 {
    margin-bottom: 0;
    font-size: 24px;
}

.feature-card p,
.news-card p,
.section-copy p,
.download-card p,
.news-row p,
.requirements li {
    color: var(--text-muted);
    line-height: 1.75;
}

.split-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 58px;
    align-items: center;
}

.section-copy h2,
.section-heading h2,
.cta-box h2,
.page-hero h1 {
    margin: 16px 0 18px;
    font-size: clamp(32px, 4vw, 58px);
    line-height: 1.05;
}

.about-section .section-copy p {
    text-align: justify;
}

.link-arrow {
    display: inline-flex;
    margin-top: 18px;
    color: #fff;
    font-weight: 900;
}

.link-arrow::after {
    content: "→";
    margin-left: 8px;
    color: var(--blue-neon);
}

.systems-panel {
    position: relative;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
    padding: 20px;
    border-radius: 30px;
    overflow: hidden;
    isolation: isolate;
}

.systems-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    padding: 1px;
    background: conic-gradient(from var(--neon-angle), transparent 0deg, transparent 238deg, rgba(67, 200, 255, 0.18) 278deg, #b9f1ff 304deg, #43c8ff 322deg, transparent 360deg);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    animation: cardBorderNeon 3.4s linear infinite;
    pointer-events: none;
}

.system-item {
    position: relative;
    z-index: 1;
    min-height: 142px;
    padding: 20px;
    border-radius: 22px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    isolation: isolate;
}

.system-item::before {
    content: "";
    position: absolute;
    inset: -34px auto auto -28px;
    width: 124px;
    height: 124px;
    border-radius: 999px;
    opacity: 0.36;
    filter: blur(32px);
    pointer-events: none;
    z-index: -1;
}

.system-item:nth-child(1)::before {
    background: rgba(255, 132, 31, 0.76);
}

.system-item:nth-child(2)::before {
    background: rgba(255, 228, 92, 0.72);
}

.system-item:nth-child(3)::before {
    background: rgba(255, 57, 83, 0.68);
}

.system-item:nth-child(4)::before {
    background: rgba(67, 200, 255, 0.68);
}

.system-icon {
    position: relative;
    display: grid;
    place-items: center;
    width: 42px;
    height: 42px;
    padding: 7px;
    border-radius: 12px;
    color: #ffe45c;
    background: rgba(255, 228, 92, 0.12);
    border: 1px solid rgba(255, 228, 92, 0.28);
    filter: drop-shadow(0 8px 18px rgba(255, 228, 92, 0.16));
}

.system-item:nth-child(1) .system-icon {
    color: #ff841f;
    background: rgba(255, 132, 31, 0.13);
    border-color: rgba(255, 132, 31, 0.32);
    filter: drop-shadow(0 8px 18px rgba(255, 132, 31, 0.18));
}

.system-item:nth-child(3) .system-icon {
    color: #ff3953;
    background: rgba(255, 57, 83, 0.12);
    border-color: rgba(255, 57, 83, 0.3);
    filter: drop-shadow(0 8px 18px rgba(255, 57, 83, 0.18));
}

.system-item:nth-child(4) .system-icon {
    color: #43c8ff;
    background: rgba(67, 200, 255, 0.12);
    border-color: rgba(67, 200, 255, 0.3);
    filter: drop-shadow(0 8px 18px rgba(67, 200, 255, 0.18));
}

.system-icon::before {
    content: "";
    position: absolute;
    inset: -5px;
    border-radius: 16px;
    background: radial-gradient(circle, rgba(255, 228, 92, 0.48), transparent 68%);
    opacity: 0.32;
    filter: blur(10px);
    animation: rankAura 3s ease-in-out infinite;
    pointer-events: none;
}

.system-item:nth-child(1) .system-icon::before {
    background: radial-gradient(circle, rgba(255, 132, 31, 0.5), transparent 68%);
}

.system-item:nth-child(3) .system-icon::before {
    background: radial-gradient(circle, rgba(255, 57, 83, 0.46), transparent 68%);
}

.system-item:nth-child(4) .system-icon::before {
    background: radial-gradient(circle, rgba(67, 200, 255, 0.48), transparent 68%);
}

.system-icon img {
    position: relative;
    z-index: 1;
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.system-item strong,
.system-item small {
    display: block;
}

.system-item strong {
    margin-top: 18px;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 18px;
}

.system-item small {
    margin-top: 8px;
    color: var(--text-muted);
}

.partner-section {
    position: relative;
    overflow: hidden;
    background:
        linear-gradient(180deg, rgba(2, 7, 18, 0.18), rgba(2, 7, 18, 0.72)),
        url('../images/bg-01.png') center / cover no-repeat;
    background-size: auto, cover;
}

.partner-section::before,
.partner-section::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(67, 200, 255, 0.92), transparent);
    box-shadow: 0 0 18px rgba(67, 200, 255, 0.58);
    pointer-events: none;
}

.partner-section::before {
    top: 0;
}

.partner-section::after {
    bottom: 0;
}

.partner-heading {
    text-align: center;
    margin-bottom: 40px;
}

.partner-heading span {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    color: var(--blue-neon);
    font-size: 13px;
    font-weight: 900;
    letter-spacing: 0.22em;
    text-transform: uppercase;
    text-shadow: 0 0 10px rgba(67, 200, 255, 0.78), 0 0 20px rgba(20, 107, 255, 0.34);
}

.partner-heading span::before,
.partner-heading span::after {
    content: "";
    width: 30px;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--blue-neon));
    box-shadow: 0 0 10px rgba(67, 200, 255, 0.72);
}

.partner-heading span::after {
    background: linear-gradient(90deg, var(--blue-neon), transparent);
}

.partner-heading h2 {
    margin: 8px 0 0;
    color: #fff;
    font-size: clamp(30px, 3.4vw, 44px);
    line-height: 1.1;
}

.partner-stage {
    position: relative;
    min-height: 610px;
    padding: 0 48px 58px;
    border-radius: 28px;
    overflow: hidden;
    isolation: isolate;
    background:
        linear-gradient(180deg, rgba(0, 0, 0, 0.56), rgba(0, 0, 0, 0.7));
    background-size: auto;
    border: 1px solid rgba(185, 241, 255, 0.08);
    box-shadow: inset 0 110px 120px rgba(4, 8, 16, 0.42), 0 30px 90px rgba(0, 0, 0, 0.42);
    backdrop-filter: blur(10px);
}

.partner-stage::before {
    content: "";
    position: absolute;
    inset: 70px 0 0;
    z-index: -1;
    background:
        linear-gradient(rgba(173, 225, 255, 0.22) 1px, transparent 1px),
        linear-gradient(90deg, rgba(173, 225, 255, 0.22) 1px, transparent 1px),
        radial-gradient(circle at 68% 52%, rgba(173, 225, 255, 0.2), transparent 34%);
    background-size: 10px 10px, 10px 10px, auto;
    filter: drop-shadow(0 0 18px rgba(173, 225, 255, 0.32));
    opacity: 0.36;
    mask-image: radial-gradient(circle at 62% 52%, #000 0%, transparent 78%);
    animation: rankPixels 4s steps(4) infinite;
    pointer-events: none;
}

.partner-tabs {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    width: calc(100% + 96px);
    max-width: none;
    margin: 0 -48px 70px;
    padding: 6px;
    border-radius: 28px 28px 0 0;
    background: rgba(2, 7, 18, 0.56);
    border-top: 1px solid rgba(67, 200, 255, 0.24);
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.partner-tabs button {
    position: relative;
    min-height: 48px;
    border: 0;
    border-radius: 0;
    color: #fff;
    background: rgba(6, 61, 131, 0.34);
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 12px;
    cursor: pointer;
    transition: background 0.2s ease, box-shadow 0.2s ease, color 0.2s ease;
}

.partner-tabs button:first-child {
    border-radius: 22px 0 0 22px;
}

.partner-tabs button:last-child {
    border-radius: 0 22px 22px 0;
}

.partner-tabs button + button::before {
    content: "";
    position: absolute;
    left: 0;
    top: 10px;
    bottom: 10px;
    width: 1px;
    background: linear-gradient(180deg, transparent, rgba(67, 200, 255, 0.34), transparent);
}

.partner-tabs button.active {
    color: #1a1300;
    background: linear-gradient(135deg, #ff9f1c, #ffe45c 52%, #fff1a6);
    box-shadow: 0 0 28px rgba(255, 228, 92, 0.34), inset 0 0 0 1px rgba(255, 255, 255, 0.38);
    z-index: 1;
}

.partner-content {
    display: grid;
    grid-template-columns: minmax(280px, 440px) 1fr;
    gap: 42px;
    align-items: end;
}

.partner-info {
    position: relative;
    z-index: 2;
}

.partner-info h3 {
    margin: 0 0 20px;
    color: #fff;
    font-size: clamp(42px, 5vw, 58px);
    line-height: 1;
}

.partner-preview {
    display: block;
    width: min(256px, 100%);
    height: 128px;
    object-fit: cover;
    border-radius: 4px;
    margin-bottom: 18px;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.partner-info p {
    max-width: 430px;
    margin: 0;
    color: #fff;
    font-size: 16px;
    line-height: 1.42;
}

.evolution-line {
    display: grid;
    grid-template-columns: repeat(4, 88px);
    column-gap: 18px;
    row-gap: 22px;
    justify-content: start;
    margin-top: 48px;
}

.evolution-line figure {
    width: 88px;
    margin: 0;
    text-align: center;
}

.evolution-line button {
    display: grid;
    place-items: center;
    width: 48px;
    height: 48px;
    margin: 0;
    padding: 4px;
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    cursor: pointer;
    transition: border-color 0.2s ease, box-shadow 0.2s ease, transform 0.2s ease;
}

.evolution-line button:hover {
    transform: translateY(-2px);
    border-color: rgba(185, 241, 255, 0.78);
    box-shadow: 0 0 18px rgba(67, 200, 255, 0.24);
}

.evolution-line img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.evolution-line figure.active button {
    border: 1px solid rgba(255, 255, 255, 0.32);
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.82);
    box-shadow: 0 0 18px rgba(255, 228, 92, 0.22);
}

.evolution-line figcaption {
    display: block;
    margin-top: 10px;
    width: 88px;
    transform: translateX(-20px);
    color: rgba(255, 255, 255, 0.88);
    font-size: 10px;
    line-height: 1.25;
    overflow-wrap: normal;
    word-break: normal;
    text-align: center;
}

.partner-character {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: flex-end;
    align-items: flex-end;
    min-height: 430px;
}

.partner-character::before {
    display: none;
}

.partner-character img {
    position: relative;
    z-index: 1;
    display: block;
    width: min(500px, 100%);
    max-height: 520px;
    object-fit: contain;
    filter: drop-shadow(0 30px 46px rgba(0, 0, 0, 0.52));
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.partner-character img.is-changing {
    opacity: 0;
    transform: scale(0.96);
}

.section-heading {
    text-align: center;
    max-width: 720px;
    margin-bottom: 40px;
}

.news-card span,
.download-card span,
.news-row span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--blue-neon);
    background: rgba(3, 18, 38, 0.82);
    border: 1px solid rgba(67, 200, 255, 0.24);
    box-shadow: inset 0 0 12px rgba(67, 200, 255, 0.1), 0 0 14px rgba(67, 200, 255, 0.1);
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.news-card span::before,
.download-card span::before,
.news-row span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ffe45c;
    box-shadow: 0 0 10px rgba(255, 228, 92, 0.72);
    animation: newsPulse 1.6s infinite;
}

@keyframes newsPulse {
    0% { box-shadow: 0 0 0 0 rgba(255, 228, 92, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(255, 228, 92, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 228, 92, 0); }
}

.news-card a,
.news-row a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
    min-height: 40px;
    padding: 0 18px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(135deg, #063d83, #146bff 52%, #43c8ff);
    border: 1px solid rgba(67, 200, 255, 0.34);
    box-shadow: 0 0 24px rgba(20, 107, 255, 0.28);
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 12px;
    font-weight: 900;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.news-card a:hover,
.news-row a:hover {
    color: #1a1300;
    background: linear-gradient(135deg, #ff9f1c, #ffe45c 52%, #fff1a6);
    border-color: rgba(255, 228, 92, 0.62);
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(255, 228, 92, 0.42);
}

.download-cta {
    padding-top: 20px;
}

.cta-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
    padding: 38px;
    border-radius: 34px;
    background:
        radial-gradient(circle at right, rgba(20, 107, 255, 0.24), transparent 34%),
        rgba(5, 18, 38, 0.82);
}

.cta-box h2 {
    max-width: 860px;
    font-size: clamp(34px, 3.7vw, 54px);
}

.cta-box .btn {
    flex: 0 0 auto;
    min-width: 170px;
    padding-inline: 24px;
}

.cta-box p {
    color: var(--text-muted);
}

.main-footer {
    padding: 56px 0 24px;
    border-top: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(6, 18, 37, 0.92), rgba(4, 16, 34, 0.98)),
        var(--bg-secondary);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.6fr repeat(3, 1fr);
    gap: 42px;
    padding-bottom: 52px;
    border-bottom: 1px solid rgba(67, 200, 255, 0.18);
}

.footer-logo {
    display: inline-flex;
    margin: 0 0 20px;
}

.footer-logo-image {
    display: block;
    width: auto;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 18px rgba(67, 200, 255, 0.24));
}

.main-footer p,
.main-footer a {
    color: var(--text-muted);
    line-height: 1.75;
}

.main-footer a {
    display: block;
    margin: 8px 0;
}

.main-footer a:hover {
    color: #b9f1ff;
}

.main-footer h4 {
    margin-bottom: 16px;
    color: #fff;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 16px;
}

.footer-brand p {
    max-width: 410px;
    font-size: 14px;
    line-height: 1.65;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding-top: 24px;
}

.footer-bottom p {
    margin: 0;
    color: var(--text-muted);
}

.footer-bottom p:last-child {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}

.main-footer a.developer-credit {
    display: inline-flex;
    margin: 0;
    padding: 6px 14px;
    border-radius: 999px;
    color: #050505;
    background: #ffe45c;
    border: 1px solid rgba(255, 228, 92, 0.6);
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 11px;
    font-weight: 900;
}

.main-footer a.developer-credit:hover {
    color: #fff;
    background: linear-gradient(135deg, #063d83, #146bff 52%, #43c8ff);
    border-color: rgba(67, 200, 255, 0.34);
    box-shadow: 0 0 24px rgba(20, 107, 255, 0.28);
}

.page-hero {
    position: relative;
    padding: 92px 0 60px;
    background:
        radial-gradient(circle at 78% 28%, rgba(20, 107, 255, 0.26), transparent 25%),
        linear-gradient(180deg, rgba(6, 18, 37, 0.92), rgba(2, 7, 18, 0));
    border-bottom: 1px solid rgba(67, 200, 255, 0.14);
}

.page-hero.compact {
    min-height: 310px;
    display: flex;
    align-items: center;
}

.page-hero p {
    max-width: 760px;
    color: var(--text-muted);
    font-size: 18px;
    line-height: 1.7;
}

.news-list {
    display: grid;
    gap: 18px;
}

.news-row h2 {
    margin: 12px 0;
}

.ranking-card {
    border-radius: 28px;
    overflow: hidden;
}

.ranking-header,
.ranking-row {
    display: grid;
    grid-template-columns: 80px 1fr 140px 150px;
    gap: 12px;
    align-items: center;
    padding: 18px 24px;
}

.ranking-header {
    color: var(--blue-neon);
    background: rgba(67, 200, 255, 0.12);
    font-weight: 900;
    text-transform: uppercase;
    font-size: 12px;
    letter-spacing: 0.12em;
}

.ranking-row {
    color: var(--text-muted);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.ranking-row strong,
.ranking-row span:nth-child(2) {
    color: #fff;
    font-weight: 900;
}

.download-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
}

.download-card h2 {
    margin: 16px 0 14px;
    font-size: 32px;
}

.download-card .btn {
    margin-top: 14px;
}

.requirements {
    margin-top: 24px;
    padding: 30px;
    border-radius: 28px;
}

.requirements ul {
    margin-bottom: 0;
    padding-left: 20px;
}

.login-section {
    min-height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    background: url('../images/bg-login.jpg') center / cover no-repeat;
}

.login-grid {
    display: grid;
    grid-template-columns: minmax(320px, 520px);
    justify-content: center;
}

.login-panel {
    padding: 46px;
    position: relative;
    overflow: hidden;
    border-radius: 30px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        rgba(5, 18, 38, 0.78);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.32), var(--shadow-purple);
    backdrop-filter: blur(18px);
    isolation: isolate;
}

.login-panel::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 0;
    border-radius: inherit;
    padding: 2px;
    background: conic-gradient(from var(--neon-angle), transparent 0deg, transparent 238deg, rgba(67, 200, 255, 0.18) 278deg, #b9f1ff 304deg, #43c8ff 322deg, transparent 360deg);
    mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    mask-composite: exclude;
    -webkit-mask: linear-gradient(#000 0 0) content-box, linear-gradient(#000 0 0);
    -webkit-mask-composite: xor;
    animation: cardBorderNeon 3.4s linear infinite;
    pointer-events: none;
}

.login-panel > * {
    position: relative;
    z-index: 1;
}

.login-panel h2 {
    margin: 0 0 28px;
    font-size: clamp(30px, 3vw, 44px);
    line-height: 1.05;
}

.login-form {
    display: grid;
    gap: 18px;
}

.login-form label {
    display: grid;
    gap: 8px;
    color: #fff;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 13px;
    font-weight: 900;
}

.login-form input[type="email"],
.login-form input[type="text"],
.login-form input[type="password"] {
    width: 100%;
    min-height: 52px;
    padding: 0 16px;
    border-radius: 16px;
    border: 1px solid rgba(67, 200, 255, 0.22);
    color: #fff;
    background: rgba(2, 7, 18, 0.68);
    outline: none;
}

.password-field {
    position: relative;
    display: block;
}

.password-field input {
    padding-right: 52px;
}

.password-toggle {
    position: absolute;
    top: 50%;
    right: 12px;
    display: grid;
    place-items: center;
    width: 36px;
    height: 36px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    color: var(--blue-neon);
    background: transparent;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease;
    transform: translateY(-50%);
}

.password-toggle.is-visible {
    color: #ffe45c;
    background: rgba(255, 228, 92, 0.1);
    box-shadow: 0 0 16px rgba(255, 228, 92, 0.18);
}

.password-toggle:hover {
    color: #ffe45c;
    background: rgba(255, 228, 92, 0.08);
}

.password-toggle svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.password-toggle .eye-closed {
    display: none;
}

.password-toggle.is-visible .eye-open {
    display: none;
}

.password-toggle.is-visible .eye-closed {
    display: block;
}

.login-form input:focus {
    border-color: rgba(67, 200, 255, 0.72);
    box-shadow: 0 0 22px rgba(67, 200, 255, 0.18);
}

.login-options {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    color: var(--text-muted);
    font-size: 14px;
}

.login-form .remember-option {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #fff;
    font-weight: 700;
}

.login-form .remember-option input {
    width: 16px;
    height: 16px;
    margin: 0;
    accent-color: var(--blue-neon);
}

.login-options a {
    color: var(--blue-neon);
    font-weight: 900;
    white-space: nowrap;
}

.login-options a:hover {
    color: #ffe45c;
}

.login-form .btn {
    width: 100%;
    margin-top: 4px;
}

.login-error {
    margin: 0 0 18px;
    padding: 12px 14px;
    border-radius: 14px;
    color: #ffe45c;
    background: rgba(255, 228, 92, 0.1);
    border: 1px solid rgba(255, 228, 92, 0.24);
    font-weight: 900;
}

.member-section {
    padding: 92px 0;
    background:
        linear-gradient(180deg, rgba(2, 7, 18, 0.66), rgba(2, 7, 18, 0.76)),
        radial-gradient(circle at 20% 18%, rgba(67, 200, 255, 0.12), transparent 28%),
        radial-gradient(circle at 78% 70%, rgba(20, 107, 255, 0.14), transparent 32%),
        url("../images/bg-02.png") center / cover fixed no-repeat;
}

.member-heading {
    margin-bottom: 24px;
}

.member-account-summary {
    margin-bottom: 24px;
}

.member-dashboard {
    display: grid;
    grid-template-columns: 240px minmax(0, 1fr);
    gap: 24px;
    align-items: start;
}

.member-menu {
    position: sticky;
    top: calc(var(--header-height) + 24px);
    display: grid;
    gap: 8px;
    padding: 20px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        rgba(5, 18, 38, 0.82);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.32), var(--shadow-purple);
    backdrop-filter: blur(18px);
}

.member-menu button,
.member-menu a {
    display: flex;
    width: 100%;
    min-height: 42px;
    align-items: center;
    padding: 0 12px;
    border: 0;
    border-radius: 12px;
    color: var(--text-muted);
    background: transparent;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-align: left;
    text-transform: uppercase;
    cursor: pointer;
    transition: color 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.member-menu button:hover,
.member-menu a:hover,
.member-menu button.is-active {
    color: #fff;
    background: rgba(67, 200, 255, 0.12);
    box-shadow: inset 3px 0 0 var(--blue-neon);
}

.member-content {
    min-width: 0;
}

.member-panel {
    display: none;
}

.member-panel.is-active {
    display: block;
}

.member-summary {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 18px;
    align-items: stretch;
}

.member-summary article,
.credit-card,
.member-action-card {
    position: relative;
    overflow: hidden;
    padding: 28px;
    border-radius: 28px;
    border: 1px solid var(--border);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        rgba(5, 18, 38, 0.78);
    box-shadow: 0 20px 80px rgba(0, 0, 0, 0.32), var(--shadow-purple);
    backdrop-filter: blur(18px);
}

.member-summary article span,
.credit-card span,
.member-action-card span {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    width: fit-content;
    padding: 6px 11px;
    border-radius: 999px;
    color: var(--blue-neon);
    background: rgba(3, 18, 38, 0.82);
    border: 1px solid rgba(67, 200, 255, 0.24);
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 12px;
    font-weight: 900;
    letter-spacing: 0.16em;
    text-transform: uppercase;
}

.member-summary article span::before,
.credit-card span::before,
.member-action-card span::before {
    content: "";
    width: 7px;
    height: 7px;
    border-radius: 999px;
    background: #ffe45c;
    box-shadow: 0 0 10px rgba(255, 228, 92, 0.72);
    animation: newsPulse 1.6s infinite;
}

.member-summary article strong {
    display: block;
    margin-top: 16px;
    color: #fff;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 34px;
}

.member-summary article small {
    display: block;
    margin-top: 8px;
    color: var(--text-muted);
}

.credit-shop {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 18px;
}

.credit-card {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    min-height: 320px;
}

.credit-amount {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 16px;
    width: 100%;
    margin: 18px 0 12px;
}

.credit-crown {
    display: block;
    width: 96px;
    height: 96px;
    flex: 0 0 auto;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(255, 228, 92, 0.32));
}

.credit-card h2 {
    margin: 0;
    color: #fff;
    font-size: 48px;
    line-height: 1;
}

.credit-card p {
    flex: 1;
    color: var(--text-muted);
    line-height: 1.7;
}

.credit-price {
    margin: 18px 0;
    color: #ffe45c;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 26px;
}

.payment-modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 22px;
}

.payment-modal.is-open {
    display: flex;
}

.payment-backdrop {
    position: absolute;
    inset: 0;
    background: rgba(1, 6, 16, 0.78);
    backdrop-filter: blur(10px);
}

.payment-dialog {
    position: relative;
    width: min(640px, 100%);
    max-height: calc(100vh - 44px);
    overflow: auto;
    padding: 24px;
    border-radius: 22px;
    border: 1px solid rgba(67, 200, 255, 0.22);
    background:
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent),
        #061326;
    box-shadow: 0 28px 90px rgba(0, 0, 0, 0.55), 0 0 42px rgba(20, 107, 255, 0.22);
}

.payment-header,
.payment-product,
.payment-tabs,
.payment-fields {
    display: flex;
}

.payment-header {
    align-items: flex-start;
    justify-content: space-between;
    gap: 18px;
    padding-bottom: 18px;
    border-bottom: 1px solid var(--border);
}

.payment-kicker {
    display: block;
    margin-bottom: 8px;
    color: var(--blue-neon);
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
}

.payment-header h2 {
    margin: 0;
    color: #fff;
    font-size: clamp(28px, 4vw, 42px);
}

.payment-close {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 42px;
    height: 42px;
    border: 1px solid var(--border);
    border-radius: 12px;
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
    cursor: pointer;
}

.payment-close svg {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

.payment-product {
    align-items: center;
    gap: 16px;
    margin: 20px 0;
    padding: 16px;
    border-radius: 18px;
    background: rgba(2, 7, 18, 0.54);
    border: 1px solid var(--border);
}

.payment-product img {
    width: 72px;
    height: 72px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(255, 228, 92, 0.28));
}

.payment-product strong,
.payment-product span {
    display: block;
}

.payment-product strong {
    color: #fff;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 20px;
}

.payment-product span {
    margin-top: 6px;
    color: #ffe45c;
    font-size: 28px;
    font-weight: 900;
}

.payment-tabs {
    gap: 8px;
    padding: 6px;
    border-radius: 16px;
    background: rgba(2, 7, 18, 0.66);
    border: 1px solid var(--border);
}

.payment-tabs button {
    flex: 1;
    padding: 13px 16px;
    border: 0;
    border-radius: 12px;
    color: var(--text-muted);
    background: transparent;
    font-family: "Pixel Digivolve", Manrope, sans-serif;
    font-size: 12px;
    font-weight: 900;
    text-transform: uppercase;
    cursor: pointer;
}

.payment-tabs button.is-active {
    color: #061326;
    background: linear-gradient(135deg, #ffe45c, #43c8ff);
}

.payment-form {
    margin-top: 18px;
}

.payment-fields {
    flex-wrap: wrap;
    gap: 12px;
}

.payment-fields label,
.payment-installments {
    flex: 1 1 240px;
    color: var(--text-muted);
    font-size: 13px;
    font-weight: 800;
}

.payment-fields input,
.payment-installments select {
    width: 100%;
    margin-top: 8px;
    padding: 13px 14px;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: #fff;
    background: rgba(2, 7, 18, 0.72);
    font: inherit;
    outline: none;
}

.payment-fields input:focus,
.payment-installments select:focus {
    border-color: var(--blue-neon);
    box-shadow: 0 0 0 3px rgba(67, 200, 255, 0.12);
}

.payment-method-panel {
    display: none;
    margin-top: 14px;
}

.payment-method-panel.is-active {
    display: block;
}

.payment-note,
.payment-result {
    padding: 14px;
    border-radius: 14px;
    color: var(--text-muted);
    background: rgba(67, 200, 255, 0.08);
    border: 1px solid rgba(67, 200, 255, 0.18);
    line-height: 1.6;
}

.payment-result {
    margin-top: 14px;
}

.payment-result.is-error {
    color: #ffd7d7;
    background: rgba(255, 84, 84, 0.1);
    border-color: rgba(255, 84, 84, 0.32);
}

.payment-result img {
    display: block;
    width: min(240px, 100%);
    margin: 12px auto;
    border-radius: 12px;
    background: #fff;
}

.payment-copy {
    width: 100%;
    min-height: 86px;
    margin-top: 10px;
    padding: 12px;
    resize: vertical;
    border-radius: 12px;
    border: 1px solid var(--border);
    color: #fff;
    background: rgba(2, 7, 18, 0.82);
    font: inherit;
}

.payment-submit {
    width: 100%;
    justify-content: center;
    margin-top: 18px;
}

body.payment-locked {
    overflow: hidden;
}

.member-action-card {
    min-height: 300px;
}

.member-action-card h2 {
    margin: 22px 0 12px;
    color: #fff;
    font-size: clamp(30px, 3vw, 44px);
}

.member-action-card p {
    max-width: 620px;
    color: var(--text-muted);
    line-height: 1.7;
}

.reveal {
    opacity: 0;
    transform: translateY(18px);
    transition: opacity 0.65s ease, transform 0.65s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

.delay-1 {
    transition-delay: 0.08s;
}

.delay-2 {
    transition-delay: 0.16s;
}

@media (max-width: 980px) {
    .menu-toggle {
        display: block;
    }

    .main-nav {
        position: fixed;
        top: var(--header-height);
        left: 18px;
        right: 18px;
        display: none;
        flex-direction: column;
        align-items: stretch;
        padding: 16px;
        border-radius: 22px;
        background: rgba(2, 7, 18, 0.96);
        border: 1px solid var(--border);
        box-shadow: var(--shadow-purple);
    }

    .main-nav.is-open {
        display: flex;
    }

    .main-nav a {
        padding: 14px 16px;
    }

    .hero-grid,
    .split-grid,
    .download-grid,
    .login-grid,
    .member-summary,
    .credit-shop,
    .footer-grid {
        grid-template-columns: 1fr;
    }

    .hero {
        min-height: auto;
        padding: 72px 0;
    }

    .event-card {
        min-height: 290px;
        padding: 22px;
    }

    .cards-grid.three,
    .cards-grid.two {
        grid-template-columns: 1fr;
    }

    .partner-stage {
        min-height: auto;
        padding: 0 28px 40px;
    }

    .partner-tabs {
        width: calc(100% + 56px);
        margin-inline: -28px;
        margin-bottom: 46px;
    }

    .partner-content {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .partner-character {
        min-height: auto;
        justify-content: center;
    }

    .partner-character img {
        width: min(440px, 100%);
    }

    .rank-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .cta-box {
        align-items: flex-start;
        flex-direction: column;
    }
}

@media (max-width: 620px) {
    :root {
        --header-height: 74px;
    }

    .container {
        width: min(100% - 28px, 1180px);
    }

    .logo-image {
        height: 52px;
    }

    .hero h1 {
        font-size: 44px;
    }

    .hero p,
    .page-hero p {
        font-size: 16px;
    }

    .hero-actions,
    .server-line {
        align-items: stretch;
        flex-direction: column;
    }

    .server-line {
        border-radius: 22px;
    }

    .event-stats,
    .systems-panel,
    .partner-tabs,
    .ranking-header,
    .ranking-row {
        grid-template-columns: 1fr;
    }

    .partner-stage {
        padding: 0 18px 32px;
        border-radius: 22px;
    }

    .partner-tabs {
        width: calc(100% + 36px);
        margin-inline: -18px;
        border-radius: 22px 22px 0 0;
        margin-bottom: 34px;
    }

    .partner-tabs button {
        border-radius: 0;
    }

    .partner-tabs button:first-child {
        border-radius: 18px 18px 0 0;
    }

    .partner-tabs button:last-child {
        border-radius: 0 0 18px 18px;
    }

    .partner-tabs button.active {
        border-radius: 18px;
    }

    .partner-tabs button + button::before {
        top: 0;
        bottom: auto;
        left: 18px;
        right: 18px;
        width: auto;
        height: 1px;
        background: linear-gradient(90deg, transparent, rgba(67, 200, 255, 0.34), transparent);
    }

    .partner-info h3 {
        font-size: 40px;
    }

    .partner-info p {
        font-size: 15px;
    }

    .evolution-line {
        grid-template-columns: repeat(2, 88px);
        gap: 22px 18px;
        margin-top: 32px;
    }

    .evolution-line figcaption {
        font-size: 9px;
        transform: translateX(-20px);
    }

    .rank-grid {
        grid-template-columns: 1fr;
    }

    .event-card {
        min-height: 390px;
        padding: 20px;
    }

    .ranking-header {
        display: none;
    }

    .ranking-row {
        gap: 6px;
    }

    .section {
        padding: 64px 0;
    }

    .feature-card,
    .news-card,
    .download-card,
    .news-row,
    .cta-box,
    .requirements {
        padding: 24px;
    }
}
