@import url('https://fonts.googleapis.com/css2?family=Exo+2:wght@500;600;700;800&family=Inter:wght@400;500;600;700&display=swap');

:root {
    --bg: #0d0d0e;
    --panel: #161617;
    --panel-hover: #1c1c1e;
    --panel-elevated: #1a1a1c;
    --footer-bg: #121214;
    --border: #25252a;
    --border-bright: #35353c;
    --text: #f0f0f0;
    --text-dim: #9a9a9e;
    --text-muted: #65656a;
    --orange: #ff8a3d;
    --orange-soft: #ffaa6b;
    --orange-deep: #f97316;
    --orange-glow: rgba(255, 138, 61, 0.15);
    --purple: #7c6ff7;
    --radius-card: 16px;
    --transition: 200ms ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html, body {
    height: 100%;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: var(--bg);
    color: var(--text);
    line-height: 1.55;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Exo 2', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

button, input, textarea, select {
    font-family: inherit;
}

.stat-value,
.stat-val,
.sub-rune-rate,
.guide-date,
.update-date,
.footer-bottom,
.sub-rune-bonuses li,
.game-card-stats {
    font-feature-settings: 'tnum' 1;
    font-variant-numeric: tabular-nums;
}

body::before {
    content: "";
    position: fixed;
    inset: 0;
    background:
        radial-gradient(760px circle at 16% 4%, rgba(255, 138, 61, 0.13), transparent 70%),
        radial-gradient(900px circle at 90% -8%, rgba(255, 138, 61, 0.10), transparent 66%);
    pointer-events: none;
    z-index: 0;
}

html {
    scroll-behavior: smooth;
}

@keyframes revealUp {
    from { opacity: 0; transform: translateY(14px); }
    to { opacity: 1; transform: translateY(0); }
}

.reveal {
    opacity: 0;
    transform: translateY(14px);
    transition: opacity 0.55s ease, transform 0.55s ease;
}

.reveal.is-visible {
    opacity: 1;
    transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    .reveal { opacity: 1; transform: none; transition: none; }
    .reveal.is-visible { opacity: 1; transform: none; }
}

@keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

.topbar {
    position: sticky;
    top: 0;
    z-index: 50;
    border-bottom: 1px solid var(--border);
    background: rgba(13, 13, 14, 0.72);
    backdrop-filter: saturate(140%) blur(14px);
    -webkit-backdrop-filter: saturate(140%) blur(14px);
    box-shadow: 0 1px 0 rgba(255, 255, 255, 0.02), 0 8px 24px rgba(0, 0, 0, 0.25);
}

@supports not ((-webkit-backdrop-filter: blur(1px)) or (backdrop-filter: blur(1px))) {
    .topbar {
        background: rgba(13, 13, 14, 0.96);
    }
}

.topbar-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 16px 32px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 32px;
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
}

.brand-img {
    width: 44px;
    height: 44px;
    border-radius: 10px;
    object-fit: cover;
    border: 1px solid var(--border);
}

.brand-text h1 {
    font-size: 17px;
    font-weight: 600;
    letter-spacing: -0.01em;
    line-height: 1.2;
}

.brand-text span {
    font-size: 12px;
    color: var(--text-muted);
}

.topbar-nav {
    display: flex;
    align-items: center;
    gap: 6px;
}

.topbar-nav a {
    position: relative;
    padding: 9px 14px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    border-radius: 8px;
    transition: background 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.topbar-nav a:hover {
    background: rgba(255, 255, 255, 0.04);
    color: var(--text);
    transform: translateY(-1px);
}

.topbar-nav a.active {
    color: var(--orange);
    font-weight: 700;
    background: var(--orange-glow);
}

.topbar-nav a.active::after {
    content: "";
    position: absolute;
    left: 14px;
    right: 14px;
    bottom: -10px;
    height: 2px;
    border-radius: 2px;
    background: var(--orange);
    box-shadow: 0 0 8px rgba(255, 138, 61, 0.5);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 80px;
    position: relative;
    z-index: 1;
    animation: fadeUp 0.4s ease-out;
}

.hero {
    position: relative;
    display: grid;
    grid-template-columns: 1fr auto;
    gap: 64px;
    align-items: center;
    margin-bottom: 96px;
    padding: 64px 0 80px;
    isolation: isolate;
}

.hero-text {
    min-width: 0;
}

.hero-title {
    font-size: 72px;
    font-weight: 800;
    letter-spacing: -0.02em;
    line-height: 1.02;
    margin-bottom: 22px;
}

.hero-tagline {
    font-size: 18px;
    color: var(--text-dim);
    line-height: 1.6;
    margin-bottom: 32px;
    max-width: 480px;
}

.hero-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.hero-visual {
    position: relative;
}

.hero-logo {
    width: 220px;
    height: 220px;
    border-radius: 24px;
    object-fit: cover;
    position: relative;
    z-index: 1;
}

.hero-visual::before {
    content: "";
    position: absolute;
    inset: -30px;
    background: radial-gradient(circle, var(--orange-glow), transparent 65%);
    z-index: 0;
}

.btn {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 14px 26px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.01em;
    text-decoration: none;
    transition: background 0.2s ease, border-color 0.2s ease, color 0.2s ease, transform 0.2s ease, box-shadow 0.2s ease;
    border: 1px solid transparent;
    cursor: pointer;
    overflow: hidden;
    isolation: isolate;
}

.btn:active {
    transform: translateY(1px);
}

.btn-primary {
    background: linear-gradient(118deg, var(--orange-soft) 0%, var(--orange) 45%, var(--orange-deep) 100%);
    color: #1a0f08;
    box-shadow: 0 6px 18px rgba(255, 138, 61, 0.28), 0 1px 0 rgba(255, 255, 255, 0.22) inset;
}

.btn-primary::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background: linear-gradient(115deg, transparent 0%, transparent 38%, rgba(255, 255, 255, 0.45) 50%, transparent 62%, transparent 100%);
    transform: translateX(-110%);
    transition: transform 0.7s cubic-bezier(0.22, 0.61, 0.36, 1);
    pointer-events: none;
}

.btn-primary:hover {
    box-shadow: 0 12px 30px rgba(255, 138, 61, 0.42), 0 1px 0 rgba(255, 255, 255, 0.3) inset;
    transform: translateY(-2px);
}

.btn-primary:hover::before {
    transform: translateX(110%);
}

.btn-ghost {
    background: transparent;
    color: var(--text);
    border-color: var(--border-bright);
}

.btn-ghost:hover {
    border-color: var(--orange);
    color: var(--orange);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 0 1px rgba(255, 138, 61, 0.2);
}

.stats-bar {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    margin-bottom: 56px;
    padding: 24px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat-item {
    padding: 0 28px;
    border-right: 1px solid var(--border);
}

.stat-item:last-child {
    border-right: none;
}

.stat-value {
    font-size: 30px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 12px;
    color: var(--text-muted);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    font-weight: 500;
}

.section {
    margin-bottom: 72px;
}

.section-header {
    margin-bottom: 26px;
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
}

.section-header h3 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.015em;
    line-height: 1.2;
}

.section-link {
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: color 0.15s;
}

.section-link:hover {
    color: var(--orange);
}

.tiles {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 14px;
}

.tile {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 32px;
    text-decoration: none;
    color: inherit;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease;
    display: flex;
    flex-direction: column;
    gap: 18px;
    min-height: 200px;
}

.tile:hover {
    background: #2a2a3a;
    border-color: var(--purple);
    transform: translateY(-2px);
}

.tile-icon {
    width: 52px;
    height: 52px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--text-dim);
    transition: color 0.15s ease, border-color 0.15s ease, background 0.15s ease;
}

