/* casino-use.xyz - EU Gambling Regulations Reference */
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-dark: #0f172a;
    --secondary-gray: #334155;
    --accent-cyan: #06b6d4;
    --warning-orange: #f97316;
    --success-green: #22c55e;
    --bg-white: #ffffff;
    --text-dark: #0b1220;
    --text-muted: #64748b;
    --border-light: #e2e8f0;
    --border-medium: #cbd5e1;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

body {
    font-family: 'Source Sans 3', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    line-height: 1.7;
    color: var(--text-dark);
    background-color: var(--bg-white);
    font-weight: 400;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'IBM Plex Sans', 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

h1 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

h2 {
    font-size: 2rem;
    margin-top: 2.5rem;
    margin-bottom: 1.25rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--border-light);
}

h3 {
    font-size: 1.5rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

h4 {
    font-size: 1.25rem;
    margin-top: 1.5rem;
}

p {
    margin-bottom: 1.25rem;
    max-width: 75ch;
}

a {
    color: var(--accent-cyan);
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #0891b2;
    text-decoration: underline;
}

code {
    font-family: 'JetBrains Mono', 'Courier New', monospace;
    background-color: #f1f5f9;
    padding: 0.2rem 0.4rem;
    border-radius: 3px;
    font-size: 0.9em;
}

/* Header */
.regulatory-header {
    background-color: var(--primary-dark);
    border-bottom: 3px solid var(--accent-cyan);
    padding: 1.5rem 0;
    box-shadow: 0 2px 8px rgba(15, 23, 42, 0.1);
}

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

.site-brand {
    font-family: 'IBM Plex Sans', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--bg-white);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.site-brand:hover {
    color: var(--accent-cyan);
    text-decoration: none;
}

.brand-icon {
    width: 32px;
    height: 32px;
    background: var(--accent-cyan);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.primary-nav {
    display: flex;
    gap: 2rem;
    align-items: center;
}

.primary-nav a {
    color: #e2e8f0;
    font-weight: 500;
    font-size: 0.95rem;
    padding: 0.5rem 0;
    border-bottom: 2px solid transparent;
    transition: all 0.2s ease;
}

.primary-nav a:hover {
    color: var(--accent-cyan);
    border-bottom-color: var(--accent-cyan);
    text-decoration: none;
}

/* Breadcrumb */
.breadcrumb {
    background-color: #f8fafc;
    border-bottom: 1px solid var(--border-light);
    padding: 0.75rem 0;
}

.breadcrumb ol {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    list-style: none;
    display: flex;
    gap: 0.5rem;
    align-items: center;
    font-size: 0.9rem;
}

.breadcrumb li {
    color: var(--text-muted);
}

.breadcrumb a {
    color: var(--accent-cyan);
}

/* Main Content */
.content-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
}

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

/* Page Title Section */
.page-header {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 3px solid var(--border-light);
}

.page-title {
    margin-bottom: 1rem;
}

.page-description {
    font-size: 1.15rem;
    color: var(--text-muted);
    max-width: 70ch;
}

/* Status Badges */
.status-badge {
    display: inline-block;
    padding: 0.35rem 0.85rem;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.status-legal {
    background-color: #dcfce7;
    color: #166534;
    border: 1px solid #86efac;
}

.status-restricted {
    background-color: #fed7aa;
    color: #9a3412;
    border: 1px solid #fdba74;
}

.status-prohibited {
    background-color: #fee2e2;
    color: #991b1b;
    border: 1px solid #fca5a5;
}

.status-unclear {
    background-color: #e0e7ff;
    color: #3730a3;
    border: 1px solid #c7d2fe;
}

/* Info Boxes */
.info-box {
    background-color: #f0f9ff;
    border-left: 4px solid var(--accent-cyan);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.warning-box {
    background-color: #fff7ed;
    border-left: 4px solid var(--warning-orange);
    padding: 1.5rem;
    margin: 2rem 0;
    border-radius: 4px;
}

.disclaimer-box {
    background-color: #fef3c7;
    border: 2px solid #f59e0b;
    padding: 1.5rem;
    margin: 2.5rem 0;
    border-radius: 6px;
}

.disclaimer-box h3 {
    color: #92400e;
    margin-top: 0;
    font-size: 1.1rem;
}

/* Tables */
table {
    width: 100%;
    border-collapse: collapse;
    margin: 2rem 0;
    font-size: 0.95rem;
}

thead {
    background-color: var(--primary-dark);
    color: white;
}

th {
    padding: 1rem;
    text-align: left;
    font-weight: 600;
}

td {
    padding: 1rem;
    border-bottom: 1px solid var(--border-light);
}

tbody tr:hover {
    background-color: #f8fafc;
}

tbody tr:nth-child(even) {
    background-color: #fafbfc;
}

/* Lists */
ul, ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

li {
    margin-bottom: 0.75rem;
    line-height: 1.7;
}

ul li::marker {
    color: var(--accent-cyan);
}

/* Country Grid */
.country-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.country-card {
    background: white;
    border: 1px solid var(--border-light);
    border-radius: 6px;
    padding: 1.5rem;
    transition: all 0.2s ease;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.05);
}

.country-card:hover {
    border-color: var(--accent-cyan);
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.15);
    transform: translateY(-2px);
}

.country-card h3 {
    margin-top: 0;
    margin-bottom: 0.75rem;
    font-size: 1.25rem;
}

.country-card a {
    font-weight: 600;
}

/* Glossary */
.glossary-term {
    margin-bottom: 2.5rem;
}

.glossary-term dt {
    font-size: 1.25rem;
    font-weight: 700;
    color: var(--primary-dark);
    margin-bottom: 0.5rem;
}

.glossary-term dd {
    margin-left: 0;
    padding-left: 1.5rem;
    border-left: 3px solid var(--accent-cyan);
}

/* Key Facts Panel */
.key-facts-panel {
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border: 2px solid var(--border-medium);
    border-radius: 8px;
    padding: 2rem;
    margin: 2.5rem 0;
}

.key-facts-panel h3 {
    margin-top: 0;
    color: var(--primary-dark);
}

.fact-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
    align-items: flex-start;
}

