/* ==========================================================================
   MidasMedicalRecruitment.com - Premium Luxury Theme & Design System
   ========================================================================== */

:root {
    --bg-dark: #070e17;
    --bg-gradient: radial-gradient(circle at 50% 0%, #152538 0%, #070e17 75%);
    --bg-card: rgba(15, 27, 43, 0.82);
    --bg-card-hover: rgba(22, 39, 61, 0.95);
    --border-gold: rgba(226, 176, 54, 0.35);
    --border-gold-glow: rgba(255, 215, 0, 0.6);
    --gold-primary: #e2b036;
    --gold-light: #fff099;
    --gold-dark: #b58316;
    --gold-gradient: linear-gradient(135deg, #fff2a1 0%, #e2b036 50%, #996a11 100%);
    --gold-btn-gradient: linear-gradient(180deg, #ffe575 0%, #d49e1e 100%);
    --gold-btn-hover: linear-gradient(180deg, #fff099 0%, #e8b22a 100%);
    --text-light: #f1f5f9;
    --text-sub: #94a3b8;
    --accent-red: #e63946;
    --radius-card: 20px;
    --radius-btn: 12px;
    --shadow-gold: 0 10px 30px rgba(226, 176, 54, 0.25);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    scroll-behavior: smooth;
}

body {
    min-height: 100vh;
    background: var(--bg-gradient);
    background-attachment: fixed;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

body.modal-open {
    overflow: hidden;
}

a {
    color: var(--gold-primary);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--gold-light);
}

/* Skip link for Accessibility */
.skip-link {
    position: absolute;
    top: -50px;
    left: 20px;
    background: var(--gold-primary);
    color: #000;
    padding: 10px 16px;
    font-weight: 700;
    border-radius: 6px;
    z-index: 10000;
    transition: top 0.2s ease;
}

.skip-link:focus {
    top: 20px;
}

/* 18+ Top Regulatory Notice Bar */
.top-notice-bar {
    background: rgba(10, 18, 28, 0.95);
    border-bottom: 1px solid rgba(226, 176, 54, 0.2);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 0.88rem;
    color: var(--text-sub);
    text-align: center;
}

.top-notice-bar img {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
}

.top-notice-bar strong {
    color: var(--gold-light);
}

/* Header & Navbar */
header[role="banner"] {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: rgba(7, 14, 23, 0.9);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(226, 176, 54, 0.15);
}

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

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

.brand-logo-link {
    display: flex;
    align-items: center;
}

.brand-logo-img {
    height: 48px;
    width: auto;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 32px;
    align-items: center;
}

.nav-link {
    font-family: 'Outfit', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    color: var(--text-sub);
    padding: 8px 12px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: var(--gold-light);
    background: rgba(226, 176, 54, 0.12);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    color: var(--gold-primary);
}

.mobile-menu-btn svg {
    fill: currentColor;
}

/* Mobile Navigation Overlay Drawer */
.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(7, 14, 23, 0.98);
    backdrop-filter: blur(20px);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 24px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.mobile-nav-overlay.active {
    opacity: 1;
    visibility: visible;
}

.close-mobile-menu {
    position: absolute;
    top: 24px;
    right: 24px;
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
    font-size: 1.5rem;
    width: 44px;
    height: 44px;
    border-radius: 50%;
    cursor: pointer;
}

.mobile-nav-overlay .nav-link {
    font-size: 1.3rem;
}

/* Hero Section */
.hero-section {
    padding: 60px 24px 40px 24px;
    text-align: center;
    max-width: 900px;
    margin: 0 auto;
}

.hero-badge {
    display: inline-block;
    padding: 6px 16px;
    background: rgba(226, 176, 54, 0.15);
    border: 1px solid var(--border-gold);
    border-radius: 30px;
    color: var(--gold-light);
    font-size: 0.85rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-bottom: 20px;
}

.hero-title {
    font-family: 'Outfit', sans-serif;
    font-size: 2.75rem;
    font-weight: 800;
    line-height: 1.2;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-sub);
    max-width: 720px;
    margin: 0 auto;
}

.hero-divider {
    height: 1px;
    width: 120px;
    background: var(--gold-gradient);
    margin: 30px auto 0 auto;
    border-radius: 2px;
}

/* Main Content & Cards Grid */
.main-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px 24px 60px 24px;
    width: 100%;
}

.section-heading {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--text-light);
    text-align: center;
    margin-bottom: 36px;
}

.cards-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    list-style: none;
}

