
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;700;900&family=Rajdhani:wght@400;500;700&display=swap');

:root {
    --gold-light: #fbe089;
    --gold-main: #d4af37;
    --gold-dark: #8a6e18;
    
    --red-light: #ff4d4d;
    --red-main: #b90e0e;
    --red-dark: #680000;

    --bg-deep: #050505;
    --bg-panel: #0f0f0f;
    --bg-input: #000000;
    
    --border-gold: #aa892c;
    --border-dim: #333;
    
    --text-glow: 0 0 10px rgba(212, 175, 55, 0.4);
    --box-glow: 0 0 15px rgba(0,0,0,0.8);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    background-color: var(--bg-deep);
    color: #ccc;
    font-family: 'Rajdhani', sans-serif; /* Oyun arayüzü fontu */
    background-image: radial-gradient(circle at center top, #1a1a1a, #000000);
    min-height: 100vh;
}

a { text-decoration: none; color: inherit; transition: 0.3s ease; }
ul { list-style: none; }

header {
    background: linear-gradient(to bottom, rgba(0,0,0,0.95), rgba(10,10,10,0.9));
    border-bottom: 1px solid var(--gold-dark);
    box-shadow: 0 5px 30px rgba(0,0,0,0.8);
    position: sticky;
    top: 0;
    z-index: 1000;
    height: 90px;
    display: flex;
    align-items: center;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 15px;
    position: relative;
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    width: 100%;
}

.logo {
    font-family: 'Cinzel', serif;
    font-size: 36px;
    font-weight: 900;
    background: linear-gradient(to bottom, var(--gold-light), var(--gold-main));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0px 2px 10px rgba(212,175,55,0.3);
    letter-spacing: 1px;
}

.main-menu { display: flex; gap: 5px; }

.main-menu li a {
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    color: #aaa;
    padding: 12px 20px;
    border-radius: 2px;
    position: relative;
    overflow: hidden;
}

.main-menu li a::before {
    content: '';
    position: absolute;
    bottom: 0; left: 0; width: 0%; height: 2px;
    background: var(--gold-main);
    transition: 0.3s;
    box-shadow: 0 0 10px var(--gold-main);
}

.main-menu li a:hover, .main-menu li a.active {
    color: var(--gold-light);
    background: linear-gradient(to top, rgba(212,175,55,0.1), transparent);
}
.main-menu li a:hover::before, .main-menu li a.active::before { width: 100%; }

.hero-slider {
    position: relative;
    height: 600px;
    border-bottom: 2px solid var(--gold-dark);
    box-shadow: 0 10px 40px rgba(0,0,0,1);
    background: #000;
    overflow: hidden;
}

.slide {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center top;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: center;
}
.slide.active { opacity: 1; }
.slide::after {
    content: ''; position: absolute; inset: 0;
    background: radial-gradient(circle, transparent 40%, #000 100%);
}

.slide-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 700px;
}

.slide-content h2 {
    font-family: 'Cinzel', serif;
    font-size: 56px;
    color: var(--gold-light);
    text-shadow: 0 5px 15px rgba(0,0,0,0.9);
    margin-bottom: 10px;
    text-transform: uppercase;
}
.slide-content p {
    font-size: 20px;
    color: #ddd;
    text-shadow: 0 2px 5px rgba(0,0,0,1);
    margin-bottom: 30px;
}

.btn {
    display: inline-block;
    padding: 14px 40px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 18px;
    text-transform: uppercase;
    clip-path: polygon(10% 0, 100% 0, 100% 80%, 90% 100%, 0 100%, 0 20%);
    transition: 0.3s;
    cursor: pointer;
    border: none;
    letter-spacing: 1px;
}

.btn-gold {
    background: linear-gradient(180deg, var(--gold-main) 0%, var(--gold-dark) 100%);
    color: #1a0f00;
    box-shadow: 0 0 15px rgba(212,175,55,0.4);
}
.btn-gold:hover {
    background: linear-gradient(180deg, var(--gold-light) 0%, var(--gold-main) 100%);
    box-shadow: 0 0 25px rgba(212,175,55,0.6);
    transform: translateY(-2px);
}

.btn-red {
    background: linear-gradient(180deg, var(--red-main) 0%, var(--red-dark) 100%);
    color: #fff;
    box-shadow: 0 0 15px rgba(185, 14, 14, 0.4);
}
.btn-red:hover {
    background: linear-gradient(180deg, var(--red-light) 0%, var(--red-main) 100%);
    box-shadow: 0 0 25px rgba(185, 14, 14, 0.6);
}

.main-wrapper {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 30px;
    padding: 50px 0;
}

.panel {
    background: linear-gradient(135deg, #151515, #0a0a0a);
    border: 1px solid #222;
    margin-bottom: 30px;
    position: relative;
    box-shadow: 0 0 20px rgba(0,0,0,0.5);
}
.panel::before {
    content: ''; position: absolute; top: -1px; left: -1px; right: -1px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold-dark), transparent);
}

