/* ========================================
   EthiopiaCasino.games — Glassmorphism UI
   Ethiopian palette: Green #078930, Yellow #FCDD09, Red #DA121A
   ======================================== */

:root {
    --eth-green: #078930;
    --eth-yellow: #FCDD09;
    --eth-red: #DA121A;
    --eth-green-dark: #056a24;
    --bg-primary: #0a0e17;
    --bg-secondary: #111827;
    --bg-card: rgba(255, 255, 255, 0.04);
    --bg-glass: rgba(255, 255, 255, 0.06);
    --bg-glass-hover: rgba(255, 255, 255, 0.10);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-hover: rgba(255, 255, 255, 0.15);
    --text-primary: #f1f5f9;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    --accent: #22c55e;
    --accent-glow: rgba(34, 197, 94, 0.3);
    --gold: #fbbf24;
    --gold-glow: rgba(251, 191, 36, 0.3);
    --radius: 16px;
    --radius-sm: 10px;
    --radius-xs: 6px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --shadow-lg: 0 20px 60px rgba(0, 0, 0, 0.4);
    --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

a {
    color: inherit;
    text-decoration: none;
}

/* ===== HEADER ===== */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(10, 14, 23, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-glass);
    padding: 16px 0;
}

.header .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.3rem;
    font-weight: 800;
}

.logo-icon {
    font-size: 1.6rem;
}

.logo-accent {
    color: var(--accent);
}

.nav {
    display: flex;
    gap: 32px;
}

.nav-link {
    font-size: 0.9rem;
    font-weight: 500;
    color: var(--text-secondary);
    transition: color var(--transition);
    position: relative;
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--accent);
    transition: width var(--transition);
    border-radius: 1px;
}

.nav-link:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 4px;
}

.mobile-menu-btn span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text-primary);
    border-radius: 2px;
    transition: var(--transition);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 160px 0 100px;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(7, 137, 48, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse 60% 40% at 30% 20%, rgba(252, 221, 9, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse 60% 40% at 70% 30%, rgba(218, 18, 26, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.hero-badge {
    display: inline-block;
    padding: 8px 20px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--text-secondary);
    margin-bottom: 28px;
    backdrop-filter: blur(10px);
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4.5rem);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--eth-green), var(--eth-yellow), var(--eth-red));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 36px;
    line-height: 1.7;
}

.hero-cta {
    display: inline-block;
    padding: 16px 40px;
    background: linear-gradient(135deg, var(--eth-green), var(--eth-green-dark));
    color: #fff;
    font-weight: 700;
    font-size: 1rem;
    border-radius: 100px;
    transition: all var(--transition);
    box-shadow: 0 4px 24px var(--accent-glow);
}

.hero-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 32px var(--accent-glow);
}

/* ===== STATS BAR ===== */
.stats-bar {
    padding: 0;
    margin-top: -30px;
    position: relative;
    z-index: 10;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1px;
    background: var(--border-glass);
    border-radius: var(--radius);
    overflow: hidden;
    box-shadow: var(--shadow);
}

.stat-item {
    background: var(--bg-glass);
    backdrop-filter: blur(20px);
    padding: 28px 20px;
    text-align: center;
}

.stat-number {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.82rem;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* ===== SECTION HEADERS ===== */
.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-title {
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    margin-bottom: 12px;
}

.section-subtitle {
    font-size: 1rem;
    color: var(--text-secondary);
    max-width: 500px;
    margin: 0 auto;
}

/* ===== CASINO CARDS ===== */
.casinos-section {
    padding: 80px 0;
}

.casino-card {
    display: grid;
    grid-template-columns: 48px 1fr 280px;
    gap: 0;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.casino-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.casino-rank-1 {
    border-color: rgba(251, 191, 36, 0.3);
    background: rgba(251, 191, 36, 0.04);
}

.casino-rank-1:hover {
    border-color: rgba(251, 191, 36, 0.5);
    box-shadow: 0 8px 40px rgba(251, 191, 36, 0.1);
}

.casino-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border-right: 1px solid var(--border-glass);
}

.casino-rank span {
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--text-muted);
}

.casino-rank-1 .casino-rank span {
    color: var(--gold);
    font-size: 1.4rem;
    text-shadow: 0 0 20px var(--gold-glow);
}

.casino-main {
    display: flex;
    gap: 20px;
    padding: 24px;
    align-items: flex-start;
}

.casino-logo-wrap {
    flex-shrink: 0;
}

.casino-logo-placeholder {
    width: 72px;
    height: 72px;
    min-width: 72px;
    min-height: 72px;
    max-width: 72px;
    max-height: 72px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.65rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.7);
    text-align: center;
    overflow: hidden;
    flex-shrink: 0;
}

