/* styles.css - Premium Redesign v2 */

/* --- Global Styles & Variables --- */
:root {
    --primary-color: #007BFF;
    --primary-color-hover: #0056b3;
    --dark-bg-primary: #121212;
    --dark-bg-secondary: #1e1e1e;
    --text-primary: #ffffff;
    --text-secondary: #bbbbbb;
    --transition-speed: 0.3s; /* Variable for consistent transition speed */
}

body {
    background-color: var(--dark-bg-primary);
    color: var(--text-primary);
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1.7;
    scroll-behavior: smooth;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

h1, h2, h3 {
    font-weight: 600;
}

h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 50px;
    color: var(--primary-color);
}

/* --- Hover Effects & Transitions --- */
a, button {
    transition: all var(--transition-speed) ease; /* Smooth transition for all links and buttons */
}


/* --- Header & Navigation --- */
.main-header {
    background-color: var(--dark-bg-secondary);
    padding: 10px 0;
    text-align: center;
    border-bottom: 1px solid #333;
    position: sticky; /* Makes header stick to top */
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background-color: rgba(30, 30, 30, 0.8);
}

.responsible-gaming-banner {
    background-color: var(--dark-bg-primary);
    color: var(--text-secondary);
    font-size: 12px;
    padding: 5px 0;
    text-align: center;
}

.logo-wrap .logo {
    font-size: 28px;
    font-weight: 700;
    color: var(--primary-color);
    text-decoration: none;
    letter-spacing: 1px;
}
.logo-wrap .logo:hover {
    opacity: 0.8;
}

.main-nav ul {
    list-style: none;
    padding: 10px 0 0 0;
    margin: 0;
    display: flex;
    justify-content: center;
    gap: 30px;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
}

.main-nav a:hover {
    color: var(--primary-color);
    border-bottom-color: var(--primary-color);
}

/* --- New Hero Section Styles --- */
.hero-section {
    padding: 60px 20px;
    background: var(--dark-bg-primary);
    overflow: hidden;
    position: relative; /* Needed for z-index */
}

.hero-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.hero-text {
    max-width: 50%;
    animation: fadeInUp 0.8s ease-out;
}

.hero-text h1 {
    font-size: 3.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
    background: linear-gradient(90deg, var(--primary-color), #93c5fd);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero-text .hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 20px;
}

.hero-graphic {
    position: relative;
    width: 40%;
    height: 300px;
}

.shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.15;
    background: radial-gradient(circle at 30% 30%, #007BFF, #00CFFF);
    animation: float 6s ease-in-out infinite alternate;
    box-shadow: 0 0 60px rgba(0, 123, 255, 0.4);
    z-index: 0; /* Behind everything */
}


.shape-1 {
    width: 250px;
    height: 250px;
    top: 0;
    left: 50px;
    animation-delay: 0s;
}
.shape-2 {
    width: 150px;
    height: 150px;
    bottom: 0;
    left: 0;
    animation-delay: 2s;
}
.shape-3 {
    width: 100px;
    height: 100px;
    top: 50px;
    right: 0;
    animation-delay: 4s;
}

/* --- Keyframe Animations --- */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes float {
    0% { transform: translateY(0px) scale(1); opacity: 0.1; }
    50% { transform: translateY(-20px) scale(1.1); opacity: 0.2; }
    100% { transform: translateY(0px) scale(1); opacity: 0.1; }
}


/* --- Call to Action Button --- */
.cta-button {
    background-color: var(--primary-color);
    color: var(--text-primary);
    padding: 15px 35px;
    text-decoration: none;
    border-radius: 50px;
    font-weight: bold;
    display: inline-block;
    margin-top: 20px;
    box-shadow: 0 4px 15px rgba(0, 123, 255, 0.3);
}

.cta-button:hover {
    background-color: var(--primary-color-hover);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 123, 255, 0.5);
}


/* --- Casinos Section & Cards --- */
.casinos-section {
    padding: 80px 0;
    background-color: var(--dark-bg-secondary);
}

.casino-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
}

.casino-card {
    background-color: var(--dark-bg-primary);
    padding: 25px;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    border: 1px solid #2a2a2a;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease, border-color var(--transition-speed) ease;
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(0, 123, 255, 0.3), 0 0 20px rgba(0, 123, 255, 0.2) inset;
    border-color: var(--primary-color);
}





.casino-card {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background-color: var(--dark-bg-primary);
    border-radius: 15px;
    border: 1px solid #2a2a2a;
    box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
}