.tile:hover .tile-icon {
    color: var(--purple);
    border-color: rgba(124, 111, 247, 0.4);
    background: rgba(124, 111, 247, 0.1);
}

.tile-body {
    flex: 1;
}

.tile h4 {
    font-size: 20px;
    font-weight: 700;
    letter-spacing: -0.005em;
    margin-bottom: 8px;
    color: var(--text);
}

.tile p {
    color: var(--text-dim);
    font-size: 14.5px;
    line-height: 1.6;
}

.tile-arrow {
    color: var(--text-muted);
    font-size: 18px;
    align-self: flex-start;
    transition: color 0.15s ease, transform 0.15s ease;
}

.tile:hover .tile-arrow {
    color: var(--purple);
    transform: translateX(4px);
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
}

.featured-rune {
    position: relative;
    display: flex;
    gap: 14px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.featured-rune:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-3px);
}

.featured-icon {
    width: 46px;
    height: 46px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 21px;
    color: var(--text-dim);
    flex-shrink: 0;
}

.featured-info {
    flex: 1;
    min-width: 0;
}

.featured-rarity {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    margin-bottom: 6px;
}

.rarity-common { background: rgba(154, 154, 158, 0.12); color: var(--text-dim); }
.rarity-rare { background: rgba(125, 211, 252, 0.1); color: #7dd3fc; }
.rarity-epic { background: rgba(196, 181, 253, 0.1); color: #c4b5fd; }
.rarity-legendary { background: var(--orange-glow); color: var(--orange); }

.featured-info h4 {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 4px;
}

.featured-info p {
    font-size: 12px;
    color: var(--text-dim);
}

.search-bar {
    margin-bottom: 24px;
}

.search-bar input {
    width: 100%;
    max-width: 400px;
    padding: 11px 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 8px;
    color: var(--text);
    font-size: 14px;
    font-family: inherit;
    outline: none;
    transition: border-color 0.15s;
}

.search-bar input:focus {
    border-color: var(--orange);
}

.search-bar input::placeholder {
    color: var(--text-muted);
}

.rune-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 12px;
}

.rune-tile {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 10px;
    padding: 22px 16px;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
    transition: background 0.15s, border-color 0.15s;
}

.rune-tile:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
}

