/* ==========================================
   OSMANLI RUST - INDEX CSS (SIFIRDAN YENİ)
========================================== */

:root {
    --osmanli-accent: #f59e0b;
    --osmanli-accent-light: #ffd166;
    --osmanli-green: #22c55e;
}

body {
    background: #05070b !important;
    color: #fff !important;
    margin: 0;
    font-family: 'Rajdhani', sans-serif;
    overflow-x: hidden;
}

.osmanli-home-page {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
    background: #05070b;
}

.page-bg-video {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.page-bg-video video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: .35;
    filter: brightness(.55) blur(.3px);
}

.page-bg-overlay {
    position: fixed;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background: 
        radial-gradient(circle, rgba(10, 12, 16, 0.70) 0%, rgba(5, 7, 11, 0.94) 100%),
        linear-gradient(135deg, rgba(245, 158, 11, 0.06), transparent 60%);
}

.page-wrapper-content {
    position: relative;
    z-index: 5;
    width: min(1420px, calc(100% - 50px));
    margin: 0 auto;
    padding: 130px 0 90px;
}

/* HERO BÖLÜMÜ */
.hero-section {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 70px;
}

.hero-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 999px;
    color: var(--osmanli-accent);
    font-size: 11px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
}

.hero-text-box h1 {
    font-family: 'Exo 2', sans-serif;
    font-size: clamp(40px, 5vw, 64px);
    line-height: 1.05;
    font-weight: 950;
    margin: 0 0 20px;
    color: #fff;
    text-transform: uppercase;
}

.hero-text-box h1 b {
    color: var(--osmanli-accent);
}

.hero-text-box p {
    font-size: 16px;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    margin-bottom: 30px;
    font-weight: 700;
}

.hero-button-group {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.btn-main {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    height: 48px;
    padding: 0 24px;
    background: rgba(255, 255, 255, 0.065);
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 14px;
    color: #fff;
    font-size: 14px;
    font-weight: 950;
    text-decoration: none;
    text-transform: uppercase;
    transition: all 0.3s ease;
}

.btn-main:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-2px);
}

.btn-main.primary {
    background: linear-gradient(135deg, var(--osmanli-accent), var(--osmanli-accent-light));
    color: #111;
    border: 0;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.4);
}

.btn-main.primary:hover {
    filter: brightness(1.1);
}

.btn-main.discord:hover {
    background: #5865f2;
    border-color: #5865f2;
}