/* Casino Card */
.exact-casino-card {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-card);
    padding: 28px;
    display: grid;
    grid-template-columns: 80px 1.5fr 2.5fr 200px;
    align-items: center;
    gap: 24px;
    box-shadow: 0 12px 36px rgba(0, 0, 0, 0.4);
    transition: var(--transition);
    cursor: pointer;
}

.exact-casino-card:hover {
    background: var(--bg-card-hover);
    border-color: var(--border-gold-glow);
    transform: translateY(-4px);
    box-shadow: var(--shadow-gold), 0 20px 40px rgba(0, 0, 0, 0.6);
}

/* Badge number */
.card-number-badge {
    width: 52px;
    height: 52px;
    background: rgba(226, 176, 54, 0.12);
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Outfit', sans-serif;
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--gold-light);
}

/* Brand & Score */
.card-header-flex {
    display: flex;
    align-items: center;
    gap: 16px;
}

.brand-icon-box {
    width: 100px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.brand-icon-box img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.card-score-box {
    display: flex;
    align-items: center;
    gap: 6px;
}

.star-icon {
    width: 22px;
    height: 22px;
    fill: var(--gold-primary);
}

.score-text {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--gold-light);
}

.score-text span {
    font-size: 0.88rem;
    color: var(--text-sub);
    font-weight: 600;
}

/* Body description */
.card-body-text {
    color: var(--text-light);
    font-size: 1.05rem;
    line-height: 1.6;
    font-weight: 400;
}

.card-body-text p {
    margin: 0;
}

/* Card Action Box & CTA Button */
.card-action-box {
    display: flex;
    justify-content: flex-end;
}

.btn-accéder {
    position: relative;
    overflow: hidden;
    cursor: pointer;
    width: 100%;
    transition: transform 0.2s ease;
}

.shdewenrhwer {
    position: absolute;
    top: 0;
    left: 0;
    z-index: -5;
}

.btn-accéder p {
    position: relative;
    z-index: 2;
    margin: 0;
    border-radius: var(--radius-btn);
    background: var(--gold-btn-gradient);
    color: #0b141f;
    font-family: 'Outfit', sans-serif;
    font-size: 1.05rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 16px 24px;
    text-align: center;
    transition: background-color 0.2s ease, background 0.2s ease;
}

.btn-accéder:hover {
    transform: translateY(-2px);
}

.btn-accéder:hover p {
    background: var(--gold-btn-hover);
}

/* Partner Badges Section */
.partner-badges-section {
    margin-top: 50px;
    padding: 30px 20px;
    background: rgba(10, 18, 28, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-card);
}

.partner-badges-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 30px;
}

.badge-item img {
    height: 38px;
    width: auto;
    filter: brightness(0.9) opacity(0.85);
    transition: var(--transition);
}

.badge-item:hover img {
    filter: brightness(1.1) opacity(1);
}

/* Editorial / SEO Content Box */
.editorial-section {
    margin: 50px 0 0 0;
    padding: 40px;
    background: rgba(15, 27, 43, 0.7);
    border: 1px solid var(--border-gold);
    border-radius: var(--radius-card);
    backdrop-filter: blur(10px);
}

.editorial-section h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 20px;
}

.editorial-section h3 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.3rem;
    color: var(--gold-primary);
    margin: 24px 0 12px 0;
}