.rune-tile:hover .rune-icon {
    color: var(--orange);
}

.rune-icon {
    font-size: 30px;
    color: var(--text-dim);
    transition: color 0.15s;
}

.rune-name {
    font-size: 13px;
    font-weight: 500;
}

.info-section {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 24px;
    margin-bottom: 12px;
    overflow: hidden;
}

.info-section h3 {
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 6px;
}

.info-section p {
    color: var(--text-dim);
    font-size: 14px;
}

.social-grid {
    display: flex;
    flex-direction: column;
    gap: 10px;
    max-width: 640px;
}

.social-card {
    position: relative;
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 22px 24px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    text-decoration: none;
    color: inherit;
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.social-card:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-3px);
}

.social-card:hover .social-icon {
    color: var(--orange);
}

.social-card:hover .social-arrow {
    color: var(--orange);
}

.social-icon {
    width: 44px;
    height: 44px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 17px;
    color: var(--text-dim);
    flex-shrink: 0;
    transition: color 0.15s;
}

.social-info {
    flex: 1;
}

.social-info h3 {
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 2px;
}

.social-info p {
    color: var(--text-dim);
    font-size: 13px;
}

.social-arrow {
    color: var(--text-muted);
    font-size: 18px;
    transition: color 0.15s;
}

.page-header {
    position: relative;
    margin-bottom: 56px;
    padding: 32px 0 40px;
    isolation: isolate;
}

.page-header::after {
    content: "";
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 138, 61, 0.4) 18%, rgba(255, 255, 255, 0.08) 50%, transparent 100%);
}

.page-header h2 {
    font-size: 52px;
    font-weight: 800;
    letter-spacing: -0.025em;
    line-height: 1.05;
    margin-bottom: 14px;
}

.subtitle {
    color: var(--text-dim);
    font-size: 17px;
    line-height: 1.6;
    max-width: 640px;
}

