/* SDZONE PVP — Ana Sayfa */

.page-home {
    --sd-red: #ff4757;
    --sd-red-glow: rgba(255, 71, 87, 0.35);
    --sd-blue: #5352ed;
    --sd-cyan: #2ed8c3;
    --sd-card: rgba(14, 16, 24, 0.92);
    --sd-border: rgba(255, 255, 255, 0.07);
}

.page-home .site-main {
    padding: 0;
}

.page-home .home-wrap {
    padding: 0;
}

/* Hero */
.sd-hero {
    position: relative;
    padding: 2.5rem 0 2rem;
    margin-bottom: 2rem;
    overflow: hidden;
}

.sd-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 20% 0%, rgba(255, 71, 87, 0.18), transparent 55%),
        radial-gradient(ellipse 60% 50% at 90% 20%, rgba(83, 82, 237, 0.15), transparent 50%),
        linear-gradient(180deg, rgba(14, 16, 24, 0.3) 0%, transparent 100%);
    pointer-events: none;
}

.sd-hero-inner {
    position: relative;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    align-items: center;
}

.sd-badge {
    display: inline-block;
    padding: 0.3rem 0.75rem;
    background: rgba(255, 71, 87, 0.15);
    border: 1px solid rgba(255, 71, 87, 0.35);
    border-radius: 999px;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.12em;
    color: var(--sd-red);
    margin-bottom: 0.75rem;
}

.sd-title {
    line-height: 1;
    margin-bottom: 0.5rem;
}

.sd-title-main {
    display: block;
    font-size: clamp(2.8rem, 8vw, 4.5rem);
    font-weight: 800;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #fff 0%, #ffb8c0 50%, var(--sd-red) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.sd-title-sub {
    display: block;
    font-size: clamp(1.5rem, 4vw, 2.2rem);
    font-weight: 800;
    color: var(--sd-cyan);
    letter-spacing: 0.2em;
    margin-top: 0.15rem;
}

.sd-tagline {
    color: #8b92a8;
    font-size: 1rem;
}

.sd-stats {
    display: flex;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
}

.sd-stat {
    flex: 1;
    min-width: 80px;
    padding: 0.85rem 1rem;
    background: var(--sd-card);
    border: 1px solid var(--sd-border);
    border-radius: 12px;
    text-align: center;
}

.sd-stat-val {
    display: block;
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'JetBrains Mono', monospace;
    color: #fff;
}

.sd-stat-lbl {
    font-size: 0.72rem;
    color: #8b92a8;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.sd-search {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 0.75rem;
}

.sd-search input {
    flex: 1;
    padding: 0.75rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--sd-border);
    border-radius: 12px;
    color: #fff;
    font-family: inherit;
    font-size: 0.95rem;
}

.sd-search input:focus {
    outline: none;
    border-color: var(--sd-red);
    box-shadow: 0 0 0 3px var(--sd-red-glow);
}

.sd-btns {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.page-home .btn-primary {
    background: linear-gradient(135deg, var(--sd-red), #ff6b7a);
    box-shadow: 0 8px 28px var(--sd-red-glow);
}

/* İçerik */
.sd-content {
    padding-bottom: 3rem;
}

.sd-section {
    margin-bottom: 2.5rem;
}

.sd-section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
    flex-wrap: wrap;
    gap: 0.75rem;
}

.sd-section-head h2 {
    font-size: 1.2rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.sd-section-head h2 .icon {
    font-size: 1.1rem;
}

.sd-section-head a {
    color: var(--sd-cyan);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
}

.sd-section-head a:hover {
    text-decoration: underline;
}

/* Podyum */
.sd-podium {
    display: flex;
    justify-content: center;
    align-items: flex-end;
    gap: 1rem;
    flex-wrap: wrap;
}

.sd-podium-card {
    flex: 1 1 200px;
    max-width: 260px;
    text-align: center;
    padding: 1.25rem 1rem;
    background: rgba(10,12,20,0.9);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 18px;
    transition: transform 0.22s ease, box-shadow 0.22s ease;
    position: relative;
    overflow: hidden;
}

.sd-podium-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 2px;
    background: rgba(255,255,255,0.08);
}

.sd-podium-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 48px rgba(0,0,0,0.5);
}