.editorial-section p {
    color: var(--text-sub);
    font-size: 1rem;
    margin-bottom: 16px;
    line-height: 1.7;
}

/* Footer Section */
.footer {
    background: #04080e;
    border-top: 1px solid rgba(226, 176, 54, 0.2);
    padding: 50px 24px 30px 24px;
    margin-top: auto;
}

.footer-container {
    max-width: 1100px;
    margin: 0 auto;
}

.footer-warning-line {
    background: rgba(230, 57, 70, 0.12);
    border: 1px solid rgba(230, 57, 70, 0.3);
    border-radius: 10px;
    padding: 16px 20px;
    color: #ff8fa3;
    font-size: 0.92rem;
    text-align: center;
    margin-bottom: 40px;
}

.footer-transparency-box {
    margin-bottom: 30px;
}

.transparency-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--gold-light);
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.transparency-item {
    margin-bottom: 20px;
}

.transparency-item h4 {
    font-size: 1rem;
    color: var(--gold-primary);
    margin-bottom: 6px;
}

.transparency-item p {
    color: var(--text-sub);
    font-size: 0.92rem;
}

.footer-help-links {
    margin-top: 10px;
    display: flex;
    gap: 16px;
}

.footer-help-links a {
    font-size: 0.9rem;
    color: var(--gold-light);
}

.footer-divider {
    height: 1px;
    background: rgba(255, 255, 255, 0.1);
    margin: 30px 0;
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    color: var(--text-sub);
    font-size: 0.9rem;
}

.footer-nav-links {
    display: flex;
    gap: 20px;
    list-style: none;
}

.footer-nav-links a {
    color: var(--text-sub);
}

.footer-nav-links a:hover {
    color: var(--gold-light);
}

/* 18+ Mandatory Age Verification Modal */
.age-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(4, 8, 14, 0.92);
    backdrop-filter: blur(16px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.age-modal-overlay.show {
    opacity: 1;
    visibility: visible;
}

.age-modal-box {
    background: #0a131f;
    border: 1px solid var(--border-gold-glow);
    border-radius: 24px;
    max-width: 480px;
    width: 100%;
    padding: 36px;
    text-align: center;
    box-shadow: 0 24px 60px rgba(0, 0, 0, 0.8), 0 0 40px rgba(226, 176, 54, 0.2);
    position: relative;
    overflow: hidden;
}

.age-modal-body h2 {
    font-family: 'Outfit', sans-serif;
    font-size: 1.8rem;
    color: var(--gold-light);
    margin-bottom: 12px;
}

.age-modal-body p {
    color: var(--text-sub);
    font-size: 1rem;
    margin-bottom: 20px;
}

.age-modal-help-links {
    font-size: 0.85rem;
    color: var(--text-sub);
    margin-bottom: 28px;
}

.age-modal-actions {
    display: flex;
    gap: 14px;
}

.age-btn {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius-btn);
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    font-size: 0.95rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.age-btn-reject {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text-sub);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.age-btn-reject:hover {
    background: rgba(255, 255, 255, 0.15);
    color: #fff;
}

.age-btn-accept {
    background: var(--gold-btn-gradient);
    color: #0b141f;
    box-shadow: 0 4px 15px rgba(226, 176, 54, 0.3);
}

.age-btn-accept:hover {
    background: var(--gold-btn-hover);
    transform: translateY(-2px);
}

/* Underage Screen State */
.underage-screen {
    display: none;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px 0;
}

.underage-screen.active {
    display: flex;
}

/* Fixed Cookie Consent Banner */
.cookie-banner {
    position: fixed;
    bottom: 24px;
    left: 50%;
    transform: translate(-50%, 200%);
    width: 90%;
    max-width: 840px;
    background: rgba(10, 19, 31, 0.96);
    border: 1px solid var(--border-gold);
    border-radius: 18px;
    padding: 20px 28px;
    z-index: 9990;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    backdrop-filter: blur(12px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.6);
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275), opacity 0.4s ease, visibility 0.4s ease;
}

