/* ===== RESET ===== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg: #070711;
    --bg-card: #0f1123;
    --bg-card-hover: #151735;
    --border: rgba(255, 255, 255, 0.06);
    --border-glow: rgba(100, 100, 255, 0.15);
    --text: #ffffff;
    --text-dim: #8888aa;
    --text-muted: #555577;
    --green: #00e676;
    --cyan: #00bcd4;
    --purple: #7c3aed;
    --pink: #ec4899;
    --orange: #ff9800;
    --red: #f44336;
    --font: 'Inter', sans-serif;
    --font-display: 'Outfit', 'Inter', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    min-height: 100vh;
    padding-bottom: 70px;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 460px;
    margin: 0 auto;
    padding: 0 12px;
}

/* ===== SECTION ===== */
.section {
    padding: 20px 0 10px;
}

.section-label {
    font-size: 0.7rem;
    font-weight: 600;
    letter-spacing: 0.15em;
    color: var(--text-muted);
    margin-bottom: 14px;
    padding-left: 4px;
}

/* ===== MAIN SPONSORS GRID (3 columns) ===== */
.main-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    margin-bottom: 8px;
}

.main-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 16px 8px 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 8px;
    transition: all 0.3s ease;
    overflow: hidden;
}

.main-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--card-accent, var(--cyan));
    opacity: 0.6;
}

.main-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.main-card .card-logo {
    width: 90px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.main-card .card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-logo-text {
    font-family: var(--font-display);
    font-weight: 800;
    font-size: 1.1rem;
    text-transform: uppercase;
}

.main-card .card-tag {
    display: inline-flex;
    align-items: center;
    gap: 3px;
    padding: 2px 8px;
    border-radius: 6px;
    font-size: 0.55rem;
    font-weight: 700;
    letter-spacing: 0.03em;
}

.tag-1secim {
    background: rgba(0, 230, 118, 0.15);
    color: var(--green);
}

.tag-vip {
    background: rgba(255, 152, 0, 0.15);
    color: var(--orange);
}

.tag-populer {
    background: rgba(236, 72, 153, 0.15);
    color: var(--pink);
}

.tag-yeni {
    background: rgba(0, 188, 212, 0.15);
    color: var(--cyan);
}

.tag-ozel {
    background: rgba(124, 58, 237, 0.15);
    color: var(--purple);
}

.main-card .card-name {
    font-family: var(--font-display);
    font-size: 0.82rem;
    font-weight: 700;
    text-transform: uppercase;
}

.main-card .card-bonus {
    font-size: 0.65rem;
    color: var(--text-dim);
    line-height: 1.4;
}

.main-card .card-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 6px 16px;
    border-radius: 8px;
    font-size: 0.65rem;
    font-weight: 700;
    text-decoration: none;
    color: white;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.2s ease;
    margin-top: auto;
}

.btn-green {
    background: #00c853;
}

.btn-green:hover {
    background: #00e676;
}

.btn-purple {
    background: #7c3aed;
}

.btn-purple:hover {
    background: #8b5cf6;
}

.btn-cyan {
    background: #0097a7;
}

.btn-cyan:hover {
    background: #00acc1;
}

.btn-pink {
    background: #c2185b;
}

.btn-pink:hover {
    background: #e91e63;
}

.btn-orange {
    background: #e65100;
}

.btn-orange:hover {
    background: #ff6d00;
}

.btn-blue {
    background: #1565c0;
}

.btn-blue:hover {
    background: #1976d2;
}

/* ===== ALL SPONSORS GRID (3 columns) ===== */
.all-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.all-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 18px 8px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 10px;
    transition: all 0.3s ease;
    overflow: hidden;
    cursor: pointer;
}

.all-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.all-card .card-tag {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 2px 7px;
    border-radius: 5px;
    font-size: 0.5rem;
    font-weight: 700;
}

.all-card .card-logo {
    width: 100px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.all-card .card-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.all-card .card-logo-text {
    font-size: 1rem;
}

.all-card .card-bonus {
    font-size: 0.68rem;
    color: var(--text-dim);
    line-height: 1.3;
}

/* ===== BOTTOM BAR ===== */
.bottom-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 100;
    background: rgba(7, 7, 17, 0.95);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-top: 1px solid var(--border);
    padding: 8px 0;
}

