/* Premium Mediterranean Casino Architecture Style */

:root {
    --bg-main: #0c0f14;
    --bg-surface: #131922;
    --bg-surface-alt: #1a222f;
    --primary: #f59e0b;
    --primary-hover: #d97706;
    --accent: #dc2626;
    --accent-glow: rgba(220, 38, 38, 0.4);
    --text-main: #f3f4f6;
    --text-muted: #9ca3af;
    --border-color: #243042;
    --border-glow: rgba(245, 158, 11, 0.25);
    --font-stack: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    --max-width: 1200px;
    --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.7;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}
::-webkit-scrollbar-track {
    background: var(--bg-main);
}
::-webkit-scrollbar-thumb {
    background: var(--border-color);
    border-radius: 5px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Main Header & Navbar */
.main-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(12, 15, 20, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.header-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

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

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: var(--transition-smooth);
    position: relative;
    padding: 6px 0;
}

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

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary);
    transition: var(--transition-smooth);
}

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

/* Buttons */
.btn-primary {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #000;
    font-weight: 700;
    text-decoration: none;
    padding: 14px 32px;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.3);
    transition: var(--transition-smooth);
    border: none;
    cursor: pointer;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(245, 158, 11, 0.5);
}

.btn-primary-mini {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary), var(--primary-hover));
    color: #000;
    font-weight: 700;
    text-decoration: none;
    padding: 10px 20px;
    border-radius: 6px;
    font-size: 13px;
    transition: var(--transition-smooth);
}

.btn-primary-mini:hover {
    box-shadow: 0 0 15px var(--primary);
}

.btn-secondary {
    display: inline-block;
    background: transparent;
    color: var(--text-main);
    font-weight: 600;
    text-decoration: none;
    padding: 13px 31px;
    border-radius: 8px;
    border: 1px solid var(--border-color);
    transition: var(--transition-smooth);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--text-muted);
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 160px 0 100px 0;
    background: radial-gradient(circle at 80% 20%, #1e1b18 0%, var(--bg-main) 70%);
    border-bottom: 1px solid var(--border-color);
}

.hero-content-wrapper {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 48px;
    align-items: center;
}

.hero-text h1 {
    font-size: 42px;
    line-height: 1.2;
    font-weight: 800;
    margin-bottom: 24px;
    background: linear-gradient(to right, #ffffff, #f59e0b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text p {
    color: var(--text-muted);
    font-size: 16px;
    margin-bottom: 20px;
}

.badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    margin-top: 32px;
}

/* Premium Figure & Responsive Images */
.premium-figure {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    box-shadow: 0 20px 40px rgba(0,0,0,0.5);
    transition: var(--transition-smooth);
}

.premium-figure:hover {
    border-color: var(--primary);
    box-shadow: 0 25px 50px var(--border-glow);
}

.premium-figure img {
    width: 100%;
    display: block;
    height: auto;
    transition: transform 0.6s ease;
}

.premium-figure:hover img {
    transform: scale(1.03);
}

figcaption {
    background: rgba(19, 25, 34, 0.9);
    padding: 12px 18px;
    font-size: 13px;
    color: var(--text-muted);
    border-top: 1px solid var(--border-color);
    text-align: center;
}

/* Content Layout Containers */
.content-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 60px 24px;
}

.content-section {
    padding: 80px 0;
    border-bottom: 1px solid rgba(36, 48, 66, 0.4);
}

.section-header {
    margin-bottom: 40px;
}

.section-header h2 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 12px;
}

.accent-line {
    width: 60px;
    height: 4px;
    background: var(--primary);
    border-radius: 2px;
}

.section-lead {
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 32px;
}

/* Grids and Columns */
.two-column-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 40px;
    align-items: center;
}

.two-column-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

.cards-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 32px;
    margin-top: 40px;
}

/* Premium Table Styles */
.table-responsive-wrapper {
    width: 100%;
    overflow-x: auto;
    background: var(--bg-surface);
    border-radius: 12px;
    border: 1px solid var(--border-color);
}

.premium-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 15px;
}

.premium-table th, .premium-table td {
    padding: 18px 24px;
    border-bottom: 1px solid var(--border-color);
}

.premium-table thead th {
    background: var(--bg-surface-alt);
    color: var(--primary);
    font-weight: 700;
    text-transform: uppercase;
    font-size: 13px;
    letter-spacing: 0.5px;
}

.premium-table tbody tr:last-child th,
.premium-table tbody tr:last-child td {
    border-bottom: none;
}

.premium-table tbody tr:hover {
    background: rgba(255, 255, 255, 0.02);
}

.premium-table tbody th {
    font-weight: 600;
    color: #ffffff;
    width: 30%;
    background: rgba(0, 0, 0, 0.1);
}

/* Ratings Table Additions */
.rating-badge {
    background: rgba(245, 158, 11, 0.15);
    color: var(--primary);
    padding: 4px 12px;
    border-radius: 4px;
    font-weight: 700;
    border: 1px solid rgba(245, 158, 11, 0.3);
}
.rating-high {
    background: rgba(16, 185, 129, 0.15);
    color: #10b981;
    border-color: rgba(16, 185, 129, 0.3);
}
.rating-low {
    background: rgba(239, 68, 68, 0.15);
    color: #ef4444;
    border-color: rgba(239, 68, 68, 0.3);
}

