/* ==========================================================================
   RAVETH METIN2 · PORTAL STYLESHEET (v10)
   Cyberpunk & Dark Fantasy Metin2 Aesthetic
   ========================================================================== */

:root {
    --bg-dark: #07080c;
    --bg-card: #0f121a;
    --bg-card-hover: #161b26;
    --bg-glass: rgba(15, 18, 26, 0.75);
    
    --border-dim: #1f2738;
    --border-bright: #3b4866;
    --border-gold: rgba(245, 194, 83, 0.35);
    --border-cyan: rgba(0, 240, 255, 0.35);

    --text-white: #f5f7fa;
    --text-muted: #8b96a8;
    --text-gold: #f5c253;
    --text-cyan: #00f0ff;

    --gold-glow: 0 0 25px rgba(245, 194, 83, 0.4);
    --cyan-glow: 0 0 25px rgba(0, 240, 255, 0.35);
    
    --font-heading: 'Cinzel', Georgia, serif;
    --font-body: 'Rajdhani', system-ui, -apple-system, sans-serif;
}

*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }

img {
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, p, span, a, strong, small {
    overflow-wrap: break-word;
    word-wrap: break-word;
}

body {
    margin: 0;
    background: var(--bg-dark);
    color: var(--text-white);
    font-family: var(--font-body);
    font-size: 17px;
    font-weight: 500;
    line-height: 1.6;
    overflow-x: hidden;
    background-image: radial-gradient(circle at 50% 0%, #151b29 0%, #07080c 60%);
    min-height: 100vh;
}

a { color: inherit; text-decoration: none; transition: all 0.2s ease; }
button, input { font-family: inherit; }
:focus-visible { outline: 2px solid var(--text-gold); outline-offset: 3px; }

/* HEADER */
.site-header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(7, 8, 12, 0.88);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-dim);
}

.bar {
    width: min(1200px, 94%);
    margin: auto;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.wordmark {
    display: flex;
    align-items: center;
    gap: 14px;
}

.wordmark img {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    border: 2px solid var(--text-gold);
    box-shadow: 0 0 15px rgba(245, 194, 83, 0.5);
    transition: transform 0.3s ease;
}

.wordmark:hover img {
    transform: rotate(15deg) scale(1.08);
}

.brand-text {
    font-family: var(--font-heading);
    font-size: 1.55rem;
    font-weight: 800;
    letter-spacing: 0.16em;
    color: #fff;
    display: flex;
    flex-direction: column;
    line-height: 1.05;
}

.brand-text small {
    font-size: 0.65rem;
    letter-spacing: 0.32em;
    color: var(--text-gold);
    font-weight: 600;
}

nav {
    display: flex;
    align-items: center;
    gap: clamp(12px, 1.8vw, 24px);
    font-size: clamp(0.92rem, 1vw, 1.02rem);
    font-weight: 600;
    letter-spacing: 0.04em;
    flex-wrap: nowrap;
}

.nav-link {
    color: var(--text-muted);
    position: relative;
    padding: 6px 0;
}

.nav-link:hover, .nav-link.current {
    color: #fff;
}

.nav-link.current::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, var(--text-gold), var(--text-cyan));
    box-shadow: 0 0 8px var(--text-gold);
}

.nav-discord {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #7289da;
}
.nav-discord:hover { color: #8ea1e1; }

.login-link {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 194, 83, 0.08);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    padding: 8px 18px;
    font-weight: 700;
    letter-spacing: 0.08em;
    border-radius: 4px;
    transition: all 0.25s ease;
}

.login-link:hover {
    background: var(--text-gold);
    color: #000;
    box-shadow: var(--gold-glow);
    transform: translateY(-2px);
}

.login-link.logged-in {
    border-color: var(--border-cyan);
    color: var(--text-cyan);
    background: rgba(0, 240, 255, 0.08);
}
.login-link.logged-in:hover {
    background: var(--text-cyan);
    color: #000;
    box-shadow: var(--cyan-glow);
}

/* NOTICES */
.notice-bar {
    background: #142417;
    border-bottom: 1px solid #23482a;
    padding: 12px 0;
    color: #a4f5b2;
    font-size: 0.95rem;
}
.notice-wrap {
    width: min(1200px, 94%);
    margin: auto;
    display: flex;
    align-items: center;
    gap: 12px;
}
.notice-bar.warning { background: #2b220d; border-color: #594413; color: #ffd885; }
.notice-bar.error { background: #2c0e12; border-color: #5c1822; color: #ff8597; }

/* HERO SECTION */
.hero {
    position: relative;
    overflow: hidden;
    min-height: 580px;
    display: flex;
    align-items: center;
    padding: 60px 0 70px;
}

.hero-bg-fx {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.arena-layer {
    position: absolute;
    inset: 0;
    background: url('/art/arena.webp') center 35%/cover no-repeat;
    opacity: 0.38;
    filter: saturate(1.2) contrast(1.1);
}

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(rgba(0, 240, 255, 0.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 240, 255, 0.04) 1px, transparent 1px);
    background-size: 50px 50px;
    mask-image: radial-gradient(circle at 50% 50%, black 30%, transparent 80%);
}

.glow-radial {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 20% 40%, rgba(245, 194, 83, 0.12), transparent 50%),
                radial-gradient(circle at 80% 30%, rgba(0, 240, 255, 0.08), transparent 50%);
}

.hero:after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(0deg, var(--bg-dark) 0%, transparent 40%),
                linear-gradient(90deg, var(--bg-dark) 5%, transparent 60%);
    pointer-events: none;
}