.casino-logo-img {
    display: block;
    width: 72px;
    height: 72px;
    max-width: 72px;
    max-height: 72px;
    object-fit: contain;
    border-radius: var(--radius-sm);
    padding: 6px;
}

.casino-info {
    flex: 1;
    min-width: 0;
}

.casino-name-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 6px;
}

.casino-name {
    font-size: 1.15rem;
    font-weight: 700;
}

.casino-badges {
    display: flex;
    gap: 6px;
}

.badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 100px;
    font-size: 0.7rem;
    font-weight: 600;
}

.badge-hot {
    background: rgba(239, 68, 68, 0.15);
    color: #f87171;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.badge-new {
    background: rgba(34, 197, 94, 0.15);
    color: #4ade80;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

.badge-trusted {
    background: rgba(59, 130, 246, 0.15);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.2);
}

.casino-rating {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 8px;
}

.stars {
    color: var(--gold);
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.rating-score {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--gold);
}

.rating-count {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.casino-desc {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 12px;
    line-height: 1.6;
}

.casino-features {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.feature {
    font-size: 0.78rem;
    color: var(--text-muted);
    background: rgba(255, 255, 255, 0.04);
    padding: 4px 10px;
    border-radius: var(--radius-xs);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

/* Bonus Area */
.casino-bonus-area {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 24px;
    background: rgba(255, 255, 255, 0.02);
    border-left: 1px solid var(--border-glass);
    gap: 12px;
}

.bonus-card {
    text-align: center;
    width: 100%;
}

.bonus-tag {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    font-weight: 600;
    margin-bottom: 4px;
}

.bonus-amount {
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(135deg, var(--gold), #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.1;
}

.bonus-detail {
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--accent);
    margin-top: 2px;
}

.bonus-terms {
    font-size: 0.72rem;
    color: var(--text-muted);
    margin-top: 6px;
}

.btn-play {
    display: block;
    width: 100%;
    padding: 12px 24px;
    background: linear-gradient(135deg, var(--eth-green), var(--eth-green-dark));
    color: #fff;
    font-weight: 700;
    font-size: 0.9rem;
    border-radius: var(--radius-sm);
    text-align: center;
    transition: all var(--transition);
    box-shadow: 0 4px 16px var(--accent-glow);
}

.btn-play:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 24px var(--accent-glow);
    filter: brightness(1.1);
}

.btn-review {
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    transition: color var(--transition);
}

.btn-review:hover {
    color: var(--text-primary);
}

/* ===== HOW WE RATE ===== */
.rate-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
}

.rate-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.rate-card {
    padding: 32px 28px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius);
    transition: all var(--transition);
    backdrop-filter: blur(10px);
}

.rate-card:hover {
    background: var(--bg-glass-hover);
    border-color: var(--border-glass-hover);
    transform: translateY(-4px);
    box-shadow: var(--shadow);
}

.rate-icon {
    font-size: 2rem;
    margin-bottom: 16px;
}

.rate-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.rate-card p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ===== BONUSES TABLE ===== */
.bonuses-section {
    padding: 80px 0;
}

.table-wrap {
    overflow-x: auto;
    border-radius: var(--radius);
    border: 1px solid var(--border-glass);
    background: var(--bg-glass);
    backdrop-filter: blur(10px);
}

.bonus-table {
    width: 100%;
    border-collapse: collapse;
}

.bonus-table th {
    padding: 16px 20px;
    text-align: left;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-muted);
    border-bottom: 1px solid var(--border-glass);
    white-space: nowrap;
}

.bonus-table td {
    padding: 16px 20px;
    font-size: 0.9rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    white-space: nowrap;
}

.bonus-table tr:last-child td {
    border-bottom: none;
}

.bonus-table tr:hover {
    background: rgba(255, 255, 255, 0.03);
}

.table-rank {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.06);
    font-weight: 700;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.highlight {
    color: var(--gold);
    font-weight: 700;
}

.btn-table {
    display: inline-block;
    padding: 8px 20px;
    background: linear-gradient(135deg, var(--eth-green), var(--eth-green-dark));
    color: #fff;
    font-weight: 600;
    font-size: 0.82rem;
    border-radius: var(--radius-xs);
    transition: all var(--transition);
}

.btn-table:hover {
    filter: brightness(1.15);
    transform: translateY(-1px);
}

/* ===== FAQ ===== */
.faq-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(255, 255, 255, 0.02) 50%, transparent 100%);
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    border-bottom: 1px solid var(--border-glass);
}