/* Blockquote & Lists */
.premium-blockquote {
    background: linear-gradient(to right, rgba(220, 38, 38, 0.1), transparent);
    border-left: 4px solid var(--accent);
    padding: 24px;
    border-radius: 0 8px 8px 0;
    margin: 32px 0;
    font-style: italic;
}

.premium-ordered-list {
    list-style: none;
}

.premium-ordered-list li {
    display: flex;
    gap: 16px;
    align-items: flex-start;
    margin-bottom: 20px;
    font-size: 15px;
}

.premium-ordered-list li span {
    background: var(--bg-surface-alt);
    color: var(--primary);
    border: 1px solid var(--border-color);
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    font-weight: 700;
    font-size: 13px;
    flex-shrink: 0;
    margin-top: 2px;
}

/* Premium Dynamic Cards */
.premium-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 32px;
    border-radius: 12px;
    transition: var(--transition-smooth);
}

.premium-card:hover {
    transform: translateY(-4px);
    border-color: var(--border-color);
    box-shadow: 0 12px 30px rgba(0,0,0,0.4);
}

.highlight-card {
    border-color: rgba(245, 158, 11, 0.3);
    background: linear-gradient(145deg, var(--bg-surface), #18202c);
}

.premium-card h3 {
    font-size: 20px;
    color: #ffffff;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-color);
    padding-bottom: 12px;
}

.card-list, .card-list-unordered {
    list-style-position: inside;
}

.card-list li, .card-list-unordered li {
    margin-bottom: 12px;
    color: var(--text-muted);
    font-size: 14.5px;
}

/* Pros & Cons Architecture */
.premium-list {
    list-style: none;
}

.premium-list li {
    position: relative;
    padding-left: 28px;
    margin-bottom: 16px;
    font-size: 15px;
}

.pros-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #10b981;
    font-weight: 700;
}

.cons-list li::before {
    content: '✕';
    position: absolute;
    left: 0;
    color: #ef4444;
    font-weight: 700;
}

/* Profiles */
.profile-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
}

.profile-card.recommended {
    border-top: 4px solid #10b981;
}

.profile-card.avoid {
    border-top: 4px solid #ef4444;
}

.profile-card h2 {
    font-size: 22px;
    margin-bottom: 16px;
}

/* Responsible Gaming Callout */
.responsible-gaming-box {
    background: linear-gradient(135deg, #1a1515 0%, #0c0f14 100%);
    border: 1px solid rgba(239, 68, 68, 0.2);
    padding: 40px;
    border-radius: 12px;
}

/* Decorative Card Section */
.decorative-stat-card {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    padding: 40px;
    border-radius: 12px;
    text-align: center;
}
.icon-shield {
    font-size: 48px;
    margin-bottom: 16px;
}

/* FAQ Accordion Styling */
.faq-accordion-wrapper {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 32px;
}

.faq-item {
    background: var(--bg-surface);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.faq-trigger {
    width: 100%;
    background: none;
    border: none;
    padding: 20px 24px;
    text-align: left;
    color: #ffffff;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-icon {
    width: 16px;
    height: 16px;
    position: relative;
}

.faq-icon::before, .faq-icon::after {
    content: '';
    position: absolute;
    background: var(--text-muted);
    transition: var(--transition-smooth);
}

.faq-icon::before {
    top: 7px;
    left: 0;
    width: 100%;
    height: 2px;
}

.faq-icon::after {
    top: 0;
    left: 7px;
    width: 2px;
    height: 100%;
}

.faq-item.active .faq-icon::after {
    transform: rotate(90deg);
    opacity: 0;
}

.faq-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.16, 1, 0.3, 1);
}

.faq-content p {
    padding: 0 24px 24px 24px;
    color: var(--text-muted);
    font-size: 15px;
}

/* Reveal Animations Framework */
.reveal-section {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.reveal-section.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* Footer Structuring */
.main-footer {
    background: #06080b;
    border-top: 1px solid var(--border-color);
    padding: 60px 0 30px 0;
    font-size: 14px;
    color: var(--text-muted);
}

.footer-container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 24px;
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 48px;
    margin-bottom: 40px;
}

.footer-brand p {
    margin-top: 16px;
    max-width: 320px;
}

.footer-links-group h4 {
    color: #ffffff;
    margin-bottom: 20px;
    font-size: 15px;
}

.footer-links-group a {
    display: block;
    color: var(--text-muted);
    text-decoration: none;
    margin-bottom: 12px;
    transition: var(--transition-smooth);
}

.footer-links-group a:hover {
    color: var(--primary);
}

.age-restriction {
    display: block;
    margin-top: 20px;
    color: var(--accent);
    font-weight: 700;
}

.footer-bottom {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 30px 24px 0 24px;
    border-top: 1px solid var(--border-color);
    text-align: center;
    font-size: 13px;
}

/* Responsive Infrastructure (1920px down to 360px support safely) */
@media (max-width: 1024px) {
    .hero-content-wrapper, .two-column-grid, .two-column-layout {
        grid-template-columns: 1fr;
        gap: 40px;
    }
    .inverse-flow {
        display: flex;
        flex-direction: column-reverse;
    }
    .nav-menu {
        display: none; /* Desktop menu hidden, safe linear conversion for extreme speed and performance score */
    }
}

@media (max-width: 768px) {
    .cards-grid {
        grid-template-columns: 1fr;
    }
    .footer-container {
        grid-template-columns: 1fr;
        gap: 32px;
    }
    .hero-text h1 {
        font-size: 32px;
    }
}
