:root {
    --primary: #2563eb;
    --primary-dark: #1d4ed8;
    --secondary: #475569;
}

.age-verification {
    background: #fff;
    border-bottom: 1px solid rgba(0,0,0,0.1);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
    position: relative;
    z-index: 1030;
}

.age-verification h5 {
    font-weight: 600;
    color: #1e293b;
}

.age-verification p {
    color: #64748b;
    font-size: 0.95rem;
}

.age-verification .btn {
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    border-radius: 0.5rem;
}

.age-verification .btn-outline-danger {
    border-width: 2px;
}

.age-verification .btn-success {
    background: #059669;
    border-color: #059669;
}

.age-verification .btn-success:hover {
    background: #047857;
    border-color: #047857;
}

body {
    font-family: 'Inter', sans-serif;
    color: #1e293b;
}

.topbar {
    font-size: 0.875rem;
}

.navbar {
    box-shadow: 0 2px 4px rgba(0,0,0,0.04);
}

.hero {
    background: linear-gradient(45deg, var(--primary), var(--primary-dark));
    position: relative;
    overflow: hidden;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    right: 0;
    width: 50%;
    height: 100%;
    background-size: contain;
    opacity: 0.1;
}

.feature-item {
    padding: 1.5rem;
    border-radius: 0.5rem;
    background: rgba(255,255,255,0.1);
}

.feature-item i {
    color: rgba(255,255,255,0.9);
}

.feature-item h5 {
    font-size: 1rem;
    margin-bottom: 0;
    color: rgba(255,255,255,0.9);
}

.listing-item {
    background: #fff;
    border-radius: 1.5rem;
    padding: 2.5rem;
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
    transition: all 0.4s ease;
    border: 1px solid rgba(0, 0, 0, 0.05);
    position: relative;
    overflow: hidden;
}

.listing-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 1.5rem 3rem rgba(0, 0, 0, 0.12);
}

.brand-logo-wrapper {
    position: relative;
    text-align: center;
}

.brand-logo {
    max-height: 70px;
    object-fit: contain;
}

.brand-badge {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--primary);
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 0.75rem;
    border-radius: 1rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.25rem;
    white-space: nowrap;
}

.bonus-box {
    background: linear-gradient(135deg, rgba(37, 99, 235, 0.08) 0%, rgba(37, 99, 235, 0.03) 100%);
    padding: 1.5rem;
    border-radius: 1rem;
    text-align: center;
    position: relative;
    border: 1px solid rgba(37, 99, 235, 0.1);
}

.bonus-ribbon {
    position: absolute;
    top: 0.75rem;
    right: -0.5rem;
    background: #ef4444;
    color: white;
    font-size: 0.75rem;
    padding: 0.25rem 1rem;
    border-radius: 0.25rem;
    font-weight: 600;
}

.bonus-ribbon::after {
    content: '';
    position: absolute;
    right: 0;
    bottom: -0.5rem;
    border-left: 0.5rem solid #991b1b;
    border-bottom: 0.5rem solid transparent;
}

.bonus-label {
    color: var(--secondary);
    font-size: 0.875rem;
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
}

.bonus-amount {
    color: var(--primary);
    font-weight: 800;
    margin: 0;
    font-size: 1.75rem;
}

.bonus-terms {
    font-size: 0.875rem;
    color: var(--secondary);
    display: block;
    margin-top: 0.75rem;
}

.score-box {
    padding: 1rem;
    text-align: center;
}

.score {
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.25rem;
    margin-bottom: 0.5rem;
}

