/* BalkanKazino - AskGamblers Style */
@import url('https://fonts.googleapis.com/css2?family=Rajdhani:wght@500;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
    --bg-primary: #0a0e1a;
    --bg-secondary: #111827;
    --bg-card: #1a2235;
    --bg-card-hover: #1f2d45;
    --accent: #00d4aa;
    --accent-hover: #00b896;
    --accent-red: #ff4757;
    --gold: #ffd700;
    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --border: #1e2d45;
    --border-hover: #2d4a6e;
    --green: #22c55e;
    --radius: 12px;
    --shadow: 0 4px 24px rgba(0,0,0,0.4);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
    font-family: 'Inter', sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    min-height: 100vh;
}

a { color: var(--accent); text-decoration: none; transition: all 0.2s; }
a:hover { color: var(--accent-hover); }

/* ===== HEADER ===== */
header {
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
}

.header-inner {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
    position: relative;
}

.logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.logo span { color: var(--accent); }

nav { display: flex; gap: 8px; align-items: center; }

nav a {
    color: var(--text-secondary);
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.2s;
}

nav a:hover, nav a.active {
    color: var(--text-primary);
    background: var(--bg-card);
}

/* ===== MOBILE MENU BTN ===== */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 28px;
    cursor: pointer;
    z-index: 1002;
    padding: 4px 8px;
    line-height: 1;
}

/* ===== MAIN LAYOUT ===== */
.container {
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 20px;
}

main { padding: 40px 0; }

.page-grid {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 30px;
    align-items: start;
}

/* ===== HERO ===== */
.hero {
    background: linear-gradient(135deg, #0d1b2e 0%, #1a2d4e 50%, #0d2640 100%);
    padding: 80px 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid var(--border);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(ellipse at center, rgba(0,212,170,0.08) 0%, transparent 60%);
    pointer-events: none;
}

.hero h1 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 52px;
    font-weight: 700;
    margin-bottom: 16px;
    line-height: 1.1;
}

.hero h1 span { color: var(--accent); }

.hero p {
    font-size: 18px;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}

.hero-stat { text-align: center; }
.hero-stat .broj {
    font-family: 'Rajdhani', sans-serif;
    font-size: 36px;
    font-weight: 700;
    color: var(--accent);
    display: block;
}
.hero-stat .label { font-size: 13px; color: var(--text-muted); }

/* ===== KAZINO KARTICE ===== */
.section-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 26px;
    font-weight: 700;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.section-title::after {
    content: '';
    flex: 1;
    height: 1px;
    background: var(--border);
}

.section-subtitle {
    color: var(--text-muted);
    font-size: 15px;
    margin-bottom: 24px;
    margin-top: -12px;
}

.kazino-lista { display: flex; flex-direction: column; gap: 16px; }

.kazino-kartica {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px 24px;
    display: grid;
    grid-template-columns: 60px 1fr auto auto;
    align-items: center;
    gap: 20px;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.kazino-kartica::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--accent);
    opacity: 0;
    transition: opacity 0.3s;
}

