/* Custom CSS for Gamezy */

/* Google Fonts Poppins Initialization */
body {
    font-family: 'Poppins', sans-serif;
    font-optical-sizing: auto;
    font-weight: 400;
    font-style: normal;
    line-height: 1.6;
    color: #343a40; /* Standard dark text color */
    background-color: #f8f9fa; /* Light background */
}

/* Light Blue Color Scheme */
:root {
    --primary-light-blue: #a8dadc; /* Light blue for accents */
    --secondary-blue: #457b9d; /* Slightly darker blue */
    --dark-blue: #1d3557; /* Dark blue for headings/strong elements */
    --text-dark: #343a40;
    --text-light: #f1faee;
    --bg-light: #f8f9fa;
    --bg-light-blue-gradient: linear-gradient(135deg, #e0f2f7, #c1e4ed); /* Light blue gradient */
    --warning-color: #ffc107; /* Bootstrap warning yellow */
    --success-color: #28a745; /* Bootstrap success green */
}

/* General Text Colors */
h1, h2, h3, h4, h5, h6 {
    color: var(--dark-blue);
    font-weight: 700;
}

p {
    color: var(--text-dark);
}

/* Buttons */
.btn-primary {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--dark-blue);
    border-color: var(--dark-blue);
    transform: translateY(-2px);
}

.btn-secondary {
    background-color: #6c757d;
    border-color: #6c757d;
    transition: background-color 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}

.btn-secondary:hover {
    background-color: #5a6268;
    border-color: #545b62;
    transform: translateY(-2px);
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 3rem;
    color: var(--dark-blue);
}

.section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 4px;
    background-color: var(--primary-light-blue);
    border-radius: 2px;
}

/* Header Section */
.main-header {
    min-height: 70vh;
    background-size: cover;
    background-position: center;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: var(--text-light);
    padding: 100px 0;
}

.main-header .overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5); /* Dark overlay for text readability */
    z-index: 1;
}

.main-header .container {
    z-index: 2;
}

.main-header h1 {
    font-size: 3.5rem;
    color: var(--text-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.7);
}

.main-header p.lead {
    font-size: 1.25rem;
    color: var(--text-light);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.6);
}

.site-logo {
    max-width: 200px; /* Adjust as needed */
    height: auto;
    filter: drop-shadow(2px 2px 4px rgba(0, 0, 0, 0.5));
}

/* About Us Section */
#about {
    background: var(--bg-light-blue-gradient);
}

#about p.lead {
    font-size: 1.15rem;
    color: var(--text-dark);
}

/* Rating Cards */
.rating-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-light);
}

.rating-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.platform-logo {
    height: 200px;
    padding: 20px;
    width: 100%;
    object-fit: contain;
}

.voucher-badge {
    font-size: 0.95rem;
    padding: 0.5em 1em;
    border-radius: 50px;
    font-weight: 600;
}

.user-rating .stars i {
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.2s ease, transform 0.2s ease;
}

.user-rating .stars i.active,
.user-rating .stars i:hover {
    color: var(--warning-color);
    transform: scale(1.1);
}

.advantages-list li {
    font-size: 1rem;
    margin-bottom: 8px;
    color: var(--text-dark);
}

.advantages-list li i {
    font-size: 1.1rem;
    vertical-align: middle;
}

.license-badge {
    font-size: 0.85rem;
    padding: 0.4em 0.8em;
    border-radius: 50px;
    background-color: var(--primary-light-blue) !important;
    color: var(--dark-blue) !important;
}

.payment-logos img {
    max-height: 35px;
    filter: grayscale(20%);
    transition: filter 0.3s ease;
}

.payment-logos img:hover {
    filter: grayscale(0%);
}

/* Bonus Calculator */
#bonus-calculator {
    background: var(--bg-light-blue-gradient);
}

#bonus-calculator .card {
    border-radius: 15px;
    border: none;
    background-color: var(--bg-light);
}

#bonus-calculator .form-control,
#bonus-calculator .form-select {
    border-radius: 10px;
    border-color: var(--primary-light-blue);
}

#bonus-calculator .form-control:focus,
#bonus-calculator .form-select:focus {
    border-color: var(--secondary-blue);
    box-shadow: 0 0 0 0.25rem rgba(69, 123, 157, 0.25);
}

/* Voting System */
#voting-system .card {
    border-radius: 15px;
    border: none;
    background-color: var(--bg-light);
}

.user-vote-stars i {
    font-size: 2rem;
    cursor: pointer;
    color: #ced4da; /* Light gray for unselected stars */
    transition: color 0.2s ease, transform 0.2s ease;
}

.user-vote-stars i.bi-star-fill {
    color: var(--warning-color);
}

.user-vote-stars i:hover {
    color: var(--warning-color);
    transform: scale(1.1);
}

/* How Ranking Works */
#how-ranking-works {
    background: var(--bg-light-blue-gradient);
}