.faq-item:last-child {
    border-bottom: none;
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 0;
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    font-family: inherit;
    transition: color var(--transition);
}

.faq-question:hover {
    color: var(--accent);
}

.faq-toggle {
    font-size: 1.4rem;
    font-weight: 300;
    color: var(--text-muted);
    transition: transform var(--transition);
    flex-shrink: 0;
    margin-left: 16px;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.faq-answer p {
    padding-bottom: 20px;
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.7;
}

/* ===== SEO CONTENT ===== */
.seo-content {
    padding: 80px 0;
}

.content-article {
    max-width: 800px;
    margin: 0 auto;
}

.content-article h2 {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 20px;
    letter-spacing: -0.02em;
}

.content-article h3 {
    font-size: 1.2rem;
    font-weight: 700;
    margin-top: 32px;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.content-article p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 16px;
}

/* ===== FOOTER ===== */
.footer {
    padding: 60px 0 30px;
    border-top: 1px solid var(--border-glass);
    background: rgba(0, 0, 0, 0.3);
}

.footer-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.5fr;
    gap: 40px;
    margin-bottom: 40px;
}

.footer-logo {
    margin-bottom: 16px;
}

.footer-desc {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-col h4 {
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: 10px;
}

.footer-col a {
    font-size: 0.88rem;
    color: var(--text-muted);
    transition: color var(--transition);
}

.footer-col a:hover {
    color: var(--text-primary);
}

.footer-disclaimer {
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 24px;
    border-top: 1px solid var(--border-glass);
}

.footer-bottom p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-badges-row {
    display: flex;
    gap: 12px;
}

.footer-badge {
    font-size: 0.75rem;
    padding: 4px 12px;
    background: var(--bg-glass);
    border: 1px solid var(--border-glass);
    border-radius: 100px;
    color: var(--text-muted);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .casino-card {
        grid-template-columns: 40px 1fr;
    }

    .casino-bonus-area {
        grid-column: 1 / -1;
        flex-direction: row;
        border-left: none;
        border-top: 1px solid var(--border-glass);
        padding: 20px 24px;
        align-items: center;
    }

    .bonus-card {
        text-align: left;
        display: flex;
        align-items: center;
        gap: 16px;
    }

    .bonus-amount {
        font-size: 1.5rem;
    }

    .btn-play {
        width: auto;
        white-space: nowrap;
    }

    .footer-grid {
        grid-template-columns: 1fr 1fr;
        gap: 32px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
        position: fixed;
        top: 60px;
        left: 0;
        right: 0;
        background: rgba(10, 14, 23, 0.95);
        backdrop-filter: blur(20px);
        padding: 24px;
        flex-direction: column;
        gap: 16px;
        border-bottom: 1px solid var(--border-glass);
    }

    .nav.active {
        display: flex;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero {
        padding: 120px 0 60px;
    }

    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .casino-card {
        grid-template-columns: 1fr;
    }

    .casino-rank {
        display: none;
    }

    .casino-main {
        flex-direction: column;
        gap: 12px;
    }

    .casino-logo-placeholder {
        width: 56px;
        height: 56px;
    }

    .casino-bonus-area {
        flex-direction: column;
    }

    .bonus-card {
        flex-direction: column;
        text-align: center;
    }

    .btn-play {
        width: 100%;
    }

    .rate-grid {
        grid-template-columns: 1fr;
    }

    .footer-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }

    .section-title {
        font-size: 1.6rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 16px;
    }

    .hero-title {
        font-size: 2rem;
    }

    .casino-features {
        gap: 6px;
    }

    .feature {
        font-size: 0.72rem;
        padding: 3px 8px;
    }

    .bonus-table {
        font-size: 0.82rem;
    }

    .bonus-table th,
    .bonus-table td {
        padding: 12px 12px;
    }
}

/* ===== ANIMATIONS ===== */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-card {
    animation: fadeInUp 0.5s ease forwards;
    opacity: 0;
}

.casino-card:nth-child(1) { animation-delay: 0.05s; }
.casino-card:nth-child(2) { animation-delay: 0.1s; }
.casino-card:nth-child(3) { animation-delay: 0.15s; }
.casino-card:nth-child(4) { animation-delay: 0.2s; }
.casino-card:nth-child(5) { animation-delay: 0.25s; }
.casino-card:nth-child(6) { animation-delay: 0.3s; }
.casino-card:nth-child(7) { animation-delay: 0.35s; }
.casino-card:nth-child(8) { animation-delay: 0.4s; }
.casino-card:nth-child(9) { animation-delay: 0.45s; }
.casino-card:nth-child(10) { animation-delay: 0.5s; }