.casino-number {
    font-size: 36px;
    font-weight: 900;
    color: #fff;
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(0,123,255,0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    flex-shrink: 0;
    position: relative;
}

/* Hover: number grows, glows, and tilts */
.casino-card:hover .casino-number {
    transform: scale(1.3) rotate(-10deg);
    box-shadow: 0 10px 25px rgba(0,123,255,0.7), 0 0 20px rgba(0,212,255,0.6);
    background: linear-gradient(135deg, #00d4ff, #007bff);
}

/* Floating neon glow effect */
.casino-number::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,212,255,0.3) 0%, transparent 70%);
    z-index: -1;
    animation: floatGlow 2s ease-in-out infinite alternate;
}

@keyframes floatGlow {
    0% { transform: scale(0.9) translateY(0); opacity: 0.6; }
    100% { transform: scale(1.1) translateY(-5px); opacity: 1; }
}

.casino-content {
    flex: 1;
}












.casino-logo {
    max-width: 160px;
    height: 80px;
    object-fit: contain;
    margin: 0 auto 20px auto;
    transition: transform var(--transition-speed) ease;
}
.casino-card:hover .casino-logo {
    transform: scale(1.05); /* Added hover effect */
}


.bonus-details {
    margin-bottom: 20px;
}

.bonus-amount {
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--primary-color);
    margin: 0;
}

.min-deposit {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 5px 0 0 0;
}

.bonus-button {
    background-color: var(--primary-color);
    color: var(--text-primary);
    padding: 12px 25px;
    text-decoration: none;
    border-radius: 50px;
    display: inline-block;
    font-weight: bold;
    margin-bottom: 15px;
}

.bonus-button:hover {
    background-color: var(--primary-color-hover);
    transform: scale(1.05); /* Added hover effect */
}

.casino-disclaimer {
    font-size: 10px;
    color: #888;
    line-height: 1.5;
    margin-top: auto;
}

/* --- New FAQ Section Style --- */
.faq-section {
    padding: 80px 0;
    background-color: var(--dark-bg-primary);
}
.guide-item:hover, .accordion-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 123, 255, 0.4);
    border-color: var(--primary-color);
}


.accordion-item {
    background-color: var(--dark-bg-secondary);
    margin-bottom: 10px;
    border-radius: 10px;
    border: 1px solid #2a2a2a;
    overflow: hidden;
    transition: border-color var(--transition-speed) ease;
}
.accordion-item:hover {
    border-color: var(--primary-color); /* Added hover effect */
}

.accordion-header {
    background-color: var(--dark-bg-secondary);
    color: var(--text-primary);
    padding: 20px;
    width: 100%;
    text-align: left;
    border: none;
    cursor: pointer;
    font-weight: 600;
    font-size: 1.1rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.accordion-header:hover {
    background-color: #252525;
}

.accordion-header .icon {
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform var(--transition-speed) ease;
}

.accordion-header.active .icon {
    transform: rotate(45deg);
}

.accordion-body {
    padding: 0 20px 20px 20px;
    display: none;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* --- Guide Section Style --- */
.guide-section {
    padding: 80px 0;
    background-color: var(--dark-bg-secondary);
}

.guide-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.guide-item {
    background-color: var(--dark-bg-primary);
    padding: 30px;
    border-radius: 10px;
    text-align: left;
    border-top: 4px solid var(--primary-color);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    transition: transform var(--transition-speed) ease, box-shadow var(--transition-speed) ease;
}
.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 16px rgba(0, 0, 0, 0.4);
}

.guide-item h3 {
    margin-top: 0;
    font-size: 1.5rem;
}

/* --- About Us Section Style --- */
.about-us-section {
    padding: 80px 0;
    background-color: var(--dark-bg-primary);
}
.about-us-section .container {
    max-width: 900px;
    text-align: center;
}
.about-us-section p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* --- Footer Style --- */
.main-footer {
    background-color: #0c0c0c;
    padding: 40px 0 20px 0;
    text-align: center;
    border-top: 1px solid #2a2a2a;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
    flex-wrap: wrap;
    gap: 20px;
}

.footer-links {
    display: flex;
    gap: 20px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
}
.footer-links a:hover {
    color: #00CFFF;
    text-decoration: underline;
}

.responsible-gaming a:hover img {
    opacity: 1;
    filter: grayscale(0%) invert(0%);
    transform: scale(1.1) rotate(-5deg);
    transition: all 0.4s ease;
}

.responsible-gaming {
    display: flex;
    gap: 15px;
    align-items: center;
}

.logo-bg-wrap {
    background: radial-gradient(circle, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0) 70%);
    padding: 10px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.responsible-gaming img {
    max-width: 100px; /* bigger logos */
    filter: grayscale(100%) invert(70%);
    opacity: 0.85;
    transition: all 0.3s ease;
}

/* Softer square background with light bluish-white tone */
.logo-bg-wrap {
    background: rgba(255, 255, 255, 0.15); /* whitish with subtle blue tint */
    padding: 15px 20px;
    border-radius: 12px; /* rounded square instead of circle */
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease, transform 0.3s ease;
}

/* Hover effect */
.responsible-gaming a:hover .logo-bg-wrap {
    background: rgba(255, 255, 255, 0.25); /* a bit brighter on hover */
    transform: scale(1.08);
}


.footer-disclaimer {
    font-size: 12px;
    color: #666;
    max-width: 900px;
    margin: 0 auto 30px auto;
    line-height: 1.6;
}

.copyright {
    font-size: 14px;
    color: #555;
    margin-top: 20px;
}


/* --- Popup Styles --- */
.popup-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(5px);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.popup-content {
    background: var(--dark-bg-secondary);
    padding: 40px;
    border-radius: 15px;
    text-align: center;
    max-width: 500px;
    width: 90%; /* For responsiveness */
    border: 1px solid #333;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}
.popup-content h2 {
    margin-top: 0;
    color: var(--primary-color);
}
.popup-content button {
    margin: 10px;
    padding: 12px 25px;
    background: var(--primary-color);
    color: var(--text-primary);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    font-weight: bold;
}

.popup-content button:hover {
    background: var(--primary-color-hover);
    transform: scale(1.05);
}
#age-no {
    background: #444;
}
#age-no:hover {
    background: #666;
}