.hero-container {
    width: min(1200px, 94%);
    margin: auto;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.badge-tag {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(245, 194, 83, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    padding: 6px 14px;
    border-radius: 30px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    margin-bottom: 20px;
}

.pulse-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #00ff88;
    box-shadow: 0 0 10px #00ff88;
    animation: pulse 1.8s infinite;
}

@keyframes pulse {
    0% { transform: scale(0.9); opacity: 0.7; }
    50% { transform: scale(1.3); opacity: 1; box-shadow: 0 0 16px #00ff88; }
    100% { transform: scale(0.9); opacity: 0.7; }
}

.glitch-title {
    font-family: var(--font-heading);
    margin: 0 0 20px 0;
    display: flex;
    flex-direction: column;
    line-height: 0.95;
}

.glitch-title .line-1 {
    font-size: clamp(2.6rem, 6.5vw, 5.8rem);
    font-weight: 900;
    letter-spacing: 0.04em;
    background: linear-gradient(180deg, #ffffff 30%, #ffd38b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 25px rgba(245, 194, 83, 0.35));
}

.glitch-title .line-2 {
    font-size: clamp(1.5rem, 3.5vw, 2.8rem);
    color: var(--text-cyan);
    font-weight: 700;
    letter-spacing: 0.1em;
    text-shadow: 0 0 18px rgba(0, 240, 255, 0.45);
}

.hero .intro {
    font-size: 1.15rem;
    color: #cbd5e1;
    max-width: 580px;
    margin: 0 0 32px 0;
    line-height: 1.65;
}

.hero .intro strong {
    color: #fff;
    font-weight: 700;
}

.hero-actions {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
    align-items: center;
    margin-bottom: 38px;
}

.btn {
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    min-height: 52px;
    padding: 10px 26px;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.08em;
    border-radius: 4px;
    border: 1px solid transparent;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
}

.btn-gold {
    background: linear-gradient(135deg, #f5c253 0%, #d49a22 100%);
    color: #0a0b10;
    border-color: #ffd885;
    box-shadow: 0 0 20px rgba(245, 194, 83, 0.35);
}

.btn-gold:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 0 32px rgba(245, 194, 83, 0.6);
    filter: brightness(1.1);
}

.btn-cyan {
    background: rgba(0, 240, 255, 0.08);
    color: var(--text-cyan);
    border-color: var(--border-cyan);
}

.btn-cyan small {
    background: rgba(0, 240, 255, 0.15);
    padding: 2px 7px;
    border-radius: 3px;
    font-size: 0.75rem;
}

.btn-cyan:hover {
    background: var(--text-cyan);
    color: #07080c;
    box-shadow: var(--cyan-glow);
    transform: translateY(-3px);
}

.btn-trailer {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-bright);
    color: #fff;
}

.btn-trailer .play-icon {
    display: inline-grid;
    place-items: center;
    width: 26px;
    height: 26px;
    border-radius: 50%;
    background: #ff3366;
    color: #fff;
    font-size: 0.75rem;
    box-shadow: 0 0 12px #ff3366;
}

.btn-trailer:hover {
    border-color: #ff3366;
    background: rgba(255, 51, 102, 0.1);
    transform: translateY(-3px);
}

.quick-highlights {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 1px solid var(--border-dim);
    padding-top: 24px;
}

.hl-item {
    display: flex;
    align-items: center;
    gap: 12px;
}

.hl-icon {
    width: 38px;
    height: 38px;
    border-radius: 8px;
    background: rgba(245, 194, 83, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    display: grid;
    place-items: center;
    font-size: 1.1rem;
}

.hl-item strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.hl-item small {
    color: var(--text-muted);
    font-size: 0.8rem;
}

/* HERO VISUAL (CHAMPION) */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
}

.champion-frame {
    position: relative;
    width: 100%;
    max-width: 480px;
    display: flex;
    justify-content: center;
}

.champion {
    width: 100%;
    height: auto;
    max-height: 420px;
    object-fit: contain;
    filter: drop-shadow(0 0 35px rgba(0, 240, 255, 0.25));
    animation: float 5s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* METRICS BAR */
.metrics-bar {
    background: rgba(15, 18, 26, 0.9);
    border-block: 1px solid var(--border-dim);
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
}

.metrics-inner {
    width: min(1200px, 94%);
    margin: auto;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    padding: 24px 0;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 18px;
    padding: 0 28px;
    border-right: 1px solid var(--border-dim);
    min-width: 0;
}
.metric-card:last-child { border-right: none; }

.metric-icon {
    font-size: 1.8rem;
    width: 50px;
    height: 50px;
    min-width: 50px;
    border-radius: 12px;
    display: grid;
    place-items: center;
    background: rgba(255, 255, 255, 0.04);
}

.metric-icon.green-pulse {
    color: #00ff88;
    background: rgba(0, 255, 136, 0.1);
    box-shadow: 0 0 18px rgba(0, 255, 136, 0.3);
}

.metric-icon.gold-icon { color: var(--text-gold); background: rgba(245, 194, 83, 0.1); }
.metric-icon.cyan-icon { color: var(--text-cyan); background: rgba(0, 240, 255, 0.1); }
.metric-icon.crown-icon { color: #ffd700; background: rgba(255, 215, 0, 0.1); }

.metric-data {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
}

.counter-val {
    font-family: var(--font-heading);
    font-size: clamp(1.6rem, 2.4vw, 2.1rem);
    font-weight: 800;
    color: #fff;
    line-height: 1.1;
    white-space: nowrap;
}

.metric-data small {
    font-size: 0.74rem;
    letter-spacing: 0.1em;
    font-weight: 700;
    color: var(--text-muted);
    white-space: nowrap;
}

.guild-leader-name {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.8vw, 1.6rem);
    font-weight: 800;
    color: var(--text-gold);
    line-height: 1.1;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    display: block;
    max-width: 100%;
}
.guild-leader-name:hover { text-shadow: 0 0 12px var(--text-gold); }

/* DISCORD STRIP */
.discord-strip {
    background: linear-gradient(90deg, #101424 0%, #1e243d 50%, #101424 100%);
    border-block: 1px solid #2d385e;
    margin: 40px 0 20px;
    padding: 20px 0;
}

.strip-wrap {
    width: min(1200px, 94%);
    margin: auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.dc-badge {
    display: flex;
    align-items: center;
    gap: 16px;
}

.dc-info strong {
    display: block;
    font-size: 1.1rem;
    letter-spacing: 0.05em;
    color: #fff;
}

.dc-info span {
    font-size: 0.9rem;
    color: #aab8e0;
}

.btn-discord {
    background: #5865F2;
    color: #fff;
    border-color: #7983f5;
    box-shadow: 0 0 20px rgba(88, 101, 242, 0.4);
}
.btn-discord:hover {
    background: #4752c4;
    box-shadow: 0 0 30px rgba(88, 101, 242, 0.7);
    transform: translateY(-2px);
}

/* GENERAL WRAP & HEADINGS */
.wrap {
    width: min(1200px, 94%);
    margin: auto;
}

.section-title {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin: 50px 0 24px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 16px;
}

.eyebrow {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.2em;
    color: var(--text-gold);
    margin: 0 0 6px 0;
}

.section-title h2 {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.7rem);
    margin: 0;
    font-weight: 700;
    color: #fff;
}

.section-link {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-gold);
}
.section-link:hover { text-shadow: 0 0 10px var(--text-gold); }

/* CHANNEL GRID */
.channel-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 16px;
}

.channel-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 20px 16px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.28s ease;
    position: relative;
    overflow: hidden;
    min-width: 0;
    min-height: 185px;
}

.channel-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--border-bright), transparent);
    transition: all 0.3s ease;
}

.channel-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-bright);
    background: var(--bg-card-hover);
    box-shadow: 0 14px 30px rgba(0,0,0,0.5);
}

.channel-card:hover:before {
    background: linear-gradient(90deg, var(--text-gold), var(--text-cyan));
    box-shadow: 0 0 12px var(--text-cyan);
}

.ch-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 14px;
}

.ch-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-dim);
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-gold);
}

.ch-status-indicator {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
}

.ch-status-indicator .dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #555;
}

.status-online { color: #00ff88; }
.status-online .dot { background: #00ff88; box-shadow: 0 0 8px #00ff88; }
.status-waiting { color: #eab308; }
.status-waiting .dot { background: #eab308; }

.ch-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    font-weight: 700;
    margin: 0 0 6px 0;
    color: #fff;
}

.ch-desc {
    font-size: 0.84rem;
    color: var(--text-muted);
    margin: 0 0 16px 0;
    line-height: 1.4;
    word-break: break-word;
}

.ch-load-bar {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
    margin-bottom: 8px;
}

.ch-load-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff88, var(--text-cyan));
    border-radius: 4px;
    transition: width 0.6s ease;
}

.ch-online-wrap {
    font-size: 0.85rem;
    color: #cbd5e1;
}

.ch-online-wrap strong {
    color: #00ff88;
    font-size: 1rem;
}

/* FEATURES GRID (REHBER KARTLARI) */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--border-gold);
    transform: translateY(-4px);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.feat-img-wrap {
    height: 180px;
    background: radial-gradient(circle, #242c3d, #10141f);
    overflow: hidden;
    display: grid;
    place-items: center;
}

.feat-img-wrap img {
    height: 90%;
    width: auto;
    max-width: 90%;
    object-fit: contain;
    transition: transform 0.4s ease;
}

.feature-card:hover .feat-img-wrap img {
    transform: scale(1.08);
}

.feat-content {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feat-content small {
    font-size: 0.72rem;
    letter-spacing: 0.16em;
    font-weight: 700;
    color: var(--text-gold);
    margin-bottom: 6px;
}

.feat-content h3 {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    margin: 0 0 10px 0;
    color: #fff;
}

.feat-content p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0 0 16px 0;
    line-height: 1.5;
}

.feat-btn {
    color: var(--text-cyan);
    font-weight: 700;
    font-size: 0.9rem;
}

/* VIDEO MODAL */
.modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    box-shadow: 0 0 40px rgba(0,0,0,0.9), var(--gold-glow);
    border-radius: 8px;
    width: min(840px, 96%);
    overflow: hidden;
    transform: scale(0.92);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 22px;
    border-bottom: 1px solid var(--border-dim);
}