.panel-title {
    background: linear-gradient(to right, rgba(0,0,0,0.8), rgba(30,30,30,0.5));
    padding: 15px 20px;
    font-family: 'Cinzel', serif;
    color: var(--gold-main);
    font-size: 20px;
    border-bottom: 1px solid #222;
    text-align: center;
    letter-spacing: 1px;
}

.panel-content { padding: 25px; }

.input-group { position: relative; margin-bottom: 15px; }
.input-group i {
    position: absolute; left: 15px; top: 50%; transform: translateY(-50%);
    color: var(--gold-dark);
}
.custom-input {
    width: 100%;
    background: #000;
    border: 1px solid #333;
    padding: 12px 12px 12px 40px; 
    color: var(--gold-light);
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    transition: 0.3s;
}
.custom-input:focus {
    border-color: var(--gold-main);
    box-shadow: 0 0 10px rgba(212,175,55,0.2);
    outline: none;
}

.status-row { display: flex; justify-content: space-between; margin-bottom: 10px; font-size: 14px; }
.progress-bg { height: 8px; background: #222; border-radius: 4px; overflow: hidden; }
.progress-fill { height: 100%; background: var(--gold-main); width: 0%; transition: 1s; box-shadow: 0 0 10px var(--gold-main); }

.news-card {
    display: flex;
    background: linear-gradient(to right, #111, #0a0a0a);
    border: 1px solid #222;
    margin-bottom: 20px;
    height: 160px;
    transition: 0.3s;
    overflow: hidden;
    position: relative;
}
.news-card:hover { border-color: var(--gold-dark); transform: translateX(5px); }

.news-img {
    width: 240px;
    background-size: cover;
    background-position: center;
    position: relative;
    border-right: 2px solid var(--gold-dark);
}
.news-body {
    padding: 20px;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}
.news-date { color: var(--gold-main); font-size: 13px; margin-bottom: 5px; font-weight: bold; }
.news-header { font-size: 22px; color: #fff; font-family: 'Cinzel', serif; margin-bottom: 10px; }
.news-text { font-size: 14px; color: #777; line-height: 1.4; }

footer {
    background: #000;
    border-top: 3px solid var(--gold-dark);
    padding: 50px 0;
    text-align: center;
    margin-top: 50px;
}
.social-links a {
    display: inline-block; width: 40px; height: 40px; line-height: 40px;
    background: #111; color: var(--gold-main); border: 1px solid #333;
    margin: 0 5px; font-size: 18px; transition: 0.3s;
}
.social-links a:hover { background: var(--gold-main); color: #000; box-shadow: 0 0 15px var(--gold-main); }

.mobile-menu-btn { display: none; font-size: 24px; color: var(--gold-main); cursor: pointer; }
@media (max-width: 900px) {
    .main-wrapper { grid-template-columns: 1fr; }
    .hero-slider { height: 400px; }
    .main-menu { display: none; position: absolute; top: 90px; left:0; width:100%; background:#111; flex-direction:column; padding:20px; box-shadow:0 10px 20px #000;}
    .main-menu.active { display: flex; }
    .mobile-menu-btn { display: block; }
    .news-card { flex-direction: column; height: auto; }
    .news-img { width: 100%; height: 180px; border-right: none; border-bottom: 2px solid var(--gold-dark); }
}

.news-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.news-item-styled {
    display: flex;
    background: linear-gradient(to right, #141414, #0a0a0a);
    border: 1px solid #222;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none;
    min-height: 90px;
}

.news-item-styled:hover {
    border-color: var(--gold-main);
    transform: translateX(5px); 
    box-shadow: -5px 5px 20px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #1a1a1a, #0f0f0f);
}

.news-date-box {
    width: 90px; 
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-right: 1px solid #222;
}

.news-type-header {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.type-event { background: linear-gradient(to bottom, #0056b3, #004494); } /* Mavi */
.type-system { background: linear-gradient(to bottom, #d35400, #ba4a00); } /* Turuncu */
.type-general { background: linear-gradient(to bottom, #444, #333); } /* Gri (Varsayılan) */

.news-date-body {
    background: #1a1a1a;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.news-day-num {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 900;
    color: #eee;
    line-height: 1;
}

.news-month-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    color: var(--gold-main);
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}

.news-content-styled {
    padding: 15px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title-styled {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    transition: 0.3s;
    text-transform: uppercase;
}

.news-item-styled:hover .news-title-styled {
    color: var(--gold-main);
}

.news-excerpt-styled {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    color: #999;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .news-date-box { width: 80px; }
    .news-day-num { font-size: 26px; }
    .news-type-header { font-size: 12px; }
    .news-title-styled { font-size: 18px; }
    .news-content-styled { padding: 12px; }
}

.news-list-wrapper {
    display: flex;
    flex-direction: column;
    gap: 15px; 
}

.news-item-styled {
    display: flex;
    background: linear-gradient(to right, #141414, #0a0a0a);
    border: 1px solid #222;
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    text-decoration: none; 
    min-height: 90px;
}

.news-item-styled:hover {
    border-color: var(--gold-main);
    transform: translateX(5px); 
    box-shadow: -5px 5px 20px rgba(0,0,0,0.5);
    background: linear-gradient(to right, #1a1a1a, #0f0f0f);
}

.news-date-box {
    width: 90px;
    flex-shrink: 0;
    display: flex;
    flex-direction: column;
    text-align: center;
    border-right: 1px solid #222;
}

.news-type-header {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 13px;
    padding: 6px 0;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.type-event { background: linear-gradient(to bottom, #0056b3, #004494); }
.type-system { background: linear-gradient(to bottom, #d35400, #ba4a00); } 
.type-general { background: linear-gradient(to bottom, #444, #333); } 

.news-date-body {
    background: #1a1a1a;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 10px 0;
}

.news-day-num {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    font-weight: 900;
    color: #eee;
    line-height: 1;
}

.news-month-name {
    font-family: 'Rajdhani', sans-serif;
    font-size: 14px;
    color: var(--gold-main);
    text-transform: uppercase;
    margin-top: 4px;
    font-weight: 600;
}

.news-content-styled {
    padding: 15px 20px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.news-title-styled {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
    transition: 0.3s;
    text-transform: uppercase;
}

.news-item-styled:hover .news-title-styled {
    color: var(--gold-main);
}

.news-excerpt-styled {
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    color: #999;
    line-height: 1.4;
}

@media (max-width: 768px) {
    .news-date-box { width: 80px; }
    .news-day-num { font-size: 26px; }
    .news-type-header { font-size: 12px; }
    .news-title-styled { font-size: 18px; }
    .news-content-styled { padding: 12px; }
}

.class-selector-wrapper {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 30px;
}

.class-tab-btn {
    width: 140px;
    height: 180px;
    background-size: cover;
    background-position: center top;
    border: 2px solid #333;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    filter: grayscale(100%); 
    position: relative;
    overflow: hidden;
}

.class-tab-btn:hover, .class-tab-btn.active {
    filter: grayscale(0%);
    border-color: var(--gold-main);
    transform: translateY(-5px);
    box-shadow: 0 0 20px rgba(212,175,55,0.4);
}

.class-tab-name {
    position: absolute;
    bottom: 0; left: 0; width: 100%;
    background: rgba(0,0,0,0.8);
    color: #fff;
    text-align: center;
    padding: 5px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    font-size: 14px;
}

.skill-display-area {
    background: linear-gradient(to right, #0a0a0a, #141414);
    border: 1px solid #333;
    border-top: 2px solid var(--gold-main);
    padding: 30px;
    min-height: 250px;
    position: relative;
    display: none;
    animation: fadeIn 0.5s ease;
}

.skill-display-area.active {
    display: flex;
    gap: 30px;
}

@keyframes fadeIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: translateY(0); } }

.class-desc-box {
    flex: 1;
    border-right: 1px solid #333;
    padding-right: 20px;
}
.class-desc-title {
    font-family: 'Cinzel', serif;
    font-size: 32px;
    color: var(--gold-main);
    margin-bottom: 10px;
}
.class-desc-text {
    font-family: 'Rajdhani', sans-serif;
    color: #aaa;
    line-height: 1.6;
    font-size: 16px;
}

.skill-grid-box {
    flex: 2;
}
.skill-grid-title {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    color: #fff;
    border-bottom: 1px solid #333;
    padding-bottom: 5px;
    margin-bottom: 15px;
}
.skill-list {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

.skill-card {
    width: 60px;
    height: 60px;
    background: #000;
    border: 1px solid #444;
    border-radius: 4px;
    position: relative;
    cursor: pointer;
    transition: 0.3s;
}
.skill-card img {
    width: 100%; height: 100%;
    object-fit: cover;
    border-radius: 3px;
}
.skill-card:hover {
    border-color: var(--gold-main);
    transform: scale(1.1);
    z-index: 10;
}

.skill-tooltip {
    position: absolute;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.95);
    border: 1px solid var(--gold-main);
    padding: 10px;
    width: 200px;
    color: #fff;
    font-size: 12px;
    border-radius: 4px;
    pointer-events: none;
    opacity: 0;
    transition: 0.2s;
    z-index: 20;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0,0,0,1);
}
.skill-card:hover .skill-tooltip { opacity: 1; bottom: 75px; }
.skill-name { color: var(--gold-light); font-weight: bold; margin-bottom: 3px; display: block; font-size: 14px;}


/* --- YENİ SKILL BÖLÜMÜ STİLLERİ --- */
.game-classes-section {
    padding: 60px 0;
    background: #0b0b0b; /* Sayfa arka planına uyumlu koyu renk */
    color: #fff;
    border-top: 1px solid #333;
}

/* Tab Menü Stili */
.class-nav .nav-link {
    background: rgba(255, 255, 255, 0.05);
    color: #aaa;
    border: 1px solid #333;
    margin: 0 5px;
    font-family: 'Cinzel', serif;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.class-nav .nav-link:hover,
.class-nav .nav-link.active {
    background: linear-gradient(45deg, #8b0000, #500000);
    color: #ffd700;
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
}

/* Sınıf Kutusu Genel */
.class-box {
    background-color: #1a1a1a;
    background-size: cover;
    background-position: center;
    background-blend-mode: overlay; /* Resmi koyu arka planla karıştırır */
    border: 1px solid #444;
    border-radius: 8px;
    padding: 30px;
    min-height: 350px;
    position: relative;
    box-shadow: inset 0 0 50px #000;
}

.class-box h3 {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 0 2px 5px #000;
}

.class-box p {
    color: #ccc;
    font-style: italic;
}

.skill-cat-title {
    color: #e0e0e0;
    border-bottom: 1px solid #444;
    padding-bottom: 5px;
    margin-bottom: 15px;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Skill İkonları Listesi */
.skill-list {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.skill-icon {
    position: relative;
}

.skill-icon img {
    width: 56px;
    height: 56px;
    border: 2px solid #555;
    background: #000;
    border-radius: 6px;
    transition: all 0.2s ease;
    cursor: pointer;
}

.skill-icon img:hover {
    transform: scale(1.1);
    border-color: #ffd700;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

/* Mage Skill Ağacı Özel Başlıkları */
.skill-tree-header {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #ffd700;
    background: #111;
    margin-bottom: 15px;
    box-shadow: 0 0 15px rgba(0,0,0,0.8);
    transition: transform 0.3s;
}

.skill-tree-header:hover {
    transform: rotate(10deg) scale(1.05);
}

.skill-column {
    background: rgba(0,0,0,0.4);
    padding: 15px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
}

/* MODAL (POPUP) STİLLERİ */
.game-modal {
    background-color: #1a1a1a; /* Koyu arkaplan */
    border: 2px solid #ffd700; /* Altın çerçeve */
    color: #e0e0e0;
    box-shadow: 0 0 20px rgba(0,0,0,0.8);
}

.game-modal .modal-header {
    border-bottom: 1px solid #444;
}

.game-modal .modal-title {
    font-family: 'Cinzel', serif;
    color: #ffd700;
    text-transform: uppercase;
    font-weight: bold;
}

.skill-popup-img {
    width: 80px;
    height: 80px;
    border: 2px solid #555;
    border-radius: 10px;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.2);
}

.skill-desc {
    font-size: 15px;
    color: #ccc;
    margin-top: 10px;
}

.skill-stats {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 10px;
}
 
/* --- MOBİL MENÜ KESİN ÇÖZÜM --- */

/* Masaüstünde Mobili Gizle */
.mobile-menu-btn, .mobile-overlay { display: none; }

@media (max-width: 768px) {
    .desktop-only { display: none !important; }

    /* Hamburger Butonu Tasarımı */
    .mobile-menu-btn {
        display: flex !important;
        flex-direction: column;
        gap: 5px;
        cursor: pointer;
    }
    .mobile-menu-btn span {
        width: 30px;
        height: 3px;
        background: var(--gold-main);
        transition: 0.3s;
    }

    /* Mobil Menü Arka Planı */
    .mobile-overlay {
        display: block;
        position: fixed;
        top: 0;
        right: -100%; /* Başlangıçta ekranın sağında gizli */
        width: 80%;
        height: 100%;
        background: rgba(10, 10, 10, 0.98);
        border-left: 2px solid var(--gold-main);
        z-index: 9999;
        transition: 0.4s ease-in-out;
        padding: 50px 20px;
    }

    .mobile-overlay.open {
        right: 0; /* Menü açıldığında ekranın içine girer */
    }

    .close-menu {
        position: absolute;
        top: 20px;
        right: 20px;
        font-size: 30px;
        color: var(--gold-main);
        cursor: pointer;
    }

    .mobile-links {
        list-style: none;
        margin-top: 50px;
    }

    .mobile-links li {
        margin-bottom: 25px;
        border-bottom: 1px solid #222;
        padding-bottom: 10px;
    }

    .mobile-links li a {
        color: #fff;
        text-decoration: none;
        font-size: 20px;
        font-family: 'Cinzel', serif;
        display: block;
    }
	
	
}