/* ============================================================
   PATCH NOTES v1.3 — "RANKED CSATATÉR" spotlight oldal
   ============================================================ */

:root:has(.v13-body) {
    font-size: clamp(16px, 0.86vw + 10px, 19px);
}

.v13-body {
    margin: 0;
    min-height: 100vh;
    padding: 0 0 80px;
    position: relative;
    background:
        radial-gradient(ellipse 900px 560px at 50% -6%, rgba(255, 92, 92, 0.16), transparent 62%),
        radial-gradient(ellipse 800px 520px at 92% 30%, rgba(126, 166, 255, 0.09), transparent 60%),
        radial-gradient(ellipse 900px 560px at 6% 65%, rgba(255, 210, 76, 0.07), transparent 60%),
        linear-gradient(180deg, #0a0508 0%, #050408 40%, var(--c-void, #030509) 100%);
    color: var(--c-text, #e8ecf3);
    font-family: "Outfit", sans-serif;
    -webkit-font-smoothing: antialiased;
    overflow-x: clip;
}

.v13-body::before {
    content: "";
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    background:
        radial-gradient(ellipse 55vw 38vh at 20% 10%, rgba(255, 92, 92, 0.10), transparent 60%),
        radial-gradient(ellipse 50vw 36vh at 86% 68%, rgba(126, 166, 255, 0.08), transparent 60%),
        radial-gradient(ellipse 46vw 30vh at 46% 100%, rgba(255, 210, 76, 0.06), transparent 65%);
    animation: v13BgDrift 30s ease-in-out infinite alternate;
}

@keyframes v13BgDrift {
    0% { transform: translate3d(0, 0, 0) scale(1); }
    50% { transform: translate3d(-2%, 1.5%, 0) scale(1.05); }
    100% { transform: translate3d(2%, -1.5%, 0) scale(1.03); }
}

@media (prefers-reduced-motion: reduce) {
    .v13-body::before { animation: none; }
}

.v13-body h1, .v13-body h2, .v13-body h3 {
    font-family: "Montserrat", sans-serif;
    margin: 0;
}

.v13-body p { text-wrap: pretty; }

#v13-main { position: relative; z-index: 1; }

/* ---------- Section nav ---------- */

.v13-section-nav {
    position: sticky;
    top: 0;
    z-index: var(--z-shell, 50);
    display: flex;
    gap: 6px;
    overflow-x: auto;
    padding: 14px 6vw;
    background: rgba(10, 5, 8, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
    box-shadow: 0 12px 30px -18px rgba(0, 0, 0, 0.7);
    scrollbar-width: none;
}

.v13-section-nav::-webkit-scrollbar { display: none; }

.v13-section-nav a {
    flex: 0 0 auto;
    white-space: nowrap;
    padding: 7px 14px;
    border-radius: 999px;
    color: var(--c-text-dim, #9aa4b5);
    text-decoration: none;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.76rem;
    letter-spacing: 0.4px;
    border: 1px solid transparent;
    transition: background var(--t-fast, 0.2s) ease, color var(--t-fast, 0.2s) ease, border-color var(--t-fast, 0.2s) ease;
}

.v13-section-nav a:hover { color: #fff; background: rgba(255, 255, 255, 0.06); }

.v13-section-nav a.is-active {
    color: #2a0d0d;
    background: var(--c-red, #ff5c5c);
    border-color: var(--c-red, #ff5c5c);
}

/* ---------- Hero ---------- */

.v13-hero {
    position: relative;
    min-height: min(94vh, 840px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 6vw 40px;
    overflow: hidden;
    text-align: center;
}

.v13-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 60% 55% at 50% 38%, rgba(255, 92, 92, 0.22), transparent 70%),
        radial-gradient(ellipse 40% 40% at 50% 40%, rgba(126, 166, 255, 0.14), transparent 72%);
    pointer-events: none;
}

.v13-hero-orbit {
    position: relative;
    width: min(300px, 52vw);
    height: min(210px, 40vw);
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.v13-hero-vs-img {
    position: relative;
    z-index: 1;
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 0 40px rgba(255, 92, 92, 0.5)) drop-shadow(0 0 80px rgba(126, 166, 255, 0.3));
    animation: v13EmblemFloat 6s ease-in-out infinite;
}

@keyframes v13EmblemFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.v13-hero-die {
    position: absolute;
    width: clamp(30px, 4.4vw, 48px);
    height: clamp(30px, 4.4vw, 48px);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "Montserrat", sans-serif;
    font-weight: 800;
    font-size: 0.9rem;
    color: #2a0d0d;
    background: linear-gradient(160deg, #ffd24c, #ff9d4c);
    box-shadow: 0 0 18px rgba(255, 210, 76, 0.55);
    opacity: 0.85;
    animation: v13DieFloat 7.5s ease-in-out infinite;
}

.v13-hero-die--1 { top: -4%; left: -8%; animation-delay: -1s; }
.v13-hero-die--2 { top: 62%; left: -12%; animation-delay: -3.4s; background: linear-gradient(160deg, #7ea6ff, #a58cff); color: #0c1024; }
.v13-hero-die--3 { top: -8%; right: -10%; animation-delay: -5.2s; background: linear-gradient(160deg, #ff5c5c, #ff9d4c); color: #2a0d0d; }
.v13-hero-die--4 { top: 60%; right: -12%; animation-delay: -2.1s; background: linear-gradient(160deg, #4fd1e0, #7ea6ff); color: #0c1024; }

@keyframes v13DieFloat {
    0%, 100% { transform: translateY(0) rotate(-6deg); }
    50% { transform: translateY(-14px) rotate(10deg); }
}

@media (prefers-reduced-motion: reduce) {
    .v13-hero-vs-img, .v13-hero-die { animation: none; }
}

.v13-hero-copy { position: relative; max-width: 720px; z-index: 1; }

.v13-hero-eyebrow {
    font-family: "SpectralBold", serif;
    letter-spacing: 4px;
    text-transform: uppercase;
    font-size: 0.9rem;
    color: var(--c-red, #ff5c5c);
    text-shadow: 0 0 10px rgba(255, 92, 92, 0.5);
    margin: 0 0 12px;
}

.v13-hero-title {
    font-family: "AOW", serif;
    font-style: italic;
    font-weight: 700;
    font-size: clamp(2.4rem, 6.4vw, 4.6rem);
    line-height: 1.05;
    color: #fff;
    text-shadow: 0 0 44px rgba(255, 92, 92, 0.5);
    margin: 0 0 14px;
}

.v13-hero-badge {
    display: inline-block;
    margin: 0 0 18px;
    padding: 5px 16px;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.7rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--c-gold, #ffd24c);
    background: rgba(255, 210, 76, 0.1);
    border: 1px solid rgba(255, 210, 76, 0.4);
}

.v13-hero-lead {
    color: var(--c-text, #e8ecf3);
    font-size: 1.04rem;
    line-height: 1.75;
    max-width: 620px;
    margin: 0 auto;
}

.v13-hero-cta {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* ---------- Shared section shell (reused from v1.2 pattern) ---------- */

.v13-feature {
    max-width: clamp(1080px, 86vw, 1560px);
    margin: 0 auto;
    padding: 100px 6vw 0;
    position: relative;
}

.v13-feature::before {
    content: "";
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: min(1080px, 88%);
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--border-glass, rgba(255, 255, 255, 0.14)), transparent);
}

.v13-feature-inner {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 56px;
    align-items: center;
}

.v13-feature--reverse .v13-feature-inner { grid-template-columns: 0.9fr 1.1fr; }
.v13-feature--reverse .v13-feature-copy { order: 2; }

.v13-feature-copy { max-width: 560px; }

.v13-eyebrow {
    font-family: "SpectralBold", serif;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-size: 0.8rem;
    color: var(--c-gold, #ffd24c);
    margin: 0 0 10px;
}

.v13-feature-copy h2, .v13-section-head h2 {
    font-size: clamp(1.5rem, 2.6vw, 2.1rem);
    line-height: 1.25;
    color: #fff;
    margin: 10px 0 16px;
}

.v13-feature-copy p, .v13-section-head p {
    color: var(--c-text-dim, #9aa4b5);
    font-size: 0.98rem;
    line-height: 1.75;
    margin: 0 0 18px;
}

.v13-section-head {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 48px;
}

.v13-bullets {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 11px;
}

.v13-bullets li {
    font-size: 0.9rem;
    line-height: 1.5;
    color: var(--c-text, #e8ecf3);
    padding-left: 19px;
    position: relative;
}

.v13-bullets li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.5em;
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--c-red, #ff5c5c);
    box-shadow: 0 0 8px rgba(255, 92, 92, 0.6);
}

/* ---------- Roll / AP card ---------- */

.v13-roll-card {
    padding: 28px 30px;
    border-radius: var(--radius-l, 18px);
    background: linear-gradient(160deg, rgba(46, 22, 22, 0.9), rgba(12, 10, 20, 0.92));
    border: 1px solid rgba(255, 92, 92, 0.3);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 40px -20px rgba(255, 92, 92, 0.3);
}

.v13-roll-card-label {
    margin: 0 0 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.72rem;
    letter-spacing: 0.6px;
    text-transform: uppercase;
    color: var(--c-red, #ff5c5c);
}

.v13-roll-card-die {
    width: 64px;
    height: 64px;
    margin: 0 auto 20px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "SpectralBold", serif;
    font-size: 2rem;
    color: #2a0d0d;
    background: linear-gradient(160deg, #ffd24c, #ff9d4c);
    box-shadow: 0 0 30px rgba(255, 210, 76, 0.5);
}

.v13-roll-card-rows {
    display: flex;
    flex-direction: column;
    gap: 8px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-glass, rgba(255, 255, 255, 0.1));
}

.v13-roll-card-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.88rem;
    color: var(--c-text-dim, #9aa4b5);
}

.v13-roll-card-row span:last-child { color: var(--c-text, #e8ecf3); font-weight: 600; }

.v13-roll-card-total {
    display: flex;
    justify-content: space-between;
    align-items: baseline;
    margin-top: 16px;
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
}

.v13-roll-card-total span:first-child { color: var(--c-text-dim, #9aa4b5); font-size: 0.9rem; }

.v13-count-up {
    font-family: "SpectralBold", serif;
    font-size: 2.1rem;
    color: var(--c-gold, #ffd24c);
    text-shadow: 0 0 20px rgba(255, 210, 76, 0.5);
}

.v13-roll-card-note {
    margin: 12px 0 0;
    font-size: 0.78rem;
    color: var(--c-text-dim, #9aa4b5);
    opacity: 0.8;
}

/* ---------- Arena feature grid ---------- */

.v13-arena-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
    gap: 18px;
}

.v13-arena-card {
    padding: 24px 24px 22px;
    border-radius: var(--radius-l, 18px);
    background: linear-gradient(160deg, rgba(28, 18, 22, 0.85), rgba(10, 9, 16, 0.9));
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
    transition: transform var(--t-mid, 0.22s) var(--ease-premium, ease), border-color var(--t-mid, 0.22s) ease;
}

.v13-arena-card:hover { transform: translateY(-4px); border-color: var(--c-red, #ff5c5c); }

.v13-arena-card-icon {
    width: 42px;
    height: 42px;
    margin-bottom: 14px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    background: rgba(255, 92, 92, 0.1);
    border: 1px solid rgba(255, 92, 92, 0.35);
}

.v13-arena-card h3 {
    font-size: 1.0rem;
    color: #fff;
    margin: 0 0 8px;
}

.v13-arena-card p {
    margin: 0;
    font-size: 0.86rem;
    line-height: 1.55;
    color: var(--c-text-dim, #9aa4b5);
}

/* ---------- VFX theme chips ---------- */

.v13-vfx-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    margin-bottom: 36px;
}

.v13-vfx-chip {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    border-radius: 999px;
    font-family: "Montserrat", sans-serif;
    font-weight: 600;
    font-size: 0.8rem;
    color: var(--c-text, #e8ecf3);
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--chip-color, rgba(255, 255, 255, 0.2));
}

.v13-vfx-chip-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    background: var(--chip-color, #fff);
    box-shadow: 0 0 8px var(--chip-color, #fff);
    flex: 0 0 auto;
}

.v13-vfx-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 18px;
    max-width: 900px;
    margin: 0 auto;
}

.v13-vfx-stat {
    text-align: center;
    padding: 22px 16px;
    border-radius: var(--radius-l, 18px);
    background: linear-gradient(160deg, rgba(28, 18, 22, 0.85), rgba(10, 9, 16, 0.9));
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
}

.v13-vfx-stat-num {
    font-family: "SpectralBold", serif;
    font-size: 2.2rem;
    color: var(--c-red, #ff5c5c);
    text-shadow: 0 0 20px rgba(255, 92, 92, 0.4);
}

.v13-vfx-stat-label {
    margin-top: 6px;
    font-size: 0.8rem;
    color: var(--c-text-dim, #9aa4b5);
}

/* ---------- Settings toggle showcase ---------- */

.v13-settings-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.v13-settings-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    padding: 20px 22px;
    border-radius: var(--radius-l, 18px);
    background: linear-gradient(160deg, rgba(28, 18, 22, 0.9), rgba(10, 9, 16, 0.94));
    border: 1px solid rgba(255, 92, 92, 0.2);
}

.v13-settings-row-copy strong {
    display: block;
    font-family: "Montserrat", sans-serif;
    font-size: 0.94rem;
    color: #fff;
    margin-bottom: 4px;
}

.v13-settings-row-copy span {
    font-size: 0.78rem;
    color: var(--c-text-dim, #9aa4b5);
    line-height: 1.4;
}

.v13-settings-switch {
    flex: 0 0 auto;
    width: 42px;
    height: 24px;
    border-radius: 999px;
    background: var(--c-red, #ff5c5c);
    box-shadow: 0 0 12px rgba(255, 92, 92, 0.5);
    position: relative;
}

.v13-settings-switch::after {
    content: "";
    position: absolute;
    top: 3px;
    right: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #fff;
}

@media (max-width: 900px) {
    .v13-settings-grid { grid-template-columns: 1fr; }
}

/* ---------- Ranked integration split ---------- */

.v13-ranked-panel {
    position: relative;
    padding: 30px;
    border-radius: var(--radius-l, 18px);
    background: linear-gradient(160deg, rgba(28, 18, 22, 0.92), rgba(8, 7, 14, 0.95));
    border: 1px solid rgba(255, 210, 76, 0.3);
    box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8), 0 0 40px -20px rgba(255, 210, 76, 0.25);
}

.v13-ranked-panel-track {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 22px;
}

.v13-ranked-panel-avatar {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    object-fit: cover;
    border: 2px solid rgba(255, 92, 92, 0.6);
}

.v13-ranked-panel-vs {
    font-family: "AOW", serif;
    font-style: italic;
    color: var(--c-gold, #ffd24c);
    font-size: 1.1rem;
}

.v13-ranked-panel-list {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.v13-ranked-panel-list li {
    display: flex;
    justify-content: space-between;
    font-size: 0.86rem;
    padding: 10px 14px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
}

.v13-ranked-panel-list li span:first-child { color: var(--c-text-dim, #9aa4b5); }
.v13-ranked-panel-list li span:last-child { color: #fff; font-weight: 600; }

@media (max-width: 900px) {
    .v13-feature-inner,
    .v13-feature--reverse .v13-feature-inner {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .v13-feature--reverse .v13-feature-copy { order: 0; }
}

/* ---------- Footer CTA ---------- */

.v13-footer-cta {
    text-align: center;
    margin: 110px auto 0;
    padding: 56px 6vw !important;
    max-width: 1080px;
    border-top: 1px solid var(--border-glass, rgba(255, 255, 255, 0.08));
    background: radial-gradient(ellipse 700px 300px at 50% 0%, rgba(255, 92, 92, 0.08), transparent 70%);
}

.v13-footer-cta h2 { font-size: 1.65rem; color: #fff; margin-bottom: 12px; }

.v13-footer-cta p {
    color: var(--c-text-dim, #9aa4b5);
    margin: 0 0 26px;
    line-height: 1.6;
}

.v13-footer-cta-actions {
    display: flex;
    gap: 14px;
    justify-content: center;
    flex-wrap: wrap;
}

.v13-cta-btn {
    font-family: "Montserrat", sans-serif;
    font-weight: 700;
    font-size: 0.88rem;
    padding: 13px 26px;
    border-radius: 999px;
    text-decoration: none;
    color: var(--c-text, #e8ecf3);
    border: 1px solid var(--border-glass, rgba(255, 255, 255, 0.15));
    transition: all var(--t-fast, 0.2s) ease;
}

.v13-cta-btn:hover { border-color: var(--c-red, #ff5c5c); color: #fff; transform: translateY(-2px); }

.v13-cta-btn--primary {
    color: #2a0d0d;
    background: var(--c-red, #ff5c5c);
    border-color: var(--c-red, #ff5c5c);
}

/* ---------- Reveal (shared) ---------- */

.reveal { opacity: 0; transform: translateY(24px); }

.reveal.is-visible {
    opacity: 1;
    transform: none;
    transition: opacity 0.6s var(--ease-premium, ease), transform 0.6s var(--ease-premium, ease);
}

@media (prefers-reduced-motion: reduce) {
    .reveal { opacity: 1; transform: none; transition: none; }
}
