/* ============================================
   RouleauProsperite.com - Unique Stylesheet
   ============================================ */

/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #1a1a2e;
    --secondary-color: #16213e;
    --accent-color: #0f3460;
    --gold-color: #e94560;
    --gold-light: #ff6b9d;
    --text-primary: #ffffff;
    --text-secondary: #b8b8b8;
    --gradient-primary: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-secondary: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-gold: linear-gradient(135deg, #f6d365 0%, #fda085 100%);
    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 15px 40px rgba(0, 0, 0, 0.4);
    --shadow-strong: 0 20px 60px rgba(0, 0, 0, 0.5);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Montserrat', sans-serif;
    background: var(--primary-color);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Animated Background - French Theme */
.animated-background-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0e27 0%, #1a1a2e 50%, #0f1a2e 100%);
}

.animated-bg-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    animation: backgroundFloat 20s ease-in-out infinite;
}

/* French Blue Layer */
.layer-1 {
    top: -50%;
    left: -50%;
    animation-delay: 0s;
    background: radial-gradient(circle at 30% 30%, rgba(0, 38, 84, 0.15) 0%, transparent 60%),
                radial-gradient(circle at 70% 70%, rgba(0, 38, 84, 0.12) 0%, transparent 60%);
    animation-duration: 25s;
}

/* French White Layer */
.layer-2 {
    top: -30%;
    right: -50%;
    animation-delay: 7s;
    background: radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.08) 0%, transparent 70%),
                radial-gradient(circle at 20% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 60%);
    animation-duration: 30s;
}

/* French Red Layer */
.layer-3 {
    bottom: -50%;
    left: 10%;
    animation-delay: 14s;
    background: radial-gradient(circle at 60% 40%, rgba(237, 41, 57, 0.12) 0%, transparent 65%),
                radial-gradient(circle at 40% 60%, rgba(237, 41, 57, 0.1) 0%, transparent 65%);
    animation-duration: 35s;
}

/* French Flag Wave Animation */
.animated-background-wrapper::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, 
            rgba(0, 38, 84, 0.08) 0%, 
            rgba(0, 38, 84, 0.08) 33.33%,
            rgba(255, 255, 255, 0.05) 33.33%,
            rgba(255, 255, 255, 0.05) 66.66%,
            rgba(237, 41, 57, 0.08) 66.66%,
            rgba(237, 41, 57, 0.08) 100%);
    opacity: 0.3;
    animation: frenchWave 15s ease-in-out infinite;
    transform: skewY(-2deg);
}

.animated-background-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 100px,
            rgba(255, 255, 255, 0.02) 100px,
            rgba(255, 255, 255, 0.02) 200px
        );
    animation: frenchPattern 20s linear infinite;
}

@keyframes backgroundFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
    }
    25% {
        transform: translate(40px, -40px) scale(1.15) rotate(2deg);
    }
    50% {
        transform: translate(-30px, 30px) scale(0.95) rotate(-2deg);
    }
    75% {
        transform: translate(20px, 20px) scale(1.05) rotate(1deg);
    }
}

@keyframes frenchWave {
    0%, 100% {
        transform: skewY(-2deg) translateX(0);
        opacity: 0.3;
    }
    50% {
        transform: skewY(2deg) translateX(20px);
        opacity: 0.4;
    }
}

@keyframes frenchPattern {
    0% {
        transform: translateX(0) translateY(0);
    }
    100% {
        transform: translateX(200px) translateY(200px);
    }
}

/* Header Styles */
.main-header-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.navigation-wrapper {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-section {
    z-index: 1001;
}

.logo-link {
    display: block;
    transition: transform 0.3s ease;
}

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

.logo-image {
    height: 50px;
    width: auto;
}

.navigation-menu {
    display: flex;
    list-style: none;
    gap: 2.5rem;
    align-items: center;
}

.menu-item {
    position: relative;
}

.menu-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 1rem;
    transition: color 0.3s ease;
    position: relative;
    padding: 0.5rem 0;
}

.menu-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gold-color);
    transition: width 0.3s ease;
}

.menu-link:hover {
    color: var(--gold-light);
}

.menu-link:hover::after {
    width: 100%;
}

/* Burger Menu */
.menu-toggle-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1002;
    padding: 0.5rem;
}

.menu-toggle-btn.show-burger {
    display: flex !important;
}

.menu-toggle-btn.hide-burger {
    display: none !important;
}