.section-divider {
    height: 1px;
    margin: 24px 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 50%, transparent);
    border: none;
}

.footer {
    border-top: 1px solid transparent;
    background: var(--footer-bg);
    margin-top: 120px;
    position: relative;
}

.footer::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(255, 138, 61, 0.35) 20%, rgba(255, 255, 255, 0.08) 50%, rgba(255, 138, 61, 0.15) 80%, transparent 100%);
    pointer-events: none;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
    padding: 72px 32px 36px;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.5fr 2fr;
    gap: 48px;
    margin-bottom: 36px;
}

.footer-brand {
    display: flex;
    gap: 12px;
    align-items: flex-start;
}

.footer-brand img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.footer-brand strong {
    font-size: 14px;
    font-weight: 700;
    display: block;
    margin-bottom: 4px;
}

.footer-brand p {
    color: var(--text-dim);
    font-size: 13px;
    max-width: 280px;
}

.footer-links {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
}

.footer-col h5 {
    font-size: 11px;
    font-weight: 700;
    color: var(--text-muted);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    margin-bottom: 12px;
}

.footer-col a {
    position: relative;
    display: inline-block;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 13.5px;
    padding: 5px 0;
    transition: color var(--transition), transform var(--transition);
}

.footer-col a::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 2px;
    width: 100%;
    height: 1px;
    background: var(--orange);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform var(--transition);
}

.footer-col a:hover {
    color: var(--orange);
}

.footer-col a:hover::after {
    transform: scaleX(1);
}

.footer-bottom {
    padding-top: 24px;
    border-top: none;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-muted);
    font-size: 12px;
}

.footer-bottom::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.06) 50%, transparent);
}

.footer-status {
    display: flex;
    align-items: center;
    gap: 7px;
}

.status-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #4ade80;
    box-shadow: 0 0 8px rgba(74, 222, 128, 0.6);
}

@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
        padding: 40px 0 56px;
    }

    .hero-visual {
        order: -1;
        display: flex;
        justify-content: center;
    }

    .hero-logo {
        width: 160px;
        height: 160px;
    }

    .hero-actions {
        justify-content: center;
    }

    .stats-bar {
        grid-template-columns: repeat(2, 1fr);
        gap: 16px;
    }

    .stat-item:nth-child(2) {
        border-right: none;
    }
}

@media (max-width: 640px) {
    .topbar-inner {
        flex-wrap: wrap;
        gap: 12px;
        padding: 12px 20px;
    }

    .topbar-nav {
        flex-wrap: wrap;
        justify-content: center;
        width: 100%;
        gap: 2px;
    }

    .topbar-nav a {
        padding: 7px 10px;
        font-size: 13px;
    }

    .container {
        padding: 40px 20px 56px;
    }

    .hero-title {
        font-size: 42px;
    }

    .page-header {
        padding: 24px 0 32px;
        margin-bottom: 40px;
    }

    .page-header h2 {
        font-size: 36px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 10px;
        text-align: center;
    }

    .tiles {
        grid-template-columns: 1fr;
    }
}
.filter-bar {
    display: flex;
    gap: 8px;
    margin-bottom: 28px;
    flex-wrap: wrap;
}

.filter-chip {
    padding: 7px 14px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 999px;
    color: var(--text-dim);
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.filter-chip:hover {
    color: var(--text);
    border-color: var(--border-bright);
}

.filter-chip.active {
    background: var(--orange-glow);
    border-color: rgba(255, 138, 61, 0.4);
    color: var(--orange);
}

.guides-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.guide-row {
    position: relative;
    display: grid;
    grid-template-columns: 240px 1fr auto;
    gap: 24px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    text-decoration: none;
    color: inherit;
    align-items: center;
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.guide-row:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-3px);
}

.guide-row:hover .guide-arrow {
    color: var(--orange);
    transform: translateX(4px);
}

.guide-image {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
}

.guide-body {
    min-width: 0;
}

.guide-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
}

