/* style.css */


/* ============================================================
   RESET & GENEL
   ============================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: #fff;
    background: url('/assets/images/nttgame/21739b_bg.jpg') center/cover fixed;
    overflow-x: hidden;
    position: relative;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.82);
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1280px;
    margin: 0 auto;
}

/* ============================================================
   HEADER
   ============================================================ */
header {
    background: linear-gradient(180deg, #000000 0%, #0a0800 60%, rgba(0,0,0,0.95) 100%);
    border-bottom: 1px solid rgba(212,175,55,0.3);
    padding: 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.8);
}

header .container {
    display: grid;
    grid-template-columns: 1fr auto 1fr;
    grid-template-rows: auto auto;
    align-items: center;
    gap: 0;
    padding: 0;
    position: relative;
}

/* Sosyal medya — sol üst */
.social-icons-left {
    grid-column: 1;
    grid-row: 1;
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 12px 0 8px 0;
}

.social-icons-left a {
    font-size: 1.2rem;
    transition: transform 0.25s, color 0.25s;
    text-decoration: none;
}
.social-icons-left a.facebook { color: #4267B2; }
.social-icons-left a.youtube  { color: #FF0000; }
.social-icons-left a.discord  { color: #5865F2; }
.social-icons-left a.twitch   { color: #9146FF; }
.social-icons-left a:hover    { transform: scale(1.25); filter: brightness(1.3); }

/* Logo — orta */
.logo {
    grid-column: 2;
    grid-row: 1;
    text-align: center;
    padding: 10px 0 6px;
}

.logo img {
    height: 60px;
    width: auto;
    filter: drop-shadow(0 0 8px rgba(212,175,55,0.4));
    transition: filter 0.3s;
}
.logo img:hover { filter: drop-shadow(0 0 14px rgba(212,175,55,0.7)); }

/* Auth butonları — sağ üst */
.auth-buttons {
    grid-column: 3;
    grid-row: 1;
    display: flex;
    gap: 10px;
    align-items: center;
    justify-content: flex-end;
    padding: 12px 0 8px 0;
}

.auth-buttons .btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 10px 22px;
    border: none;
    border-radius: 6px;
    background: url('../images/auth_btn_bg.png') center/100% 100% no-repeat;
    color: #F5E16B;
    font-size: 0.95rem;
    font-weight: bold;
    text-transform: uppercase;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    position: relative;
    overflow: hidden;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.auth-buttons .btn:hover {
    transform: translateY(-2px);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(212,175,55,0.5));
}
.auth-buttons .btn:active {
    transform: translateY(0);
}

.auth-buttons .btn i { font-size: 0.95rem; }

/* Kullanıcı bilgisi */
.user-info {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #F5E16B;
    font-size: 0.88rem;
    font-weight: 600;
}
.cash-info {
    background: rgba(212,175,55,0.12);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 20px;
    padding: 2px 10px;
    font-size: 0.78rem;
    color: #D4AF37;
}

/* Navigasyon — tam genişlik alt satır */
header nav {
    grid-column: 1 / -1;
    grid-row: 2;
    border-top: 1px solid rgba(212,175,55,0.15);
    padding: 0;
}

header nav ul.menu {
    list-style: none;
    display: flex;
    justify-content: center;
    gap: 0;
    flex-wrap: wrap;
    margin: 0;
    padding: 0;
}

header nav ul.menu li { position: relative; }

header nav ul.menu li a {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    padding: 14px 18px;
    color: #C8A84B;
    text-decoration: none;
    font-size: 0.82rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    transition: color 0.2s, background 0.2s;
    white-space: nowrap;
}
header nav ul.menu li a i { font-size: 0.9rem; opacity: 0.85; }
header nav ul.menu li a:hover,
header nav ul.menu li a.dropbtn:hover {
    color: #F5E16B;
    background: rgba(212,175,55,0.08);
}

/* Image Menu Styling */
header nav.image-menu {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 4px;
    padding: 12px 0;
    flex-wrap: wrap; /* Taşmayı önlemek için sarmalama eklendi */
}
header nav.image-menu a.img-menu-item {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    position: relative;
    transition: transform 0.2s ease, filter 0.2s ease;
    flex-shrink: 0;
    text-decoration: none;
}
header nav.image-menu a.img-menu-item:hover {
    transform: translateY(-3px);
    filter: drop-shadow(0 6px 15px rgba(212,175,55,0.7)) brightness(1.2);
}
header nav.image-menu a.img-menu-item img {
    height: 90px;
    width: auto;
    display: block;
    border-radius: 6px;
}
header nav.image-menu a.img-menu-item .menu-text {
    position: absolute;
    bottom: 6px;
    left: 0;
    width: 100%;
    text-align: center;
    color: #fff;
    font-size: 0.58rem;
    font-weight: 800;
    letter-spacing: 0px;
    text-transform: uppercase;
    text-shadow: 1px 1px 3px rgba(0,0,0,1), 0 0 5px rgba(0,0,0,0.8);
    pointer-events: none;
    white-space: normal;
    line-height: 1.1;
    padding: 0 4px;
    box-sizing: border-box;
}

/* Image Menu Dropdown */
.img-dropdown {
    position: relative;
    display: inline-block;
}
.img-dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(180deg, #111 0%, #000 100%);
    min-width: 170px;
    box-shadow: 0px 8px 16px 0px rgba(0,0,0,0.9);
    z-index: 999;
    border: 1px solid rgba(212,175,55,0.4);
    border-radius: 4px;
    padding: 6px 0;
}
.img-dropdown-content a {
    color: #D4AF37;
    padding: 10px 16px;
    text-decoration: none;
    display: block;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    transition: all 0.2s;
    text-align: left;
}
.img-dropdown-content a i {
    margin-right: 6px;
    font-size: 0.9rem;
    width: 16px;
    text-align: center;
    color: #a0a0a0;
}
.img-dropdown-content a:hover {
    background-color: rgba(212,175,55,0.15);
    color: #fff;
    padding-left: 20px; /* Hover animasyonu */
}
.img-dropdown-content a:hover i {
    color: #F5E16B;
}
.img-dropdown:hover .img-dropdown-content {
    display: block;
    animation: fadeInDown 0.3s ease forwards;
}

@keyframes fadeInDown {
    from { opacity: 0; transform: translate(-50%, -10px); }
    to { opacity: 1; transform: translate(-50%, 0); }
}

@media (max-width: 1024px) {
    header nav.image-menu {
        justify-content: flex-start;
        padding-left: 10px;
        padding-right: 10px;
    }
}
@media (max-width: 768px) {
    header nav.image-menu a.img-menu-item img {
        height: 75px;
    }
    header nav.image-menu a.img-menu-item .menu-text {
        font-size: 0.48rem;
        bottom: 5px;
        line-height: 1.0;
    }
}

/* Dropdown */
.dropdown { position: relative; }

.dropdown-content {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 210px;
    background: linear-gradient(160deg, #0f0c00, #1a1500);
    border: 1px solid rgba(212,175,55,0.25);
    border-top: 2px solid #D4AF37;
    border-radius: 0 0 8px 8px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.7);
    z-index: 999;
    animation: ddFade 0.18s ease;
}

@keyframes ddFade {
    from { opacity:0; transform:translateY(-6px); }
    to   { opacity:1; transform:translateY(0); }
}

.dropdown-content a {
    display: flex;
    align-items: center;
    gap: 9px;
    padding: 11px 16px;
    color: #C8A84B;
    font-size: 0.82rem;
    font-weight: 600;
    letter-spacing: 0.5px;
    text-decoration: none;
    border-bottom: 1px solid rgba(212,175,55,0.08);
    transition: background 0.2s, color 0.2s;
}
.dropdown-content a:last-child { border-bottom: none; }
.dropdown-content a i { font-size: 0.85rem; color: #D4AF37; }
.dropdown-content a:hover { background: rgba(212,175,55,0.1); color: #F5E16B; }
.dropdown:hover .dropdown-content { display: block; }

/* ============================================================
   DUYURU BARI
   ============================================================ */
.announcement-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(90deg, rgba(0,0,0,0.85) 0%, rgba(20,14,0,0.9) 50%, rgba(0,0,0,0.85) 100%);
    border-bottom: 1px solid rgba(212,175,55,0.25);
    border-top: 1px solid rgba(212,175,55,0.1);
    padding: 7px 20px;
    font-size: 0.83rem;
    overflow: hidden;
    position: relative;
}

.announcement-bar::before {
    content: '';
    position: absolute;
    left: 0; top: 0; bottom: 0;
    width: 120px;
    background: linear-gradient(90deg, rgba(0,0,0,0.9), transparent);
    z-index: 2;
    pointer-events: none;
}
.announcement-bar::after {
    content: '';
    position: absolute;
    right: 0; top: 0; bottom: 0;
    width: 120px;
    background: linear-gradient(270deg, rgba(0,0,0,0.9), transparent);
    z-index: 2;
    pointer-events: none;
}

.announcement-icon {
    color: #D4AF37;
    font-size: 0.95rem;
    flex-shrink: 0;
    z-index: 3;
    animation: iconPulse 2s ease-in-out infinite;
}
@keyframes iconPulse {
    0%,100% { opacity: 1; transform: scale(1); }
    50%      { opacity: 0.6; transform: scale(1.15); }
}

.announcement-title {
    color: #D4AF37;
    font-weight: 700;
    flex-shrink: 0;
    z-index: 3;
    font-size: 0.78rem;
    letter-spacing: 1px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #F5E16B, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.announcement-text {
    overflow: hidden;
    flex: 1;
    white-space: nowrap;
}

.scrolling-text {
    display: inline-block;
    white-space: nowrap;
    padding-left: 100%;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3, #ff0000);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: scrollText 25s linear infinite, rgbShimmer 3s linear infinite;
    font-weight: 600;
    letter-spacing: 0.5px;
}

@keyframes scrollText {
    from { transform: translateX(0); }
    to   { transform: translateX(-100%); }
}

@keyframes shimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 400% center; }
}

@keyframes rgbShimmer {
    0%   { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* ============================================================
   SLIDER
   ============================================================ */
.slider-section {
    background: #000;
    padding: 0;
    overflow: hidden;
}
.slider {
    width: 100%;
    max-width: 980px;
    height: 340px;
    position: relative;
    margin: 0 auto;
    overflow: hidden;
}
.slider img {
    width: 100%;
    height: 340px;
    position: absolute;
    top: 0; left: 0;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    object-fit: cover;
}
.slider img:first-child { opacity: 1; }

/* ============================================================
   RANK BÖLÜMÜ
   ============================================================ */
.rank-section {
    padding: 40px 0;
    background: rgba(0,0,0,0.6);
}

.rank-tables-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto;
    grid-template-areas:
        "oyuncu  klan"
        "sunucu  gm";
    gap: 20px;
    margin-bottom: 20px;
    align-items: stretch;
}

.rank-box, .stat-box {
    background: rgba(10,8,0,0.75);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px;
    padding: 18px;
    box-sizing: border-box;
    width: 100%;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.rank-box:hover, .stat-box:hover {
    border-color: rgba(212,175,55,0.6);
    box-shadow: 0 0 16px rgba(212,175,55,0.15);
}

.rank-box h3, .stat-box h3 {
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    margin-bottom: 14px;
    color: #D4AF37;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

.rank-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.82rem;
}
.rank-table th {
    background: linear-gradient(90deg, #1a1200, #2a1e00);
    color: #D4AF37;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    padding: 8px 6px;
    border-bottom: 1px solid rgba(212,175,55,0.3);
}
.rank-table td {
    padding: 7px 6px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #ddd;
    font-size: 0.82rem;
}
.rank-table tr:last-child td { border-bottom: none; }
.rank-table tr:hover td { background: rgba(212,175,55,0.06); color: #fff; }

/* Top 3 Rank Highlights */
.rank-table tbody tr:nth-child(1) { background: linear-gradient(90deg, rgba(212,175,55,0.05), rgba(212,175,55,0.2), rgba(212,175,55,0.05)); }
.rank-table tbody tr:nth-child(2) { background: linear-gradient(90deg, rgba(192,192,192,0.05), rgba(192,192,192,0.2), rgba(192,192,192,0.05)); }
.rank-table tbody tr:nth-child(3) { background: linear-gradient(90deg, rgba(205,127,50,0.05), rgba(205,127,50,0.2), rgba(205,127,50,0.05)); }

/* Sunucu durumu */
.server-status-box { grid-area: sunucu; }
.server-status-list { list-style: none; padding: 0; }
.server-status-list li {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 6px 0;
}
.server-name { font-size: 0.82rem; color: #bbb; min-width: 80px; }
.server-status-bar {
    flex: 1;
    background: rgba(255,255,255,0.08);
    border-radius: 10px;
    height: 10px;
    overflow: hidden;
}
.status-fill {
    height: 100%;
    background: linear-gradient(90deg, #D4AF37, #F5E16B);
    border-radius: 10px;
    transition: width 0.8s ease;
}
.server-count { font-size: 0.8rem; color: #D4AF37; white-space: nowrap; }

/* Top3 rank kutuları (derece/klan sayfaları) */
.top-ranks {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}
.rank-box.medal-box {
    text-align: center;
    position: relative;
    background: transparent;
    border: none;
    padding: 0;
    width: 160px;
}
.rank-box.medal-box img { max-width: 100%; border-radius: 8px; }
.rank-details {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    text-align: center;
    color: #fff;
    text-shadow: 1px 1px 3px #000;
}
.rank-details .rank-name { font-size: 1rem; font-weight: 700; }
.rank-details .rank-point { font-size: 0.82rem; color: #F5E16B; }
.birinci-renk { color: #FFD700; }
.ikinci-renk  { color: #C0C0C0; }
.ucuncu-renk  { color: #CD7F32; }

/* Ranking tablosu (derece/klan sayfaları) */
.ranking-section { margin-top: 20px; }
.ranking-table { width: 100%; border-collapse: collapse; font-size: 0.85rem; }
.ranking-table th {
    background: linear-gradient(90deg, #D4AF37, #F5E16B);
    color: #0a0a0a;
    padding: 10px 8px;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 0.78rem;
}
.ranking-table td {
    padding: 9px 8px;
    border-bottom: 1px solid rgba(255,255,255,0.07);
    color: #ddd;
    text-align: center;
}
.ranking-table tr:hover td { background: rgba(212,175,55,0.07); }
.ranking-table a { color: inherit; text-decoration: none; }

/* ============================================================
   FOOTER
   ============================================================ */
footer {
    background: linear-gradient(180deg, #0d0b00 0%, #1a1400 100%);
    border-top: 1px solid rgba(212,175,55,0.25);
    color: #9a8060;
    padding: 50px 0 0;
    margin-top: auto;
    font-size: 0.88rem;
}

footer .container { display: flex; flex-direction: column; gap: 0; }

/* Link sütunları */
footer .footer-links {
    display: flex;
    justify-content: space-around;
    flex-wrap: wrap;
    gap: 30px;
    padding-bottom: 36px;
    border-bottom: 1px solid rgba(212,175,55,0.12);
}

footer .footer-links > div { min-width: 130px; }

footer .footer-links h4 {
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    color: #D4AF37;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

footer .footer-links ul { list-style: none; padding: 0; margin: 0; }
footer .footer-links ul li { margin-bottom: 8px; }
footer .footer-links ul li a {
    color: #8a7050;
    text-decoration: none;
    font-size: 0.83rem;
    transition: color 0.2s;
}
footer .footer-links ul li a:hover { color: #D4AF37; }

/* Alt bar */
footer .footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 14px;
    padding: 18px 0;
}

footer .footer-bottom .copyright {
    color: #6a5840;
    font-size: 0.78rem;
    line-height: 1.5;
}

footer .footer-bottom .logos {
    display: flex;
    align-items: center;
    gap: 14px;
}
footer .footer-bottom .logos img { height: 22px; opacity: 0.7; transition: opacity 0.2s; }
footer .footer-bottom .logos img:hover { opacity: 1; }

footer .footer-bottom .security-icon img { height: 38px; opacity: 0.7; }
footer .footer-bottom .security-icon img:hover { opacity: 1; }

footer .social-icons { display: none; }

/* ============================================================
   POPUP SİSTEMİ
   ============================================================ */
.popup {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.88);
    z-index: 9999;
    overflow-y: auto;
    backdrop-filter: blur(4px);
    animation: popupFadeIn 0.22s ease;
}
@keyframes popupFadeIn { from{opacity:0} to{opacity:1} }

.popup-icerik {
    position: relative;
    background: linear-gradient(160deg, #1a1208 0%, #0d0d0d 100%);
    border: 1px solid rgba(212,175,55,0.35);
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0,0,0,0.9), 0 0 20px rgba(212,175,55,0.1);
    width: 90%;
    max-width: 480px;
    margin: 40px auto;
    padding: 36px 32px 28px;
    box-sizing: border-box;
    animation: popupSlideIn 0.28s ease;
}
@keyframes popupSlideIn {
    from { transform:translateY(-18px); opacity:0; }
    to   { transform:translateY(0);     opacity:1; }
}
.popup-icerik::before {
    content:'';
    position:absolute;
    top:0; left:10%; right:10%;
    height:2px;
    background: linear-gradient(90deg, transparent, #F5E16B, #D4AF37, #F5E16B, transparent);
    border-radius:2px;
}

.popup-icerik h2 {
    font-size: 1.55rem;
    font-weight: 700;
    text-align: center;
    margin: 0 0 24px;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #F5E16B, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.popup-kapat {
    position: absolute;
    top: 13px; right: 16px;
    width: 28px; height: 28px;
    display: flex; align-items: center; justify-content: center;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 50%;
    color: #D4AF37;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s;
    line-height: 1;
}
.popup-kapat:hover {
    background: rgba(212,175,55,0.22);
    border-color: #F5E16B;
    color: #F5E16B;
    transform: rotate(90deg);
}

.popup-icerik form {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin: 0;
}

.input-group { position: relative; display: flex; align-items: center; }
.input-group i {
    position: absolute;
    left: 13px;
    color: #D4AF37;
    font-size: 13px;
    pointer-events: none;
    z-index: 1;
}

.popup-icerik form input,
.popup-icerik form select {
    width: 100%;
    padding: 12px 13px 12px 38px;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 7px;
    color: #fff;
    font-size: 0.88rem;
    box-sizing: border-box;
    transition: border-color 0.2s, background 0.2s;
    outline: none;
    -webkit-appearance: none;
}
.popup-icerik form input::placeholder { color: rgba(255,255,255,0.3); }
.popup-icerik form input:focus,
.popup-icerik form select:focus {
    border-color: #D4AF37;
    background: rgba(212,175,55,0.07);
}
.popup-icerik form select {
    cursor: pointer;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6'%3E%3Cpath fill='%23D4AF37' d='M5 6L0 0h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 13px center;
    padding-right: 34px;
}
.popup-icerik form select option { background: #1a1208; color: #fff; }

.form-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }

.forgot-pass {
    display: block;
    text-align: right;
    color: #D4AF37;
    font-size: 0.78rem;
    text-decoration: none;
    margin-top: -4px;
    transition: color 0.2s;
}
.forgot-pass:hover { color: #F5E16B; text-decoration: underline; }

.guvenlik-kodu { display: flex; flex-direction: column; gap: 7px; }
.guvenlik-kodu label { color: rgba(255,255,255,0.45); font-size: 0.76rem; }
.guvenlik-kodu .kod-input-alani { display: flex; gap: 8px; align-items: center; }
.guvenlik-kodu .kod-input-alani input { flex: 1; padding: 10px 13px; }
.guvenlik-kodu .kod-input-alani img {
    height: 40px;
    border-radius: 6px;
    border: 1px solid rgba(212,175,55,0.25);
    cursor: pointer;
}
.guvenlik-kodu .yenile-kodu {
    width: 40px !important; height: 40px !important;
    padding: 0 !important;
    background: rgba(212,175,55,0.08) !important;
    border: 1px solid rgba(212,175,55,0.25) !important;
    border-radius: 7px !important;
    color: #D4AF37 !important;
    font-size: 17px !important;
    cursor: pointer;
    transition: all 0.2s;
    display: flex !important;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.guvenlik-kodu .yenile-kodu:hover {
    background: rgba(212,175,55,0.2) !important;
    border-color: #F5E16B !important;
}
.guvenlik-kodu .uyari { color: rgba(255,255,255,0.3); font-size: 0.73rem; margin: 0; }

.popup-btn-primary {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 14px;
    background: url('../images/auth_btn_bg.png') center/100% 100% no-repeat;
    border: none;
    border-radius: 6px;
    color: #F5E16B;
    font-size: 0.95rem;
    font-weight: bold;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.6);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    margin-top: 4px;
}
.popup-btn-primary i {
    font-size: 1.1rem;
}
.popup-btn-primary:hover {
    transform: translateY(-2px);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(212,175,55,0.5));
    color: #FFF;
}
.popup-btn-primary:disabled { opacity: 0.55; cursor: not-allowed; }

.form-error {
    padding: 9px 13px;
    border-radius: 7px;
    font-size: 0.83rem;
    text-align: center;
    animation: popupFadeIn 0.2s ease;
}
.form-error.error  { background: rgba(255,60,60,0.1);  border: 1px solid rgba(255,60,60,0.35);  color: #ff7070; }
.form-error.success{ background: rgba(60,220,120,0.1); border: 1px solid rgba(60,220,120,0.35); color: #5dde8a; }

.popup-alt-link { text-align: center; margin-top: 10px; font-size: 0.8rem; color: rgba(255,255,255,0.35); }
.popup-alt-link a { color: #D4AF37; text-decoration: none; transition: color 0.2s; }
.popup-alt-link a:hover { color: #F5E16B; }

/* ============================================================
   GENEL SAYFA İÇERİKLERİ
   ============================================================ */
main { flex: 1; }

/* Duyurular sayfası */
.announcements-page { padding: 40px 0; }
.announcement-list { display: flex; flex-direction: column; gap: 18px; }
.announcement-item {
    background: rgba(10,8,0,0.7);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 10px;
    padding: 18px;
    transition: border-color 0.3s;
}
.announcement-item:hover { border-color: rgba(212,175,55,0.5); }
.announcement-item a { display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit; }
.announcement-item img { max-width: 140px; height: auto; border-radius: 6px; flex-shrink: 0; }
.announcement-content h3 { color: #D4AF37; font-size: 1rem; margin-bottom: 6px; }
.announcement-date { color: #888; font-size: 0.8rem; margin-bottom: 6px; }

/* Giriş sayfası */
.giris-content { padding: 40px 0; }
.giris-content .container { max-width: 900px; }
.tabs { display: flex; gap: 10px; margin-bottom: 24px; flex-wrap: wrap; }
.tab-button {
    padding: 9px 20px;
    background: rgba(212,175,55,0.08);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 6px;
    color: #C8A84B;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s;
    text-decoration: none;
    display: inline-block;
}
.tab-button.active,
.tab-button:hover {
    background: rgba(212,175,55,0.2);
    border-color: #D4AF37;
    color: #F5E16B;
}
.tab-content { display: none; }
.tab-content.active { display: block; }
.content { display: block; }
.content.hidden { display: none; }

.content-row { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; }
.text-column { flex: 1; min-width: 280px; }
.text-column h2 { color: #D4AF37; margin-bottom: 14px; font-size: 1.3rem; }
.text-column p { color: #bbb; line-height: 1.7; margin-bottom: 12px; font-size: 0.9rem; }
.text-column strong { color: #F5E16B; }
.image-column { flex-shrink: 0; }
.image-column img { max-width: 280px; border-radius: 8px; }

.ozet-section { margin-bottom: 20px; }
.ozet-section h3 { color: #D4AF37; font-size: 1rem; margin-bottom: 8px; }

/* Kurulum sayfası */
.installation-guide { padding: 30px 0; }
.installation-guide h2 { color: #D4AF37; margin-bottom: 20px; font-size: 1.4rem; }
.installation-guide h3 { color: #F5E16B; margin: 20px 0 10px; font-size: 1.05rem; }
.installation-guide h4 { color: #C8A84B; margin: 14px 0 6px; font-size: 0.92rem; }
.installation-guide p { color: #bbb; line-height: 1.7; margin-bottom: 10px; font-size: 0.88rem; }
.installation-guide img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.system-requirements { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.88rem; }
.system-requirements th { background: rgba(212,175,55,0.15); color: #D4AF37; padding: 9px; border: 1px solid rgba(212,175,55,0.2); }
.system-requirements td { padding: 8px 9px; border: 1px solid rgba(255,255,255,0.08); color: #ccc; }
.download-button {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(90deg, #c9a227, #f0d060);
    color: #0d0d0d;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: box-shadow 0.2s;
}
.download-button:hover { box-shadow: 0 4px 16px rgba(212,175,55,0.4); }

/* Karakter rehberi */
.character-guide { padding: 30px 0; }
.race-section { margin-bottom: 40px; }
.race-logo { max-height: 60px; }
.race-image { max-width: 100%; border-radius: 8px; margin: 14px 0; }
.classes { display: flex; flex-wrap: wrap; gap: 20px; margin-top: 16px; }
.class-container { text-align: center; cursor: pointer; }
.class-container a { text-decoration: none; color: #D4AF37; display: flex; flex-direction: column; align-items: center; gap: 6px; }
.class-container img { width: 80px; height: auto; border-radius: 6px; border: 1px solid rgba(212,175,55,0.2); transition: border-color 0.2s; }
.class-container:hover img { border-color: #D4AF37; }
.class-container span { font-size: 0.82rem; font-weight: 600; }
.class-description { display: none; }

/* Bölgeler */
.region-info { display: flex; gap: 20px; flex-wrap: wrap; }
.map-container img { max-width: 300px; border-radius: 8px; margin-bottom: 10px; }
.description-container h4 { color: #D4AF37; margin-bottom: 8px; }
.description-container p, .description-container ul { color: #bbb; font-size: 0.88rem; line-height: 1.7; }
.description-container ul { padding-left: 18px; }

/* Oynanış */
.tab-menu { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; }
.alt-tab-menu { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.alt-tab-button {
    padding: 7px 14px;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 5px;
    color: #C8A84B;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}
.alt-tab-button.active, .alt-tab-button:hover {
    background: rgba(212,175,55,0.18);
    border-color: #D4AF37;
    color: #F5E16B;
}
.alt-tab-content { display: none; }
.alt-tab-content.active { display: block; }
.alt-tab-content h4 { color: #D4AF37; margin-bottom: 10px; }
.alt-tab-content p, .alt-tab-content li { color: #bbb; font-size: 0.88rem; line-height: 1.7; }
.alt-tab-content img { max-width: 100%; border-radius: 8px; margin: 10px 0; }
.alt-tab-content table { width: 100%; border-collapse: collapse; font-size: 0.85rem; margin: 10px 0; }
.alt-tab-content th { background: rgba(212,175,55,0.12); color: #D4AF37; padding: 8px; border: 1px solid rgba(212,175,55,0.2); }
.alt-tab-content td { padding: 7px 8px; border: 1px solid rgba(255,255,255,0.07); color: #ccc; }

/* Arayüz menüsü */
.arayuz-tab-menu { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.arayuz-tab-content { display: none; }
.arayuz-tab-content.active { display: block; }

/* İndir sayfası */
.oyunu-indir-bolumu { padding: 40px 0; text-align: center; }
.oyunu-indir-bolumu h2 { color: #D4AF37; font-size: 1.6rem; margin-bottom: 14px; }
.oyunu-indir-bolumu p { color: #bbb; margin-bottom: 20px; }
.oyunu-indir-butonu {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 32px;
    background: linear-gradient(90deg, #c9a227, #f0d060, #c9a227);
    background-size: 200% auto;
    color: #0d0d0d;
    font-size: 1rem;
    font-weight: 700;
    border-radius: 8px;
    text-decoration: none;
    transition: background-position 0.4s, box-shadow 0.3s;
    box-shadow: 0 4px 18px rgba(212,175,55,0.3);
    margin-bottom: 14px;
}
.oyunu-indir-butonu:hover { background-position: right center; box-shadow: 0 6px 26px rgba(212,175,55,0.5); }
.surum { color: #888; font-size: 0.82rem; }
.oyun-rehberi { padding: 20px 0; text-align: center; }
.oyun-rehberi h3 { color: #D4AF37; margin-bottom: 12px; }
.yukleme-rehberi, .oynanis-rehberi {
    display: inline-block;
    padding: 9px 20px;
    margin: 6px;
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 6px;
    color: #C8A84B;
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s;
}
.yukleme-rehberi:hover, .oynanis-rehberi:hover { border-color: #D4AF37; color: #F5E16B; background: rgba(212,175,55,0.08); }
.sistem-gereksinimleri { padding: 20px 0; }
.sistem-gereksinimleri h3 { color: #D4AF37; margin-bottom: 12px; }
.sistem-gereksinimleri p { color: #bbb; font-size: 0.85rem; line-height: 1.7; margin-bottom: 10px; }

/* Power Up Store */
.media-block-i {
    max-width: 1000px;
    margin: 20px auto;
    background: rgba(10,8,0,0.75);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px;
    padding: 18px;
    box-shadow: 0 0 20px rgba(212,175,55,0.1);
}
.media-tab.tab-button { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 20px; justify-content: center; }

.media-tab.tab-button button, .buy-button {
    border: none;
    border-radius: 6px;
    background: url('../images/auth_btn_bg.png') center/100% 100% no-repeat;
    color: #F5E16B;
    font-weight: bold;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 10px rgba(0,0,0,0.6);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.media-tab.tab-button button {
    padding: 10px 20px;
    font-size: 0.85rem;
}

.buy-button {
    padding: 8px 18px;
    font-size: 0.78rem;
}

.media-tab.tab-button button:hover,
.media-tab.tab-button button.active,
.buy-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(212,175,55,0.5));
    color: #FFF;
}

.media-tab.tab-button button:active,
.buy-button:active {
    transform: translateY(0);
}
#loader { text-align: center; padding: 30px; color: #D4AF37; font-size: 0.9rem; }

/* Envanter */
.inventory-section { padding: 20px 0; }
.inventory-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    grid-template-rows: auto auto auto auto;
    gap: 18px;
    background: rgba(10,8,0,0.8);
    border: 1px solid rgba(212,175,55,0.25);
    padding: 20px;
    border-radius: 10px;
    max-width: 1100px;
    width: 100%;
    margin: 0 auto;
    color: #fff;
    max-height: 85vh;
    overflow-y: auto;
}
.character-info { grid-column: 1; grid-row: 1; }
.character-info h2 { color: #D4AF37; font-size: 1.1rem; margin-bottom: 12px; }
.character-info p { font-size: 0.85rem; color: #ccc; margin-bottom: 5px; }
.character-info p strong { color: #D4AF37; }
.character-image-right { grid-column: 2; grid-row: 1; max-width: 100%; height: auto; display: block; align-self: center; border-radius: 8px; }
.equipped-section { grid-column: 1; grid-row: 2; }
.inventory-section-inv { grid-column: 2; grid-row: 2; }
.cospre-section { grid-column: 1 / -1; grid-row: 3; }
.magic-bag-section { grid-column: 1 / -1; grid-row: 4; }
.equipped-section h2, .inventory-section-inv h2, .cospre-section h2, .magic-bag-section h2 {
    color: #D4AF37; font-size: 0.9rem; margin-bottom: 10px; text-transform: uppercase; letter-spacing: 1px;
}
.equipped-items { display: grid; grid-template-columns: repeat(3, 45px); grid-template-rows: repeat(5, 45px); gap: 4px; }
.inventory-bag { display: grid; grid-template-columns: repeat(7, 45px); grid-template-rows: repeat(4, 45px); gap: 4px; }
.cospre-items { display: grid; grid-template-columns: repeat(11, 45px); gap: 4px; }
.magic-bag-items { display: grid; grid-template-columns: repeat(12, 45px); gap: 4px; }
.item-slot {
    width: 45px; height: 45px;
    border: 1px solid rgba(212,175,55,0.2);
    background: rgba(0,0,0,0.4);
    display: flex; align-items: center; justify-content: center;
    overflow: hidden;
    border-radius: 3px;
    transition: border-color 0.2s;
}
.item-slot:hover { border-color: rgba(212,175,55,0.5); }
.item-slot img { max-width: 100%; max-height: 100%; display: block; }

/* Item tooltip renkleri */
.item_title { font-weight: bold; }
.item_type { font-style: italic; font-size: 0.85em; }
.item_kind { text-decoration: underline; font-size: 0.85em; }
.item_property { font-size: 0.82em; display: block; }
.white { color: #fff; }
.blue { color: #6699ff; }
.yellow { color: #ffdd44; }
.lime { color: #88ff44; }
.purple { color: #cc66ff; }
.event_item { color: #ff9900; }
.reverse { color: #FF78B2; }
.unique_item { color: #DFC68C; }
.cospre { color: #00FFCE; }

/* Şifremi unuttum */
.giris-content h2 { color: #D4AF37; margin-bottom: 14px; }
.giris-content p { color: #bbb; font-size: 0.9rem; }

/* Stat box (index.php) */
.stat-box {
    background: rgba(10,8,0,0.75) !important;
    border: 1px solid rgba(212,175,55,0.3) !important;
    border-radius: 10px !important;
    padding: 18px !important;
    box-shadow: none !important;
    width: 100% !important;
    box-sizing: border-box !important;
    text-align: left !important;
    position: static !important;
    transform: none !important;
    transition: border-color 0.3s !important;
}
.stat-box:hover { border-color: rgba(212,175,55,0.55) !important; }
.stat-box h3 {
    font-size: 0.88rem !important;
    font-weight: 700 !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    margin-bottom: 14px !important;
    color: #D4AF37 !important;
    padding-bottom: 10px !important;
    border-bottom: 1px solid rgba(212,175,55,0.2) !important;
}
.stat-box img { max-width: none !important; border-radius: 0 !important; }

/* Sosyal ikonlar (genel) */
.social-icons { display: flex; justify-content: center; gap: 18px; margin-top: 14px; }
.social-icons a { font-size: 1.4rem; transition: transform 0.25s, color 0.25s; text-decoration: none; }
.social-icons a.facebook  { color: #4267B2; }
.social-icons a.instagram { background: linear-gradient(45deg,#f09433,#e6683c,#dc2743,#cc2366,#bc1888); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.social-icons a.youtube   { color: #FF0000; }
.social-icons a.discord   { color: #5865F2; }
.social-icons a:hover { transform: scale(1.2); }

/* Responsive */
@media (max-width: 768px) {
    header .container { grid-template-columns: 1fr; text-align: center; }
    .social-icons-left { position: static; justify-content: center; padding: 10px 0 0; }
    .auth-buttons { position: static; justify-content: center; padding: 0 0 10px; }
    .logo { padding: 8px 0; }
    header nav ul.menu { gap: 0; }
    header nav ul.menu li a { padding: 10px 12px; font-size: 0.75rem; }
    .rank-tables-container { grid-template-columns: 1fr; grid-template-areas: "oyuncu" "klan" "sunucu" "gm"; }
    .slider { height: 200px; }
    .slider img { height: 200px; }
    footer .footer-links { flex-direction: column; gap: 20px; }
    footer .footer-bottom { flex-direction: column; text-align: center; }
    .inventory-container { grid-template-columns: 1fr; }
    .character-image-right { display: none; }
    .form-row-2 { grid-template-columns: 1fr; }
    .popup-icerik { padding: 28px 18px 22px; }
}

/* ============================================================
   SAYFA İÇERİK WRAPPER'LARI
   ============================================================ */
main {
    flex: 1;
    padding: 30px 0 50px;
}

main .container,
.giris-content .container,
.announcements-page .container,
.installation-guide,
.character-guide .container,
.oyunu-indir-bolumu,
.oyun-rehberi,
.sistem-gereksinimleri {
    padding-left: 20px;
    padding-right: 20px;
}

/* Sayfa başlıkları */
main h2,
.giris-content h2,
.announcements-page h2,
.installation-guide h2 {
    color: #D4AF37;
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    margin-bottom: 24px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(212,175,55,0.2);
}

main h3 { color: #C8A84B; font-size: 1.1rem; margin: 20px 0 10px; }
main p  { color: #bbb; line-height: 1.7; margin-bottom: 10px; font-size: 0.9rem; }
main ul, main ol { color: #bbb; font-size: 0.9rem; line-height: 1.8; padding-left: 20px; }
main li { margin-bottom: 4px; }
main strong { color: #F5E16B; }
main img { max-width: 100%; border-radius: 6px; }
main table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 14px 0; }
main table th { background: rgba(212,175,55,0.12); color: #D4AF37; padding: 9px; border: 1px solid rgba(212,175,55,0.2); }
main table td { padding: 8px 9px; border: 1px solid rgba(255,255,255,0.07); color: #ccc; }

/* indir2.php özel */
.oyunu-indir-bolumu {
    text-align: center;
    padding: 40px 20px;
    max-width: 700px;
    margin: 0 auto;
}
.oyunu-indir-bolumu h2 { border-bottom: none; }

/* kurulum.php özel */
.installation-guide { padding: 0 20px; }
.installation-guide .tab-menu { margin-bottom: 24px; }
.installation-guide .content { padding: 10px 0; }
.installation-guide .content.hidden { display: none; }

/* karakter.php özel */
.character-guide { padding: 0; }
.character-guide .container { padding: 0 20px; }
.race-section { margin-bottom: 40px; padding: 20px 0; border-bottom: 1px solid rgba(212,175,55,0.1); }
.race-section:last-child { border-bottom: none; }

/* bolgeler.php özel */
.tab-content { display: none; padding: 16px 0; }
.tab-content.active { display: block; }

/* oynanis.php özel */
.alt-tab-content { padding: 14px 0; }

/* derece/klan sayfaları */
.ranking-section { padding: 10px 0; }

/* powerupstore1.php — inline style'ı override et */
.media-block-i {
    max-width: 1000px;
    margin: 20px auto;
    background: rgba(10,8,0,0.75);
    border: 1px solid rgba(212,175,55,0.3);
    border-radius: 10px;
    padding: 20px;
}

/* Genel section padding */
section.ranking-section,
section.powerup-store {
    padding: 10px 0;
}

/* ============================================================
   SAYFA BAŞLIKLARI & GENEL İÇERİK STİLLERİ
   ============================================================ */

/* Tüm sayfa içerikleri için temel padding */
main > .container,
main > div > .container,
.giris-content > .container,
.announcements-page > .container,
.character-guide > .container {
    padding-top: 10px;
}

/* Sayfa başlıkları */
main h2:first-child,
.giris-content h2:first-child,
.announcements-page h2:first-child {
    font-size: 1.6rem;
    color: #D4AF37;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 28px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(212,175,55,0.25);
    position: relative;
}

main h2:first-child::after,
.giris-content h2:first-child::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 60px;
    height: 2px;
    background: linear-gradient(90deg, #D4AF37, transparent);
}

/* Genel metin stilleri */
main p, .giris-content p, .announcements-page p { color: #bbb; line-height: 1.75; font-size: 0.9rem; margin-bottom: 12px; }
main h3 { color: #C8A84B; font-size: 1.1rem; font-weight: 600; margin: 22px 0 10px; }
main h4 { color: #b89840; font-size: 0.95rem; font-weight: 600; margin: 16px 0 8px; }
main ul, main ol { color: #bbb; font-size: 0.9rem; line-height: 1.8; padding-left: 22px; margin-bottom: 12px; }
main li { margin-bottom: 5px; }
main strong { color: #F5E16B; }
main a { color: #D4AF37; transition: color 0.2s; }
main a:hover { color: #F5E16B; }
main img { max-width: 100%; border-radius: 6px; margin: 8px 0; }
main table { width: 100%; border-collapse: collapse; font-size: 0.88rem; margin: 14px 0; }
main table th { background: rgba(212,175,55,0.12); color: #D4AF37; padding: 10px; border: 1px solid rgba(212,175,55,0.2); text-align: left; }
main table td { padding: 9px 10px; border: 1px solid rgba(255,255,255,0.07); color: #ccc; }
main table tr:hover td { background: rgba(212,175,55,0.05); }

/* ============================================================
   BÖLGELER SAYFASI
   ============================================================ */
.region-info { display: flex; gap: 24px; flex-wrap: wrap; margin-top: 16px; }
.map-container { flex-shrink: 0; }
.map-container img { max-width: 320px; border-radius: 8px; border: 1px solid rgba(212,175,55,0.2); margin-bottom: 10px; }
.description-container { flex: 1; min-width: 240px; }
.description-container h4 { color: #D4AF37; margin-bottom: 10px; font-size: 1rem; }
.description-container p { color: #bbb; font-size: 0.88rem; line-height: 1.7; margin-bottom: 8px; }
.description-container ul { color: #bbb; font-size: 0.88rem; line-height: 1.8; padding-left: 18px; }

/* ============================================================
   OYNANIŞREHBER SAYFASI
   ============================================================ */
.avcilik-bilgisi, .takas-bilgisi, .pazar-bilgisi, .parti-bilgisi,
.arkadas-bilgisi, .skills-bilgisi, .stat-bilgisi, .esya-bilgisi,
.depo-bilgisi, .posta-bilgisi, .zindan-bilgisi, .klan-bilgisi {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(10,8,0,0.5);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 8px;
}
.avcilik-bilgisi h5, .takas-bilgisi h5, .pazar-bilgisi h5,
.parti-bilgisi h5, .arkadas-bilgisi h5, .skills-bilgisi h5,
.stat-bilgisi h5, .esya-bilgisi h5, .depo-bilgisi h5 {
    color: #C8A84B;
    font-size: 0.92rem;
    margin-bottom: 8px;
}
.fare-ayarlari { display: flex; gap: 20px; flex-wrap: wrap; align-items: flex-start; }
.fare-aciklamalari { display: flex; gap: 20px; flex-wrap: wrap; }
.klavye-ayarlari { display: flex; gap: 20px; flex-wrap: wrap; }
.klavye-aciklamalari { display: flex; flex-wrap: wrap; gap: 16px; }
.klavye-aciklamalari div { min-width: 180px; }
.klavye-ek-aciklamalari { margin-top: 12px; color: #bbb; font-size: 0.85rem; }
.arayuz-tab-menu { display: flex; flex-wrap: wrap; gap: 6px; margin-bottom: 16px; }
.arayuz-tab-menu a { padding: 7px 13px; background: rgba(212,175,55,0.06); border: 1px solid rgba(212,175,55,0.2); border-radius: 5px; color: #C8A84B; font-size: 0.78rem; text-decoration: none; transition: all 0.2s; }
.arayuz-tab-menu a:hover, .arayuz-tab-menu a.active { background: rgba(212,175,55,0.18); border-color: #D4AF37; color: #F5E16B; }
.arayuz-tab-content { display: none; padding: 14px 0; }
.arayuz-tab-content.active { display: block; }

/* ============================================================
   DERECE / KLAN SAYFASI
   ============================================================ */
.top-ranks { display: flex; justify-content: center; gap: 24px; margin-bottom: 30px; flex-wrap: wrap; }
.top-ranks .rank-box {
    text-align: center;
    background: rgba(10,8,0,0.7);
    border: 1px solid rgba(212,175,55,0.25);
    border-radius: 10px;
    padding: 20px 16px;
    min-width: 160px;
    flex: 1;
    max-width: 220px;
    transition: border-color 0.3s;
}
.top-ranks .rank-box:hover { border-color: rgba(212,175,55,0.55); }
.top-ranks .rank-box img { max-width: 100%; height: auto; border-radius: 6px; margin-bottom: 10px; }
.rank-details { text-align: center; }
.rank-details .rank-name { font-size: 1rem; font-weight: 700; margin-bottom: 4px; }
.rank-details .rank-point { font-size: 0.82rem; }
.birinci-renk { color: #FFD700; }
.ikinci-renk  { color: #C0C0C0; }
.ucuncu-renk  { color: #CD7F32; }

/* ============================================================
   KURULUM SAYFASI
   ============================================================ */
.installation-guide { padding: 0; }
.installation-guide .tab-menu { display: flex; flex-wrap: wrap; gap: 8px; margin-bottom: 24px; }
.installation-guide .content { padding: 10px 0; }
.installation-guide .content.hidden { display: none; }
.installation-guide h3 { color: #D4AF37; font-size: 1.05rem; margin: 22px 0 10px; }
.installation-guide h4 { color: #C8A84B; font-size: 0.92rem; margin: 14px 0 6px; }
.installation-guide p { color: #bbb; font-size: 0.88rem; line-height: 1.7; margin-bottom: 10px; }
.installation-guide img { max-width: 100%; border-radius: 8px; margin: 10px 0; border: 1px solid rgba(212,175,55,0.15); }
.installation-guide ol, .installation-guide ul { color: #bbb; font-size: 0.88rem; line-height: 1.8; padding-left: 20px; margin-bottom: 12px; }
.system-requirements { width: 100%; border-collapse: collapse; margin: 14px 0; font-size: 0.88rem; }
.system-requirements th { background: rgba(212,175,55,0.12); color: #D4AF37; padding: 10px; border: 1px solid rgba(212,175,55,0.2); }
.system-requirements td { padding: 9px 10px; border: 1px solid rgba(255,255,255,0.07); color: #ccc; }
.download-button {
    display: inline-block;
    padding: 11px 24px;
    background: linear-gradient(90deg, #c9a227, #f0d060);
    color: #0d0d0d;
    font-weight: 700;
    border-radius: 7px;
    text-decoration: none;
    font-size: 0.9rem;
    transition: box-shadow 0.2s;
    margin: 8px 0;
}
.download-button:hover { box-shadow: 0 4px 18px rgba(212,175,55,0.4); color: #0d0d0d; }

/* ============================================================
   GİRİŞ SAYFASI (giris.php)
   ============================================================ */
.giris-content { padding: 0; }
.giris-content .container { padding-top: 10px; }
.content-row { display: flex; gap: 30px; align-items: flex-start; flex-wrap: wrap; margin-top: 16px; }
.text-column { flex: 1; min-width: 260px; }
.text-column h2 { color: #D4AF37; margin-bottom: 14px; font-size: 1.2rem; border-bottom: none; }
.text-column p { color: #bbb; line-height: 1.75; margin-bottom: 12px; font-size: 0.9rem; }
.text-column strong { color: #F5E16B; }
.image-column { flex-shrink: 0; }
.image-column img { max-width: 260px; border-radius: 8px; border: 1px solid rgba(212,175,55,0.15); }
.ozet-section { margin-bottom: 22px; }
.ozet-section h3 { color: #D4AF37; font-size: 1rem; margin-bottom: 8px; }

/* ============================================================
   KARAKTER SAYFASI
   ============================================================ */
.character-guide { padding: 0; }
.race-section { margin-bottom: 40px; padding-bottom: 30px; border-bottom: 1px solid rgba(212,175,55,0.1); }
.race-section:last-child { border-bottom: none; }
.race-logo { max-height: 55px; margin-bottom: 10px; }
.race-image { max-width: 100%; border-radius: 8px; margin: 12px 0; border: 1px solid rgba(212,175,55,0.15); }
.classes { display: flex; flex-wrap: wrap; gap: 18px; margin-top: 16px; }
.class-container { text-align: center; cursor: pointer; }
.class-container a { text-decoration: none; color: #D4AF37; display: flex; flex-direction: column; align-items: center; gap: 7px; }
.class-container img { width: 85px; height: auto; border-radius: 7px; border: 1px solid rgba(212,175,55,0.2); transition: border-color 0.2s, transform 0.2s; }
.class-container:hover img { border-color: #D4AF37; transform: scale(1.05); }
.class-container span { font-size: 0.82rem; font-weight: 600; }
.class-description { display: none; }
.class-description h4 { color: #D4AF37; margin-bottom: 8px; }
.class-description p { color: #bbb; font-size: 0.85rem; line-height: 1.7; margin-bottom: 8px; }

/* ============================================================
   DUYURULAR SAYFASI
   ============================================================ */
.announcements-page { padding: 0; }
.announcement-list { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }
.announcement-item {
    background: rgba(10,8,0,0.65);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 10px;
    padding: 18px;
    transition: border-color 0.3s, box-shadow 0.3s;
}
.announcement-item:hover { border-color: rgba(212,175,55,0.45); box-shadow: 0 4px 16px rgba(0,0,0,0.4); }
.announcement-item a { display: flex; align-items: center; gap: 18px; text-decoration: none; color: inherit; }
.announcement-item img { max-width: 130px; height: auto; border-radius: 7px; flex-shrink: 0; border: 1px solid rgba(212,175,55,0.15); }
.announcement-content h3 { color: #D4AF37; font-size: 0.95rem; margin-bottom: 6px; }
.announcement-date { color: #888; font-size: 0.78rem; margin-bottom: 5px; }
.announcement-content p { color: #999; font-size: 0.82rem; }

/* ============================================================
   POWER UP STORE
   ============================================================ */
.content-title { text-align: center; padding: 10px 0 0; }
.content-title h1.title {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: linear-gradient(90deg, #F5E16B, #D4AF37);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}
.powerup-store-bilgisi { margin-bottom: 20px; padding: 16px; background: rgba(10,8,0,0.5); border: 1px solid rgba(212,175,55,0.12); border-radius: 8px; }
.powerup-store-bilgisi h5 { color: #D4AF37; font-size: 0.92rem; margin-bottom: 8px; }
.powerup-store-bilgisi p { color: #bbb; font-size: 0.88rem; line-height: 1.7; margin-bottom: 8px; }
.powerup-store-bilgisi img { max-width: 100%; border-radius: 6px; margin: 8px 0; }
.powerup-store-bilgisi ul { color: #bbb; font-size: 0.88rem; line-height: 1.8; padding-left: 18px; }
.btn-download {
    display: inline-block;
    padding: 10px 22px;
    background: linear-gradient(90deg, #c9a227, #f0d060);
    color: #0d0d0d;
    font-weight: 700;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.88rem;
    transition: box-shadow 0.2s;
    margin: 8px 0;
}
.btn-download:hover { box-shadow: 0 4px 16px rgba(212,175,55,0.4); }

/* item_half_right (PUS tablo) */
ul.item_half_right { list-style: none; padding: 0; margin: 0; }
ul.item_half_right li { display: inline-block; }

/* ============================================================
   TOP 3 MADALYA KUTULARI (derece/klan sayfaları)
   ============================================================ */
.top-ranks {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 36px;
    flex-wrap: wrap;
    align-items: flex-end;
}

/* Madalya kutusu — rank-box burada farklı kullanılıyor */
.top-ranks .rank-box {
    position: relative;
    text-align: center;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 160px;
    flex-shrink: 0;
    cursor: default;
}

.top-ranks .rank-box img {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 0;
    border: none;
    filter: drop-shadow(0 4px 12px rgba(0,0,0,0.6));
}

/* İsim ve puan — madalyanın ortasına yerleştir */
.top-ranks .rank-box .rank-details {
    position: absolute;
    top: 38%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80%;
    text-align: center;
    pointer-events: none;
}

.top-ranks .rank-box .rank-name {
    font-size: 0.82rem;
    font-weight: 700;
    text-shadow: 1px 1px 3px #000, 0 0 6px rgba(0,0,0,0.8);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    margin-bottom: 3px;
}

.top-ranks .rank-box .rank-point {
    font-size: 0.72rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px #000;
}

/* Renk sınıfları */
.birinci-renk { color: #FFD700; }
.ikinci-renk  { color: #E8E8E8; }
.ucuncu-renk  { color: #CD7F32; }

/* 1. sıra biraz büyük */
.top-ranks .rank-box:nth-child(1) { width: 180px; }

/* Ranking tablosu */
.ranking-section { margin-top: 0; }
.ranking-section h3 {
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: #888;
    margin-bottom: 20px;
    text-align: center;
}

.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: rgba(10,8,0,0.6);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.2);
}

.ranking-table thead tr {
    background: linear-gradient(90deg, #1a1200, #2a1e00);
}

.ranking-table th {
    padding: 12px 10px;
    color: #D4AF37;
    font-weight: 700;
    font-size: 0.78rem;
    letter-spacing: 0.8px;
    text-transform: uppercase;
    text-align: center;
    border-bottom: 1px solid rgba(212,175,55,0.25);
}

.ranking-table td {
    padding: 10px;
    text-align: center;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    color: #ccc;
    font-size: 0.85rem;
}

.ranking-table tbody tr:last-child td { border-bottom: none; }
.ranking-table tbody tr:hover td {
    background: rgba(212,175,55,0.07);
    color: #fff;
}
.ranking-table tbody tr:nth-child(even) td {
    background: rgba(255,255,255,0.02);
}
.ranking-table a { color: inherit; text-decoration: none; }
.ranking-table a:hover { color: #D4AF37; }

/* ============================================================
   TOP 3 MADALYA — OVERRIDE (son tanım geçerli)
   ============================================================ */
.top-ranks {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 24px;
    margin-bottom: 36px;
    flex-wrap: wrap;
}

.top-ranks .rank-box {
    position: relative !important;
    text-align: center !important;
    background: transparent !important;
    border: none !important;
    box-shadow: none !important;
    padding: 0 !important;
    width: 155px !important;
    flex-shrink: 0 !important;
    cursor: default !important;
    transform: none !important;
    transition: none !important;
}

/* 1. sıra biraz büyük */
.top-ranks .rank-box:first-child { width: 175px !important; }

.top-ranks .rank-box img {
    width: 100% !important;
    height: auto !important;
    display: block !important;
    border-radius: 0 !important;
    border: none !important;
    filter: drop-shadow(0 6px 14px rgba(0,0,0,0.7)) !important;
}

/* Yazılar — madalya iç dairesinin ortasına */
.top-ranks .rank-box .rank-details {
    position: absolute !important;
    top: 50% !important;
    left: 50% !important;
    transform: translate(-50%, -50%) !important;
    width: 80% !important;
    text-align: center !important;
    pointer-events: none !important;
    z-index: 2 !important;
}

.top-ranks .rank-box .rank-name {
    font-size: 0.75rem !important;
    font-weight: 700 !important;
    line-height: 1.2 !important;
    text-shadow: 0 1px 4px #000, 0 0 8px rgba(0,0,0,0.9) !important;
    white-space: nowrap !important;
    overflow: hidden !important;
    text-overflow: ellipsis !important;
    margin-bottom: 2px !important;
    display: block !important;
}

.top-ranks .rank-box .rank-point {
    font-size: 0.68rem !important;
    font-weight: 600 !important;
    text-shadow: 0 1px 4px #000, 0 0 8px rgba(0,0,0,0.9) !important;
    display: block !important;
}

/* ============================================================
   RANKING TABLO — OVERRIDE
   ============================================================ */
.ranking-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.88rem;
    background: rgba(8,6,0,0.7);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(212,175,55,0.18);
}

.ranking-table thead tr {
    background: rgba(30,22,0,0.95) !important;
}

.ranking-table th {
    padding: 11px 10px !important;
    color: #a07820 !important;
    font-weight: 700 !important;
    font-size: 0.72rem !important;
    letter-spacing: 1px !important;
    text-transform: uppercase !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(212,175,55,0.15) !important;
    background: transparent !important;
}

.ranking-table td {
    padding: 10px !important;
    text-align: center !important;
    border-bottom: 1px solid rgba(255,255,255,0.04) !important;
    color: #ccc !important;
    font-size: 0.85rem !important;
    background: transparent !important;
}

.ranking-table tbody tr:last-child td { border-bottom: none !important; }
.ranking-table tbody tr:hover td { background: rgba(212,175,55,0.06) !important; color: #fff !important; }
.ranking-table tbody tr:nth-child(even) td { background: rgba(255,255,255,0.02) !important; }

/* ============================================================
   OYNANIŞREHBER — EKSİK CLASS'LAR
   ============================================================ */

/* Zindan alt menü */
.zindan-alt-menu,
.klan-alt-menu,
.savasalanlari-alt-menu,
.castlesiege-alt-menu {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-bottom: 16px;
}

.zindan-alt-button,
.klan-alt-button,
.savasalanlari-alt-button,
.castlesiege-alt-button {
    padding: 7px 14px;
    background: rgba(212,175,55,0.06);
    border: 1px solid rgba(212,175,55,0.2);
    border-radius: 5px;
    color: #C8A84B;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s;
}

.zindan-alt-button.active, .zindan-alt-button:hover,
.klan-alt-button.active, .klan-alt-button:hover,
.savasalanlari-alt-button.active, .savasalanlari-alt-button:hover,
.castlesiege-alt-button.active, .castlesiege-alt-button:hover {
    background: rgba(212,175,55,0.18);
    border-color: #D4AF37;
    color: #F5E16B;
}

.zindan-alt-content,
.klan-alt-content,
.savasalanlari-alt-content,
.castlesiege-alt-content {
    display: none;
    padding: 14px 0;
}

.zindan-alt-content.active,
.klan-alt-content.active,
.savasalanlari-alt-content.active,
.castlesiege-alt-content.active {
    display: block;
}

/* Bilgi kutuları */
.juraid-bilgisi, .forgotten-bilgisi, .underthecastle-bilgisi,
.klanyukseltme-bilgisi, .lunar-bilgisi, .savasalanlari-bilgisi,
.castlesiege-bilgisi, .pet-bilgisi, .yeniden-bilgisi,
.rebirth-bilgisi, .achievement-bilgisi {
    margin-bottom: 20px;
    padding: 16px;
    background: rgba(10,8,0,0.5);
    border: 1px solid rgba(212,175,55,0.12);
    border-radius: 8px;
}

.juraid-bilgisi h5, .forgotten-bilgisi h5, .underthecastle-bilgisi h5,
.klanyukseltme-bilgisi h5, .lunar-bilgisi h5, .savasalanlari-bilgisi h5,
.castlesiege-bilgisi h5, .pet-bilgisi h5, .yeniden-bilgisi h5,
.rebirth-bilgisi h5, .achievement-bilgisi h5 {
    color: #C8A84B;
    font-size: 0.92rem;
    margin-bottom: 8px;
}

/* ============================================================
   KURULUM — ARAYÜZ TAB SİSTEMİ
   ============================================================ */
.arayuz-tab-content { display: none; padding: 14px 0; }
.arayuz-tab-content.active { display: block; }

/* ============================================================
   KURULUM — showTab() FONKSİYONU İÇİN
   ============================================================ */
.content { display: block; }
.content.hidden { display: none; }

/* ============================================================
   DUYURULAR SAYFASI
   ============================================================ */
.announcement-list { display: flex; flex-direction: column; gap: 16px; margin-top: 10px; }

.announcement-item {
    background: rgba(10,8,0,0.65);
    border: 1px solid rgba(212,175,55,0.18);
    border-radius: 10px;
    padding: 18px;
    transition: border-color 0.3s, box-shadow 0.3s;
    display: flex;
    align-items: center;
    gap: 18px;
}
.announcement-item:hover {
    border-color: rgba(212,175,55,0.45);
    box-shadow: 0 4px 16px rgba(0,0,0,0.4);
}
.announcement-item a {
    display: flex;
    align-items: center;
    gap: 18px;
    text-decoration: none;
    color: inherit;
}
.announcement-item img {
    width: 140px;
    height: 90px;
    object-fit: cover;
    border-radius: 7px;
    flex-shrink: 0;
    border: 1px solid rgba(212,175,55,0.15);
}
.announcement-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 8px;
}
.announcement-content h3 {
    color: #e8d080 !important;
    font-size: 0.95rem !important;
    font-weight: 600;
    line-height: 1.5;
    margin: 0 !important;
    -webkit-text-fill-color: #e8d080 !important;
}
.ann-title {
    color: #e8d080;
    font-size: 0.95rem;
    font-weight: 600;
    line-height: 1.6;
}
.announcement-date {
    color: #888 !important;
    font-size: 0.78rem;
    display: flex;
    align-items: center;
    gap: 5px;
    margin: 0 !important;
}
.announcement-date i { color: #666; }

/* ============================================================
   GM ONLINE / OFFLINE DURUM NOKTASI
   ============================================================ */
.status-dot {
    display: inline-block;
    width: 10px;
    height: 10px;
    border-radius: 50%;
    position: relative;
    vertical-align: middle;
}

.status-dot.online {
    background: #4CAF50;
    box-shadow: 0 0 6px #4CAF50;
    animation: pulse-green 1.8s ease-in-out infinite;
}

.status-dot.offline {
    background: #f44336;
    box-shadow: 0 0 6px #f44336;
    animation: pulse-red 2.5s ease-in-out infinite;
}

@keyframes pulse-green {
    0%   { box-shadow: 0 0 0 0 rgba(76,175,80,0.7); }
    70%  { box-shadow: 0 0 0 7px rgba(76,175,80,0); }
    100% { box-shadow: 0 0 0 0 rgba(76,175,80,0); }
}

@keyframes pulse-red {
    0%   { box-shadow: 0 0 0 0 rgba(244,67,54,0.6); }
    70%  { box-shadow: 0 0 0 7px rgba(244,67,54,0); }
    100% { box-shadow: 0 0 0 0 rgba(244,67,54,0); }
}