/* WIDGET KUTUSU */
.hero-widget-box {
    background: rgba(12, 17, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 24px;
    padding: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 30px 90px rgba(0, 0, 0, 0.3);
}

.widget-total-players {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px 20px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(245, 158, 11, 0.25);
    border-radius: 14px;
    margin-bottom: 16px;
}

.widget-total-players i {
    font-size: 24px;
    color: var(--osmanli-accent);
}

.widget-total-players small {
    display: block;
    color: rgba(255, 255, 255, 0.58);
    font-size: 10px;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.widget-total-players strong {
    font-size: 18px;
    color: #fff;
    font-weight: 950;
}

.widget-servers-stack {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.widget-server-row {
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 14px;
    padding: 14px 16px;
}

.wsr-top {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 8px;
}

.wsr-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.wsr-dot.online { background: var(--osmanli-green); box-shadow: 0 0 8px var(--osmanli-green); }
.wsr-dot.offline { background: #ef4444; box-shadow: 0 0 8px #ef4444; }

.wsr-top h4 {
    margin: 0;
    font-size: 14px;
    font-weight: 950;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.wsr-bot {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.78);
    font-weight: 700;
    margin-bottom: 8px;
}

.wsr-bot button {
    background: rgba(245, 158, 11, 0.15);
    border: 1px solid rgba(245, 158, 11, 0.3);
    color: var(--osmanli-accent);
    padding: 4px 12px;
    border-radius: 8px;
    font-size: 11px;
    font-weight: 950;
    cursor: pointer;
    transition: all 0.2s;
}

.wsr-bot button:hover {
    background: var(--osmanli-accent);
    color: #111;
}

.wsr-line {
    height: 4px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
}

.wsr-line span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--osmanli-accent), var(--osmanli-accent-light));
    border-radius: 99px;
}

/* AVANTAJLAR */
.features-section {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 60px;
}

.feat-box {
    background: rgba(12, 17, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 28px;
    backdrop-filter: blur(12px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

.feat-box::before {
    content: "";
    position: absolute;
    inset: 0 0 auto 0;
    height: 3px;
    background: linear-gradient(90deg, var(--osmanli-accent), transparent);
}

.feat-index {
    font-family: 'Exo 2', sans-serif;
    font-size: 32px;
    font-weight: 950;
    color: rgba(245, 158, 11, 0.35);
    display: block;
    margin-bottom: 10px;
}

.feat-box h3 {
    margin: 0 0 10px;
    font-size: 18px;
    font-weight: 950;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
}

.feat-box p {
    margin: 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.7;
    font-weight: 700;
}

/* SUNUCU LİSTESİ */
.servers-list-section {
    margin-bottom: 40px;
}

.list-head-title {
    margin-bottom: 24px;
}

.list-head-title span {
    color: var(--osmanli-accent);
    font-size: 12px;
    font-weight: 950;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.list-head-title h2 {
    margin: 4px 0 0;
    font-size: 32px;
    font-weight: 950;
    color: #fff;
    text-transform: uppercase;
    font-family: 'Exo 2', sans-serif;
}

.servers-grid-box {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
}

.server-card-item {
    background: rgba(12, 17, 24, 0.72);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    padding: 24px;
    backdrop-filter: blur(12px);
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.server-card-item:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.4);
}

.sci-top {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.sci-badge {
    padding: 4px 10px;
    border-radius: 6px;
    font-size: 10px;
    font-weight: 950;
    text-transform: uppercase;
}

.sci-badge.online { background: rgba(34, 197, 94, 0.15); color: #bbf7d0; border: 1px solid rgba(34, 197, 94, 0.3); }
.sci-badge.offline { background: rgba(239, 68, 68, 0.15); color: #fecaca; border: 1px solid rgba(239, 68, 68, 0.3); }

.sci-top h3 {
    margin: 0;
    font-size: 16px;
    font-weight: 950;
    color: #fff;
    font-family: 'Exo 2', sans-serif;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.sci-mid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 10px;
    margin-bottom: 16px;
}

.sci-mid div {
    background: rgba(0, 0, 0, 0.3);
    padding: 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sci-mid small {
    display: block;
    color: rgba(255, 255, 255, 0.55);
    font-size: 9px;
    font-weight: 900;
    letter-spacing: 1px;
}

.sci-mid strong {
    display: block;
    margin-top: 4px;
    font-size: 14px;
    color: #fff;
    font-weight: 950;
}

.sci-progress {
    height: 6px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 99px;
    overflow: hidden;
    margin-bottom: 16px;
}

.sci-progress span {
    display: block;
    height: 100%;
    background: linear-gradient(90deg, var(--osmanli-accent), var(--osmanli-accent-light));
    border-radius: 99px;
}

.sci-bot {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.sci-bot code {
    flex: 1;
    font-size: 12px;
    color: var(--osmanli-accent-light);
    font-family: monospace;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    font-weight: 700;
}

.sci-bot button {
    background: linear-gradient(135deg, var(--osmanli-accent), var(--osmanli-accent-light));
    border: 0;
    color: #111;
    padding: 6px 14px;
    border-radius: 8px;
    font-size: 12px;
    font-weight: 950;
    cursor: pointer;
    transition: filter 0.2s;
}

.sci-bot button:hover {
    filter: brightness(1.1);
}

/* TOAST */
.asena-toast {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(12, 17, 24, 0.95);
    border: 1px solid var(--osmanli-accent);
    color: #fff;
    padding: 12px 24px;
    border-radius: 12px;
    font-weight: 950;
    font-size: 13px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.asena-toast.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

/* RESPONSİVE */
@media (max-width: 1024px) {
    .hero-section,
    .features-section {
        grid-template-columns: 1fr;
    }
}