.modal-head h3 {
    margin: 0;
    font-family: var(--font-heading);
    color: var(--text-gold);
    font-size: 1.25rem;
}

.modal-close {
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    line-height: 1;
    padding: 4px 8px;
    transition: color 0.2s ease;
}
.modal-close:hover { color: #ff3366; }

.video-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
    background: #000;
}

.video-container video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* ==========================================================================
   SIRALAMA SAYFASI (RANKINGS)
   ========================================================================== */

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: var(--text-muted);
    margin-bottom: 24px;
}
.breadcrumb a:hover { color: var(--text-gold); }
.current-crumb { color: #fff; font-weight: 600; }

.rank-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    flex-wrap: wrap;
    gap: 20px;
    margin-bottom: 36px;
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 24px;
}

.rank-title-box h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.4rem, 5vw, 3.8rem);
    margin: 0 0 8px 0;
    color: #fff;
}

.rank-tabs {
    display: flex;
    gap: 10px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 22px;
    border-radius: 6px;
    border: 1px solid var(--border-dim);
    background: var(--bg-card);
    color: var(--text-muted);
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: #fff;
    border-color: var(--border-bright);
}

.tab-btn.active {
    background: linear-gradient(135deg, rgba(245, 194, 83, 0.2), rgba(245, 194, 83, 0.05));
    border-color: var(--text-gold);
    color: var(--text-gold);
    box-shadow: 0 0 15px rgba(245, 194, 83, 0.25);
}

/* PODIUM SECTION (TOP 3) */
.podium-section {
    margin-bottom: 40px;
}

.podium-grid {
    display: grid;
    grid-template-columns: 1fr 1.15fr 1fr;
    gap: 20px;
    align-items: flex-end;
}

.podium-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 24px 20px;
    text-align: center;
    position: relative;
    transition: all 0.3s ease;
}