/* Ensure burger button is hidden on screens larger than 991px */
@media (min-width: 992px) {
    .menu-toggle-btn {
        display: none !important;
    }
    
    .close-menu-btn {
        display: none !important;
    }
}

.hamburger-line {
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.close-menu-btn {
    display: none;
    position: fixed;
    top: 1.5rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    background: transparent;
    border: none;
    cursor: pointer;
    z-index: 1003;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 0;
}

.close-menu-btn.show-close {
    display: flex !important;
}

.close-menu-btn.hide-close {
    display: none !important;
}

.close-icon-line {
    position: absolute;
    width: 28px;
    height: 3px;
    background: var(--text-primary);
    border-radius: 3px;
    transition: all 0.3s ease;
}

.close-icon-line:first-child {
    transform: rotate(45deg);
}

.close-icon-line:last-child {
    transform: rotate(-45deg);
}

/* Hero Section */
.hero-section-wrapper {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 120px 2rem 4rem;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.5) 0%, rgba(22, 33, 62, 0.5) 100%);
    position: relative;
    overflow: hidden;
}

.hero-content-container {
    max-width: 1200px;
    text-align: center;
    z-index: 1;
}

.hero-main-title {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffffff 0%, #e94560 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 1s ease;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2rem;
    margin-top: 3rem;
    animation: fadeInUp 1s ease 0.4s both;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.1);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-text {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
}

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

/* Section Container */
.section-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.section-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 1rem;
}

.section-main-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

/* Brands Section */
.brands-section-wrapper {
    padding: 6rem 0;
    background: rgba(15, 52, 96, 0.3);
    position: relative;
}

.casino-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin-top: 3rem;
}

.casino-card-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.casino-card-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.casino-card-item:hover {
    transform: translateY(-15px) scale(1.02);
    box-shadow: var(--shadow-strong);
    border-color: var(--gold-color);
}

.casino-card-item:hover::before {
    opacity: 0.1;
}

.pulse-animation-default {
    animation: pulseGlow 2s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        box-shadow: 0 0 20px rgba(233, 69, 96, 0.3);
    }
    50% {
        box-shadow: 0 0 40px rgba(233, 69, 96, 0.6), 0 0 60px rgba(233, 69, 96, 0.4);
    }
}

.casino-card-link {
    display: block;
    text-decoration: none;
    color: inherit;
    position: relative;
    z-index: 1;
}

.casino-image-wrapper {
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    transition: all 0.3s ease;
}

.casino-card-item:hover .casino-image-wrapper {
    background: rgba(255, 255, 255, 0.15);
}

.casino-brand-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.4s ease;
    cursor: pointer;
    pointer-events: auto;
}

.casino-image-wrapper {
    cursor: pointer;
}

.casino-card-item:hover .casino-brand-image {
    transform: scale(1.1);
}

.casino-info-block {
    padding: 2rem;
}

.casino-name-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.casino-bonus-text {
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.casino-action-btn {
    display: inline-block;
    padding: 1rem 2rem;
    background: var(--gradient-gold);
    color: var(--text-primary);
    font-weight: 600;
    border-radius: 10px;
    text-align: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(233, 69, 96, 0.3);
}

.casino-card-item:hover .casino-action-btn {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(233, 69, 96, 0.5);
}

/* Why Choose Section */
.why-choose-section-wrapper {
    padding: 6rem 0;
    background: rgba(26, 26, 46, 0.5);
}

.why-content-layout {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.why-text-block {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.why-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
}

.why-features-list {
    list-style: none;
    margin: 1.5rem 0;
}

.why-feature-item {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    font-size: 1.1rem;
    color: var(--text-primary);
}

.why-feature-item::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: bold;
    font-size: 1.3rem;
}

.why-image-block {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-medium);
}

.why-section-image {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.5s ease;
}

.why-image-block:hover .why-section-image {
    transform: scale(1.05);
}

/* Reviews Section */
.reviews-section-wrapper {
    padding: 6rem 0;
    background: rgba(15, 52, 96, 0.3);
}

.reviews-grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.review-card-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.review-card-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
    border-color: var(--gold-color);
}

.review-stars {
    color: #ffd700;
    font-size: 1.2rem;
    margin-bottom: 1rem;
}

.review-author {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--gold-light);
    margin-bottom: 1rem;
}

.review-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-style: italic;
}