.sd-podium-card.rank-1 {
    max-width: 300px;
    border-color: rgba(255,209,102,0.4);
    background: linear-gradient(175deg, rgba(255,209,102,0.1) 0%, rgba(10,12,20,0.95) 40%);
    box-shadow: 0 0 40px rgba(255,209,102,0.12);
    padding-bottom: 1.75rem;
    transform: translateY(-12px);
}
.sd-podium-card.rank-1::before { background: linear-gradient(90deg,rgba(255,209,102,.9),rgba(245,158,11,.4)); }
.sd-podium-card.rank-1:hover {
    transform: translateY(-17px);
    box-shadow: 0 24px 56px rgba(255,209,102,0.18);
}

.sd-podium-card.rank-2 {
    border-color: rgba(203,213,225,0.3);
    box-shadow: 0 0 20px rgba(203,213,225,0.06);
}
.sd-podium-card.rank-2::before { background: linear-gradient(90deg,rgba(203,213,225,.7),rgba(148,163,184,.3)); }

.sd-podium-card.rank-3 {
    border-color: rgba(251,146,60,0.3);
    box-shadow: 0 0 20px rgba(251,146,60,0.07);
}
.sd-podium-card.rank-3::before { background: linear-gradient(90deg,rgba(251,146,60,.7),rgba(180,83,9,.3)); }

.sd-rank {
    font-size: 0.85rem;
    font-weight: 700;
    color: #8b92a8;
    margin-bottom: 0.5rem;
}

.sd-skin-box {
    height: 130px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    margin-bottom: 0.75rem;
}

.sd-podium-card.rank-1 .sd-skin-box {
    height: 165px;
}

.sd-skin-box .body-skin {
    max-height: 100%;
    width: auto;
    image-rendering: pixelated;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.5));
}

.sd-name {
    display: block;
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
    text-decoration: none;
    margin-bottom: 0.35rem;
    word-break: break-word;
}

.sd-name:hover {
    color: var(--sd-cyan);
}

.sd-elo {
    font-family: 'JetBrains Mono', monospace;
    font-size: 1.35rem;
    font-weight: 700;
    color: var(--sd-cyan);
    margin-top: 0.35rem;
}

.sd-wl {
    font-size: 0.78rem;
    color: #8b92a8;
    margin-top: 0.2rem;
}

.sd-podium-card .tier-badge.sm {
    margin: 0.35rem auto 0;
    display: inline-flex;
}

/* Tablo */
.sd-table-card {
    background: var(--sd-card);
    border: 1px solid var(--sd-border);
    border-radius: 16px;
    overflow: hidden;
}

.sd-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
}

.sd-table th,
.sd-table td {
    padding: 0.8rem 1rem;
    text-align: left;
    border-bottom: 1px solid var(--sd-border);
}

.sd-table th {
    font-size: 0.68rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: #8b92a8;
    font-weight: 600;
    background: rgba(0, 0, 0, 0.25);
}

.sd-table tbody tr:last-child td {
    border-bottom: none;
}

.sd-table tbody tr:hover {
    background: rgba(255, 71, 87, 0.05);
}

.sd-table .row-top {
    background: rgba(255, 209, 102, 0.04);
}

.sd-player {
    display: inline-flex;
    align-items: center;
    gap: 0.65rem;
    color: #fff;
    text-decoration: none;
    font-weight: 600;
}

.sd-player:hover {
    color: var(--sd-cyan);
}

.sd-player .avatar {
    border-radius: 8px;
    image-rendering: pixelated;
    background: rgba(0, 0, 0, 0.3);
    object-fit: contain;
}

.col-elo {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--sd-cyan);
}

.col-muted {
    color: #8b92a8;
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.85rem;
}

.col-rank {
    font-weight: 700;
    width: 48px;
}

