/* --- GENEL DEĞİŞKENLER --- */
:root {
    --gold-primary: #cba157;
    --gold-light: #fbe6a5;
    --gold-dark: #8a6e3e;
    --bg-dark: #050505;
    --panel-bg: rgba(12, 14, 18, 0.95);
    --border-glow: rgba(203, 161, 87, 0.2);
    --text-main: #e0e0e0;
    --rank-1: #ffd700;
    --rank-2: #c0c0c0;
    --rank-3: #cd7f32;
    
    --c-bakim: #e74c3c;
    --c-etkinlik: #2ecc71;
    --c-sistem: #3498db;
    --c-duyuru: #f1c40f;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    font-size: 16px;
}

/* --- LOADING SCREEN --- */
#loading-screen {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: #000; z-index: 9999;
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    transition: opacity 1s ease-out, visibility 1s;
}
.loader-logo {
    font-family: 'Cinzel', serif; font-size: 48px; font-weight: 900;
    background: linear-gradient(180deg, #fff 20%, var(--gold-primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(203, 161, 87, 0.5);
    margin-bottom: 20px; animation: glowText 2s infinite alternate;
}
.loader-bar-bg {
    width: 300px; height: 4px; background: #222; border-radius: 2px;
    overflow: hidden; position: relative;
}
.loader-bar-fill {
    width: 0%; height: 100%; background: var(--gold-primary);
    box-shadow: 0 0 20px var(--gold-primary);
    animation: loadFill 2s ease-in-out forwards;
}
@keyframes loadFill { 0% { width: 0%; } 100% { width: 100%; } }
@keyframes glowText { from { filter: brightness(0.8); } to { filter: brightness(1.2); } }
.loaded #loading-screen { opacity: 0; visibility: hidden; pointer-events: none; }

/* --- GLOBAL ARKA PLAN --- */
.bg-layer {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -10;
}
.bg-image {
    position: absolute; inset: 0;
    background: url('https://images.unsplash.com/photo-1519074069444-1ba4fff66d16?q=80&w=1920&auto=format&fit=crop') center center / cover no-repeat;
    filter: brightness(0.3) grayscale(60%);
}
.bg-overlay {
    position: absolute; inset: 0;
    background: radial-gradient(circle, transparent 30%, #000 100%);
    z-index: -9;
}

#snow-canvas {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    z-index: -5; pointer-events: none;
}

.hero-character {
    position: fixed; right: -50px; bottom: 0;
    height: 85vh; max-height: 900px;
    z-index: -4; pointer-events: none;
    filter: drop-shadow(-20px 0 30px rgba(0,0,0,0.8));
    animation: heroBreath 6s ease-in-out infinite alternate;
}
@keyframes heroBreath {
    0% { transform: scale(1); filter: brightness(0.9); }
    100% { transform: scale(1.02); filter: brightness(1.05); }
}

::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: #050505; }
::-webkit-scrollbar-thumb { background: linear-gradient(180deg, var(--gold-dark), var(--gold-primary)); border-radius: 3px; }

a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- HEADER --- */
header {
    display: flex; justify-content: space-between; align-items: center;
    padding: 15px 5%;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid var(--border-glow);
    position: sticky; top: 0; z-index: 100;
    backdrop-filter: blur(10px);
    box-shadow: 0 5px 30px rgba(0,0,0,0.8);
}
.text-logo {
    font-family: 'Cinzel', serif; font-weight: 900; font-size: 32px; color: #fff;
    background: linear-gradient(180deg, #fff 20%, var(--gold-primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(203, 161, 87, 0.3);
    white-space: nowrap;
}
.text-logo span { color: #e74c3c; -webkit-text-fill-color: #e74c3c; font-size: 40px; }

.nav-links { display: flex; gap: 30px; }
.nav-links a { 
    font-weight: 700; color: #888; text-transform: uppercase; 
    font-size: 14px; font-family: 'Cinzel'; letter-spacing: 1px; position: relative; padding: 10px 0;
    cursor: pointer;
}
.nav-links a:hover { color: #fff; text-shadow: 0 0 10px var(--gold-primary); }
.nav-links a::after {
    content: ''; position: absolute; bottom: 0; left: 0; width: 0; height: 2px;
    background: var(--gold-primary); transition: 0.4s; box-shadow: 0 0 10px var(--gold-primary);
}
.nav-links a:hover::after { width: 100%; }

/* --- İSTATİSTİK BARI --- */
.live-stats {
    background: rgba(0,0,0,0.85); border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 10px 0; display: flex; justify-content: center; gap: 50px;
    font-size: 13px; color: #aaa; letter-spacing: 1px; font-family: 'Rajdhani';
    position: relative; z-index: 90; backdrop-filter: blur(5px);
}
.stat-item { display: flex; align-items: center; gap: 8px; }
.stat-value { color: var(--gold-light); font-weight: bold; font-family: 'Cinzel'; }
.status-dot { width: 8px; height: 8px; background: #2ecc71; border-radius: 50%; box-shadow: 0 0 10px #2ecc71; animation: pulse-green 2s infinite; }
@keyframes pulse-green { 0% { opacity: 1; } 50% { opacity: 0.5; } 100% { opacity: 1; } }
.ms-badge {
    font-size: 11px; color: #2ecc71; background: rgba(46, 204, 113, 0.1);
    padding: 2px 8px; border-radius: 3px; border: 1px solid rgba(46, 204, 113, 0.3);
    margin-left: 5px; cursor: help; font-family: 'Rajdhani'; font-weight: 700; transition: 0.3s;
    display: inline-block; min-width: 45px; text-align: center;
}

/* --- HERO BÖLÜMÜ --- */
.hero-section {
    text-align: center; padding: 70px 0; display: flex; flex-direction: column;
    justify-content: center; align-items: center; position: relative; z-index: 10;
    border-bottom: 1px solid rgba(255,255,255,0.05); background: transparent;
}
.hero-video-wrapper {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%; z-index: -1; overflow: hidden; pointer-events: none;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 15%, black 85%, transparent 100%);
}
.hero-video-wrapper video {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.35;
    filter: grayscale(100%) brightness(0.6) contrast(1.2); mix-blend-mode: screen; 
}
.hero-content { position: relative; z-index: 2; padding: 0 20px; width: 100%; }
.hero-title {
    font-family: 'Cinzel', serif; font-size: clamp(32px, 5vw, 64px); font-weight: 900; color: #fff;
    text-transform: uppercase; letter-spacing: 2px; text-shadow: 0 5px 25px rgba(0,0,0,1);
    margin-bottom: 15px; line-height: 1.1;
}
.hero-subtitle {
    font-size: clamp(12px, 2vw, 16px); color: var(--gold-primary); letter-spacing: 6px; text-transform: uppercase;
    margin-bottom: 35px; font-weight: 700; text-shadow: 0 2px 4px rgba(0,0,0,0.9);
}
.hero-btn {
    background: linear-gradient(90deg, #8a6e3e, #cba157); border: none; padding: 16px 50px;
    color: #000; font-family: 'Cinzel', serif; font-size: 16px; font-weight: 900; cursor: pointer;
    text-transform: uppercase; letter-spacing: 2px;
    clip-path: polygon(10% 0, 100% 0, 100% 70%, 90% 100%, 0 100%, 0 30%);
    transition: 0.3s; box-shadow: 0 0 30px rgba(203, 161, 87, 0.3);
}
.hero-btn:hover { transform: scale(1.05) translateY(-2px); box-shadow: 0 0 50px rgba(203, 161, 87, 0.6); color: #fff; }

/* --- ANA YAPI --- */
.main-container {
    display: grid; 
    grid-template-columns: 320px 1fr 340px; 
    gap: 30px;
    max-width: 1600px; margin: 0 auto; padding: 20px;
    position: relative; z-index: 10; 
    align-items: stretch;
}
.left-column, .right-column, .center-column {
    display: flex; flex-direction: column; gap: 25px;
}

/* --- PANEL --- */
.panel-box {
    background: var(--panel-bg); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative; 
    box-shadow: 0 10px 40px rgba(0,0,0,0.6);
    transition: transform 0.3s, border-color 0.3s;
    clip-path: polygon(15px 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%, 0 15px);
}
.panel-box:hover { 
    transform: translateY(-2px); border-color: rgba(203, 161, 87, 0.2);
    box-shadow: 0 15px 50px rgba(0,0,0,0.8), 0 0 20px rgba(203, 161, 87, 0.05);
}
.panel-header {
    background: linear-gradient(90deg, transparent, rgba(203, 161, 87, 0.15), transparent);
    color: var(--gold-primary); padding: 15px;
    font-family: 'Cinzel', serif; font-weight: 700; text-align: center; font-size: 16px;
    letter-spacing: 2px; text-shadow: 0 2px 5px rgba(0,0,0,1);
    border-bottom: 1px solid rgba(203, 161, 87, 0.1); position: relative;
}
.panel-header::after {
    content: '❖'; display: block; position: absolute; bottom: -8px; left: 50%; transform: translateX(-50%);
    color: var(--gold-dark); font-size: 10px; text-shadow: 0 0 5px #000;
}

/* --- FORM ELEMANLARI (Giriş) --- */
.login-form { padding: 30px 25px; }
.input-group { position: relative; margin-bottom: 20px; }
.input-group input {
    width: 100%; padding: 14px 10px 14px 45px; 
    background: rgba(0,0,0,0.6); 
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff; font-family: 'Rajdhani'; font-weight: 600; letter-spacing: 1px; 
    transition: all 0.3s ease; box-shadow: inset 0 0 10px rgba(0,0,0,0.8);
}
.input-group input:focus { 
    border-color: var(--gold-primary); background: rgba(203, 161, 87, 0.05);
    box-shadow: 0 0 15px rgba(203, 161, 87, 0.15), inset 0 0 10px rgba(0,0,0,0.5); outline: none; 
}
.input-group i { position: absolute; left: 15px; top: 50%; transform: translateY(-50%); color: #666; font-size: 18px; transition: 0.3s; }
.input-group input:focus + i { color: var(--gold-primary); text-shadow: 0 0 10px var(--gold-primary); }
.btn-login {
    width: 100%; padding: 14px;
    background: linear-gradient(180deg, #b88a44 0%, #6e5425 100%);
    border: 1px solid #d4af37; border-top: 1px solid #ffeebb;
    color: #fff; font-weight: 900; font-size: 16px; cursor: pointer; margin-top: 10px; 
    font-family: 'Cinzel', serif; text-transform: uppercase; letter-spacing: 2px;
    transition: 0.3s; text-shadow: 0 2px 4px rgba(0,0,0,0.8);
    position: relative; overflow: hidden; animation: pulse-gold 3s infinite;
}
@keyframes pulse-gold { 0%,100% { box-shadow: 0 0 0 rgba(0,0,0,0); } 50% { box-shadow: 0 0 15px rgba(203, 161, 87, 0.4); } }
.btn-login:hover { filter: brightness(1.2); transform: translateY(-1px); }
.login-links { display: flex; justify-content: space-between; font-size: 11px; margin-top: 20px; color: #888; font-weight: bold; }
.login-links a:hover { color: var(--gold-primary); opacity: 1; transform: translateX(3px); }

/* --- ŞAMPİYONLAR --- */
.champ-list { padding: 10px; }
.champ-card {
    display: flex; align-items: center; gap: 15px; padding: 12px;
    background: rgba(255,255,255,0.02); margin-bottom: 8px;
    border: 1px solid rgba(255,255,255,0.05); border-radius: 4px;
    transition: all 0.3s ease; cursor: default;
}
.champ-card:hover {
    background: linear-gradient(90deg, rgba(203, 161, 87, 0.1), transparent);
    border-color: rgba(203, 161, 87, 0.3); transform: translateX(5px);
}
.champ-icon-box {
    width: 40px; height: 40px; background: rgba(0,0,0,0.6);
    border: 1px solid #444; display: flex; align-items: center; justify-content: center;
    font-size: 20px; border-radius: 4px; box-shadow: 0 0 10px rgba(0,0,0,0.5); transition: 0.3s;
}
.champ-details { display: flex; flex-direction: column; }
.champ-title { font-size: 10px; color: #888; text-transform: uppercase; letter-spacing: 1px; font-weight: 700; }
.champ-name { font-size: 15px; color: #eee; font-weight: bold; font-family: 'Cinzel'; margin-top: 2px; }

/* --- SIRALAMALAR --- */
.rank-list { padding: 5px 0; }
.rank-item {
    display: flex; justify-content: space-between; align-items: center;
    padding: 12px 20px; border-bottom: 1px solid rgba(255,255,255,0.03);
    transition: 0.3s; cursor: pointer; position: relative; overflow: hidden;
}
.rank-item:hover { background: rgba(255,255,255,0.05); padding-left: 25px; }
.rank-left { display: flex; align-items: center; gap: 12px; }
.rank-num { font-family: 'Cinzel'; font-weight: 900; width: 20px; text-align: center; font-size: 16px; color: #555; text-shadow: 0 1px 2px #000; }
.rank-item:nth-child(1) .rank-num { color: var(--rank-1); text-shadow: 0 0 10px rgba(255, 215, 0, 0.5); }
.rank-item:nth-child(2) .rank-num { color: var(--rank-2); text-shadow: 0 0 10px rgba(192, 192, 192, 0.5); }
.rank-item:nth-child(3) .rank-num { color: var(--rank-3); text-shadow: 0 0 10px rgba(205, 127, 50, 0.5); }
.flag-icon { width: 24px; border-radius: 2px; box-shadow: 0 0 5px rgba(0,0,0,0.8); filter: brightness(0.9); }
.rank-name { font-weight: 600; color: #ccc; font-size: 14px; transition: 0.3s; }
.rank-val { font-size: 12px; color: #666; font-weight: bold; background: rgba(0,0,0,0.3); padding: 2px 6px; border-radius: 3px; border: 1px solid #333; }

/* --- HABER SİSTEMİ --- */
.center-column .panel-box { height: 100%; display: flex; flex-direction: column; }
.news-tabs { display: flex; background: rgba(0,0,0,0.4); border-bottom: 1px solid rgba(255,255,255,0.05); padding: 0 10px; }
.news-tab { flex: 1; padding: 20px 0; text-align: center; cursor: pointer; color: #666; font-weight: 700; font-size: 13px; transition: color 0.4s ease; letter-spacing: 2px; font-family: 'Cinzel'; position: relative; z-index: 1; overflow: hidden; }
.news-tab.active { color: var(--gold-primary); text-shadow: 0 0 15px rgba(203, 161, 87, 0.5); }
.news-tab.active::after { content: ''; position: absolute; bottom: 0; left: 10%; width: 80%; height: 2px; background: var(--gold-primary); box-shadow: 0 0 15px var(--gold-primary); }
.news-content { padding: 10px; flex-grow: 1; display: flex; flex-direction: column; background: radial-gradient(circle at center, rgba(30,30,35,0.6), rgba(10,10,12,0.8)); justify-content: space-between; }
.news-list { display: flex; flex-direction: column; gap: 8px; flex-grow: 1; }

.news-row {
    display: grid; grid-template-columns: 80px 70px 1fr 100px 40px; align-items: center; height: 75px; 
    background: rgba(255,255,255,0.02); border: 1px solid rgba(255,255,255,0.03);
    transition: background 0.3s, border-color 0.3s, box-shadow 0.3s;
    cursor: pointer; position: relative; overflow: hidden; border-radius: 4px;
    animation: fadeInRow 0.5s ease forwards; opacity: 0;
}
.news-row:hover { background: rgba(255,255,255,0.05); border-color: rgba(255,255,255,0.15); box-shadow: 0 0 20px rgba(0,0,0,0.5); }
@keyframes fadeInRow { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.type-bakim::before { content:''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c-bakim); transition:0.3s; }
.type-bakim .row-icon-shape { border-color: rgba(231, 76, 60, 0.3); color: var(--c-bakim); }
.type-etkinlik::before { content:''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c-etkinlik); transition:0.3s; }
.type-etkinlik .row-icon-shape { border-color: rgba(46, 204, 113, 0.3); color: var(--c-etkinlik); }
.type-sistem::before { content:''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c-sistem); transition:0.3s; }
.type-sistem .row-icon-shape { border-color: rgba(52, 152, 219, 0.3); color: var(--c-sistem); }
.type-duyuru::before { content:''; position: absolute; left: 0; top: 0; bottom: 0; width: 4px; background: var(--c-duyuru); transition:0.3s; }
.type-duyuru .row-icon-shape { border-color: rgba(241, 196, 15, 0.3); color: var(--c-duyuru); }

.row-date { display: flex; flex-direction: column; align-items: center; justify-content: center; font-family: 'Rajdhani'; font-weight: 700; line-height: 1; color: #888; border-right: 1px solid rgba(255,255,255,0.05); height: 50%; }
.row-date .day { font-size: 24px; color: #eee; font-family: 'Cinzel'; }
.row-date .month { font-size: 10px; letter-spacing: 2px; margin-top: 2px; text-transform: uppercase; }
.row-icon-wrapper { display: flex; justify-content: center; align-items: center; width: 100%; height: 100%; position: relative; }
.row-icon-shape { width: 32px; height: 32px; border: 1px solid rgba(255,255,255,0.1); transform: rotate(45deg); display: flex; align-items: center; justify-content: center; transition: 0.4s ease; background: rgba(0,0,0,0.3); }
.row-icon { font-size: 16px; transform: rotate(-45deg); transition: 0.3s; }
.news-row:hover .row-icon-shape { transform: rotate(225deg) scale(1.1); background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(2px); }
.news-row:hover .row-icon { transform: rotate(-225deg); color: #fff; }
.row-content { display: flex; flex-direction: column; justify-content: center; padding-left: 10px; overflow: hidden; }
.row-title { font-size: 15px; color: #ddd; font-weight: 700; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-family: 'Cinzel'; margin-bottom: 3px; }
.row-desc { font-size: 12px; color: #666; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; font-weight: 500; }
.row-tag { display: flex; align-items: center; justify-content: center; font-size: 11px; font-weight: 800; letter-spacing: 1px; padding: 4px 0; border: 1px solid; border-radius: 4px; text-align: center; text-transform: uppercase; font-family: 'Rajdhani'; box-shadow: inset 0 0 10px rgba(0,0,0,0.5); opacity: 0.8; }
.type-bakim .row-tag { color: var(--c-bakim); border-color: var(--c-bakim); background: rgba(231, 76, 60, 0.05); }
.type-etkinlik .row-tag { color: var(--c-etkinlik); border-color: var(--c-etkinlik); background: rgba(46, 204, 113, 0.05); }
.type-sistem .row-tag { color: var(--c-sistem); border-color: var(--c-sistem); background: rgba(52, 152, 219, 0.05); }
.type-duyuru .row-tag { color: var(--c-duyuru); border-color: var(--c-duyuru); background: rgba(241, 196, 15, 0.05); }
.row-arrow { color: #444; font-size: 20px; transition: 0.3s; display: flex; justify-content: center; }
.news-row:hover .row-arrow { color: var(--gold-primary); transform: translateX(3px); }
.news-pagination { display: flex; justify-content: center; align-items: center; gap: 15px; padding: 20px 0 10px 0; border-top: 1px solid rgba(255,255,255,0.05); margin-top: auto; }
.page-btn { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; background: linear-gradient(135deg, rgba(255,255,255,0.05), transparent); border: 1px solid rgba(255,255,255,0.1); color: #888; cursor: pointer; transition: 0.3s; font-size: 16px; transform: rotate(45deg); }
.page-btn i { transform: rotate(-45deg); }
.page-btn:hover { border-color: var(--gold-primary); color: #fff; background: rgba(203, 161, 87, 0.2); }
.page-info { font-size: 13px; color: #aaa; font-weight: bold; font-family: 'Cinzel'; }

/* --- SAĞ PANEL --- */
.download-btn {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    position: relative; height: 120px; margin-bottom: 25px;
    background: url('https://www.transparenttextures.com/patterns/dark-leather.png'), linear-gradient(135deg, #600 0%, #300 100%);
    border: 2px solid #900; clip-path: polygon(0 0, 100% 0, 100% 85%, 92% 100%, 8% 100%, 0 85%);
    text-align: center; color: #fff; transition: 0.3s; box-shadow: 0 0 20px rgba(150, 0, 0, 0.4);
    animation: pulse-red 3s infinite;
    cursor: pointer;
}
@keyframes pulse-red { 0% { box-shadow: 0 0 15px rgba(150, 0, 0, 0.4); } 50% { box-shadow: 0 0 30px rgba(255, 50, 50, 0.6); border-color: #ff3333; } 100% { box-shadow: 0 0 15px rgba(150, 0, 0, 0.4); } }
.download-btn:hover { transform: translateY(-3px); filter: brightness(1.2); }
.dl-title { font-family: 'Cinzel'; font-size: 24px; font-weight: 900; text-shadow: 0 2px 5px #000; }
.dl-sub { font-size: 11px; color: #ffcccc; letter-spacing: 1px; margin-top: 5px; text-transform: uppercase; font-weight: bold; }

.emperor-area { text-align: center; padding: 20px; background: radial-gradient(circle, rgba(203, 161, 87, 0.15) 0%, transparent 70%); border-bottom: 1px solid rgba(255,255,255,0.05); }
.crown-icon { font-size: 40px; color: #f1c40f; filter: drop-shadow(0 0 10px rgba(241, 196, 15, 0.6)); animation: float 3s ease-in-out infinite; display: block; margin: 0 auto; }
@keyframes float { 0%,100% { transform: translateY(0); } 50% { transform: translateY(-5px); } }
.emp-user { font-family: 'Cinzel'; font-size: 20px; font-weight: bold; color: #fff; margin-top: 5px; text-shadow: 0 0 10px rgba(255,255,255,0.5); }
.kings-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 10px; padding: 15px; }
.king-box { background: rgba(0,0,0,0.4); border: 1px solid #333; padding: 10px; display: flex; flex-direction: column; align-items: center; transition: 0.3s; position: relative; }
.king-box:hover { border-color: var(--gold-dark); background: rgba(0,0,0,0.6); transform: scale(1.05); z-index: 2; }
.king-name { font-size: 12px; color: #ddd; font-weight: bold; margin-top: 5px; font-family: 'Cinzel'; }
.king-tag { font-size: 8px; color: #666; text-transform: uppercase; letter-spacing: 1px; }

.discord-box {
    display: flex; align-items: center; justify-content: space-between;
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.1), rgba(88, 101, 242, 0.05));
    border: 1px solid rgba(88, 101, 242, 0.4); padding: 20px 25px; margin-top: 25px; 
    border-radius: 4px; position: relative; overflow: hidden; cursor: pointer; transition: 0.4s;
    box-shadow: 0 0 20px rgba(0,0,0,0.5); clip-path: polygon(0 0, 100% 0, 100% 80%, 93% 100%, 0 100%);
}
.discord-box:hover { background: linear-gradient(135deg, rgba(88, 101, 242, 0.8), rgba(64, 78, 237, 0.9)); border-color: #fff; transform: translateY(-5px); }
.discord-content { position: relative; z-index: 2; }
.dc-title { font-family: 'Cinzel'; font-size: 22px; font-weight: 900; color: #fff; letter-spacing: 1px; }
.dc-sub { font-size: 11px; color: #aaa; font-weight: 700; letter-spacing: 2px; margin-top: 2px; text-transform: uppercase; }
.discord-box:hover .dc-sub { color: #eee; }
.dc-icon { font-size: 40px; color: #5865F2; transition: 0.4s; filter: drop-shadow(0 0 10px rgba(88, 101, 242, 0.5)); position: relative; z-index: 2; }
.discord-box:hover .dc-icon { color: #fff; transform: scale(1.1) rotate(10deg); filter: drop-shadow(0 0 15px #fff); }
.discord-box::before { content: ''; position: absolute; top: 0; right: 0; width: 100px; height: 100%; background: url('https://cdn-icons-png.flaticon.com/512/5968/5968756.png') no-repeat center right; background-size: 150%; opacity: 0.1; transition: 0.4s; }
.discord-box:hover::before { opacity: 0.2; transform: scale(1.2); }

/* --- PRO KARAKTER SINIF ALANI --- */
.class-showcase-section {
    max-width: 1600px; margin: 120px auto 80px auto; padding: 0 20px;
    position: relative; z-index: 10;
}

.class-container {
    display: grid; grid-template-columns: 280px 1fr 400px;
    background: linear-gradient(180deg, rgba(20, 20, 25, 0.95) 0%, rgba(5, 5, 8, 1) 100%);
    border: 1px solid rgba(203, 161, 87, 0.3);
    border-radius: 4px; height: 750px;
    box-shadow: 0 20px 80px rgba(0,0,0,0.8), inset 0 0 100px rgba(0,0,0,0.8);
    position: relative; overflow: visible; margin-top: 80px;
}

.class-title-wrapper {
    position: absolute; top: -50px; left: 0; width: 100%;
    display: flex; justify-content: center; align-items: center;
    z-index: 25; pointer-events: none;
}
.class-title-inner {
    background: linear-gradient(to bottom, #1a1a1a, #000);
    border: 2px solid #8a6e3e;
    padding: 15px 60px;
    position: relative;
    box-shadow: 0 0 25px rgba(203, 161, 87, 0.3), inset 0 0 20px rgba(0,0,0,0.8);
    transform: skewX(-20deg);
}
.class-title-inner::before {
    content: ''; position: absolute; top: 4px; left: 4px; right: 4px; bottom: 4px;
    border: 1px solid rgba(255,255,255,0.1);
}
.class-title-inner::after {
    content: '❖'; position: absolute; bottom: -12px; left: 50%; transform: translateX(-50%) skewX(20deg);
    color: var(--gold-primary); font-size: 14px; text-shadow: 0 0 10px var(--gold-primary);
    background: #000; padding: 0 10px; border-radius: 50%;
}
.class-title-text {
    font-family: 'Cinzel', serif; font-size: 32px; font-weight: 900; color: #fff;
    letter-spacing: 5px; text-transform: uppercase;
    text-shadow: 0 2px 10px rgba(203, 161, 87, 0.8);
    transform: skewX(20deg);
    background: linear-gradient(180deg, #fff 30%, var(--gold-primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.wing-left, .wing-right {
    height: 2px; width: 100px; background: linear-gradient(90deg, transparent, var(--gold-dark));
    margin: 0 10px; position: relative; top: 5px; opacity: 0.7;
}
.wing-right { background: linear-gradient(90deg, var(--gold-dark), transparent); }

.class-container::before {
    content: ''; position: absolute; inset: 0; opacity: 1;
    background: url('https://www.transparenttextures.com/patterns/cubes.png');
    opacity: 0.03; z-index: 0; pointer-events: none;
}

.class-menu {
    display: flex; flex-direction: column; justify-content: center; gap: 8px;
    padding: 40px 0 40px 20px; z-index: 2;
}

.class-btn {
    padding: 18px 25px; cursor: pointer; 
    color: #777; font-family: 'Cinzel'; font-size: 14px; font-weight: 700; 
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative; text-transform: uppercase; letter-spacing: 2px;
    background: linear-gradient(90deg, rgba(255,255,255,0.03), transparent);
    border: 1px solid rgba(255,255,255,0.05);
    display: flex; align-items: center; justify-content: space-between;
    clip-path: polygon(10px 0, 100% 0, 100% 100%, 0 100%, 0 10px);
}
.class-btn:hover { 
    color: #ddd; background: linear-gradient(90deg, rgba(255,255,255,0.08), transparent);
    padding-left: 30px; border-color: rgba(255,255,255,0.1);
}
.class-btn.active {
    color: #fff; background: linear-gradient(90deg, rgba(203, 161, 87, 0.2), transparent);
    border-color: var(--gold-primary);
    text-shadow: 0 0 15px rgba(203, 161, 87, 0.5);
    padding-left: 35px;
    box-shadow: -5px 0 20px rgba(203, 161, 87, 0.1);
}
.class-btn i { font-size: 18px; opacity: 0.5; transition: 0.3s; width: 24px; text-align: center; display: block !important; }
.class-btn.active i { opacity: 1; color: var(--gold-primary); transform: scale(1.2); }

.class-display {
    position: relative; display: flex; align-items: flex-end; justify-content: center;
    z-index: 1; perspective: 1000px;
}

.class-char-img {
    max-height: 95%; max-width: 140%; z-index: 10;
    filter: drop-shadow(0 0 40px rgba(0,0,0,0.8));
    transition: all 0.5s ease-out; opacity: 0; transform: translateX(-30px);
    position: relative; bottom: 20px;
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}
.class-char-img.show { opacity: 1; transform: translateX(0); animation: floatChar 6s ease-in-out infinite; }
@keyframes floatChar { 0%, 100% { transform: translateY(0); } 50% { transform: translateY(-10px); } }

.class-info-panel {
    padding: 60px 50px; display: flex; flex-direction: column; justify-content: center;
    background: linear-gradient(270deg, rgba(10,10,12,0.95), rgba(10,10,12,0.4));
    z-index: 3; border-left: 1px solid rgba(255,255,255,0.05); position: relative;
}

.class-name-title {
    font-family: 'Cinzel'; font-size: 52px; font-weight: 900; color: #fff;
    margin-bottom: 20px; line-height: 1; text-transform: uppercase;
    text-shadow: 0 0 20px rgba(203, 161, 87, 0.4);
    border-left: 4px solid var(--gold-primary); padding-left: 20px;
    background: linear-gradient(90deg, rgba(203, 161, 87, 0.1), transparent);
}

.class-desc {
    font-size: 14px; line-height: 1.8; color: #bbb; margin-bottom: 50px;
    font-weight: 500; font-family: 'Rajdhani'; letter-spacing: 0.5px;
    animation: fadeInText 0.8s ease forwards;
}
@keyframes fadeInText { from { opacity: 0; transform: translateX(10px); } to { opacity: 1; transform: translateX(0); } }

.class-stats { display: flex; flex-direction: column; gap: 20px; }
.stat-row { display: flex; flex-direction: column; gap: 6px; }
.stat-header { display: flex; justify-content: space-between; font-size: 12px; font-weight: 800; color: #666; text-transform: uppercase; letter-spacing: 2px; font-family: 'Rajdhani'; }
.stat-val-text { color: var(--gold-primary); font-weight: 900; text-shadow: 0 0 8px rgba(203, 161, 87, 0.6); }
.stat-bar-track { width: 100%; height: 8px; background: rgba(0,0,0,0.8); border: 1px solid rgba(255,255,255,0.1); position: relative; overflow: hidden; display: flex; clip-path: polygon(0 0, 100% 0, 98% 100%, 0% 100%); }
.stat-bar-track::before { content: ''; position: absolute; inset: 0; background: repeating-linear-gradient(90deg, transparent, transparent 4px, #000 4px, #000 6px); z-index: 2; opacity: 0.3; }
.stat-bar-fill { height: 100%; background: linear-gradient(90deg, #8a6e3e 0%, #cba157 100%); width: 0%; transition: width 1s cubic-bezier(0.25, 1, 0.5, 1); box-shadow: 0 0 10px rgba(203, 161, 87, 0.5); position: relative; z-index: 1; }
.stat-bar-fill::after { content: ''; position: absolute; top: 0; right: 0; height: 100%; width: 5px; background: #fff; box-shadow: 0 0 10px #fff; opacity: 0.8; }

/* --- NEXT-GEN FOOTER --- */
.grand-footer {
    background: #060608;
    border-top: 1px solid #1a1a1a; margin-top: 120px;
    position: relative; z-index: 20;
    font-family: 'Rajdhani', sans-serif;
    box-shadow: 0 -10px 50px rgba(0,0,0,0.9);
    overflow: visible;
}
.footer-divider {
    position: absolute; top: -15px; left: 50%; transform: translateX(-50%);
    width: 100%; max-width: 800px; height: 30px;
    background: radial-gradient(circle, rgba(203, 161, 87, 0.5) 0%, transparent 70%);
    z-index: 21; pointer-events: none; opacity: 0.4;
}
.footer-rune {
    position: absolute; top: -20px; left: 50%; transform: translateX(-50%);
    width: 40px; height: 40px; background: #060608; border: 1px solid #333;
    transform: translateX(-50%) rotate(45deg); z-index: 22;
    display: flex; justify-content: center; align-items: center;
    box-shadow: 0 0 15px rgba(203, 161, 87, 0.2);
}
.footer-rune::after { content: '◈'; color: var(--gold-primary); transform: rotate(-45deg); font-size: 20px; }

.footer-newsletter {
    padding: 40px 0; border-bottom: 1px solid rgba(255,255,255,0.05); position: relative; z-index: 2;
    background: linear-gradient(90deg, transparent, rgba(203, 161, 87, 0.05), transparent);
}
.newsletter-container {
    max-width: 1200px; margin: 0 auto; padding: 0 20px;
    display: flex; justify-content: space-between; align-items: center; flex-wrap: wrap; gap: 20px;
}
.nl-text h3 { color: #fff; font-family: 'Cinzel'; font-size: 20px; margin-bottom: 5px; }
.nl-text p { color: #666; font-size: 13px; }

.nl-form { display: flex; gap: 0; }
.nl-input { padding: 12px 20px; background: #111; border: 1px solid #333; color: #fff; border-right: none; font-family: 'Rajdhani'; width: 250px; }
.nl-input:focus { outline: none; border-color: var(--gold-dark); }
.nl-btn { padding: 12px 25px; background: var(--gold-dark); color: #000; font-weight: bold; border: none; cursor: pointer; transition: 0.3s; font-family: 'Cinzel'; }
.nl-btn:hover { background: var(--gold-primary); color: #fff; }

.footer-content {
    max-width: 1400px; margin: 0 auto; padding: 60px 40px; position: relative; z-index: 2;
    display: grid; grid-template-columns: 1.2fr 0.8fr 1fr; gap: 60px;
}
.footer-brand h2 {
    font-family: 'Cinzel', serif; font-size: 28px; font-weight: 900; color: #fff;
    letter-spacing: 2px; margin-bottom: 20px;
    background: linear-gradient(180deg, #fff 40%, var(--gold-primary) 100%);
    -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.footer-desc { color: #777; font-size: 14px; line-height: 1.6; max-width: 450px; }

.footer-col h3 {
    font-family: 'Cinzel'; color: #fff; font-size: 16px; margin-bottom: 25px;
    padding-bottom: 10px; border-bottom: 2px solid var(--gold-dark); display: inline-block;
}
.footer-links-list { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.footer-links-list a { color: #888; font-size: 14px; transition: 0.3s; font-weight: 600; display: flex; align-items: center; gap: 5px; cursor: pointer; }
.footer-links-list a::before { content: '›'; color: var(--gold-dark); font-size: 18px; line-height: 0; }
.footer-links-list a:hover { color: var(--gold-primary); transform: translateX(5px); }

.footer-contact-item { display: flex; align-items: flex-start; gap: 15px; margin-bottom: 20px; }
.footer-contact-item i { font-size: 20px; color: var(--gold-primary); margin-top: 3px; background: rgba(203, 161, 87, 0.1); padding: 8px; border-radius: 4px; border: 1px solid rgba(203, 161, 87, 0.2); }
.f-c-text h4 { color: #ddd; font-size: 14px; margin-bottom: 5px; font-weight: 700; }
.f-c-text p { color: #666; font-size: 13px; line-height: 1.4; }

.footer-bottom {
    background: #020202; padding: 25px; text-align: center; font-size: 12px; color: #444;
    border-top: 1px solid #111; letter-spacing: 1px; position: relative; z-index: 2;
    display: flex; justify-content: space-between; align-items: center; max-width: 1400px; margin: 0 auto;
}
.payment-icons i { font-size: 20px; margin-left: 10px; color: #666; transition: 0.3s; }
.payment-icons i:hover { color: #fff; }

/* --- MODAL SYSTEM --- */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background: rgba(0,0,0,0.85); backdrop-filter: blur(8px);
    z-index: 9999; display: flex; align-items: center; justify-content: center;
    opacity: 0; visibility: hidden; transition: 0.3s;
}
.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
    background: #0c0e12; width: 90%; max-width: 500px;
    border: 1px solid #333; position: relative;
    box-shadow: 0 0 50px rgba(0,0,0,0.9), 0 0 20px rgba(203, 161, 87, 0.1);
    transform: scale(0.9); transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    padding: 30px; text-align: center;
    clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px);
}
.modal-overlay.active .modal-box { transform: scale(1); }
.close-modal {
    position: absolute; top: 15px; right: 20px; color: #666; font-size: 24px;
    cursor: pointer; transition: 0.3s; z-index: 5;
}
.close-modal:hover { color: #fff; transform: rotate(90deg); }

.coming-soon-icon { font-size: 60px; color: var(--gold-primary); margin-bottom: 20px; animation: pulse-gold 2s infinite; }
.coming-soon-title { font-family: 'Cinzel'; font-size: 28px; color: #fff; margin-bottom: 10px; }
.coming-soon-text { color: #888; font-size: 14px; margin-bottom: 25px; line-height: 1.6; }
.modal-discord-btn {
    display: inline-flex; align-items: center; gap: 10px;
    background: #5865F2; color: #fff; padding: 12px 30px;
    border-radius: 4px; font-weight: bold; font-family: 'Rajdhani';
    transition: 0.3s; text-transform: uppercase; letter-spacing: 1px;
}
.modal-discord-btn:hover { background: #4752c4; transform: translateY(-3px); box-shadow: 0 10px 20px rgba(88, 101, 242, 0.3); }

/* Beta Form */
.beta-form-title { font-family: 'Cinzel'; color: var(--gold-primary); font-size: 24px; margin-bottom: 5px; }
.beta-counter { font-size: 12px; color: #2ecc71; font-weight: bold; margin-bottom: 20px; display: inline-block; background: rgba(46, 204, 113, 0.1); padding: 4px 10px; border-radius: 4px; border: 1px solid rgba(46, 204, 113, 0.2); cursor: help; }
.beta-counter:hover::after { content: ' (Canlı Veri)'; opacity: 0.7; }
.form-row { margin-bottom: 15px; text-align: left; }
.form-row label { display: block; color: #aaa; font-size: 12px; margin-bottom: 5px; font-weight: bold; letter-spacing: 1px; }
.form-input {
    width: 100%; padding: 12px; background: #050505; border: 1px solid #333; color: #fff;
    font-family: 'Rajdhani'; transition: 0.3s;
}
.form-input:focus { border-color: var(--gold-dark); outline: none; background: #08080a; }
.submit-beta-btn {
    width: 100%; padding: 15px; background: linear-gradient(90deg, #8a6e3e, #cba157);
    border: none; color: #000; font-weight: 900; font-family: 'Cinzel'; letter-spacing: 2px;
    cursor: pointer; transition: 0.3s; margin-top: 10px;
}
.submit-beta-btn:hover { filter: brightness(1.2); }

/* --- RESPONSIVE --- */
@media (min-width: 1920px) {
    .main-container { max-width: 1800px; gap: 40px; }
    .hero-title { font-size: 80px; }
    .class-container { height: 850px; }
}

@media (max-width: 1200px) { 
    .main-container { grid-template-columns: 280px 1fr 280px; } 
    .class-container { grid-template-columns: 220px 1fr 300px; height: 650px; }
    .class-name-title { font-size: 36px; }
    .footer-content { gap: 30px; }
}

@media (max-width: 992px) {
    .main-container { grid-template-columns: 1fr; max-width: 700px; }
    .left-column, .right-column { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; }
    .hero-character { opacity: 0.15; right: -20%; }
    header { flex-direction: column; gap: 15px; }
    .nav-links { flex-wrap: wrap; justify-content: center; }
    .live-stats { gap: 20px; flex-wrap: wrap; }
    
    .class-showcase-section { margin: 80px auto; }
    .class-container { grid-template-columns: 1fr; height: auto; display: flex; flex-direction: column; border-top: 1px solid rgba(203, 161, 87, 0.2); overflow: hidden; margin-top: 60px; }
    
    .class-menu { 
        flex-direction: row; flex-wrap: nowrap; overflow-x: auto; 
        border-right: none; padding: 60px 20px 20px 20px; order: 1; gap: 10px; 
        background: #000; justify-content: flex-start; 
        -webkit-overflow-scrolling: touch;
    }
    .class-menu::-webkit-scrollbar { height: 4px; }
    
    .class-btn { 
        flex: 0 0 auto; min-width: 100px; font-size: 11px; justify-content: center; 
        padding: 12px; background: rgba(255,255,255,0.05); border: 1px solid #333; 
        clip-path: none; border-radius: 4px; flex-direction: column; gap: 5px; 
    }
    .class-btn:hover, .class-btn.active { padding-left: 12px; }
    .class-btn i { display: block; margin-bottom: 5px; }
    
    .class-display { height: 350px; order: 2; background: radial-gradient(circle at bottom, rgba(203, 161, 87, 0.15), transparent 60%); overflow: hidden; }
    .class-char-img { max-height: 90%; bottom: 0; transform: translateX(0); }
    
    .class-info-panel { padding: 30px 20px; border-left: none; order: 3; background: #08080a; }

    .newsletter-container { justify-content: center; text-align: center; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-col h3 { border-bottom: none; border-top: 2px solid var(--gold-dark); padding-top: 10px; width: 100%; }
    .footer-links-list { justify-content: center; text-align: left; }
    .footer-contact-item { justify-content: center; text-align: left; }
    .footer-desc { margin: 0 auto; }
    .footer-bottom { flex-direction: column; gap: 10px; }
}

@media (max-width: 768px) {
    .left-column, .right-column { display: flex; flex-direction: column; }
    .news-row { grid-template-columns: 50px 1fr 40px; height: auto; padding: 10px; gap: 10px; }
    .row-date, .row-tag { display: none; }
    .main-container { padding: 10px; }
    .nl-form { flex-direction: column; width: 100%; }
    .nl-input { width: 100%; }
    .nl-btn { width: 100%; }
    .class-title-text { font-size: 24px; letter-spacing: 2px; }
    .wing-left, .wing-right { width: 40px; }
}