.info-card {
    background-color: #fff;
    border-radius: 15px;
    border: 1px solid var(--primary-light-blue);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.info-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.info-card h4 {
    color: var(--secondary-blue);
}

/* Bonus List Section */
.bonus-card {
    border: none;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: var(--bg-light);
}

.bonus-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.bonus-img {
    max-height: 150px;
    width: auto;
    object-fit: contain;
    margin: 0 auto;
}

.countdown-timer {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--dark-blue);
}

.countdown-timer i {
    color: var(--secondary-blue);
}

/* Testimonials Section */
#testimonials {
    background: var(--bg-light-blue-gradient);
}

.testimonial-card {
    border: none;
    border-radius: 15px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    background-color: #fff;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.1);
}

.testimonial-avatar {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border: 3px solid var(--primary-light-blue);
}

/* Disclaimer Block */
.disclaimer-bg {
    background: linear-gradient(90deg, #dc3545, #fd7e14); /* Red-orange gradient for urgency */
    padding: 60px 0;
}

.disclaimer-box {
    background-color: rgba(0, 0, 0, 0.7); /* Dark overlay for text */
    border: 2px solid var(--warning-color);
    padding: 30px;
}

.disclaimer-box h3 {
    color: var(--warning-color);
    font-weight: 700;
}

.disclaimer-box p, .disclaimer-box ul, .disclaimer-box li {
    color: var(--text-light);
}

.disclaimer-box a {
    color: var(--primary-light-blue) !important;
    text-decoration: underline;
}

.disclaimer-box a:hover {
    color: #fff !important;
}

/* Footer Section */
.site-footer {
    background-color: var(--dark-blue) !important;
    color: var(--text-light);
}

.site-footer .footer-logo {
    max-width: 150px;
    filter: brightness(1.5); /* Make logo visible on dark background */
}

.site-footer h5 {
    color: var(--primary-light-blue);
    font-weight: 600;
}

.site-footer .footer-links li a {
    color: var(--text-light);
    transition: color 0.2s ease;
}

.site-footer .footer-links li a:hover {
    color: var(--primary-light-blue);
    text-decoration: underline;
}

.newsletter-form .input-group-text {
    background-color: var(--secondary-blue);
    border-color: var(--secondary-blue);
    color: var(--text-light);
    border-radius: 0.375rem 0 0 0.375rem;
}

.newsletter-form .form-control {
    border-color: var(--secondary-blue);
    background-color: rgba(255, 255, 255, 0.1);
    color: var(--text-light);
}

.newsletter-form .form-control::placeholder {
    color: rgba(255, 255, 255, 0.7);
}

.newsletter-form .form-control:focus {
    border-color: var(--primary-light-blue);
    box-shadow: 0 0 0 0.25rem rgba(168, 218, 220, 0.25);
    background-color: rgba(255, 255, 255, 0.2);
}

.responsible-gaming-logos img {
    max-width: 120px; /* Adjusted based on 100-150px range and number of images */
    height: auto;
    object-fit: contain;
    filter: brightness(0.8) grayscale(10%); /* Slightly muted on dark background */
    transition: filter 0.3s ease;
}

.responsible-gaming-logos img:hover {
    filter: brightness(1) grayscale(0%);
}

.age-restriction{
    display: flex;
    flex-direction: column;
    text-align: center;
    align-items: start;
    justify-content: center;
}

.age-restriction img {
    width: 120px !important;
    height: 120px;
    object-fit: contain;
}

/* 18+ Age Verification Pop-up */
.age-modal-content {
    background: linear-gradient(135deg, #e0f2f7, #c1e4ed); /* Light blue gradient */
    border-radius: 15px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.age-modal-content .modal-title {
    color: var(--dark-blue);
    font-weight: 700;
    font-size: 1.8rem;
}

.age-modal-content .modal-body p {
    color: var(--text-dark);
    font-size: 1.1rem;
}

/* Cookie Consent Banner */
.cookie-banner {
    z-index: 1050; /* Above most other content */
    border-top-left-radius: 10px;
    border-top-right-radius: 10px;
    background-color: var(--dark-blue) !important;
}

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

.cookie-banner a {
    color: var(--primary-light-blue) !important;
    font-weight: 600;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .main-header h1 {
        font-size: 2.5rem;
    }

    .main-header p.lead {
        font-size: 1rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .rating-card .btn-lg {
        font-size: 1rem;
        padding: 0.8rem 1.2rem;
    }

    .cookie-banner .d-flex {
        flex-direction: column;
        align-items: stretch;
    }

    .cookie-banner .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
}

@media (max-width: 576px) {
    .main-header {
        min-height: 60vh;
    }

    .main-header h1 {
        font-size: 2rem;
    }

    .site-logo {
        max-width: 150px;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .voucher-badge {
        font-size: 0.8rem;
    }

    .user-rating .stars i {
        font-size: 1.2rem;
    }

    .advantages-list li {
        font-size: 0.9rem;
    }

    .payment-logos img {
        max-height: 25px;
    }

    .disclaimer-box {
        padding: 20px;
    }
}/* New styles for policy content within .policyScopeWrap */

.policyScopeWrap {
    /* Padding for the main policy content wrapper */
    padding: 3rem 1.5rem; 
    /* Max width to improve readability on large screens */
    max-width: 960px; 
    /* Center the content block */
    margin: 0 auto; 
}

.policyScopeWrap h1 {
    /* Heading 1 styles for policy content */
    font-size: 2rem; /* Moderate size for main section titles within policy */
    margin-top: 2.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    color: var(--dark-blue); /* Inherit from defined dark blue */
    font-weight: 700;
}

.policyScopeWrap h2 {
    /* Heading 2 styles for policy content */
    font-size: 1.75rem; /* Slightly smaller than h1 */
    margin-top: 2rem;
    margin-bottom: 1.25rem;
    line-height: 1.3;
    color: var(--dark-blue);
    font-weight: 600;
}

.policyScopeWrap h3 {
    /* Heading 3 styles for policy content */
    font-size: 1.5rem; /* Smaller than h2 */
    margin-top: 1.75rem;
    margin-bottom: 1rem;
    line-height: 1.4;
    color: var(--dark-blue);
    font-weight: 600;
}

.policyScopeWrap h4 {
    /* Heading 4 styles for policy content */
    font-size: 1.25rem; /* Smaller than h3 */
    margin-top: 1.5rem;
    margin-bottom: 0.75rem;
    line-height: 1.5;
    color: var(--dark-blue);
    font-weight: 500;
}

.policyScopeWrap h5 {
    /* Heading 5 styles for policy content */
    font-size: 1.125rem; /* Smallest heading size */
    margin-top: 1.25rem;
    margin-bottom: 0.5rem;
    line-height: 1.5;
    color: var(--dark-blue);
    font-weight: 500;
}

.policyScopeWrap p {
    /* Paragraph styles for policy content */
    font-size: 1rem; /* Standard paragraph font size */
    margin-bottom: 1rem; /* Space between paragraphs */
    line-height: 1.7; /* Improved readability for long texts */
    color: var(--text-dark); /* Inherit from defined dark text color */
}

.policyScopeWrap ul {
    /* Unordered list styles for policy content */
    list-style: disc; /* Standard disc bullet points */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 20px; /* Indent list items */
    color: var(--text-dark);
}

.policyScopeWrap ol {
    /* Ordered list styles for policy content (added for completeness, though not explicitly requested) */
    list-style: decimal; /* Standard decimal numbering */
    margin-top: 1rem;
    margin-bottom: 1rem;
    padding-left: 20px; /* Indent list items */
    color: var(--text-dark);
}

.policyScopeWrap li {
    /* List item styles for policy content */
    font-size: 1rem; /* Standard list item font size */
    margin-bottom: 0.5rem; /* Space between list items */
    line-height: 1.6; /* Line height for readability */
    color: var(--text-dark);
}

/* Responsive adjustments for smaller screens */
@media (max-width: 768px) {
    .policyScopeWrap {
        padding: 2rem 1rem;
    }

    .policyScopeWrap h1 {
        font-size: 1.75rem;
        margin-top: 2rem;
        margin-bottom: 1rem;
    }

    .policyScopeWrap h2 {
        font-size: 1.5rem;
        margin-top: 1.75rem;
        margin-bottom: 1rem;
    }

    .policyScopeWrap h3 {
        font-size: 1.25rem;
        margin-top: 1.5rem;
        margin-bottom: 0.75rem;
    }

    .policyScopeWrap h4 {
        font-size: 1.1rem;
        margin-top: 1.25rem;
        margin-bottom: 0.5rem;
    }

    .policyScopeWrap h5 {
        font-size: 1rem;
        margin-top: 1rem;
        margin-bottom: 0.5rem;
    }

    .policyScopeWrap p,
    .policyScopeWrap li {
        font-size: 0.95rem;
        line-height: 1.6;
    }
}


#confirmAgeBtn,
#declineAgeBtn{
    padding: 10px 25px;
    font-size: 18px;
}

.logo-wr{
    background-color: #1d3557;
    position: relative;
    top: 0;
    left: 0;
    z-index: 99999;
    width: 100%;
    padding: 10px 0;

    .logo-link{
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        color: #fff;
        font-size: clamp(20px, 4vw, 28px);
        font-weight: 700;
        gap: 6px;
        text-decoration: none;
        text-transform: uppercase;
        margin: 0 !important;

        img{
            width: 50px;
            height: 50px;
            object-fit: contain;
        }
    }
}

footer{
    .logo-link{
        display: flex !important;
        flex-direction: row;
        align-items: center;
        justify-content: start;
        color: #fff;
        font-size: clamp(20px, 4vw, 28px);
        font-weight: 700;
        gap: 6px;
        text-decoration: none;
        text-transform: uppercase;
        margin: 30px 0 !important;

        img{
            width: 50px;
            height: 50px;
            object-fit: contain;
        }
    }

    .mb-0,
    .text-muted{
        color: #ffffffc6 !important;
    }


}


.card-body{
    justify-content: space-between;
  display: flex;
  flex-direction: column;
  height: 100%;
}

@media (max-width: 991px){
    footer{
        .row{
            text-align: center;
        }
    }
}