/* Kitler */
.sd-kits {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 1rem;
}

.sd-kit-card {
    background: rgba(8,10,18,0.88);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 16px;
    overflow: hidden;
    transition: transform 0.18s ease, box-shadow 0.2s ease, border-color 0.18s;
    display: flex;
    flex-direction: column;
}

.sd-kit-card:hover {
    transform: translateY(-4px);
    box-shadow: 0 14px 36px rgba(0,0,0,0.5);
    border-color: rgba(255,255,255,0.14);
}

.sd-kit-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.85rem 1.1rem;
    background: rgba(255,255,255,0.03);
    border-bottom: 1px solid rgba(255,255,255,0.06);
}

.sd-kit-head h3 {
    font-size: 0.88rem;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 0.45em;
    letter-spacing: 0.04em;
}

.sd-kit-head h3 .kit-ico {
    font-size: 1em;
    line-height: 1;
}

.sd-kit-head a {
    font-size: 0.75rem;
    color: var(--sd-cyan);
    text-decoration: none;
    opacity: 0.7;
    transition: opacity 0.15s;
}
.sd-kit-head a:hover { opacity: 1; }

.sd-kit-card ul {
    list-style: none;
    padding: 0.35rem 0;
}

.sd-kit-card li {
    display: grid;
    grid-template-columns: 24px 28px 1fr auto auto;
    align-items: center;
    gap: 0.45rem;
    padding: 0.42rem 1.1rem;
    border-bottom: 1px solid rgba(255,255,255,0.03);
    font-size: 0.84rem;
    transition: background 0.12s;
}

.sd-kit-card li:last-child { border-bottom: none; }
.sd-kit-card li:hover { background: rgba(255,255,255,0.03); }

.sd-kit-card .r {
    font-weight: 700;
    font-size: 0.78rem;
    color: rgba(255,255,255,0.45);
    text-align: center;
}

.sd-kit-card .avatar {
    flex-shrink: 0;
    border-radius: 5px;
    image-rendering: pixelated;
    width: 28px;
    height: 28px;
}

.sd-kit-card li a {
    min-width: 0;
    color: #e2e8f0;
    text-decoration: none;
    font-weight: 600;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.sd-kit-card li a:hover { color: var(--sd-cyan); }

.sd-kit-card .e {
    font-family: 'JetBrains Mono', monospace;
    font-weight: 700;
    color: var(--sd-cyan);
    font-size: 0.82rem;
    white-space: nowrap;
}

/* Quick */
.sd-quick {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 0.75rem;
}

.sd-quick-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.4rem;
    padding: 1.15rem;
    background: var(--sd-card);
    border: 1px solid var(--sd-border);
    border-radius: 14px;
    text-decoration: none;
    color: #fff;
    transition: border-color 0.15s, transform 0.15s;
}

.sd-quick-card:hover {
    border-color: var(--sd-red);
    transform: translateY(-3px);
}

.sd-quick-card span {
    font-size: 1.6rem;
}

.sd-quick-card strong {
    font-size: 0.88rem;
}

.sd-empty,
.sd-empty-sm {
    color: #8b92a8;
    text-align: center;
    padding: 2rem;
}

.sd-empty-sm {
    padding: 1rem;
    font-size: 0.85rem;
}

/* Responsive */
@media (max-width: 900px) {
    .sd-hero-inner {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .sd-stats {
        justify-content: center;
    }

    .sd-search,
    .sd-btns {
        justify-content: center;
    }

    .sd-podium {
        flex-direction: column;
        align-items: stretch;
    }

    .sd-podium-card,
    .sd-podium-card.rank-1 {
        max-width: 100%;
        transform: none;
    }

    .sd-podium-card.rank-1 {
        order: -1;
    }

    .sd-quick {
        grid-template-columns: 1fr 1fr;
    }

    .hide-m {
        display: none;
    }

    .sd-table-card {
        overflow-x: auto;
    }
}

@media (max-width: 480px) {
    .sd-quick {
        grid-template-columns: 1fr;
    }
}
