:root {
    --primary-color: 220 100% 50%; /* #0066FF */
    --secondary-color: 260 100% 70%; /* #6633FF */
    --success-color: 142 69% 49%; /* #28a745 */
    --warning-color: 45 100% 60%; /* #ffc107 */
    --danger-color: 354 85% 56%; /* #dc3545 */
    --background-light: 210 11% 98%; /* #F8F9FA */
    --text-dark: 220 13% 18%; /* #2C3E50 */
    --border-color: 220 13% 91%; /* #E9ECEF */
}

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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: hsl(var(--text-dark));
    background-color: hsl(var(--background-light));
}

/* Header Styles */
.navbar {
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-size: 1.5rem;
    color: hsl(var(--primary-color)) !important;
}

.nav-link {
    font-weight: 500;
    transition: color 0.3s ease;
}

.nav-link:hover {
    color: hsl(var(--primary-color)) !important;
}

/* Hero Section */
.hero-section {
    height: 65vh;
    background: #ada7ff;
    background-attachment: fixed;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url(img/croa.webp) no-repeat center center;
    background-size: cover;
    opacity: 0.1;
}

.hero-overlay {
    position: relative;
    z-index: 2;
    width: 100%;
}

.casino-card {
    border: 2px solid black;
    transition: all 0.3s ease;
    background: #d3e5ff;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1) !important;
    border-color: hsl(var(--primary-color));
}

.casino-logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 80px;
}

.casino-logo-container .casino-logo-img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    margin: 0 auto;
    object-fit: contain;
}

.stars {
    font-size: 1.2rem;
}

.casino-features li {
    font-size: 0.95rem;
    padding: 0.25rem 0;
}

.bonus-badge {
    font-size: 0.85rem;
    font-weight: bold;
    border-radius: 20px !important;
}

.btn-danger {
    background: linear-gradient(45deg, hsl(var(--danger-color)), #FF6B6B);
    border: none;
    font-weight: bold;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(220, 53, 69, 0.4);
}

/* Age Restriction Badge */
.age-restriction-badge {
    display: flex;
    align-items: center;
}

.age-circle {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: linear-gradient(45deg, hsl(var(--danger-color)), #FF6B6B);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 3.2rem;
    box-shadow: 0 4px 15px rgba(220, 53, 69, 0.3);
}

.age-restriction-small .badge {
    font-size: 1.8rem;
}

/* Responsible Gambling Organizations */
.responsible-gambling-orgs {
    margin-top: 32px;
}

.responsible-gambling-orgs .org-link {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    padding: 8px;
    border-radius: 8px;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    text-decoration: none;
}

.responsible-gambling-orgs .org-link:hover {
    transform: translateY(-4px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

.responsible-gambling-orgs .col-lg-2,
.responsible-gambling-orgs .col-md-4,
.responsible-gambling-orgs .col-6 {
    display: flex;
    justify-content: center;
}

.responsible-gambling-orgs .org-img {
    max-width: 140px;
    height: 60px;
    display: block;
    margin: 0 auto;
}

/* Accordion Styles */
.accordion-button {
    font-weight: 600;
    background-color: hsl(var(--background-light));
}

.accordion-button:not(.collapsed) {
    background-color: #6aa6fb;
    color: #000000;
}

.accordion-button:focus {
    box-shadow: 0 0 0 0.25rem hsla(var(--primary-color), 0.25);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #2C3E50, #34495E) !important;
}

.footer a:hover {
    color: hsl(var(--primary-color)) !important;
    text-decoration: none !important;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        height: 100vh;
        padding: 2rem 0;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .casino-card {
        margin-bottom: 2rem;
    }
    
    .casino-logo-container {
        margin-bottom: 1rem;
    }
    
    .responsible-gambling-orgs .col-6 {
        margin-bottom: 1rem;
    }
    
    .age-circle {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .display-4 {
        font-size: 2rem;
    }
    
    .display-5 {
        font-size: 1.8rem;
    }
    
    .hero-section {
        padding: 1rem 0;
    }
    
    .casino-card .row {
        text-align: center;
    }
    
    .casino-features {
        text-align: left;
        margin-top: 1rem;
    }
}

/* Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-card {
    animation: fadeIn 0.6s ease-out;
}

/* Button Hover Effects */
.btn-primary {
    background: linear-gradient(45deg, hsl(var(--danger-color)), #FF6B6B);
    border: none;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px hsla(var(--primary-color), 0.4);
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: hsl(var(--background-light));
}

::-webkit-scrollbar-thumb {
    background: hsl(var(--primary-color));
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: hsl(var(--secondary-color));
}

/* Scrolled navbar styles */
.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.animate-in {
    animation: slideInUp 0.6s ease-out;
}

@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}