.kazino-kartica:hover {
    border-color: var(--border-hover);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.kazino-kartica:hover::before { opacity: 1; }
.kazino-kartica.preporuceno { border-color: rgba(0,212,170,0.3); }

.badge-preporuceno {
    position: absolute;
    top: 12px;
    right: 12px;
    background: var(--accent);
    color: var(--bg-primary);
    font-size: 11px;
    font-weight: 700;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.kazino-rang {
    font-family: 'Rajdhani', sans-serif;
    font-size: 28px;
    font-weight: 700;
    color: var(--text-muted);
    text-align: center;
    min-width: 40px;
}

.kazino-info { flex: 1; }

.kazino-naziv {
    font-family: 'Rajdhani', sans-serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stars { display: flex; align-items: center; gap: 2px; margin-bottom: 6px; }
.star.full, .star.filled { color: var(--gold); font-size: 16px; }
.star.half { color: var(--gold); font-size: 16px; opacity: 0.7; }
.star.empty { color: var(--text-muted); font-size: 16px; }
.ocena-broj { font-size: 14px; font-weight: 600; color: var(--gold); margin-left: 6px; }

.kazino-tagovi { display: flex; gap: 6px; flex-wrap: wrap; margin-top: 8px; }
.tag {
    font-size: 11px;
    padding: 3px 10px;
    border-radius: 20px;
    background: rgba(255,255,255,0.07);
    color: var(--text-secondary);
    border: 1px solid var(--border);
}

.tag.green {
    background: rgba(34,197,94,0.1);
    color: #22c55e;
    border-color: rgba(34,197,94,0.2);
}

.kazino-bonus { text-align: center; min-width: 140px; }
.bonus-iznos {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: var(--green);
    display: block;
}
.bonus-label { font-size: 12px; color: var(--text-muted); }

.kazino-akcija { text-align: center; min-width: 150px; }
.kazino-akcije { text-align: center; min-width: 160px; display: flex; flex-direction: column; gap: 8px; }

.kazino-logo-wrap {
    width: 80px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg-secondary);
    border-radius: 8px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.kazino-logo-wrap img { max-width: 70px; max-height: 40px; object-fit: contain; }

.kazino-logo-placeholder {
    font-family: 'Rajdhani', sans-serif;
    font-size: 12px;
    font-weight: 700;
    color: var(--accent);
    text-align: center;
    padding: 4px;
}

/* ===== BUTTONS ===== */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    font-weight: 700;
    font-size: 14px;
    text-align: center;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
    text-decoration: none;
}

.btn-primary {
    background: var(--accent);
    color: var(--bg-primary) !important;
}

.btn-primary:hover {
    background: var(--accent-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,212,170,0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--accent) !important;
    border: 1px solid var(--accent);
}

.btn-secondary:hover { background: rgba(0,212,170,0.1); }
.btn-full { width: 100%; display: block; }

.btn-igraj {
    display: inline-block;
    background: var(--accent);
    color: var(--bg-primary);
    font-weight: 700;
    font-size: 14px;
    padding: 12px 24px;
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
    white-space: nowrap;
    border: none;
    cursor: pointer;
    width: 100%;
    text-align: center;
}

.btn-igraj:hover {
    background: var(--accent-hover);
    color: var(--bg-primary);
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(0,212,170,0.4);
}

.btn-recenzija {
    display: block;
    text-align: center;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 8px;
}

.btn-recenzija:hover { color: var(--accent); }

.header-cta {
    background: var(--accent) !important;
    color: var(--bg-primary) !important;
    padding: 8px 20px !important;
    border-radius: 8px !important;
    font-weight: 700 !important;
}

/* ===== TRUST BADGES ===== */
.trust-badges {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 20px 0;
    flex-wrap: wrap;
    border-bottom: 1px solid var(--border);
    margin-bottom: 40px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.trust-badge .icon { font-size: 16px; }

/* ===== SIDEBAR ===== */
.sidebar { display: flex; flex-direction: column; gap: 20px; }

.sidebar-widget {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 20px;
}

.widget-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border);
    color: var(--text-primary);
}

.quick-list { list-style: none; }
.quick-list li {
    padding: 10px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
}
.quick-list li:last-child { border-bottom: none; }
.quick-list a { color: var(--text-secondary); }
.quick-list a:hover { color: var(--accent); }
.quick-list .ocena { color: var(--gold); font-weight: 600; font-size: 13px; }

/* ===== CLANCI ===== */
.clanci-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 20px;
}

.clanak-kartica {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: all 0.3s;
}