.guide-category {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.cat-beginner { background: rgba(74, 222, 128, 0.1); color: #4ade80; }
.cat-advanced { background: rgba(125, 211, 252, 0.1); color: #7dd3fc; }
.cat-tips { background: var(--orange-glow); color: var(--orange); }
.cat-strategy { background: rgba(196, 181, 253, 0.1); color: #c4b5fd; }

.guide-date {
    font-size: 12px;
    color: var(--text-muted);
}

.guide-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.guide-body p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
}

.guide-arrow {
    color: var(--text-muted);
    font-size: 22px;
    padding-right: 8px;
    transition: color 0.2s, transform 0.2s;
}

.guide-page {
    max-width: 760px;
    margin: 0 auto;
}

.guide-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: var(--text-dim);
    text-decoration: none;
    font-size: 14px;
    margin-bottom: 28px;
    transition: color 0.15s;
}

.guide-back:hover {
    color: var(--orange);
}

.guide-header {
    margin-bottom: 32px;
    padding-bottom: 28px;
    border-bottom: 1px solid var(--border);
}

.guide-header .guide-meta {
    margin-bottom: 16px;
}

.guide-header h1 {
    font-size: 38px;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.15;
    margin-bottom: 12px;
}

.guide-header p {
    color: var(--text-dim);
    font-size: 16px;
}

.guide-cover {
    width: 100%;
    height: 280px;
    border-radius: 14px;
    object-fit: cover;
    margin-bottom: 32px;
    background: var(--panel);
    border: 1px solid var(--border);
}

.guide-content {
    color: var(--text);
    font-size: 16px;
    line-height: 1.7;
}

.guide-content h2 {
    font-size: 24px;
    font-weight: 700;
    letter-spacing: -0.01em;
    margin: 32px 0 14px;
}

.guide-content h3 {
    font-size: 19px;
    font-weight: 700;
    margin: 24px 0 10px;
}

.guide-content p {
    color: var(--text-dim);
    margin-bottom: 16px;
}

.guide-content ul, .guide-content ol {
    color: var(--text-dim);
    margin-bottom: 16px;
    padding-left: 22px;
}

.guide-content li {
    margin-bottom: 6px;
}

.guide-content strong {
    color: var(--text);
    font-weight: 600;
}

.guide-content blockquote {
    border-left: 3px solid var(--orange);
    padding: 4px 0 4px 18px;
    margin: 20px 0;
    color: var(--text-dim);
    font-style: italic;
}

@media (max-width: 768px) {
    .guide-row {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .guide-image {
        height: 180px;
    }

    .guide-arrow {
        display: none;
    }

    .guide-header h1 {
        font-size: 28px;
    }

    .guide-cover {
        height: 200px;
    }
}
.rune-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 14px;
}

.rune-tile {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 20px;
    cursor: pointer;
    color: var(--text);
    font-family: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    position: relative;
}

.rune-tile:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.rune-tile-image {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    display: flex;
    align-items: center;
    justify-content: center;
}

.rune-tile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.rune-tile .rune-name {
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    margin-top: 4px;
}

.rune-tile .rune-tag {
    font-size: 10px;
    font-weight: 600;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: var(--text-muted);
    padding: 2px 8px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 999px;
}

.rune-tile:hover .rune-tag {
    color: var(--orange);
    border-color: rgba(255, 138, 61, 0.3);
}

.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 32px 20px;
    z-index: 100;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.2s;
}

.modal-overlay.open {
    opacity: 1;
    pointer-events: auto;
}

.modal {
    background: var(--panel);
    border: 1px solid var(--border-bright);
    border-radius: 16px;
    width: 100%;
    max-width: 1000px;
    max-height: 90vh;
    overflow-y: auto;
    padding: 32px;
    position: relative;
    transform: translateY(20px);
    transition: transform 0.2s;
}

.modal-overlay.open .modal {
    transform: translateY(0);
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 36px;
    height: 36px;
    border-radius: 8px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    color: var(--text-dim);
    font-size: 22px;
    cursor: pointer;
    font-family: inherit;
    transition: background 0.15s, color 0.15s, border-color 0.15s;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--panel-hover);
    color: var(--orange);
    border-color: rgba(255, 138, 61, 0.3);
}