.podium-card.rank-1 {
    background: linear-gradient(180deg, #1c1810 0%, #10121a 100%);
    border-color: var(--text-gold);
    box-shadow: 0 0 35px rgba(245, 194, 83, 0.25);
    padding: 34px 20px 28px;
    transform: translateY(-10px);
}

.podium-card.rank-2 {
    border-color: #a8b2c4;
}

.podium-card.rank-3 {
    border-color: #cd7f32;
}

.crown-glow {
    font-size: 2.4rem;
    margin-bottom: 4px;
    filter: drop-shadow(0 0 15px #ffd700);
    animation: pulse 2s infinite;
}

.podium-badge {
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.1em;
    margin-bottom: 12px;
}

.podium-card.rank-1 .podium-badge { color: var(--text-gold); }
.podium-card.rank-2 .podium-badge { color: #d1d5db; }
.podium-card.rank-3 .podium-badge { color: #e59866; }

.podium-avatar {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    margin: 0 auto 12px;
    background: rgba(255, 255, 255, 0.06);
    border: 2px solid var(--border-bright);
    display: grid;
    place-items: center;
}

.champ-avatar {
    width: 76px;
    height: 76px;
    border-color: var(--text-gold);
    box-shadow: 0 0 20px rgba(245, 194, 83, 0.4);
}

.class-avatar-badge {
    font-size: 0.8rem;
    font-weight: 700;
}

.podium-name {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 1.8vw, 1.55rem);
    margin: 0 0 10px 0;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.podium-card.rank-1 .podium-name {
    font-size: clamp(1.4rem, 2.2vw, 1.85rem);
    color: #fff;
    text-shadow: 0 0 12px rgba(255, 255, 255, 0.4);
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 100%;
}

.podium-details {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 12px;
}

.podium-lvl {
    font-size: 0.95rem;
    font-weight: 700;
    color: var(--text-cyan);
}

.highlight-lvl {
    font-size: 1.15rem;
    color: var(--text-gold);
}

.empire-pill {
    padding: 3px 10px;
    border-radius: 20px;
    font-size: 0.78rem;
    font-weight: 700;
}

.empire-1 { background: rgba(255, 59, 48, 0.2); color: #ff5e54; border: 1px solid #ff3b30; }
.empire-2 { background: rgba(255, 204, 0, 0.2); color: #ffd633; border: 1px solid #ffcc00; }
.empire-3 { background: rgba(0, 153, 255, 0.2); color: #33adff; border: 1px solid #0099ff; }

/* FILTERS */
.rank-filter-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}

.search-box input {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    color: #fff;
    padding: 10px 18px;
    border-radius: 6px;
    font-size: 0.95rem;
    min-width: 280px;
    transition: all 0.2s ease;
}

.search-box input:focus {
    border-color: var(--text-gold);
    box-shadow: 0 0 15px rgba(245, 194, 83, 0.2);
}

.class-filter-btns {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-btn {
    cursor: pointer;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    color: var(--text-muted);
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.88rem;
    font-weight: 700;
    transition: all 0.2s ease;
}

.filter-btn:hover, .filter-btn.active {
    color: #fff;
    border-color: var(--border-bright);
    background: #1a2030;
}

.filter-btn.active {
    border-color: var(--text-cyan);
    color: var(--text-cyan);
    box-shadow: 0 0 10px rgba(0, 240, 255, 0.25);
}

/* MODERN TABLES */
.tablebox {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

table {
    width: 100%;
    min-width: 600px;
    border-collapse: collapse;
    text-align: left;
}

th {
    background: #121622;
    padding: 14px 18px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-gold);
    border-bottom: 1px solid var(--border-dim);
}

td {
    padding: 14px 18px;
    border-bottom: 1px solid #182030;
    font-size: 0.95rem;
}

tr:hover td {
    background: rgba(255, 255, 255, 0.02);
}

.col-rank { font-weight: 800; font-family: var(--font-heading); font-size: 1.1rem; }
.medal-tag { font-size: 1rem; }
.medal-tag.gold { color: #ffd700; }
.medal-tag.silver { color: #c0c0c0; }
.medal-tag.bronze { color: #cd7f32; }

.col-name strong {
    color: #fff;
    font-size: 1.05rem;
}

.empire-flag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 3px 10px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
}

.flag-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.empire-1 .flag-dot { background: #ff3b30; box-shadow: 0 0 8px #ff3b30; }
.empire-2 .flag-dot { background: #ffcc00; box-shadow: 0 0 8px #ffcc00; }
.empire-3 .flag-dot { background: #0099ff; box-shadow: 0 0 8px #0099ff; }

.job-badge {
    display: inline-block;
    padding: 3px 12px;
    border-radius: 4px;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-dim);
    color: #e2e8f0;
}

.job-savaşçı { border-color: #8c52ff; color: #b78aff; }
.job-ninja { border-color: #00ff88; color: #5effa8; }
.job-sura { border-color: #00f0ff; color: #70f7ff; }
.job-şaman { border-color: #ff3366; color: #ff7599; }

.lvl-badge {
    background: rgba(245, 194, 83, 0.12);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    padding: 4px 10px;
    border-radius: 4px;
    font-weight: 800;
    font-size: 0.9rem;
}

.time-txt {
    color: var(--text-muted);
    font-size: 0.88rem;
}

.gold-txt { color: var(--text-gold); }

/* ==========================================================================
   İNDİRME SAYFASI (DOWNLOAD)
   ========================================================================== */

.download-hero {
    text-align: center;
    max-width: 680px;
    margin: 0 auto 40px;
}

.download-hero h1 {
    font-family: var(--font-heading);
    font-size: clamp(2.6rem, 5.5vw, 4rem);
    margin: 0 0 12px 0;
    color: #fff;
}

.download-grid {
    display: grid;
    grid-template-columns: 1.15fr 0.85fr;
    gap: 24px;
    margin-bottom: 30px;
}

.dl-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 32px;
    position: relative;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.dl-card.primary-dl {
    border-color: var(--text-gold);
    box-shadow: 0 0 35px rgba(245, 194, 83, 0.15);
    background: linear-gradient(180deg, #181c29 0%, #0f121a 100%);
}

.dl-badge-top {
    position: absolute;
    top: -12px;
    left: 28px;
    background: var(--text-gold);
    color: #000;
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    padding: 3px 12px;
    border-radius: 4px;
}

.dl-card.alt-dl .dl-badge-top {
    background: var(--text-cyan);
}

.dl-icon-wrap {
    font-size: 2.5rem;
    margin-bottom: 12px;
}

.dl-content h3 {
    font-family: var(--font-heading);
    font-size: 1.7rem;
    margin: 0 0 8px 0;
    color: #fff;
}

.dl-content p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin: 0 0 20px 0;
}

.dl-meta {
    display: flex;
    gap: 20px;
    font-size: 0.95rem;
    color: #cbd5e1;
    margin-bottom: 24px;
    padding-bottom: 20px;
    border-bottom: 1px solid var(--border-dim);
}

.dl-meta strong {
    color: var(--text-gold);
}

.dl-btn-main {
    width: 100%;
    min-height: 58px;
    font-size: 1.1rem;
}

.mirror-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.mirror-link {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-dim);
    padding: 12px 18px;
    border-radius: 6px;
    font-weight: 700;
    font-size: 0.95rem;
    color: #cbd5e1;
    transition: all 0.2s ease;
}

.mirror-link:hover {
    background: rgba(0, 240, 255, 0.1);
    border-color: var(--border-cyan);
    color: var(--text-cyan);
    transform: translateX(4px);
}

/* HASH BOX */
.hash-box {
    background: #0b0e14;
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 16px 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 45px;
}

.hash-info strong {
    display: block;
    font-size: 0.85rem;
    color: var(--text-gold);
    margin-bottom: 4px;
}

.hash-info code {
    font-family: monospace;
    font-size: 0.85rem;
    color: #94a3b8;
    word-break: break-all;
}

.btn-copy-hash {
    cursor: pointer;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid var(--border-bright);
    color: #fff;
    padding: 8px 16px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 700;
    transition: all 0.2s ease;
}
.btn-copy-hash:hover {
    background: var(--text-gold);
    color: #000;
}

/* 3 STEPS GUIDE */
.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 45px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 24px;
    position: relative;
}

.step-num {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(245, 194, 83, 0.3);
    margin-bottom: 8px;
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 1.3rem;
    margin: 0 0 10px 0;
    color: #fff;
}

.step-card p {
    font-size: 0.92rem;
    color: var(--text-muted);
    margin: 0;
    line-height: 1.5;
}

/* SYSTEM REQUIREMENTS */
.sys-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 50px;
}

.sys-col {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 26px;
}

.sys-col.recommended {
    border-color: var(--border-cyan);
    background: linear-gradient(180deg, #101626 0%, #0f121a 100%);
}

.sys-col h4 {
    margin: 0 0 18px 0;
    font-family: var(--font-heading);
    font-size: 1.25rem;
    color: var(--text-gold);
    letter-spacing: 0.08em;
}

.sys-col.recommended h4 {
    color: var(--text-cyan);
}

.sys-col ul {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 12px;
    font-size: 0.92rem;
}

.sys-col li strong {
    color: #fff;
}

/* ==========================================================================
   AUTH / FORMS / ACCOUNT
   ========================================================================== */
.auth-wrap {
    display: flex;
    justify-content: center;
    padding: 20px 0 60px;
}

.auth-card {
    width: min(520px, 100%);
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 38px;
    box-shadow: 0 15px 40px rgba(0,0,0,0.5);
}

.auth-head {
    text-align: center;
    margin-bottom: 28px;
}

.auth-badge {
    background: rgba(245, 194, 83, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    font-size: 0.72rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    padding: 3px 12px;
    border-radius: 20px;
}

.auth-head h2 {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    margin: 10px 0 6px 0;
    color: #fff;
}

.auth-sub {
    font-size: 0.95rem;
    color: var(--text-muted);
    margin: 0;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.input-group label {
    display: block;
    font-size: 0.92rem;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}

.input-group input {
    width: 100%;
    background: #090c12;
    border: 1px solid var(--border-dim);
    color: #fff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 1rem;
    transition: all 0.2s ease;
}

.input-group input:focus {
    border-color: var(--text-gold);
    box-shadow: 0 0 15px rgba(245, 194, 83, 0.2);
}

.hint {
    display: block;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: 4px;
}

.auth-submit-btn {
    width: 100%;
    min-height: 52px;
    margin-top: 10px;
    font-size: 1.05rem;
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    font-size: 0.92rem;
    color: var(--text-muted);
}

.inline-gold {
    color: var(--text-gold);
    font-weight: 700;
}
.inline-gold:hover { text-decoration: underline; }

/* ACCOUNT SCREEN */
.account-container {
    padding-bottom: 50px;
}

.account-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 24px 30px;
    margin-bottom: 30px;
}

.acc-user-info {
    display: flex;
    align-items: center;
    gap: 18px;
}

.user-avatar-circle {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: rgba(245, 194, 83, 0.12);
    border: 1px solid var(--border-gold);
    display: grid;
    place-items: center;
    font-size: 1.6rem;
}

.acc-user-info h2 {
    font-family: var(--font-heading);
    margin: 0;
    font-size: 1.8rem;
    color: #fff;
}

.acc-id-badge {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.btn-danger {
    background: rgba(255, 59, 48, 0.1);
    border: 1px solid #ff3b30;
    color: #ff5e54;
    padding: 8px 18px;
    border-radius: 4px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}
.btn-danger:hover {
    background: #ff3b30;
    color: #fff;
}

.account-grid {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 24px;
}

.acc-box {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 26px;
}

.acc-box h3 {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    margin: 0 0 18px 0;
    color: var(--text-gold);
    border-bottom: 1px solid var(--border-dim);
    padding-bottom: 12px;
}

.chars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 14px;
}

.char-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 14px;
}

.char-icon {
    font-size: 1.5rem;
    color: var(--text-cyan);
}

.char-details h4 {
    margin: 0;
    font-size: 1.05rem;
    color: #fff;
}

.char-details p {
    margin: 2px 0 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* GUIDE / WIKI PRESERVATION */
.guide-shell {
    display: grid;
    grid-template-columns: 220px 1fr;
    gap: 32px;
    padding-bottom: 60px;
}

.guide-nav {
    position: sticky;
    top: 100px;
    display: flex;
    flex-direction: column;
    gap: 8px;
    height: fit-content;
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 18px;
}

.guide-nav strong {
    font-size: 0.78rem;
    letter-spacing: 0.15em;
    color: var(--text-gold);
    margin-bottom: 8px;
}

.guide-nav a {
    color: var(--text-muted);
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 0.95rem;
    font-weight: 600;
}
.guide-nav a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
}

.guide-lead {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 30px;
    display: grid;
    grid-template-columns: 1fr 220px;
    gap: 24px;
    align-items: center;
    margin-bottom: 30px;
}

.guide-lead img {
    max-height: 240px;
    width: auto;
    max-width: 100%;
    border-radius: 6px;
    object-fit: contain;
    justify-self: center;
}

.quick-steps {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-top: 20px;
}

.quick-steps article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 12px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.quick-steps b {
    color: var(--text-gold);
    font-size: 1.2rem;
}

.npc-section {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    display: grid;
    grid-template-columns: 230px 1fr;
    overflow: hidden;
    margin-bottom: 30px;
}

.npc-portrait {
    background: radial-gradient(circle, #242c3d, #10141f);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    align-items: center;
    position: relative;
    padding: 16px;
}

.npc-portrait img {
    width: 100%;
    max-height: 280px;
    object-fit: contain;
}

.npc-portrait span {
    background: rgba(7, 8, 12, 0.85);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    padding: 4px 10px;
    font-size: 0.72rem;
    font-weight: 700;
    margin-top: 10px;
    border-radius: 4px;
}

.npc-copy {
    padding: 32px;
}

.seal-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 20px;
}

.seal-list article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 14px 18px;
    display: flex;
    gap: 16px;
    align-items: flex-start;
}

.seal-list article i {
    font-style: normal;
    font-size: 1.4rem;
}

.seal-list .ruby i { color: #ff3b5c; }
.seal-list .sapphire i { color: #00f0ff; }
.seal-list .amber i { color: #f5c253; }

.seal-list h3 { margin: 0 0 4px 0; font-size: 1.15rem; color: #fff; }
.seal-list p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

/* CLASS GRID (KANALLAR) */
.class-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 14px;
    margin: 22px 0 16px;
}
.class-grid article {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 18px 14px;
    transition: all 0.25s ease;
}
.class-grid article:hover {
    border-color: var(--border-bright);
    transform: translateY(-3px);
}
.class-grid article b {
    font-family: var(--font-heading);
    color: var(--text-gold);
    font-size: 1.15rem;
    display: block;
    margin-bottom: 4px;
}
.class-grid article h3 {
    margin: 0 0 6px 0;
    font-size: 1.25rem;
    color: #fff;
}
.class-grid article p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
    line-height: 1.4;
}
.class-grid article.mixed {
    border-color: var(--border-cyan);
    background: linear-gradient(180deg, rgba(0, 240, 255, 0.08) 0%, var(--bg-card) 100%);
}
.class-grid article.mixed b {
    color: var(--text-cyan);
}

.guide-note {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(245, 194, 83, 0.08);
    border: 1px solid var(--border-gold);
    border-radius: 6px;
    padding: 14px 20px;
    font-size: 0.95rem;
    margin: 20px 0 32px;
}
.guide-note b {
    color: var(--text-gold);
    white-space: nowrap;
}
.guide-note span {
    color: #e2e8f0;
}

/* NPC SECTION REVERSE (KUT VEREN) */
.npc-section.reverse {
    grid-template-columns: 1fr 230px;
}
.npc-section.reverse .npc-portrait {
    order: 2;
}
.npc-section.reverse .npc-copy {
    order: 1;
}

/* OATH GRID (AHİTLER) */
.oath-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-top: 18px;
}
.oath-grid article {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 14px 18px;
    display: grid;
    grid-template-columns: 85px 1fr;
    align-items: center;
    gap: 16px;
    transition: all 0.25s ease;
}
.oath-grid article:hover {
    border-color: var(--border-bright);
    background: rgba(255, 255, 255, 0.05);
    transform: translateX(4px);
}
.oath-grid img {
    width: 80px;
    height: 80px;
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 0 12px rgba(245, 194, 83, 0.25));
}
.oath-grid h3 {
    font-family: var(--font-heading);
    font-size: 1.2rem;
    margin: 0 0 4px 0;
    color: #fff;
}
.oath-grid ul {
    margin: 0;
    padding-left: 18px;
    display: flex;
    flex-direction: column;
    gap: 3px;
    font-size: 0.88rem;
    color: #cbd5e1;
}
.oath-grid .cost {
    color: #ff5274 !important;
    font-weight: 700;
}
.badge-sub {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.12em;
    color: var(--text-gold);
    margin-bottom: 2px;
}

.item-feature {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 26px;
    display: grid;
    grid-template-columns: 230px 1fr;
    gap: 24px;
    align-items: center;
    margin-bottom: 30px;
}

.item-art {
    background: radial-gradient(circle, #292419, #10121a);
    border: 1px solid var(--border-gold);
    border-radius: 8px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.item-art img {
    width: 100%;
    max-height: 190px;
    object-fit: contain;
}

.item-art span {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--text-gold);
    margin-top: 10px;
}

.system-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-top: 20px;
}

.system-grid article {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 20px;
}

.system-icon {
    display: inline-grid;
    place-items: center;
    width: 44px;
    height: 44px;
    border-radius: 6px;
    background: rgba(245, 194, 83, 0.1);
    border: 1px solid var(--border-gold);
    color: var(--text-gold);
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.system-grid h3 { margin: 0 0 6px 0; font-size: 1.15rem; color: #fff; }
.system-grid p { margin: 0; font-size: 0.88rem; color: var(--text-muted); }

.buff-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-top: 20px;
    margin-bottom: 40px;
}

.buff-grid article {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 6px;
    padding: 20px;
    text-align: center;
}

.buff-grid b {
    display: block;
    font-family: var(--font-heading);
    font-size: 2.2rem;
    color: var(--text-gold);
    margin-bottom: 4px;
}

.buff-grid span {
    font-size: 0.85rem;
    color: var(--text-muted);
}

/* NESNE MARKET */
.market-wrap { padding-bottom: 50px; }
.product-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 30px;
}

.product-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 22px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: all 0.25s ease;
}

.product-card:hover {
    border-color: var(--text-gold);
    transform: translateY(-4px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.4);
}

.prod-badge {
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    color: var(--text-gold);
    margin-bottom: 8px;
}

.product-card h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    margin: 0 0 8px 0;
    color: #fff;
}

.product-card p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin: 0 0 18px 0;
}

.prod-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-top: 1px solid var(--border-dim);
    padding-top: 14px;
}

.vnum-tag {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-family: monospace;
}

.btn-sm {
    min-height: 38px;
    padding: 6px 14px;
    font-size: 0.85rem;
}

/* DESTEK */
.support-wrap { padding-bottom: 50px; }
.support-card {
    background: var(--bg-card);
    border: 1px solid var(--border-dim);
    border-radius: 8px;
    padding: 40px;
    text-align: center;
    max-width: 640px;
    margin: 30px auto 0;
}

.support-icon { font-size: 3rem; margin-bottom: 12px; }
.support-card h3 { font-family: var(--font-heading); font-size: 1.8rem; margin: 0 0 10px 0; color: #fff; }
.support-card p { font-size: 1rem; color: var(--text-muted); margin: 0 0 24px 0; line-height: 1.6; }

/* FOOTER */
.site-footer {
    background: #050608;
    border-top: 1px solid var(--border-dim);
    padding: 45px 0 35px;
    margin-top: 60px;
}

.footer-wrap {
    width: min(1200px, 94%);
    margin: auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 22px;
    text-align: center;
}

.footer-brand .wordmark {
    justify-content: center;
}

.footer-slogan {
    font-size: 0.9rem;
    color: var(--text-muted);
    margin: 6px 0 0;
}

.footer-nav {
    display: flex;
    gap: 24px;
    flex-wrap: wrap;
    font-size: 0.95rem;
    font-weight: 600;
}

.footer-nav a { color: var(--text-muted); }
.footer-nav a:hover { color: var(--text-gold); }

.footer-copy {
    font-size: 0.82rem;
    color: #555f72;
    border-top: 1px solid #141722;
    padding-top: 16px;
    width: 100%;
}

/* ==========================================================================
   RESPONSIVE DESIGN (MEDIA QUERIES)
   ========================================================================== */

@media (max-width: 1024px) {
    .channel-grid { grid-template-columns: repeat(3, 1fr); }
    .features-grid { grid-template-columns: 1fr; }
    .metrics-inner { grid-template-columns: repeat(2, 1fr); gap: 20px; }
    .metric-card { border-right: none; padding: 10px 0; }
    .download-grid { grid-template-columns: 1fr; }
    .podium-grid { grid-template-columns: 1fr; }
    .podium-card.rank-1 { transform: none; order: -1; }
    .steps-grid { grid-template-columns: 1fr; }
    .sys-grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
    .bar { flex-wrap: wrap; padding: 14px 0; }
    .bar nav { order: 3; width: 100%; justify-content: space-between; gap: 8px; font-size: 0.92rem; overflow-x: auto; padding-bottom: 4px; }
    .hero-container { grid-template-columns: 1fr; text-align: center; }
    .hero-copy { display: flex; flex-direction: column; align-items: center; }
    .hero-actions { justify-content: center; }
    .quick-highlights { justify-content: center; }
    .hero-visual { display: none; }
    .features-grid { grid-template-columns: 1fr; }
    .feature-card { grid-template-columns: 1fr; }
    .class-grid { grid-template-columns: repeat(2, 1fr); }
    .npc-section.reverse { grid-template-columns: 1fr; }
    .npc-section.reverse .npc-portrait { order: 0; }
    .npc-section.reverse .npc-copy { order: 0; }
    .oath-grid article { grid-template-columns: 80px 1fr; }
    .guide-shell { grid-template-columns: 1fr; }
    .guide-nav { position: static; flex-direction: row; overflow-x: auto; }
    .guide-lead { grid-template-columns: 1fr; }
    .guide-lead img { display: none; }
    .npc-section { grid-template-columns: 1fr; }
    .item-feature { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: repeat(2, 1fr); }
    .account-grid { grid-template-columns: 1fr; }
}

@media (max-width: 600px) {
    .channel-grid { grid-template-columns: 1fr; }
    .metrics-inner { grid-template-columns: 1fr; }
    .product-grid { grid-template-columns: 1fr; }
    .buff-grid { grid-template-columns: repeat(2, 1fr); }
    .system-grid { grid-template-columns: 1fr; }
    .chars-grid { grid-template-columns: 1fr; }
    .rank-filter-bar { flex-direction: column; align-items: stretch; }
    .search-box input { width: 100%; min-width: auto; }
}
/* ==========================================================================

/* ==========================================================================
   RAVETH METIN2 - 7-SECOND AUTHENTIC MITOLOJİK İNTRO & LANDING (CSS)
   ========================================================================== */

.raveth-intro-container {
    position: fixed;
    inset: 0;
    width: 100vw;
    height: 100vh;
    z-index: 999999;
    background: radial-gradient(circle at 50% 30%, #150808 0%, #090406 50%, #020203 100%);
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Rajdhani', sans-serif;
    color: #fff;
    opacity: 1;
    visibility: visible;
    transition: opacity 0.7s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.7s ease;
    user-select: none;
}

.raveth-intro-container.intro-hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

/* Screen Shakes on Impact */
.raveth-intro-container.shake-light {
    animation: introShakeLight 0.4s ease-out;
}
.raveth-intro-container.shake-heavy {
    animation: introShakeHeavy 0.6s ease-out;
}

@keyframes introShakeLight {
    0% { transform: translate(0, 0) rotate(0); }
    20% { transform: translate(-7px, 9px) rotate(-0.5deg); }
    40% { transform: translate(8px, -7px) rotate(0.4deg); }
    60% { transform: translate(-5px, 5px) rotate(-0.2deg); }
    80% { transform: translate(3px, -2px) rotate(0.1deg); }
    100% { transform: translate(0, 0) rotate(0); }
}

@keyframes introShakeHeavy {
    0% { transform: translate(0, 0) scale(1); filter: brightness(2) contrast(1.4); }
    15% { transform: translate(-16px, 18px) rotate(-1.5deg) scale(1.03); filter: brightness(2.5); }
    30% { transform: translate(18px, -14px) rotate(1.2deg) scale(0.98); }
    50% { transform: translate(-12px, 10px) rotate(-0.7deg); }
    70% { transform: translate(9px, -7px) rotate(0.4deg); }
    85% { transform: translate(-4px, 3px); }
    100% { transform: translate(0, 0) scale(1); filter: brightness(1) contrast(1); }
}

/* Background Particle Canvas */
.intro-canvas {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

/* Topbar Controls (Sound & Skip) */
.intro-topbar {
    position: absolute;
    top: 24px;
    left: 24px;
    right: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
}

.intro-btn-sm {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(14, 16, 26, 0.85);
    border: 1px solid rgba(255, 170, 0, 0.45);
    color: #ffda80;
    padding: 8px 18px;
    border-radius: 4px;
    font-family: 'Cinzel', serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    cursor: pointer;
    backdrop-filter: blur(10px);
    transition: all 0.25s ease;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.6);
}

.intro-btn-sm:hover {
    background: rgba(255, 170, 0, 0.25);
    border-color: #ffaa00;
    color: #fff;
    box-shadow: 0 0 20px rgba(255, 170, 0, 0.6);
    transform: translateY(-1px);
}

.intro-skip {
    border-color: rgba(0, 240, 255, 0.45);
    color: #a8f5ff;
}
.intro-skip:hover {
    background: rgba(0, 240, 255, 0.25);
    border-color: #00f0ff;
    color: #fff;
    box-shadow: 0 0 20px rgba(0, 240, 255, 0.6);
}

/* 1. Prologue Lore Text */
.intro-lore {
    position: absolute;
    top: 36%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 20;
    width: 90%;
    max-width: 820px;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.6s ease;
}

.intro-lore.visible {
    opacity: 1;
}

.intro-lore-myth {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 6px;
    color: #ff7700;
    text-transform: uppercase;
    margin-bottom: 8px;
    text-shadow: 0 0 12px rgba(255, 119, 0, 0.8);
}

.intro-lore-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(26px, 4.8vw, 44px);
    font-weight: 900;
    line-height: 1.25;
    background: linear-gradient(180deg, #ffffff 0%, #ffe0a3 55%, #cc8800 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 170, 0, 0.5);
    margin: 0 0 12px;
}

.intro-lore-sub {
    font-size: clamp(15px, 2.2vw, 21px);
    font-weight: 600;
    letter-spacing: 2px;
    color: #e0cca8;
    text-shadow: 0 2px 10px rgba(0,0,0,0.9);
}

/* 2. Authentic Metin Stones Stage */
.metin-stage {
    position: absolute;
    inset: 0;
    z-index: 10;
    pointer-events: none;
}

.metin-drop-entity {
    position: absolute;
    opacity: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: center bottom;
}

.metin-drop-entity.dropped {
    opacity: 1;
}

/* Meteor Trails */
.meteor-streak {
    position: absolute;
    bottom: 80%;
    width: 8px;
    height: 420px;
    filter: blur(2px);
    opacity: 0;
    pointer-events: none;
}

.green-streak {
    background: linear-gradient(180deg, transparent 0%, rgba(0, 255, 150, 0.9) 70%, #ffffff 100%);
    box-shadow: 0 0 25px rgba(0, 255, 150, 0.9);
}

.purple-streak {
    background: linear-gradient(180deg, transparent 0%, rgba(180, 0, 255, 0.9) 70%, #ff88ff 100%);
    box-shadow: 0 0 25px rgba(180, 0, 255, 0.9);
}

.grand-streak {
    width: 14px;
    height: 560px;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 90, 0, 0.95) 60%, #ffffcc 100%);
    box-shadow: 0 0 40px rgba(255, 120, 0, 0.95);
}

/* Metin Stone Positions */
.stone-left {
    left: 15%;
    bottom: 18%;
    width: 170px;
}
.stone-right {
    right: 15%;
    bottom: 17%;
    width: 175px;
}
.stone-center {
    left: 50%;
    bottom: 12%;
    transform: translateX(-50%);
    width: 250px;
}

.metin-img {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 20px rgba(0, 255, 136, 0.65));
    transform-origin: center bottom;
}

.stone-right .metin-img {
    filter: drop-shadow(0 0 25px rgba(180, 0, 255, 0.75));
}

.grand-img {
    filter: drop-shadow(0 0 35px rgba(255, 100, 0, 0.9)) drop-shadow(0 0 15px rgba(255, 220, 100, 0.8));
}

/* Metin Stone In-Game Name Tags */
.metin-name-tag {
    display: inline-block;
    margin-top: 8px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 13px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #ffcc00;
    background: rgba(0, 0, 0, 0.75);
    border: 1px solid rgba(255, 204, 0, 0.5);
    padding: 2px 10px;
    border-radius: 3px;
    text-shadow: 0 1px 4px #000;
    box-shadow: 0 0 10px rgba(0,0,0,0.8);
    opacity: 0;
    transition: opacity 0.4s ease 0.2s;
}

.dropped .metin-name-tag {
    opacity: 1;
}

.grand-tag {
    font-size: 15px;
    color: #ff8800;
    border-color: #ff8800;
    box-shadow: 0 0 15px rgba(255, 136, 0, 0.6);
}

/* Stone Drop Falling Keyframes */
@keyframes dropFromSkyLeft {
    0% {
        transform: translate(-140px, -120vh) scale(0.6) rotate(-14deg);
        opacity: 0;
    }
    15% { opacity: 1; }
    85% { transform: translate(0, 0) scale(1) rotate(0deg); }
    92% { transform: translate(0, -20px) scale(1.05, 0.92); }
    100% { transform: translate(0, 0) scale(1, 1); opacity: 1; }
}

@keyframes dropFromSkyRight {
    0% {
        transform: translate(140px, -120vh) scale(0.6) rotate(14deg);
        opacity: 0;
    }
    15% { opacity: 1; }
    85% { transform: translate(0, 0) scale(1) rotate(0deg); }
    92% { transform: translate(0, -18px) scale(1.05, 0.92); }
    100% { transform: translate(0, 0) scale(1, 1); opacity: 1; }
}

@keyframes dropFromSkyCenter {
    0% {
        transform: translate(-50%, -130vh) scale(0.7);
        opacity: 0;
    }
    15% { opacity: 1; }
    82% { transform: translate(-50%, 0) scale(1); }
    90% { transform: translate(-50%, -26px) scale(1.06, 0.9); }
    100% { transform: translate(-50%, 0) scale(1, 1); opacity: 1; }
}

.stone-left.animate-drop {
    animation: dropFromSkyLeft 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.stone-right.animate-drop {
    animation: dropFromSkyRight 0.55s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}
.stone-center.animate-drop {
    animation: dropFromSkyCenter 0.65s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

/* Impact Rings & Ground Shockwaves */
.impact-ring {
    position: absolute;
    bottom: -15px;
    width: 60px;
    height: 25px;
    border-radius: 50%;
    opacity: 0;
    transform: scale(0.2);
    pointer-events: none;
}

.green-ring {
    border: 3px solid rgba(0, 255, 150, 0.95);
}
.purple-ring {
    border: 3px solid rgba(200, 50, 255, 0.95);
}
.grand-ring {
    width: 110px;
    height: 45px;
    border: 5px solid rgba(255, 170, 0, 1);
}

.impact-ring.active {
    animation: expandRing 0.8s ease-out forwards;
}
.grand-ring.active {
    animation: expandGrandRing 1.1s ease-out forwards;
}

@keyframes expandRing {
    0% { transform: scale(0.2); opacity: 1; border-width: 6px; }
    100% { transform: scale(6.5); opacity: 0; border-width: 1px; }
}

@keyframes expandGrandRing {
    0% { transform: scale(0.2); opacity: 1; border-width: 9px; }
    100% { transform: scale(10); opacity: 0; border-width: 1px; }
}

/* Ground Craters */
.crater-glow {
    position: absolute;
    bottom: -20px;
    width: 150px;
    height: 48px;
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.4s ease;
}
.crater-glow.active {
    opacity: 1;
    animation: craterPulse 2s infinite alternate;
}
.green-glow {
    background: radial-gradient(ellipse, rgba(0, 255, 136, 0.7) 0%, transparent 70%);
}
.purple-glow {
    background: radial-gradient(ellipse, rgba(160, 20, 240, 0.7) 0%, transparent 70%);
}
.grand-glow {
    width: 250px;
    height: 75px;
    background: radial-gradient(ellipse, rgba(255, 120, 0, 0.9) 0%, rgba(255, 50, 0, 0.5) 45%, transparent 75%);
}

@keyframes craterPulse {
    0% { filter: brightness(1); }
    100% { filter: brightness(1.6); }
}

/* 3. Authentic Metin2 Monster Charge Layer */
.monster-charge-layer {
    position: absolute;
    inset: 0;
    z-index: 30;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    pointer-events: none;
    opacity: 0;
    transform: scale(0.25);
    transition: opacity 0.3s ease;
}

.monster-charge-layer.active {
    opacity: 1;
    animation: chargeTowardsCamera 1.6s cubic-bezier(0.12, 0.8, 0.2, 1) forwards;
}

@keyframes chargeTowardsCamera {
    0% {
        transform: scale(0.2) translateY(50px);
        opacity: 0;
        filter: blur(8px) contrast(1.4);
    }
    20% {
        opacity: 0.95;
        filter: blur(3px) contrast(1.2);
    }
    85% {
        opacity: 1;
        filter: blur(0px) contrast(1.05);
    }
    100% {
        transform: scale(1.4) translateY(-25px);
        opacity: 0.88;
        filter: blur(1px);
    }
}

.monster-squad {
    position: relative;
    width: 90vw;
    max-width: 1100px;
    height: 450px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
}

.mob-unit {
    position: absolute;
    bottom: 0;
    transform-origin: center bottom;
    filter: drop-shadow(0 15px 30px rgba(0, 0, 0, 0.9));
}

.mob-sprite {
    height: auto;
    object-fit: contain;
}

/* Staggered positioning of the authentic Metin2 monster squad */
.mob-orc-unit {
    left: 45%;
    transform: translateX(-50%);
    bottom: 30px;
    z-index: 5;
    animation: mobRunOrc 0.35s infinite alternate ease-in-out;
}
.mob-orc-unit .mob-sprite { width: 290px; }

.mob-savage-unit {
    left: 20%;
    bottom: 20px;
    z-index: 6;
    animation: mobRunSavage 0.3s infinite alternate ease-in-out;
}
.mob-savage-unit .mob-sprite { width: 170px; }

.mob-boar-unit {
    right: 18%;
    bottom: 10px;
    z-index: 7;
    animation: mobRunBoar 0.25s infinite alternate ease-in-out;
}
.mob-boar-unit .mob-sprite { width: 230px; }

.mob-tiger-unit {
    left: 5%;
    bottom: 0;
    z-index: 8;
    animation: mobRunTiger 0.28s infinite alternate ease-in-out;
}
.mob-tiger-unit .mob-sprite { width: 190px; }

.mob-demon-unit {
    right: 4%;
    bottom: 40px;
    z-index: 4;
    animation: mobRunDemon 0.32s infinite alternate ease-in-out;
}
.mob-demon-unit .mob-sprite { width: 180px; }

@keyframes mobRunOrc {
    0% { transform: translateX(-50%) translateY(0) rotate(-1.5deg); }
    100% { transform: translateX(-50%) translateY(-14px) rotate(1.5deg); }
}
@keyframes mobRunSavage {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(-16px) rotate(2deg); }
}
@keyframes mobRunBoar {
    0% { transform: translateY(0) scaleY(0.96); }
    100% { transform: translateY(-12px) scaleY(1.02); }
}
@keyframes mobRunTiger {
    0% { transform: translateY(0) rotate(-2deg); }
    100% { transform: translateY(-14px) rotate(2deg); }
}
@keyframes mobRunDemon {
    0% { transform: translateY(0) rotate(-1deg); }
    100% { transform: translateY(-10px) rotate(1deg); }
}

.monster-shout-banner {
    position: absolute;
    bottom: 8%;
    background: linear-gradient(90deg, transparent, rgba(160, 0, 0, 0.9), transparent);
    padding: 12px 50px;
    font-family: 'Cinzel', serif;
    font-size: clamp(16px, 2.8vw, 26px);
    font-weight: 900;
    letter-spacing: 3px;
    color: #fff;
    text-shadow: 0 0 15px #ff0000, 0 0 30px #ff3300;
    animation: bannerTremor 0.12s infinite;
    border-top: 1px solid rgba(255, 60, 0, 0.6);
    border-bottom: 1px solid rgba(255, 60, 0, 0.6);
}

@keyframes bannerTremor {
    0% { transform: translate(-1.5px, 1.5px); }
    50% { transform: translate(1.5px, -1.5px); }
    100% { transform: translate(0, 0); }
}

/* 4. Climax Reveal & Metin2 Heroic Gate */
.intro-hero-gate {
    position: absolute;
    inset: 0;
    z-index: 50;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 24px;
    opacity: 0;
    visibility: hidden;
    transform: scale(0.92);
    transition: opacity 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.8s cubic-bezier(0.2, 0.8, 0.2, 1), visibility 0.8s ease;
    background: radial-gradient(circle at center, rgba(20, 14, 16, 0.88) 0%, rgba(5, 5, 8, 0.97) 80%);
    backdrop-filter: blur(12px);
}

.intro-hero-gate.active {
    opacity: 1;
    visibility: visible;
    transform: scale(1);
    pointer-events: auto;
}

.gate-card {
    position: relative;
    width: 100%;
    max-width: 680px;
    background: linear-gradient(180deg, rgba(22, 24, 35, 0.97) 0%, rgba(12, 14, 20, 0.98) 100%);
    border: 2px solid rgba(255, 170, 0, 0.55);
    border-radius: 8px;
    padding: 44px 36px 34px;
    text-align: center;
    box-shadow: 
        0 0 0 1px rgba(0, 0, 0, 0.85),
        0 0 60px rgba(255, 100, 0, 0.3),
        0 30px 70px rgba(0, 0, 0, 0.9);
}

.gate-card::before,
.gate-card::after {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    border: 2px solid #ffcc00;
}
.gate-card::before {
    top: -2px;
    left: -2px;
    border-right: none;
    border-bottom: none;
}
.gate-card::after {
    bottom: -2px;
    right: -2px;
    border-left: none;
    border-top: none;
}

/* Dragon Seal */
.dragon-seal-wrapper {
    position: relative;
    width: 110px;
    height: 110px;
    margin: -75px auto 16px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rune-circle-spin {
    position: absolute;
    inset: -12px;
    border: 2px dashed rgba(255, 170, 0, 0.55);
    border-radius: 50%;
    animation: runeSpin 16s linear infinite;
}

@keyframes runeSpin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.gate-dragon-seal {
    width: 95px;
    height: 95px;
    object-fit: contain;
    filter: drop-shadow(0 0 22px rgba(255, 170, 0, 0.95));
    animation: sealGlow 2.5s ease-in-out infinite alternate;
}

@keyframes sealGlow {
    from { filter: drop-shadow(0 0 18px rgba(255, 140, 0, 0.7)); }
    to { filter: drop-shadow(0 0 35px rgba(255, 200, 0, 1)); }
}

.gate-badge {
    display: inline-block;
    font-family: 'Cinzel', serif;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 3px;
    color: #ffaa00;
    text-transform: uppercase;
    margin-bottom: 8px;
    background: rgba(255, 170, 0, 0.12);
    padding: 5px 14px;
    border-radius: 3px;
    border: 1px solid rgba(255, 170, 0, 0.3);
}

.gate-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(32px, 5vw, 46px);
    font-weight: 900;
    letter-spacing: 2px;
    margin: 0 0 12px;
    background: linear-gradient(180deg, #ffffff 0%, #ffdf9e 60%, #c48208 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 170, 0, 0.5);
}

.gate-description {
    font-size: 15px;
    line-height: 1.6;
    color: #c9ccd6;
    margin: 0 auto 30px;
    max-width: 530px;
}

/* Two Big Hero Action Buttons */
.gate-actions {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin-bottom: 20px;
}

.gate-btn {
    position: relative;
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px 20px;
    border-radius: 6px;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    text-align: left;
    cursor: pointer;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    border: 1px solid transparent;
}

.btn-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 60%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    transform: skewX(-25deg);
    transition: left 0.6s ease;
}

.gate-btn:hover .btn-shine {
    left: 140%;
}

.gate-btn-primary {
    background: linear-gradient(135deg, #a02000 0%, #d85400 50%, #ff8800 100%);
    border-color: #ffaa33;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(216, 84, 0, 0.5);
}

.gate-btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(255, 136, 0, 0.7);
    border-color: #ffffff;
}

.gate-btn-secondary {
    background: linear-gradient(135deg, #0e2a38 0%, #174256 50%, #007799 100%);
    border-color: #00d4ff;
    color: #ffffff;
    box-shadow: 0 8px 24px rgba(0, 153, 204, 0.4);
}

.gate-btn-secondary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 32px rgba(0, 212, 255, 0.65);
    border-color: #ffffff;
}

.btn-icon {
    font-style: normal;
    font-size: 26px;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.5));
}

.btn-text {
    flex: 1;
    display: flex;
    flex-direction: column;
}

.btn-text strong {
    font-family: 'Cinzel', serif;
    font-size: 16px;
    font-weight: 800;
    letter-spacing: 1px;
    line-height: 1.2;
}

.btn-text small {
    font-size: 12px;
    opacity: 0.85;
    font-weight: 500;
    margin-top: 2px;
}

.btn-arrow {
    font-style: normal;
    font-size: 20px;
    font-weight: 700;
    opacity: 0.85;
    transition: transform 0.25s ease;
}

.gate-btn:hover .btn-arrow {
    transform: translate(3px, -3px);
    opacity: 1;
}

.gate-footer-hint {
    font-size: 12px;
    color: #838a9e;
    letter-spacing: 0.5px;
}

/* Mobile Responsiveness */
@media (max-width: 768px) {
    .gate-actions {
        grid-template-columns: 1fr;
    }
    .stone-left {
        left: 2%;
        width: 120px;
    }
    .stone-right {
        right: 2%;
        width: 125px;
    }
    .stone-center {
        width: 180px;
        bottom: 10%;
    }
    .mob-orc-unit .mob-sprite { width: 190px; }
    .mob-savage-unit .mob-sprite { width: 120px; }
    .mob-boar-unit .mob-sprite { width: 140px; }
    .mob-tiger-unit .mob-sprite { width: 120px; }
    .mob-demon-unit .mob-sprite { width: 110px; }
    .gate-card {
        padding: 34px 20px 24px;
    }
}
