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

:root {
    --primary: #16a34a;
    --primary-dark: #15803d;
    --accent: #f59e0b;
    --accent-dark: #d97706;
    --background: #f8fafc;
    --foreground: #0f172a;
    --card: #ffffff;
    --card-border: #e2e8f0;
    --muted: #64748b;
    --footer-bg: #1e293b;
    --footer-text: #cbd5e1;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--background);
    color: var(--foreground);
    line-height: 1.6;
}

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    position: sticky;
    top: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--card-border);
    z-index: 1000;
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 800;
    font-size: 1.25rem;
    color: var(--foreground);
}

.logo img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
}

.nav-desktop {
    display: none;
    align-items: center;
    gap: 32px;
}

.nav-desktop a {
    font-weight: 500;
    color: var(--muted);
    transition: color 0.2s;
}

.nav-desktop a:hover {
    color: var(--primary);
}

.age-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: #fef2f2;
    color: #dc2626;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
}

.hamburger {
    display: flex;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.hamburger span {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--foreground);
    transition: all 0.3s;
}

.mobile-nav {
    display: none;
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: white;
    border-bottom: 1px solid var(--card-border);
    padding: 20px;
}

.mobile-nav.active {
    display: block;
}

.mobile-nav a {
    display: block;
    padding: 12px 0;
    font-weight: 500;
    color: var(--muted);
    border-bottom: 1px solid var(--card-border);
}

.mobile-nav a:last-child {
    border-bottom: none;
}

@media (min-width: 768px) {
    .nav-desktop {
        display: flex;
    }
    .hamburger {
        display: none;
    }
}

/* Hero Section */
.hero {
    position: relative;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 100%);
    padding: 80px 20px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('../images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.3;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.hero-badge {
    display: inline-block;
    background: rgba(22, 163, 74, 0.2);
    color: #4ade80;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 24px;
}

.hero h1 {
    font-size: 2.5rem;
    font-weight: 800;
    color: white;
    line-height: 1.2;
    margin-bottom: 20px;
}

.hero h1 span {
    color: var(--accent);
}

.hero p {
    font-size: 1.125rem;
    color: #94a3b8;
    margin-bottom: 32px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.trust-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 16px;
}

.trust-badge {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 255, 255, 0.1);
    padding: 10px 16px;
    border-radius: 8px;
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.trust-badge svg {
    width: 20px;
    height: 20px;
    color: var(--primary);
}

@media (min-width: 768px) {
    .hero {
        padding: 120px 20px;
    }
    .hero h1 {
        font-size: 3.5rem;
    }
}

/* Casino List Section */
.casino-section {
    padding: 60px 20px;
}

.section-header {
    text-align: center;
    margin-bottom: 48px;
}

.section-header h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.section-header p {
    color: var(--muted);
    font-size: 1.125rem;
}

.casino-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.casino-card {
    background: var(--card);
    border: 1px solid var(--card-border);
    border-radius: 16px;
    padding: 24px;
    display: grid;
    gap: 20px;
    transition: box-shadow 0.3s, transform 0.3s;
}

.casino-card:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.1);
    transform: translateY(-2px);
}

.casino-card.featured {
    border: 2px solid var(--primary);
    position: relative;
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 24px;
    background: var(--primary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.casino-rank {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--background);
    border-radius: 50%;
    font-weight: 800;
    color: var(--primary);
    font-size: 1.25rem;
}

.casino-header {
    display: flex;
    align-items: center;
    gap: 16px;
}

.casino-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    border-radius: 8px;
    background: #f8fafc;
    padding: 8px;
}

.casino-info h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 4px;
}

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

.stars {
    display: flex;
    gap: 2px;
}

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

.star.empty {
    color: #e2e8f0;
}

.rating-text {
    font-weight: 600;
    color: var(--foreground);
}

.casino-pros {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.pro-tag {
    display: flex;
    align-items: center;
    gap: 4px;
    background: #f0fdf4;
    color: var(--primary-dark);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.875rem;
    font-weight: 500;
}

.pro-tag svg {
    width: 14px;
    height: 14px;
}

.casino-bonus {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    padding: 16px;
    border-radius: 12px;
    text-align: center;
}

.bonus-label {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 600;
    color: var(--accent-dark);
    margin-bottom: 4px;
}

.bonus-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--foreground);
}

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

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: var(--primary);
    color: white;
    padding: 14px 24px;
    border-radius: 10px;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    cursor: pointer;
    transition: background 0.2s, transform 0.2s;
}