.bottom-bar-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    padding: 0 40px 0 16px;
    overflow-x: auto;
    scrollbar-width: none;
}

.bottom-bar-inner::-webkit-scrollbar {
    display: none;
}

.bottom-bar-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    text-decoration: none;
    flex-shrink: 0;
    transition: transform 0.2s ease;
}

.bottom-bar-item:hover {
    transform: scale(1.05);
}

.bottom-bar-logo {
    width: 70px;
    height: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.bottom-bar-logo img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.bottom-bar-logo-text {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text);
}

.bottom-bar-bonus {
    font-size: 0.55rem;
    color: var(--green);
    font-weight: 600;
}

.bottom-bar-close {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.08);
    border: none;
    color: var(--text-dim);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    font-size: 0.7rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.bottom-bar-close:hover {
    background: rgba(255, 255, 255, 0.15);
    color: var(--text);
}

/* ===== EMPTY STATE ===== */
.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px 20px;
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(8px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.animate {
    animation: fadeIn 0.4s ease forwards;
    opacity: 0;
}

/* ===== RESPONSIVE ===== */
@media (min-width: 768px) {
    .container {
        max-width: 600px;
    }
}

@media (max-width: 360px) {

    .main-grid,
    .all-grid {
        gap: 8px;
    }

    .main-card {
        padding: 12px 6px 12px;
    }

    .all-card {
        padding: 14px 6px 14px;
    }
}

/* ===== BREADCRUMB (SEO, visually hidden) ===== */
.breadcrumb {
    position: absolute;
    width: 1px;
    height: 1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
}

/* ===== BANNERS ===== */
.banner {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 14px 18px;
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    overflow: hidden;
    position: relative;
}

.banner:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.banner-icon {
    font-size: 1.3rem;
    flex-shrink: 0;
}

.banner-arrow {
    margin-left: auto;
    font-size: 1.1rem;
    opacity: 0.7;
}

.telegram-banner {
    background: linear-gradient(135deg, #0088cc 0%, #00aaee 50%, #0066aa 100%);
    border: 1px solid rgba(0, 136, 204, 0.3);
}

.reklam-banner {
    background: linear-gradient(135deg, #7c3aed 0%, #ec4899 50%, #f59e0b 100%);
    border: 1px solid rgba(124, 58, 237, 0.3);
}

/* ===== SOCIAL CARDS ===== */
.social-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 20px 10px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text);
    transition: all 0.3s ease;
    text-align: center;
}

.social-card:hover {
    border-color: var(--border-glow);
    transform: translateY(-2px);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.social-card-icon {
    font-size: 2rem;
}

.social-card-text {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    line-height: 1.3;
    color: var(--text-dim);
}

.banner-bg-img {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    height: 60px;
    opacity: 0.9;
    border-radius: 8px;
}

.social-card-img {
    max-height: 50px;
    max-width: 120px;
    object-fit: contain;
}

.social-card-edit {
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    padding: 14px;
    margin-bottom: 12px;
    background: rgba(255, 255, 255, 0.02);
}

.social-card-edit h4 {
    margin: 0 0 10px 0;
    color: var(--primary);
    font-size: 0.85rem;
}

/* ===== SEO CONTENT ===== */
.seo-content {
    padding: 30px 0 10px;
}

.seo-title {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 14px;
    color: var(--text);
    line-height: 1.4;
}

.seo-text {
    font-size: 0.78rem;
    color: var(--text-dim);
    line-height: 1.7;
}

.seo-text p {
    margin-bottom: 10px;
}

.seo-text h3 {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    margin: 16px 0 6px;
}

.seo-text strong {
    color: var(--text);
}

.seo-text em {
    color: var(--cyan);
    font-style: normal;
}

/* ===== FOOTER ===== */
.footer {
    text-align: center;
    padding: 20px 0 80px;
    font-size: 0.72rem;
    color: var(--text-muted);
}

.footer strong {
    color: var(--text-dim);
}

.footer-warn {
    margin-top: 6px;
    color: var(--red);
    font-weight: 600;
    font-size: 0.68rem;
}