.modal-header {
    margin-bottom: 24px;
    padding-right: 50px;
}

.modal-header h2 {
    font-size: 28px;
    font-weight: 700;
    letter-spacing: -0.02em;
    margin-bottom: 6px;
}

.sub-rune-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 14px;
}

.sub-rune-card {
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 12px;
    padding: 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: border-color 0.15s, transform 0.15s;
}

.sub-rune-card:hover {
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.sub-rune-image {
    width: 110px;
    height: 110px;
    border-radius: 14px;
    object-fit: cover;
    background: var(--panel);
    border: 1px solid var(--border);
}


.sub-rune-card h3 {
    font-size: 15px;
    font-weight: 700;
    text-align: center;
}

.sub-rune-rate {
    font-size: 12px;
    color: var(--orange);
    background: var(--orange-glow);
    padding: 3px 10px;
    border-radius: 999px;
    font-weight: 600;
}

.sub-rune-bonuses {
    list-style: none;
    padding: 0;
    width: 100%;
    margin-top: 6px;
    border-top: 1px solid var(--border);
    padding-top: 12px;
}

.sub-rune-bonuses li {
    font-size: 12.5px;
    color: var(--text-dim);
    padding: 3px 0;
    text-align: center;
}

.stats-groups {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.stats-group {
    position: relative;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    padding: 28px;
    overflow: hidden;
    transition: border-color var(--transition);
}

.stats-group:hover {
    border-color: var(--border-bright);
}

.stats-group-title {
    font-size: 18px;
    font-weight: 700;
    color: var(--orange);
    margin-bottom: 16px;
    letter-spacing: -0.01em;
}

.stats-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.stats-row {
    padding: 12px 14px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-dim);
    line-height: 1.55;
    transition: background 0.15s, border-color 0.15s;
}

.stats-row:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    color: var(--text);
}

.community-callout {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 18px;
    padding: 56px 32px;
    margin-top: 32px;
    background:
        radial-gradient(ellipse 60% 100% at 50% 0%, rgba(255, 138, 61, 0.10), transparent 70%),
        var(--panel);
    border: 1px solid var(--border);
    border-radius: 20px;
    text-align: center;
    overflow: hidden;
}

.community-callout::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 138, 61, 0.5) 50%, transparent);
}

.community-callout-icon {
    width: 64px;
    height: 64px;
    flex-shrink: 0;
    background: rgba(255, 138, 61, 0.08);
    border: 1px solid rgba(255, 138, 61, 0.3);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: var(--orange);
}

.community-callout-text {
    max-width: 520px;
}

.community-callout-text strong {
    display: block;
    font-family: 'Exo 2', 'Inter', system-ui, sans-serif;
    font-size: 26px;
    font-weight: 700;
    letter-spacing: -0.015em;
    margin-bottom: 8px;
    color: var(--text);
}

.community-callout-text p {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.6;
}

.community-callout .btn {
    margin-top: 4px;
}

@media (max-width: 640px) {
    .community-callout {
        padding: 40px 24px;
    }
    .community-callout-text strong {
        font-size: 22px;
    }
}

.empty-state {
    padding: 48px 20px;
    text-align: center;
    color: var(--text-muted);
}

.empty-icon {
    font-size: 36px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.empty-state p {
    font-size: 14px;
}

@media (max-width: 768px) {
    .modal {
        padding: 24px 20px;
    }

    .modal-header h2 {
        font-size: 22px;
    }
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 18px;
}

.game-card {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    cursor: pointer;
    color: inherit;
    text-align: left;
    font-family: inherit;
    padding: 0;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
    position: relative;
}

.game-card:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-4px);
}