.fact-label {
    font-weight: 700;
    color: var(--secondary-gray);
    min-width: 140px;
}

.fact-value {
    color: var(--text-dark);
}

/* Footer */
.regulatory-footer {
    background-color: var(--primary-dark);
    color: #cbd5e1;
    padding: 3rem 0 1.5rem;
    margin-top: 5rem;
    border-top: 3px solid var(--accent-cyan);
}

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

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

.footer-section h4 {
    color: white;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

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

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

.footer-links a {
    color: #cbd5e1;
    font-size: 0.95rem;
}

.footer-links a:hover {
    color: var(--accent-cyan);
}

.footer-bottom {
    border-top: 1px solid #334155;
    padding-top: 1.5rem;
    margin-top: 2rem;
    text-align: center;
    font-size: 0.9rem;
    color: #94a3b8;
}

/* Responsive */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .header-container {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .primary-nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 1rem;
    }

    .content-wrapper {
        padding: 2rem 1rem;
    }

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

    table {
        font-size: 0.85rem;
    }

    th, td {
        padding: 0.75rem 0.5rem;
    }

    .fact-item {
        flex-direction: column;
        gap: 0.25rem;
    }
}

@media (max-width: 480px) {
    html {
        font-size: 14px;
    }

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

/* Utility Classes */
.text-center {
    text-align: center;
}

.mt-3 {
    margin-top: 3rem;
}

.mb-3 {
    margin-bottom: 3rem;
}

.legal-code {
    font-family: 'JetBrains Mono', monospace;
    font-size: 0.9rem;
    color: var(--secondary-gray);
}