.btn-primary:hover {
    background: var(--primary-dark);
    transform: scale(1.02);
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.terms-link {
    font-size: 0.75rem;
    color: var(--muted);
    text-align: center;
}

.terms-link a {
    color: var(--primary);
    text-decoration: underline;
}

@media (min-width: 768px) {
    .casino-card {
        grid-template-columns: auto 1fr auto auto;
        align-items: center;
        padding: 32px;
    }
    .casino-header {
        flex-direction: column;
        text-align: center;
    }
    .casino-info {
        text-align: left;
    }
    .casino-cta {
        min-width: 160px;
    }
}

/* About Section */
.about-section {
    padding: 80px 20px;
    background: white;
}

.about-grid {
    display: grid;
    gap: 32px;
    max-width: 1000px;
    margin: 0 auto;
}

.about-card {
    background: var(--background);
    padding: 32px;
    border-radius: 16px;
    text-align: center;
}

.about-icon {
    width: 64px;
    height: 64px;
    background: linear-gradient(135deg, var(--primary) 0%, #22c55e 100%);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.about-icon svg {
    width: 32px;
    height: 32px;
    color: white;
}

.about-card h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 12px;
}

.about-card p {
    color: var(--muted);
    line-height: 1.7;
}

@media (min-width: 768px) {
    .about-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Responsible Gambling Section */
.responsible-section {
    padding: 80px 20px;
    background: linear-gradient(135deg, #fef3c7 0%, #fef9c3 100%);
}

.responsible-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.responsible-icon {
    width: 80px;
    height: 80px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 24px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.responsible-icon svg {
    width: 40px;
    height: 40px;
    color: var(--accent);
}

.responsible-content h2 {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 16px;
}

.responsible-content > p {
    color: var(--muted);
    font-size: 1.125rem;
    margin-bottom: 40px;
}

.responsible-tips {
    display: grid;
    gap: 16px;
    text-align: left;
    margin-bottom: 40px;
}

.tip {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: white;
    padding: 16px 20px;
    border-radius: 12px;
}

.tip svg {
    width: 24px;
    height: 24px;
    color: var(--primary);
    flex-shrink: 0;
    margin-top: 2px;
}

.tip p {
    font-weight: 500;
}

.helpline-box {
    background: white;
    padding: 32px;
    border-radius: 16px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.helpline-box h3 {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.helpline-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
}

.helpline-box p {
    color: var(--muted);
    font-size: 0.875rem;
}

@media (min-width: 768px) {
    .responsible-tips {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Footer */
.footer {
    background: var(--footer-bg);
    color: var(--footer-text);
    padding: 60px 20px 30px;
}

.footer-grid {
    display: grid;
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.footer-brand p {
    margin-top: 16px;
    font-size: 0.875rem;
    line-height: 1.7;
}

.footer-section h4 {
    color: white;
    font-size: 1rem;
    font-weight: 700;
    margin-bottom: 20px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 12px;
}

.footer-links a {
    color: var(--footer-text);
    font-size: 0.875rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.awareness-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    align-items: center;
}

.awareness-logos img {
    height: 40px;
    width: auto;
    filter: brightness(0) invert(1);
    opacity: 0.7;
    transition: opacity 0.2s;
}

.awareness-logos img:hover {
    opacity: 1;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    margin-top: 48px;
    padding-top: 24px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.disclaimer {
    background: rgba(0, 0, 0, 0.2);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 24px;
}

.disclaimer h5 {
    color: white;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 8px;
}

.disclaimer p {
    font-size: 0.75rem;
    line-height: 1.7;
    color: #94a3b8;
}

.copyright {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    text-align: center;
}

.copyright p {
    font-size: 0.75rem;
    color: #64748b;
}

.bottom-links {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    justify-content: center;
}

.bottom-links a {
    font-size: 0.75rem;
    color: #94a3b8;
}

.bottom-links a:hover {
    color: white;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 2fr;
    }
    .copyright {
        flex-direction: row;
        justify-content: space-between;
    }
}

/* SVG Icons - Inline for simplicity */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
}