.clanak-kartica:hover {
    border-color: var(--border-hover);
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.clanak-slika {
    height: 180px;
    background: linear-gradient(135deg, #1a2d4e, #0d2640);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 48px;
}

.clanak-body { padding: 20px; }
.clanak-kategorija {
    font-size: 11px;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: var(--accent);
    font-weight: 600;
    margin-bottom: 8px;
}
.clanak-naslov {
    font-family: 'Rajdhani', sans-serif;
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 10px;
    line-height: 1.3;
}
.clanak-opis { font-size: 13px; color: var(--text-secondary); line-height: 1.5; }
.clanak-excerpt { font-size: 13px; color: var(--text-secondary); line-height: 1.5; margin-top: 8px; }
.clanak-footer {
    padding: 12px 20px;
    border-top: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

/* ===== TABELA POREĐENJA ===== */
.tabela-poredjenja {
    width: 100%;
    border-collapse: collapse;
    margin: 20px 0;
    font-size: 14px;
}

.tabela-poredjenja th {
    background: var(--bg-card);
    padding: 14px 16px;
    text-align: left;
    border-bottom: 2px solid var(--accent);
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.tabela-poredjenja td {
    padding: 14px 16px;
    border-bottom: 1px solid var(--border);
    vertical-align: middle;
}

.tabela-poredjenja tr:hover td { background: var(--bg-card-hover); }

/* ===== FOOTER ===== */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 50px 0 30px;
    margin-top: 60px;
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    font-family: 'Rajdhani', sans-serif;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 12px;
}

.footer-logo span { color: var(--accent); }
.footer-opis { font-size: 13px; color: var(--text-muted); line-height: 1.7; }

.footer-col h4 {
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    font-weight: 700;
    margin-bottom: 16px;
    color: var(--text-primary);
}

.footer-col ul { list-style: none; }
.footer-col ul li { margin-bottom: 10px; }
.footer-col ul a { font-size: 13px; color: var(--text-muted); }
.footer-col ul a:hover { color: var(--accent); }

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-muted);
}

.odgovorno {
    background: rgba(255,71,87,0.1);
    border: 1px solid rgba(255,71,87,0.2);
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 12px;
    color: var(--text-muted);
    margin-top: 20px;
    text-align: center;
}

/* ===== UTILITIES ===== */
.mt-20 { margin-top: 20px; }
.mt-40 { margin-top: 40px; }
.mb-20 { margin-bottom: 20px; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.badge-novo { background: var(--accent-red); color: white; font-size: 10px; padding: 2px 8px; border-radius: 20px; font-weight: 700; }
.badge-top { background: var(--gold); color: #000; font-size: 10px; padding: 2px 8px; border-radius: 20px; font-weight: 700; }

/* ===== RESPONSIVE — TABLET ===== */
@media (max-width: 1024px) {
    .page-grid { grid-template-columns: 1fr; }
    .sidebar { display: none; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
}

/* ===== RESPONSIVE — MOBILE ===== */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .hero p { font-size: 15px; }
    .hero-stats { gap: 16px; flex-wrap: wrap; }
    .hero-stat .broj { font-size: 28px; }

    .kazino-kartica {
        grid-template-columns: 1fr;
        gap: 12px;
    }
    .kazino-rang { display: none; }
    .kazino-bonus { text-align: left; }
    .kazino-akcija { text-align: left; }
    .kazino-akcije { text-align: left; }

    .footer-grid { grid-template-columns: 1fr; }
    .footer-bottom { flex-direction: column; gap: 10px; text-align: center; }
    .clanci-grid { grid-template-columns: 1fr; }

    /* MOBILE MENU */
    .mobile-menu-btn {
        display: block !important;
    }

    nav {
        display: none;
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-secondary);
        padding: 12px 16px 20px;
        border-bottom: 2px solid var(--accent);
        z-index: 9999;
        box-shadow: 0 8px 30px rgba(0,0,0,0.6);
        gap: 4px;
    }

    nav.open {
        display: flex;
    }

    nav a {
        padding: 14px 16px;
        border-radius: 8px;
        font-size: 16px;
        color: var(--text-secondary);
        border-bottom: 1px solid var(--border);
        width: 100%;
        display: block;
    }

    nav a:last-child {
        border-bottom: none;
        margin-top: 8px;
    }

    nav a:hover, nav a.active {
        background: var(--bg-card);
        color: var(--text-primary);
    }

    .header-cta {
        background: var(--accent) !important;
        color: var(--bg-primary) !important;
        text-align: center;
    }
}