.score-label {
    color: var(--secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

.pros-list {
    list-style: none;
    padding: 0;
    margin: 0;
}

.pros-list li {
    margin-bottom: 0.75rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    color: var(--secondary);
    font-weight: 500;
}

.pros-list li i {
    color: #10b981;
    font-size: 1.25rem;
}

.pros-list li:last-child {
    margin-bottom: 0;
}

.btn-visit {
    background: var(--primary);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 0.75rem;
    font-weight: 600;
    font-size: 1.125rem;
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    transition: all 0.3s ease;
}

.btn-visit:hover {
    background: var(--primary-dark);
    color: white;
    transform: translateY(-2px);
}

.text-sections {
    background: linear-gradient(to bottom, #f8fafc, #fff);
}

.text-box {
    background: #fff;
    border-radius: 1.25rem;
    padding: 2rem;
    height: 100%;
    box-shadow: 0 0.5rem 1.5rem rgba(0, 0, 0, 0.05);
    border: 1px solid rgba(0, 0, 0, 0.03);
    transition: all 0.3s ease;
}

.text-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 1rem 2rem rgba(0, 0, 0, 0.08);
}

.text-box-icon {
    width: 3.5rem;
    height: 3.5rem;
    background: var(--primary);
    border-radius: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.text-box-icon i {
    font-size: 1.75rem;
    color: #fff;
}

.text-box h3 {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-dark);
}

.text-box p {
    color: var(--secondary);
    line-height: 1.6;
    margin: 0;
}

.footer {
    background: linear-gradient(to bottom, #1e293b, #0f172a);
}

.footer h5 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1.25rem;
    color: #fff;
}

.footer-text {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
}

.footer-text br + br {
    content: "";
    display: block;
    margin-top: 0.5rem;
}

.footer-text br + • {
    margin-left: 0.5rem;
}

.footer a {
    color: var(--primary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer a:hover {
    color: #fff;
}

.help-line {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    margin-top: 1rem;
}

.footer-partners {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    padding: 1rem 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.partner-logo {
    height: 40px;
    width: auto;
    opacity: 0.8;
    transition: opacity 0.3s ease;
}

.partner-logo:hover {
    opacity: 1;
}

.footer-links {
    font-size: 0.875rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #fff;
}

.footer-copyright {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

@media (max-width: 991px) {
    .age-verification {
        padding: 1.5rem 0;
    }

    .age-verification .d-flex {
        flex-direction: column;
        text-align: center;
    }

    .age-verification .d-flex i {
        margin: 0 0 1rem 0;
        font-size: 2rem;
    }

    .age-verification h5 {
        font-size: 1.1rem;
    }

    .age-verification p {
        font-size: 0.9rem;
        line-height: 1.5;
    }

    .age-verification .btn {
        width: 100%;
        margin: 0.5rem 0;
    }

    .age-verification .d-flex.justify-content-center {
        flex-direction: column;
        gap: 0 !important;
    }
}

@media (max-width: 768px) {
    .hero {
        text-align: center;
    }
    
    .hero::after {
        display: none;
    }

    .listing-item {
        padding: 1.5rem;
    }

    .brand-logo {
        max-height: 40px;
        margin: 0 auto;
        display: block;
    }

    .pros-list {
        margin: 1rem 0;
    }

    .text-box {
        padding: 1.5rem;
        text-align: center;
    }

    .text-box-icon {
        margin: 0 auto 1.25rem;
    }
}

/* Legal Pages Styles */
.breadcrumb {
    background: #f8fafc;
    padding: 1rem;
    border-radius: 0.5rem;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: var(--primary);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--primary-dark);
}

.card {
    border: none;
    border-radius: 1rem;
}

.card-body h1 {
    color: var(--primary-dark);
    font-weight: 700;
}

.card-body h2.h4 {
    color: #1e293b;
    font-weight: 600;
    margin-top: 2.5rem;
}

.card-body h3.h5 {
    color: #334155;
    font-weight: 600;
    margin: 1.5rem 0 1rem;
}

.card-body p {
    color: #475569;
    line-height: 1.7;
}

.card-body ul {
    color: #475569;
    padding-left: 1.25rem;
}

.card-body ul li {
    margin-bottom: 0.5rem;
    line-height: 1.7;
}

.card-body ul li:last-child {
    margin-bottom: 0;
}

.terms-section {
    margin-bottom: 3rem;
}

.terms-box {
    background: #f8fafc;
    padding: 1.5rem;
    border-radius: 0.75rem;
    margin: 1rem 0;
}

.table {
    margin: 1.5rem 0;
}

.table th {
    font-weight: 600;
    color: #1e293b;
}

.table td {
    color: #475569;
}

.alert {
    border: none;
    border-radius: 0.75rem;
}

.alert i {
    font-size: 1.25rem;
}

/* Cookie Page Specific */
.table-bordered {
    border-color: #e2e8f0;
}

.table-bordered th,
.table-bordered td {
    border-color: #e2e8f0;
}

/* Responsible Gaming Page Specific */
.card.border-danger,
.card.border-success {
    border-width: 2px !important;
}

.card-header {
    font-weight: 600;
}

/* Privacy Policy Page Specific */
.footer-text a {
    color: var(--primary);
    text-decoration: none;
}

.footer-text a:hover {
    color: var(--primary-dark);
}

@media (max-width: 576px) {
    .age-verification {
        padding: 20rem 0!important;
    }

    .age-verification h5 {
        font-size: 1rem;
    }

    .age-verification p {
        font-size: 0.85rem;
    }

    .age-verification .btn {
        padding: 0.625rem 1.25rem;
        font-size: 0.9rem;
    }
}