/* --- Responsive Design (Media Queries) --- */

@media (max-width: 768px) {
    h2 {
        font-size: 2.5rem;
    }

    /* --- Responsive Header & Hero Section --- */
    .hero-container {
        flex-direction: column; /* Stack text and graphic vertically */
        text-align: center;
margin-top:-5rem;
    }

    .hero-text {
        font-size: 1rem;
        max-width: 100%; /* Text takes full width */
        order: 2; /* Text appears after the graphic */
    }
    
.hero-text h1 {
    font-size: 2.5rem;
    margin-bottom: 10px;
    line-height: 1.2;
    background: linear-gradient(270deg, #007BFF, #93c5fd, #00CFFF, #007BFF);
    background-size: 600% 600%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gradientBG 10s ease infinite;
}

@keyframes gradientBG {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}



    .hero-graphic {
        width: 100%;
        height: 250px;
        order: 1; /* Graphic appears before the text */
        position: absolute; /* Take it out of the document flow */
        top: -50px;
        left: 0;
        z-index: 1; /* Place it BEHIND the text container */
        opacity: 0.3; /* Make it more subtle */
    }

    /* --- Pop up --- */

    .popup-overlay {
        display: flex;
        justify-content: center;
        align-items: flex-start; /* align to top so user can scroll */
        overflow-y: auto; /* enable vertical scroll if needed */
        padding: auto; /* spacing around popup */

    }

    .popup-content {
        width: 70%;       /* always 90% of screen width */
        max-width: 600px; /* prevent it from getting too wide */
        max-height: 90vh; /* fit within 90% of screen height */
        padding: 20px;    /* smaller padding for phones */
        margin: auto;     /* center horizontally */
        overflow-y: auto; /* scroll content inside if too tall */
        box-sizing: border-box; /* padding included in width */
    }

    .popup-content h2 {
        font-size: 1.5rem;
    }

    .popup-content p {
        font-size: 0.95rem;
    }

    .popup-content button {
        width: 100%;
        margin: 10px 0;
        padding: 15px;
    }

/* --- Responsive Footer --- */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        align-items: center;   /* center children */
        text-align: center;
        gap: 20px;
    }

    .footer-links {
        flex-direction: column; /* stack links vertically */
        gap: 10px;
        align-items: center;
    }

    .responsible-gaming {
        flex-wrap: wrap;        /* allow wrapping */
        justify-content: center;
        gap: 20px;              /* space between logos */
    }

    .responsible-gaming img {
        max-width: 60px;        /* smaller logos for phones */
    }

    .footer-disclaimer {
        font-size: 0.85rem;     /* slightly smaller text */
        text-align: center;
        padding: 0 10px;        /* breathing room on sides */
    }
}

.casino-number {
    font-size: 42px;
    font-weight: 900;
    color: #ffffff;
    background: linear-gradient(135deg, #007bff, #00d4ff);
    width: 60px;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(0, 123, 255, 0.4), 0 0 10px rgba(0, 212, 255, 0.4);
    transition: transform 0.3s ease, box-shadow 0.3s ease, background 0.3s ease;
    position: relative;
}



html, body {
    overflow-x: hidden;
}

