/* CROATIA CASINO HUB - Main Stylesheet */
/* Color Palette: Deep Purple (#1b1033) + Amber (#ffc107) */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-purple: #1b1033;
    --accent-amber: #ffc107;
    --light-bg: #f5f5f5;
    --white: #ffffff;
    --text-dark: #333333;
    --text-light: #666666;
    --border-color: #e0e0e0;
}

body {
    font-family: 'Inter', 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Arial, sans-serif;
    background-color: var(--light-bg);
    color: var(--text-dark);
    line-height: 1.6;
    font-size: 16px;
}

/* Age Gate Overlay */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(27, 16, 51, 0.98);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in;
}

.age-gate-content {
    background: var(--white);
    padding: 3rem;
    border-radius: 12px;
    text-align: center;
    max-width: 500px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.age-gate-content h2 {
    color: var(--primary-purple);
    margin-bottom: 1rem;
    font-size: 2rem;
}

.age-gate-content p {
    color: var(--text-light);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

.age-gate-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-gate-btn {
    padding: 0.875rem 2.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.age-gate-btn.confirm {
    background-color: var(--accent-amber);
    color: var(--primary-purple);
}

.age-gate-btn.confirm:hover {
    background-color: #ffca28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.age-gate-btn.deny {
    background-color: transparent;
    color: var(--text-light);
    border: 2px solid var(--border-color);
}

.age-gate-btn.deny:hover {
    background-color: #f5f5f5;
}

/* Header */
header {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 1.5rem 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

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

.logo-section {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.hr-flag {
    width: 32px;
    height: auto;
}

.site-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--accent-amber);
    text-decoration: none;
}

.site-tagline {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 0.25rem;
}

/* Navigation */
nav {
    background-color: var(--white);
    border-bottom: 3px solid var(--accent-amber);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.nav-menu {
    list-style: none;
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.nav-menu li a {
    display: block;
    padding: 1rem 1.5rem;
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.nav-menu li a:hover,
.nav-menu li a.active {
    color: var(--primary-purple);
    border-bottom-color: var(--accent-amber);
}

/* Main Content */
main {
    max-width: 1200px;
    margin: 2rem auto;
    padding: 0 2rem;
    min-height: calc(100vh - 400px);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, var(--primary-purple) 0%, #2d1b4e 100%);
    color: var(--white);
    padding: 4rem 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 3rem;
    box-shadow: 0 5px 20px rgba(27, 16, 51, 0.3);
}

.hero-section h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--accent-amber);
}

.hero-section .subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.875rem 2rem;
    background-color: var(--accent-amber);
    color: var(--primary-purple);
    text-decoration: none;
    border-radius: 6px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn:hover {
    background-color: #ffca28;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.4);
}

.btn-secondary {
    background-color: transparent;
    border: 2px solid var(--accent-amber);
    color: var(--accent-amber);
}

.btn-secondary:hover {
    background-color: var(--accent-amber);
    color: var(--primary-purple);
}

/* Casino Cards Grid */
.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.casino-card {
    background: var(--white);
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(27, 16, 51, 0.15);
    border-color: var(--accent-amber);
}

.casino-logo {
    width: 100%;
    max-width: 180px;
    height: 80px;
    object-fit: contain;
    margin-bottom: 1rem;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.casino-logo-placeholder {
    width: 180px;
    height: 80px;
    background: linear-gradient(135deg, #f5f5f5 0%, #e0e0e0 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    color: var(--text-light);
    font-size: 0.875rem;
    text-align: center;
    padding: 0.5rem;
}

.casino-header {
    text-align: center;
    margin-bottom: 1.5rem;
}

.casino-name {
    font-size: 1.5rem;
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.casino-category {
    font-size: 0.75rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.casino-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent-amber);
    font-size: 1.25rem;
    letter-spacing: 2px;
}

.rating-number {
    font-weight: 700;
    color: var(--primary-purple);
    font-size: 1.125rem;
}

.casino-badges {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.badge {
    padding: 0.375rem 0.875rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-licensed {
    background-color: #4caf50;
    color: var(--white);
}

.casino-bonus {
    background-color: #fff8e1;
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-amber);
}

.casino-bonus strong {
    color: var(--primary-purple);
    display: block;
    margin-bottom: 0.5rem;
}

.bonus-text {
    color: var(--text-dark);
    font-size: 1rem;
    font-weight: 600;
}

.bonus-validity {
    font-size: 0.875rem;
    color: var(--text-light);
    margin-top: 0.5rem;
}

.casino-operator {
    font-size: 0.875rem;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 1rem;
}

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

/* Disclaimer */
.disclaimer {
    background-color: #fff3cd;
    border-left: 4px solid #ff9800;
    padding: 1rem;
    margin: 2rem 0;
    border-radius: 6px;
}

.disclaimer p {
    color: var(--text-dark);
    font-size: 0.875rem;
    font-weight: 500;
}

/* Content Sections */
.content-section {
    background: var(--white);
    padding: 2rem;
    border-radius: 12px;
    margin-bottom: 2rem;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.08);
}

.content-section h1 {
    color: var(--primary-purple);
    font-size: 2rem;
    margin-bottom: 1.5rem;
    border-bottom: 3px solid var(--accent-amber);
    padding-bottom: 0.5rem;
}

.content-section h2 {
    color: var(--primary-purple);
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content-section p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.content-section ul {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.content-section li {
    margin-bottom: 0.5rem;
    line-height: 1.8;
}

/* FAQ Section */
.faq-item {
    background: var(--white);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-amber);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05);
}

.faq-question {
    color: var(--primary-purple);
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
}

.faq-answer {
    color: var(--text-dark);
    line-height: 1.8;
}

/* Responsible Gaming Banner */
.warning-banner {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: var(--white);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
}

.warning-banner h2 {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.warning-banner p {
    font-size: 1.125rem;
}

/* Resources List */
.resources-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-card {
    background: var(--white);
    padding: 1.5rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.resource-card:hover {
    border-color: var(--accent-amber);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.resource-card h3 {
    color: var(--primary-purple);
    margin-bottom: 0.5rem;
}

.resource-card a {
    color: var(--accent-amber);
    font-weight: 600;
    text-decoration: none;
}

.resource-card a:hover {
    text-decoration: underline;
}

/* Contact Info */
.contact-info {
    background: var(--white);
    padding: 2rem;
    border-radius: 8px;
    border-left: 4px solid var(--accent-amber);
}

.contact-info p {
    margin-bottom: 1rem;
    font-size: 1rem;
}

.contact-info strong {
    color: var(--primary-purple);
}

/* Footer */
footer {
    background-color: var(--primary-purple);
    color: var(--white);
    padding: 3rem 0 1.5rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    color: var(--accent-amber);
    margin-bottom: 1rem;
    font-size: 1.125rem;
}

.footer-section p,
.footer-section ul {
    font-size: 0.875rem;
    line-height: 1.8;
    opacity: 0.9;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--accent-amber);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 1.5rem;
    text-align: center;
}

.footer-legal {
    font-size: 0.875rem;
    opacity: 0.9;
    margin-bottom: 1rem;
}

.footer-nav {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.footer-nav a {
    color: var(--white);
    text-decoration: none;
    font-size: 0.875rem;
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--accent-amber);
}

.footer-copyright {
    font-size: 0.75rem;
    opacity: 0.7;
    margin-top: 1rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }

    .nav-menu {
        flex-direction: column;
        gap: 0;
    }

    .nav-menu li a {
        text-align: center;
    }

    .hero-section h1 {
        font-size: 1.75rem;
    }

    .hero-section .subtitle {
        font-size: 1rem;
    }

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

    .age-gate-content {
        padding: 2rem;
        margin: 1rem;
    }

    .age-gate-buttons {
        flex-direction: column;
    }

    main {
        padding: 0 1rem;
    }

    .footer-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 2rem 1rem;
    }

    .content-section {
        padding: 1.5rem;
    }

    .casino-card {
        padding: 1.5rem;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

/* Print Styles */
@media print {
    .age-gate-overlay,
    nav,
    footer,
    .btn {
        display: none;
    }
}