.game-card-image {
    width: 100%;
    aspect-ratio: 16 / 10;
    object-fit: cover;
    background: var(--panel-elevated);
    border-bottom: 1px solid var(--border);
    display: block;
}

.game-card-body {
    padding: 18px 20px 14px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex: 1;
}

.game-card-body h3 {
    font-size: 22px;
    font-weight: 700;
    letter-spacing: 0.02em;
    text-transform: uppercase;
    line-height: 1.1;
}

.game-card-body p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.55;
    flex: 1;
}

.game-card-stats {
    display: flex;
    flex-direction: column;
    gap: 2px;
    margin-top: 4px;
    padding-top: 10px;
    border-top: 1px solid var(--border);
    font-size: 12.5px;
    line-height: 1.5;
}

.game-card-stat {
    display: flex;
    align-items: baseline;
    gap: 6px;
}

.game-card-stat .stat-key {
    color: var(--text-muted);
    font-weight: 500;
    letter-spacing: 0.02em;
}

.game-card-stat .stat-val {
    color: var(--text-dim);
    font-weight: 600;
    font-variant-numeric: tabular-nums;
}

.game-card-stats.ready .stat-val {
    color: var(--text);
}

.game-card-stats.na .stat-val {
    color: var(--text-muted);
    font-weight: 500;
}

.game-card-actions {
    padding: 0 20px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.game-card-play {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 9px 16px;
    background: var(--orange);
    color: #1a1a1a;
    border-radius: 8px;
    font-size: 13px;
    font-weight: 700;
    text-decoration: none;
    transition: background 0.15s, transform 0.1s;
}

.game-card-play:hover {
    background: var(--orange-soft);
    transform: translateY(-1px);
}

.game-card-hint {
    margin-left: auto;
    font-size: 12px;
    color: var(--text-muted);
}

.game-card:hover .game-card-hint {
    color: var(--orange);
}

.game-detail {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.game-detail-hero {
    width: 100%;
    aspect-ratio: 21 / 9;
    object-fit: cover;
    border-radius: 12px;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
}

.game-detail-description {
    color: var(--text-dim);
    font-size: 15px;
    line-height: 1.7;
    white-space: pre-wrap;
}

.game-detail-actions {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

.game-detail-section-title {
    font-size: 15px;
    font-weight: 700;
    color: var(--orange);
    letter-spacing: 0.04em;
    text-transform: uppercase;
    margin-top: 8px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
}

.updates-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.update-row {
    position: relative;
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 24px;
    padding: 16px;
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-card);
    align-items: start;
    overflow: hidden;
    transition: background var(--transition), border-color var(--transition), transform var(--transition);
}

.update-row:hover {
    background: var(--panel-hover);
    border-color: var(--border-bright);
    transform: translateY(-2px);
}

.update-row.no-image {
    grid-template-columns: 1fr;
}

.update-image {
    width: 100%;
    height: 140px;
    border-radius: 10px;
    object-fit: cover;
    background: var(--panel-elevated);
    border: 1px solid var(--border);
}

.update-body {
    min-width: 0;
}

.update-meta {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.update-game-tag {
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    background: var(--orange-glow);
    color: var(--orange);
    text-decoration: none;
}

.update-game-tag.site {
    background: var(--panel-elevated);
    color: var(--text-dim);
    border: 1px solid var(--border);
}

.update-date {
    font-size: 12px;
    color: var(--text-muted);
}

.update-body h3 {
    font-size: 19px;
    font-weight: 700;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.update-body p {
    color: var(--text-dim);
    font-size: 14px;
    line-height: 1.6;
    white-space: pre-wrap;
}

.update-row.compact {
    grid-template-columns: 140px 1fr;
    padding: 12px;
    gap: 16px;
}

.update-row.compact .update-image {
    height: 90px;
}

.update-row.compact .update-body h3 {
    font-size: 16px;
}

@media (max-width: 768px) {
    .update-row,
    .update-row.compact {
        grid-template-columns: 1fr;
        gap: 14px;
    }

    .update-image {
        height: 180px;
    }
}
