/* Modern tema: sonremo\Panel13 need.php içindeki satır içi stiller + yeni bileşenler */

body, html, h1, h2, h3, h4, h5, h6, p, span, div, li, a, td, th, button, input, select, textarea, label {
    font-family: 'Oxanium', sans-serif;
}
.fa, [class^="fa-"], [class*=" fa-"] { font-family: 'FontAwesome' !important; }
[class^="ion-"], [class*=" ion-"] { font-family: 'Ionicons' !important; }

/* Arka plan videosu ve kıvılcımlar ortak dosyada: /media/effects/effects.css */
body { position: relative; }

.nk-header-title { background: transparent !important; }
.nk-box-2.bg-dark-1, .nk-main .bg-dark-1 {
    background: rgba(0, 0, 0, .3) !important;
    backdrop-filter: blur(8px); -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(var(--rp-accent-rgb, 255, 193, 7), .15) !important;
}

.nk-navbar.nk-navbar-sticky {
    background: rgba(0, 0, 0, .8) !important;
    backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(var(--rp-accent-rgb, 255, 193, 7), .2) !important;
}
.nk-navbar.nk-navbar-transparent {
    background: rgba(0, 0, 0, .4) !important;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.nk-navbar .nk-drop-item .dropdown {
    background: rgba(0, 0, 0, .85) !important;
    backdrop-filter: blur(5px); -webkit-backdrop-filter: blur(5px);
}
.nk-nav-logo img { max-height: 55px !important; margin-top: 5px !important; }
.nk-nav-logo span { font-size: 28px !important; font-weight: 700 !important; margin-top: 5px !important; display: inline-block !important; }
/* Küçük ekran logosu: masaüstü logosuyla aynı yuvada (tablo hücresi), dikeyde ortalı */
.rp-nav-logo-mobile { display: table-cell; vertical-align: middle; white-space: nowrap; }
@media (min-width: 992px) { .rp-nav-logo-mobile { display: none !important; } }
.nk-nav > li > a { font-size: 16px !important; font-weight: 500 !important; padding-top: 20px !important; padding-bottom: 15px !important; }
.nk-nav > li > a i { font-size: 18px !important; }

.nk-header-title { min-height: 100vh !important; display: flex !important; align-items: center !important; justify-content: center !important; }
@media (min-height: 1200px) {
    .nk-header-title { min-height: 85vh !important; padding: 120px 0 !important; }
    .nk-header-title h1 { font-size: 4.5rem !important; }
}
@media (max-height: 900px) {
    .nk-header-title { padding: 100px 0 60px !important; }
    .nk-header-title h1 { font-size: 3rem !important; }
}
@media (min-aspect-ratio: 21/9) { .nk-header-title { min-height: 90vh !important; } }

/* Sekmeler */
.nav-tabs { border-bottom: 2px solid rgba(var(--rp-accent-rgb, 255, 193, 7), .3) !important; margin-bottom: 30px; }
.nav-tabs .nav-link {
    color: #fff !important; background: transparent !important; border: none !important;
    border-bottom: 3px solid transparent !important; transition: all .3s ease !important;
}
.nav-tabs .nav-link:hover { color: var(--rp-accent, #ffc107) !important; background: rgba(var(--rp-accent-rgb, 255, 193, 7), .1) !important; border-bottom-color: rgba(var(--rp-accent-rgb, 255, 193, 7), .5) !important; }
.nav-tabs .nav-link.active { color: var(--rp-accent, #ffc107) !important; background: rgba(var(--rp-accent-rgb, 255, 193, 7), .15) !important; border-bottom-color: var(--rp-accent, #ffc107) !important; }
.tab-desktop { display: flex; justify-content: space-between; width: 100%; }
.tab-desktop .nav-item { flex: 1; text-align: center; }
.tab-desktop .nav-item .nav-link { padding: 15px 10px !important; font-size: 13px; white-space: nowrap; }
@media (min-width: 1200px) { .tab-desktop .nav-item .nav-link { padding: 15px 20px !important; font-size: 14px; } }
@media (max-width: 991px) { .tab-desktop { display: none !important; } .rp-tab-mobile { display: block !important; } }
@media (min-width: 992px) { .rp-tab-mobile { display: none !important; } }
.rp-tab-mobile { margin-bottom: 30px; }
.rp-tab-mobile .dropdown, .rp-tab-mobile .btn { width: 100%; }
.rp-tab-mobile .btn { background: rgba(var(--rp-accent-rgb, 255, 193, 7), .1); border: 1px solid var(--rp-accent, #ffc107); color: var(--rp-accent, #ffc107); padding: 12px 20px; font-weight: 600; text-align: start; }
.rp-tab-mobile .dropdown-menu { width: 100%; background: #1a1a1a; border: 1px solid var(--rp-accent, #ffc107); }
.rp-tab-mobile .dropdown-menu a { display: block; color: #fff; padding: 10px 20px; }
.rp-tab-mobile .dropdown-menu li.active a { color: var(--rp-accent, #ffc107); }

/* Listeler ve tablolar */
.rp-list-item {
    display: block; background: rgba(0, 0, 0, .3); border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 4px; padding: 12px 16px; margin-bottom: 10px; color: #fff;
}
a.rp-list-item:hover { border-color: rgba(var(--rp-accent-rgb, 255, 193, 7), .5); color: #fff; text-decoration: none; }
.rp-list-item .rp-row { display: flex; justify-content: space-between; align-items: center; gap: 12px; flex-wrap: wrap; }
.rp-list-item h5 { margin: 0; color: var(--rp-accent, #ffc107); }
.rp-required { color: #d9534f; }
.table-striped tbody tr:nth-of-type(odd) { background-color: rgba(255, 255, 255, .02); }
.table td, .table th { vertical-align: middle; }
.table a { color: #fff; }
.table a:hover { color: var(--rp-accent, #ffc107); }
.rp-rank-no { color: var(--rp-accent, #ffc107); font-size: 18px; font-weight: 700; }
.rp-center { text-align: center; }
.rp-event { display: flex; align-items: center; gap: 20px; }
.rp-event-icon { font-size: 36px; color: var(--rp-accent, #ffc107); width: 44px; text-align: center; }
.rp-event h5 { margin: 0 0 8px; color: #fff; }
.rp-chat { display: flex; gap: 12px; align-items: flex-start; background: rgba(0, 0, 0, .25); border: 1px solid rgba(var(--rp-accent-rgb, 255, 193, 7), .1); border-radius: 6px; padding: 12px 15px; margin-bottom: 10px; }
.rp-chat-icon { flex-shrink: 0; width: 36px; height: 36px; border-radius: 50%; background: rgba(var(--rp-accent-rgb, 255, 193, 7), .12); display: flex; align-items: center; justify-content: center; color: var(--rp-accent, #ffc107); }
.rp-chat-body { flex: 1; min-width: 0; word-break: break-word; color: rgba(255, 255, 255, .85); font-size: 13px; }
.rp-chat-meta { display: flex; gap: 8px; flex-wrap: wrap; margin-bottom: 4px; font-size: 11px; color: rgba(255, 255, 255, .4); }
.rp-chat-meta strong { color: var(--rp-accent, #ffc107); font-size: 13px; }

/* Sayfa başlığı */
.rp-page-title { padding: 20px 0 0; text-align: center; }
.rp-page-title h1 { margin: 0 0 10px; font-size: clamp(24px, 3vw, 30px); font-weight: 700; color: var(--rp-accent, #ffc107); }
.rp-breadcrumbs-wrap { display: flex; justify-content: center; }
.rp-breadcrumbs { margin: 0; background: rgba(0, 0, 0, .3); backdrop-filter: blur(10px); -webkit-backdrop-filter: blur(10px); padding: 10px 20px; border-radius: 5px; }
.rp-breadcrumbs ul { margin: 0; padding: 0; justify-content: center; }

/* Dil seçici */
.rp-lang-current { padding: 0 10px !important; display: flex !important; align-items: center; }
.rp-lang img { width: 22px; height: 16px; object-fit: cover; border-radius: 2px; display: block; }
.rp-lang-list { min-width: 60px; padding: 6px 0; }
.rp-lang-list a { display: flex !important; justify-content: center; padding: 6px 12px !important; }
.rp-lang-list img { width: 28px; height: 20px; }
.rp-lang-mobile { padding: 12px 20px; border-bottom: 1px solid rgba(255, 255, 255, .08); display: flex; gap: 10px; }
.rp-lang-mobile img { width: 32px; height: 23px; object-fit: cover; border-radius: 3px; opacity: .5; }
.rp-lang-mobile a.active img { opacity: 1; outline: 2px solid var(--rp-accent, #ffc107); }

/* Üst bölüm: solda başlık ve düğmeler, sağda canlı sunucu durumu */
.nk-header-title.rp-hero { min-height: 72vh !important; padding: 110px 0 50px !important; }
/* Çerçevenin sabit 550px tablo yüksekliği içerik uzayınca taşırıyordu */
.nk-header-title.rp-hero .nk-header-table, .nk-header-title.rp-hero .nk-header-table-cell { display: block; height: auto !important; }
.rp-hero-grid { display: grid; gap: 40px; align-items: center; grid-template-columns: minmax(0, 1fr); }
@media (min-width: 992px) { .rp-hero-grid { grid-template-columns: minmax(0, 1.35fr) minmax(320px, .9fr); gap: 60px; } }
.rp-hero-main { text-align: center; }
@media (min-width: 992px) { .rp-hero-main { text-align: start; } }
.rp-hero-main h1 { margin-bottom: 10px; font-size: clamp(2.4rem, 5.5vw, 4.5rem) !important; line-height: 1.05; text-shadow: 0 4px 30px rgba(0, 0, 0, .6); }
.rp-hero-sub { min-height: 1.4em; margin: 0 0 30px; font-size: clamp(1.1rem, 2.2vw, 1.6rem); color: rgba(255, 255, 255, .85); }
.rp-hero-actions { display: flex; flex-wrap: wrap; gap: 12px; justify-content: center; }
@media (min-width: 992px) { .rp-hero-actions { justify-content: flex-start; } }
@media (max-width: 480px) { .rp-hero-actions .rp-btn { flex: 1 1 100%; } }

.rp-status {
    background: rgba(8, 8, 8, .62); border: 1px solid rgba(var(--rp-accent-rgb, 255, 193, 7), .22); border-radius: 12px;
    padding: 22px 24px; backdrop-filter: blur(12px); -webkit-backdrop-filter: blur(12px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, .45); text-align: start;
}
.rp-status-head { display: flex; align-items: center; gap: 10px; padding-bottom: 14px; margin-bottom: 4px; border-bottom: 1px solid rgba(255, 255, 255, .08); }
.rp-status-head h2 { margin: 0; font-size: 15px; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: #fff; }
.rp-status-time { margin-inline-start: auto; font-size: 13px; color: rgba(255, 255, 255, .6); white-space: nowrap; }
.rp-status-time .rp-server-time { font-variant-numeric: tabular-nums; color: #fff; font-weight: 600; }
.rp-status-block { padding: 14px 0; border-bottom: 1px solid rgba(255, 255, 255, .06); }
.rp-status-block:last-child { border-bottom: 0; padding-bottom: 0; }
.rp-status-label { margin-bottom: 6px; font-size: 11px; font-weight: 600; letter-spacing: 1.2px; text-transform: uppercase; color: rgba(255, 255, 255, .5); }
.rp-status-label:not(:first-child) { margin-top: 12px; }
.rp-status-online { display: flex; align-items: baseline; gap: 8px; }
.rp-status-online strong { font-size: 34px; line-height: 1; color: var(--rp-accent, #ffc107); font-variant-numeric: tabular-nums; }
.rp-status-online span { color: rgba(255, 255, 255, .55); font-size: 14px; }
.rp-status-next { display: flex; align-items: center; gap: 10px; }
.rp-status-next i { font-size: 18px; color: var(--rp-accent, #ffc107); width: 22px; text-align: center; }
.rp-status-next-name { color: #fff; font-weight: 600; min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap; }
.rp-status-next .rp-countdown { margin-inline-start: auto; font-size: 18px; }
.rp-status-forts { list-style: none; margin: 0; padding: 0; display: grid; gap: 6px; }
.rp-status-forts a { display: flex; align-items: center; gap: 10px; padding: 6px 8px; margin: 0 -8px; border-radius: 6px; color: #fff; text-decoration: none !important; }
.rp-status-forts a:hover { background: rgba(var(--rp-accent-rgb, 255, 193, 7), .08); }
.rp-status-forts img { width: 22px; height: 22px; flex-shrink: 0; }
.rp-status-forts .rp-muted { font-size: 13px; }
.rp-status-forts strong { margin-inline-start: auto; color: var(--rp-accent, #ffc107); font-size: 13px; }

/* Formlar */
.rp-alert { margin-bottom: 15px; }
.rp-captcha { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.rp-captcha img { border-radius: 4px; background: #fff; }
.input-group-addon { background: rgba(255, 255, 255, .05); border-color: rgba(255, 255, 255, .15); color: #ccc; }

/* Kartlar */
.rp-card { background: rgba(0, 0, 0, .3); border: 1px solid rgba(var(--rp-accent-rgb, 255, 193, 7), .15); border-radius: 8px; padding: 20px; height: 100%; }
.rp-card h4 { color: var(--rp-accent, #ffc107); margin-top: 0; }
.rp-grid { display: grid; gap: 20px; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); }
.rp-social-card { display: flex; flex-direction: column; align-items: center; gap: 10px; text-align: center; color: #fff; text-decoration: none !important; }
.rp-social-card i { font-size: 40px; color: var(--rp-accent, #ffc107); }
.rp-gallery-item { display: block; border-radius: 6px; overflow: hidden; position: relative; background: #000; }
.rp-gallery-item img { width: 100%; aspect-ratio: 16 / 10; object-fit: cover; transition: transform .3s; }
.rp-gallery-item:hover img { transform: scale(1.05); }
.rp-gallery-item span { position: absolute; left: 0; right: 0; bottom: 0; padding: 8px 10px; background: linear-gradient(transparent, rgba(0, 0, 0, .85)); color: #fff; font-size: 13px; }
.rp-gallery-item .fa-play-circle { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); font-size: 48px; color: rgba(255, 255, 255, .85); }
.rp-news-img { width: 100%; max-height: 380px; object-fit: cover; border-radius: 6px; margin-bottom: 20px; }
.rp-content { color: rgba(255, 255, 255, .85); line-height: 1.7; word-break: break-word; }
.rp-content img { max-width: 100%; height: auto; }

/* İçerik kısa olsa da alt bilgi ekranın altında kalır (boş liste, tek satırlık sayfa) */
.nk-main { display: flex; flex-direction: column; min-height: calc(100vh - var(--rp-header-h, 119px)); }
.nk-main > * { flex-shrink: 0; width: 100%; }
.nk-main > .nk-footer { margin-top: auto; }
/* footer-corner.png genişliğin ~%13'ü yüksekliğinde; boşluk onunla birlikte büyür */
.rp-footer-space { height: max(110px, calc(13.2vw + 70px)); }

/* Alt bilgi */
.rp-footer { text-align: center; padding: 30px 0 20px; }
.rp-footer-head h3 { margin: 0; font-size: 20px; font-weight: 600; color: var(--rp-accent, #ffc107); letter-spacing: 1px; }
.rp-footer-head p { margin: 8px 0 25px; font-size: 14px; color: rgba(255, 255, 255, .7); }
.rp-sponsors { display: flex; justify-content: center; align-items: center; flex-wrap: wrap; gap: 15px; margin-bottom: 20px; }
.rp-sponsors a { transition: transform .3s; }
.rp-sponsors a:hover { transform: translateY(-5px); }
.rp-sponsors a::after { content: none !important; }
.rp-sponsors img { height: 40px; filter: grayscale(30%); transition: filter .3s; }
.rp-sponsors a:hover img { filter: none; }
.rp-footer-links { display: flex; justify-content: center; gap: 20px; flex-wrap: wrap; margin-bottom: 20px; font-size: 13px; }
.rp-footer-links a { color: rgba(255, 255, 255, .6); }
.rp-footer-links a:hover { color: var(--rp-accent, #ffc107); }
.rp-copyright { padding-top: 20px; border-top: 1px solid rgba(var(--rp-accent-rgb, 255, 193, 7), .1); }
.rp-copyright p { margin: 0; font-size: 13px; color: rgba(255, 255, 255, .5); line-height: 1.6; }
.rp-copyright a { color: var(--rp-accent, #ffc107); }
@media (max-width: 767px) {
    .rp-sponsors img { height: 24px; }
    .rp-footer-head h3 { font-size: 16px; }
}

/* Sağdan sola (Arapça) */
.rp-rtl .text-xs-left { text-align: right !important; }
.rp-rtl .pull-right { float: left !important; }
.rp-rtl .pull-left { float: right !important; }
.rp-rtl .nk-nav-right { margin-left: 0; margin-right: auto; }
.rp-rtl .input-group .form-control:first-child { border-radius: 0 .25rem .25rem 0; }
.rp-rtl .input-group-addon:last-child { border-radius: .25rem 0 0 .25rem; border-left: 1px solid rgba(255, 255, 255, .15); border-right: 0; }

/* _base envanter parçası .hidden kullanıyor (Bootstrap 4 alpha'da yok) */
.hidden { display: none !important; }
