/* -----------------------------------------------------------------------------
 * General Styles
 * -------------------------------------------------------------------------- */
:root {
    --primary-color: #daa520; /* Gold */
    --secondary-color: #0a0a1a; /* Dark blue-black */
    --accent-color: #e74c3c; /* Red */
    --light-color: #f8f9fa;
    --dark-color: #121212;
    --text-color: #e0e0e0;
    --border-color: #2a2a3a;
    --card-bg: #1a1a2e;
    --footer-bg: #0d0d1a;
    --gradient-dark: linear-gradient(45deg, #0a0a1a, #1a1a2e);
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

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

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: #ffcc00;
    text-decoration: none;
}

main {
    padding-top: 76px; /* Account for fixed header */
}

.section-padding {
    padding: 80px 0;
}

.btn-primary {
    background-color: var(--primary-color);
    border-color: var(--primary-color);
    color: var(--dark-color);
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-primary:hover,
.btn-primary:focus {
    background-color: #c89210;
    border-color: #c89210;
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

.btn-outline-primary {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background-color: transparent;
    font-weight: 600;
    padding: 10px 25px;
    border-radius: 30px;
    transition: all 0.3s ease;
}

.btn-outline-primary:hover,
.btn-outline-primary:focus {
    background-color: var(--primary-color);
    color: var(--dark-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(218, 165, 32, 0.3);
}

h1, h2, h3, h4, h5, h6 {
    color: var(--light-color);
    font-weight: 700;
    margin-bottom: 20px;
}

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

.section-header h2 {
    position: relative;
    display: inline-block;
    margin-bottom: 15px;
    color: var(--light-color);
}

.section-header h2:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--primary-color);
}

.section-header p {
    color: var(--text-color);
    font-size: 1.1rem;
}

/* -----------------------------------------------------------------------------
 * Header & Navigation
 * -------------------------------------------------------------------------- */
header {
    background-color: rgba(10, 10, 26, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    z-index: 1000;
}

.navbar {
    padding: 15px 0;
}

.navbar-brand img {
    max-height: 40px;
}

.navbar-dark .navbar-nav .nav-link {
    color: var(--text-color);
    font-weight: 600;
    padding: 10px 15px;
    transition: all 0.3s ease;
}

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

/* -----------------------------------------------------------------------------
 * Hero Section
 * -------------------------------------------------------------------------- */
.hero-section {
    background-image: url('../images/bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    height: 80vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: white;
}

.hero-section:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-content h1 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-content p {
    font-size: 1.25rem;
    margin-bottom: 30px;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

/* -----------------------------------------------------------------------------
 * Casinos Section
 * -------------------------------------------------------------------------- */
.casinos-section {
    background-color: var(--dark-color);
    padding: 80px 0;
}

.casino-card {
    background: var(--card-bg);
    border-radius: 10px;
    padding: 30px;
    margin-bottom: 30px;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
}

.casino-logo {
    background: rgba(255, 255, 255, 0.05);
    padding: 20px;
    border-radius: 8px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.casino-logo img {
    max-height: 80px;
    max-width: 100%;
}

.casino-details h3 {
    font-size: 1.5rem;
    margin-bottom: 10px;
}

.casino-rating {
    margin-bottom: 15px;
    color: var(--primary-color);
}

.casino-rating .fas, .casino-rating .far {
    margin-right: 2px;
}

.casino-features {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
    margin-top: 20px;
}

.feature {
    display: flex;
    align-items: center;
}

.feature i {
    color: var(--primary-color);
    margin-right: 10px;
    font-size: 18px;
}

/* -----------------------------------------------------------------------------
 * About Section
 * -------------------------------------------------------------------------- */
.about-section {
    background-color: var(--secondary-color);
    position: relative;
}

.about-image img {
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

.check-list {
    list-style: none;
    padding-left: 0;
    margin-bottom: 25px;
}

.check-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.check-list li:before {
    content: '\f00c';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--primary-color);
}

.feature-box {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 10px;
    height: 100%;
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
}

.feature-box:hover {
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* -----------------------------------------------------------------------------
 * FAQ Section
 * -------------------------------------------------------------------------- */
.faq-section {
    background-color: var(--dark-color);
}

.accordion-item {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
}

.accordion-button {
    background-color: var(--card-bg);
    color: var(--light-color);
    font-weight: 600;
    padding: 20px;
    box-shadow: none;
}

.accordion-button:not(.collapsed) {
    background-color: var(--primary-color);
    color: var(--dark-color);
}

.accordion-button:focus {
    box-shadow: none;
    border-color: var(--primary-color);
}

.accordion-button:after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23daa520'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-button:not(.collapsed):after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23000'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    background-color: var(--card-bg);
    color: var(--text-color);
    padding: 20px;
}

/* -----------------------------------------------------------------------------
 * Responsible Gambling Section
 * -------------------------------------------------------------------------- */
.responsible-gambling-section {
    background-color: var(--secondary-color);
    text-align: center;
}

.age-badge {
    display: inline-block;
    background-color: var(--accent-color);
    color: white;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 50%;
    margin-right: 10px;
}

.responsible-gambling-logos {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 20px;
    margin-top: 30px;
}

.gamble-logo {
    display: inline-block;
    background-color: white;
    padding: 10px 15px;
    border-radius: 8px;
    max-width: 120px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.gamble-logo:hover {
    transform: scale(1.05);
}

.gamble-logo img {
    max-height: 40px;
    max-width: 100%;
}

/* -----------------------------------------------------------------------------
 * Page Banners
 * -------------------------------------------------------------------------- */
.page-banner {
    background-image: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('https://pixabay.com/get/g53b3d5ae66094bbe8f9fc29240ec80179d2f0c02dc2f535fb9135b4f05dd76daa9d30040dc49b2013754c0332911ab0f13c9e23ab77821eaaa0d515050488369_1280.jpg');
    background-size: cover;
    background-position: center;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.banner-content {
    position: relative;
    z-index: 1;
}

.banner-content h1 {
    color: white;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.breadcrumb {
    background: transparent;
    justify-content: center;
    margin: 0;
}

.breadcrumb-item, .breadcrumb-item a {
    color: #ccc;
}

.breadcrumb-item.active {
    color: var(--primary-color);
}

.breadcrumb-item + .breadcrumb-item::before {
    color: #ccc;
}

/* -----------------------------------------------------------------------------
 * About Page
 * -------------------------------------------------------------------------- */
.about-content-section {
    background-color: var(--dark-color);
}

/* -----------------------------------------------------------------------------
 * FAQ Page
 * -------------------------------------------------------------------------- */
.faq-content-section {
    background-color: var(--dark-color);
}

.faq-contact {
    background-color: var(--card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* -----------------------------------------------------------------------------
 * Responsible Gambling Page
 * -------------------------------------------------------------------------- */
.responsible-gambling-content {
    background-color: var(--dark-color);
}

.age-restriction-badge {
    margin: 20px 0;
}

.responsible-gambling-section h3 {
    color: var(--primary-color);
    margin-top: 30px;
    margin-bottom: 20px;
}

.warning-list {
    list-style: none;
    padding-left: 0;
}

.warning-list li {
    position: relative;
    padding-left: 30px;
    margin-bottom: 10px;
}

.warning-list li:before {
    content: '\f071';
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    top: 0;
    color: var(--accent-color);
}

.help-organizations {
    margin-top: 30px;
}

.org-logo {
    display: inline-block;
    background-color: white;
    padding: 15px;
    border-radius: 8px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.org-logo img {
    max-height: 50px;
}

.final-note {
    margin-top: 40px;
    padding: 30px;
    background-color: var(--card-bg);
    border-radius: 10px;
    box-shadow: var(--box-shadow);
}

/* -----------------------------------------------------------------------------
 * Policy Pages
 * -------------------------------------------------------------------------- */
.privacy-policy-content,
.terms-content,
.cookies-content {
    background-color: var(--dark-color);
}

.policy-section,
.terms-section,
.cookies-section {
    margin-bottom: 30px;
}

.policy-section h3,
.terms-section h3,
.cookies-section h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* -----------------------------------------------------------------------------
 * Footer
 * -------------------------------------------------------------------------- */
.footer {
    background-color: var(--footer-bg);
    color: var(--text-color);
    padding-top: 50px;
}

.footer h5 {
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 20px;
}

.footer-link {
    color: var(--text-color);
    margin-bottom: 10px;
    display: inline-block;
    transition: all 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
    transform: translateX(5px);
}

.copyright {
    background-color: rgba(0, 0, 0, 0.2);
    font-size: 0.9rem;
}

.age-restriction {
    display: inline-block;
    margin-top: 20px;
}

/* -----------------------------------------------------------------------------
 * Cookie Banner
 * -------------------------------------------------------------------------- */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    background-color: var(--card-bg);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.2);
}

.cookie-content {
    padding: 15px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
}

.cookie-content p {
    margin: 0;
    padding: 5px 0;
    color: var(--text-color);
}

@media (max-width: 768px) {
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .cookie-content button {
        margin-top: 10px;
        width: 100%;
    }
}

/* -----------------------------------------------------------------------------
 * Responsive Styles
 * -------------------------------------------------------------------------- */
@media (max-width: 991.98px) {
    .hero-content h1 {
        font-size: 2.5rem;
    }
    
    .casino-features {
        grid-template-columns: 1fr;
    }
    
    .casino-logo {
        height: 100px;
        padding: 15px;
    }
    
    .casino-logo img {
        max-height: 70px;
    }
}

@media (max-width: 767.98px) {
    .hero-section {
        height: 60vh;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .hero-content p {
        font-size: 1rem;
    }
    
    .section-padding {
        padding: 60px 0;
    }
    
    .casino-card {
        padding: 20px;
    }
    
    .responsible-gambling-logos {
        gap: 10px;
    }
    
    .gamble-logo {
        max-width: 100px;
        height: 50px;
    }
}

@media (max-width: 575.98px) {
    .hero-section {
        height: 50vh;
    }
    
    .hero-content h1 {
        font-size: 1.75rem;
    }
    
    .section-header h2 {
        font-size: 1.5rem;
    }
    
    .casino-logo {
        margin-bottom: 20px;
    }
    
    .page-banner {
        height: 200px;
    }
    
    .banner-content h1 {
        font-size: 2rem;
    }
}