.cookie-banner.show {
    transform: translate(-50%, 0);
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
}

.cookie-title {
    font-family: 'Outfit', sans-serif;
    font-weight: 700;
    color: var(--gold-light);
    font-size: 1.05rem;
    display: block;
    margin-bottom: 4px;
}

.cookie-text {
    color: var(--text-sub);
    font-size: 0.9rem;
}

.cookie-actions {
    display: flex;
    gap: 12px;
    flex-shrink: 0;
}

.cookie-btn {
    padding: 10px 18px;
    border-radius: 10px;
    font-family: 'Outfit', sans-serif;
    font-size: 0.88rem;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
}

.cookie-btn-settings {
    background: transparent;
    border: 1px solid var(--border-gold);
    color: var(--gold-light);
}

.cookie-btn-settings:hover {
    background: rgba(226, 176, 54, 0.15);
}

.cookie-btn-accept {
    background: var(--gold-btn-gradient);
    border: none;
    color: #0b141f;
}

.cookie-btn-accept:hover {
    background: var(--gold-btn-hover);
}

/* Responsive Media Queries */
@media (max-width: 992px) {
    .exact-casino-card {
        grid-template-columns: 50px 1fr 160px;
        grid-template-areas: 
            "badge header action"
            "body body body";
        gap: 12px;
        padding: 18px 20px;
    }

    .card-number-badge { grid-area: badge; }
    .card-header-flex { grid-area: header; }
    .card-body-text { grid-area: body; }
    .card-action-box { grid-area: action; }

    .btn-accéder {
        width: 100%;
    }
}

@media (max-width: 768px) {
    .top-notice-bar {
        padding: 6px 12px;
        font-size: 0.78rem;
    }
    .navbar {
        padding: 8px 16px;
    }
    .brand-logo-img {
        height: 36px;
    }

    .nav-links { display: none; }
    .mobile-menu-btn { display: block; }
    
    .hero-section {
        padding: 16px 14px 10px 14px;
    }
    .hero-badge {
        padding: 3px 10px;
        font-size: 0.7rem;
        margin-bottom: 6px;
    }
    .hero-title {
        font-size: 1.35rem;
        margin-bottom: 4px;
    }
    .hero-subtitle {
        font-size: 0.85rem;
        line-height: 1.3;
    }
    .hero-divider {
        margin: 8px auto 0 auto;
        width: 50px;
    }

    .main-content {
        padding: 10px 12px 40px 12px;
    }
    .section-heading {
        font-size: 1.15rem;
        margin-bottom: 10px;
    }
    .cards-container {
        gap: 8px;
    }

    .exact-casino-card {
        padding: 10px 12px;
        border-radius: 14px;
        grid-template-columns: 32px 1fr 115px;
        grid-template-areas: 
            "badge header action"
            "body body body";
        gap: 6px 10px;
    }

    .card-number-badge {
        width: 32px;
        height: 32px;
        font-size: 1rem;
    }

    .brand-icon-box {
        width: 68px;
        height: 40px;
        padding: 4px;
        border-radius: 8px;
    }

    .card-score-box {
        gap: 4px;
    }

    .star-icon {
        width: 16px;
        height: 16px;
    }

    .score-text {
        font-size: 1rem;
    }

    .score-text span {
        font-size: 0.75rem;
    }

    .card-body-text p {
        font-size: 0.8rem;
        line-height: 1.25;
    }

    .btn-accéder p {
        font-size: 0.75rem;
        padding: 9px 6px;
        letter-spacing: 0px;
    }

    .cookie-banner {
        bottom: 12px;
        width: 94%;
        padding: 16px;
        flex-direction: column;
        text-align: center;
        gap: 14px;
    }

    .cookie-actions {
        width: 100%;
        justify-content: center;
    }

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