/* FAQ Section */
.faq-section-wrapper {
    padding: 6rem 0;
    background: rgba(26, 26, 46, 0.5);
}

.faq-accordion-container {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item-block {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item-block:hover {
    border-color: var(--gold-color);
}

.faq-question-btn {
    width: 100%;
    padding: 1.5rem 2rem;
    background: transparent;
    border: none;
    color: var(--text-primary);
    font-size: 1.1rem;
    font-weight: 600;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.faq-question-btn:hover {
    color: var(--gold-light);
}

.faq-toggle-icon {
    font-size: 1.5rem;
    font-weight: 300;
    transition: transform 0.3s ease;
    color: var(--gold-color);
}

.faq-question-btn[aria-expanded="true"] .faq-toggle-icon {
    transform: rotate(45deg);
}

.faq-answer-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 2rem;
}

.faq-question-btn[aria-expanded="true"] + .faq-answer-content {
    max-height: 500px;
    padding: 0 2rem 1.5rem;
}

.faq-answer-content p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Footer */
.main-footer-wrapper {
    background: rgba(15, 52, 96, 0.8);
    padding: 4rem 0 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-column {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.footer-logo {
    height: 50px;
    width: auto;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.7;
}

.footer-column-title {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.footer-links-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.footer-link {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    padding-left: 0;
    position: relative;
}

.footer-link:hover {
    color: var(--gold-light);
    padding-left: 10px;
    transition: all 0.3s ease;
}

.help-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.help-link-item {
    display: block;
    background: rgba(255, 255, 255, 0.05);
    padding: 0.5rem;
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.help-link-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--gold-color);
}

.help-logo-image {
    width: 100%;
    height: 45px;
    object-fit: contain;
}

.footer-bottom-section {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-copyright {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.footer-warning {
    color: var(--gold-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 991px) {
    .navigation-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 300px;
        height: 100vh;
        background: rgba(26, 26, 46, 0.98);
        backdrop-filter: blur(20px);
        flex-direction: column;
        justify-content: flex-start;
        padding-top: 80px;
        padding-left: 2rem;
        gap: 2rem;
        transition: right 0.4s ease;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }

    .navigation-menu.active {
        right: 0;
    }

    .menu-toggle-btn.show-burger {
        display: flex !important;
    }

    .menu-toggle-btn.hide-burger {
        display: none !important;
    }

    .close-menu-btn.show-close {
        display: flex !important;
    }

    .close-menu-btn.hide-close {
        display: none !important;
    }

    .hero-main-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-features-grid {
        grid-template-columns: 1fr;
    }

    .why-content-layout {
        grid-template-columns: 1fr;
    }

    .casino-cards-grid {
        grid-template-columns: 1fr;
    }

    .reviews-grid-layout {
        grid-template-columns: 1fr;
    }

    .footer-content-grid {
        grid-template-columns: 1fr;
    }

    .help-links-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .hero-main-title {
        font-size: 1.9rem;
    }

    .section-main-title {
        font-size: 1.3rem;
    }

    .navigation-wrapper {
        padding: 0 1rem;
    }

    .section-container {
        padding: 0 1rem;
    }

    .hero-section-wrapper {
        padding: 100px 1rem 2rem;
    }
}

/* Policy Pages Styles */
.policy-page-wrapper {
    padding: 120px 0 4rem;
    min-height: 100vh;
}

.policy-content-block {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.policy-main-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-primary);
    text-align: center;
}

.policy-update-text {
    text-align: center;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-style: italic;
}

.policy-section-block {
    margin-bottom: 3rem;
}

.policy-intro-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

.policy-section-title {
    font-size: 1.8rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--gold-color);
}

.policy-subsection-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin-top: 2rem;
    margin-bottom: 1rem;
    color: var(--gold-light);
}

.policy-list-items {
    list-style: none;
    padding-left: 0;
    margin: 1.5rem 0;
}

.policy-list-items li {
    padding: 1rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    line-height: 1.8;
}

.policy-list-items li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--gold-color);
    font-weight: bold;
}

.policy-section-block p {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

@media (max-width: 480px) {
    .hero-main-title {
        font-size: 1.75rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .casino-info-block {
        padding: 1.5rem;
    }

    .casino-name-title {
        font-size: 1.5rem;
    }

    .policy-content-block {
        padding: 2rem 1.5rem;
    }

    .policy-main-title {
        font-size: 2rem;
    }

    .policy-section-title {
        font-size: 1.5rem;
    }
}

