/* Blue Theme Styles for casinofrancerewards.com */

/* Header Styles */
header {
    background: linear-gradient(135deg, #0a1628 0%, #1a3a5c 50%, #0d2137 100%);
    -webkit-backdrop-filter: blur(14px);
    backdrop-filter: blur(14px);
    z-index: 15;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    border-bottom: 2px solid #1e90ff;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.3);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    flex-wrap: wrap;
    gap: 15px;
}

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

.header-logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.header-site-name {
    font-size: 24px;
    font-weight: 800;
    color: #ffffff;
    text-transform: uppercase;
    letter-spacing: 1px;
    background: linear-gradient(135deg, #ffffff 0%, #4da6ff 50%, #1e90ff 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(30, 144, 255, 0.5);
    transition: all 0.3s ease;
}

.header-site-name:hover {
    filter: brightness(1.2);
    text-shadow: 0 0 40px rgba(30, 144, 255, 0.8);
}

.header-nav {
    display: flex;
    align-items: center;
}

.header-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    flex-wrap: wrap;
}

.header-nav a {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 8px 16px;
    border-radius: 6px;
    transition: all 0.3s ease;
    background: rgba(30, 144, 255, 0.15);
    border: 1px solid rgba(30, 144, 255, 0.3);
}

.header-nav a:hover {
    background: linear-gradient(135deg, #1e90ff, #0066cc);
    border-color: #4da6ff;
    box-shadow: 0 4px 15px rgba(30, 144, 255, 0.5);
    transform: translateY(-2px);
}

/* First block with blue theme */
.first-block {
    background: linear-gradient(180deg, #0a1628 0%, #1a3a5c 30%, #0d2847 70%, #061829 100%);
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.first-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 20%, rgba(30, 144, 255, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 70% 80%, rgba(0, 102, 204, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

/* Table styles with blue theme */
.table-block {
    background: linear-gradient(180deg, #061829 0%, #0a1628 100%);
    position: relative;
}

.table-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 144, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

.table {
    background: rgba(10, 22, 40, 0.9);
    border: 2px solid #1e90ff;
    border-radius: 16px;
    box-shadow: 0 8px 32px rgba(30, 144, 255, 0.3), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.table_row {
    border-bottom: 1px solid rgba(30, 144, 255, 0.2);
    background: rgba(13, 33, 55, 0.6);
    transition: all 0.3s ease;
}

.table_row:hover {
    background: rgba(30, 144, 255, 0.15);
    box-shadow: inset 0 0 20px rgba(30, 144, 255, 0.2);
}

.table_row_title {
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%);
}

.table_title p {
    color: #ffffff !important;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

/* FAQ block with blue theme */
.faq-block {
    background: linear-gradient(180deg, #0a1628 0%, #061829 100%);
    position: relative;
}

.faq-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at 30% 30%, rgba(30, 144, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.faq-block h2, .faq-block h1 {
    color: #1e90ff !important;
    text-shadow: 0 0 20px rgba(30, 144, 255, 0.5);
}

.faq-block_title, .custom-heading {
    color: #4da6ff !important;
    font-weight: 600;
}

.faq-block_content, .faq-block p {
    color: #a8c8e8 !important;
}

/* Body background */
body {
    background: linear-gradient(180deg, #050d1a 0%, #0a1628 50%, #061829 100%);
}

/* Button styles with blue gradient */
.btn, .link-params, button:not(.exit-modal__btn-close):not(.btn-link):not(.js-btn-close) {
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 100%) !important;
    border: 2px solid #4da6ff !important;
    color: #ffffff !important;
    box-shadow: 0 4px 20px rgba(30, 144, 255, 0.4) !important;
    transition: all 0.3s ease !important;
}

.btn:hover, .link-params:hover, button:not(.exit-modal__btn-close):not(.btn-link):not(.js-btn-close):hover {
    background: linear-gradient(135deg, #4da6ff 0%, #1e90ff 100%) !important;
    box-shadow: 0 6px 30px rgba(30, 144, 255, 0.6) !important;
    transform: translateY(-2px) !important;
}

/* First screen content */
.first-screen_content h1 {
    color: #1e90ff !important;
    text-shadow: 0 0 30px rgba(30, 144, 255, 0.5);
}

.first-screen_content p {
    color: #a8c8e8 !important;
}

.table-head_legal,
.table-head_flag,
.table-head_secure,
.table-head_bonus {
    color: #4da6ff !important;
}

/* ==================== EXIT MODAL STYLES ==================== */

/* Overlay background */
.wrap-exit-modal {
    position: fixed !important;
    top: 0 !important;
    left: 0 !important;
    right: 0 !important;
    bottom: 0 !important;
    z-index: 10000 !important;
    display: none;
    align-items: center !important;
    justify-content: center !important;
    background: radial-gradient(ellipse at center, rgba(10, 22, 40, 0.95) 0%, rgba(5, 13, 26, 0.98) 100%) !important;
    -webkit-backdrop-filter: blur(20px) !important;
    backdrop-filter: blur(20px) !important;
}

.wrap-exit-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 30%, rgba(30, 144, 255, 0.15) 0%, transparent 40%),
        radial-gradient(circle at 80% 70%, rgba(0, 102, 204, 0.1) 0%, transparent 40%);
    pointer-events: none;
}

/* Main modal container */
#exit-modal,
.exit-modal {
    position: relative;
    width: 100%;
    max-width: 480px;
    margin: 20px;
    text-align: center;
    border-radius: 24px;
    background: linear-gradient(145deg, #0d1f35 0%, #0a1628 50%, #061120 100%) !important;
    border: 3px solid transparent;
    background-clip: padding-box;
    box-shadow:
        0 0 0 1px rgba(30, 144, 255, 0.3),
        0 20px 60px rgba(0, 0, 0, 0.6),
        0 0 100px rgba(30, 144, 255, 0.2),
        inset 0 1px 0 rgba(255, 255, 255, 0.1) !important;
    overflow: hidden;
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Animated border gradient effect */
#exit-modal::before,
.exit-modal::before {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    background: linear-gradient(135deg, #1e90ff, #0066cc, #4da6ff, #1e90ff);
    background-size: 300% 300%;
    border-radius: 24px;
    z-index: -1;
    animation: borderGlow 4s ease infinite;
    -webkit-animation: borderGlow 4s ease infinite;
}

/* Inner glow effect */
#exit-modal::after,
.exit-modal::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 200px;
    background: radial-gradient(ellipse at top, rgba(30, 144, 255, 0.15) 0%, transparent 70%);
    pointer-events: none;
}

/* Animations */
@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: scale(0.9) translateY(20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

@keyframes borderGlow {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

/* Close button */
.exit-modal__btn-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 36px;
    height: 36px;
    background: linear-gradient(135deg, rgba(30, 144, 255, 0.2), rgba(30, 144, 255, 0.1)) !important;
    border: 2px solid rgba(30, 144, 255, 0.4) !important;
    border-radius: 50%;
    cursor: pointer;
    z-index: 100;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.exit-modal__btn-close::before {
    content: '×';
    font-size: 24px;
    color: #4da6ff;
    font-weight: 300;
    line-height: 1;
}

.exit-modal__btn-close:hover {
    background: linear-gradient(135deg, rgba(255, 71, 87, 0.3), rgba(255, 71, 87, 0.2)) !important;
    border-color: rgba(255, 71, 87, 0.6) !important;
    transform: rotate(90deg) scale(1.1);
}

.exit-modal__btn-close:hover::before {
    color: #ff6b7a;
}

/* Logo figure */
.popup-figure,
#exit-modal .popup-figure {
    position: relative !important;
    padding: 30px 20px 20px !important;
    z-index: 1;
}

.popup-figure::before,
#exit-modal .popup-figure::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 140px;
    height: 140px;
    background: radial-gradient(circle, rgba(30, 144, 255, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
}

.popup-figure figure,
#exit-modal .popup-figure figure {
    margin: 0 !important;
    padding: 0 !important;
    display: flex !important;
    justify-content: center !important;
    align-items: center !important;
}

.popup-figure img,
#exit-modal .popup-figure img {
    max-width: 160px !important;
    height: auto !important;
    filter: drop-shadow(0 8px 24px rgba(30, 144, 255, 0.4)) !important;
    transition: transform 0.3s ease !important;
}

.popup-figure img:hover,
#exit-modal .popup-figure img:hover {
    transform: scale(1.05) !important;
}

/* Bonus title */
.popup-bonus,
#exit-modal .popup-bonus {
    font-size: 18px !important;
    font-weight: 700 !important;
    color: #4da6ff !important;
    text-transform: uppercase !important;
    letter-spacing: 2px !important;
    margin: 15px 0 10px !important;
    text-shadow: 0 0 20px rgba(77, 166, 255, 0.6) !important;
    position: relative !important;
    z-index: 1;
}

/* Money bonus - main highlight */
.popup-money-bonus,
#exit-modal .popup-money-bonus,
.popup-bonus span,
#exit-modal .popup-bonus span {
    display: block !important;
    font-size: 42px !important;
    font-weight: 900 !important;
    color: #ffffff !important;
    margin: 10px 0 !important;
    text-shadow:
        0 0 30px rgba(30, 144, 255, 0.8),
        0 0 60px rgba(30, 144, 255, 0.4) !important;
    background: linear-gradient(135deg, #ffffff 0%, #4da6ff 50%, #1e90ff 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    animation: shimmer 3s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% {
        filter: brightness(1);
    }
    50% {
        filter: brightness(1.3);
    }
}

/* Money bonus bottom text */
.money-bonus,
#exit-modal .money-bonus {
    font-size: 16px !important;
    font-weight: 600 !important;
    color: #a8c8e8 !important;
    margin: 10px 0 20px !important;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3) !important;
}

/* Money bonus text content */
#exit-modal .money-bonus {
    color: #a8c8e8 !important;
}

/* CTA Button */
#exit-modal .btn,
.exit-modal .btn,
.exit-modal .link-params {
    display: inline-block;
    margin: 20px auto;
    padding: 18px 40px;
    font-size: 18px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff !important;
    background: linear-gradient(135deg, #1e90ff 0%, #0066cc 50%, #0052a3 100%) !important;
    border: none !important;
    border-radius: 50px;
    cursor: pointer;
    box-shadow:
        0 8px 32px rgba(30, 144, 255, 0.5),
        0 0 0 1px rgba(77, 166, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.2) !important;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

#exit-modal .btn::before,
.exit-modal .btn::before,
.exit-modal .link-params::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

#exit-modal .btn:hover,
.exit-modal .btn:hover,
.exit-modal .link-params:hover {
    background: linear-gradient(135deg, #4da6ff 0%, #1e90ff 50%, #0066cc 100%) !important;
    box-shadow:
        0 12px 48px rgba(30, 144, 255, 0.7),
        0 0 0 2px rgba(77, 166, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3) !important;
    transform: translateY(-3px) scale(1.02);
}

#exit-modal .btn:hover::before,
.exit-modal .btn:hover::before,
.exit-modal .link-params:hover::before {
    left: 100%;
}

#exit-modal .btn:active,
.exit-modal .btn:active,
.exit-modal .link-params:active {
    transform: translateY(-1px) scale(1);
}

/* Terms link */
.popup-link-tc,
#exit-modal .popup-link-tc {
    font-size: 13px !important;
    color: #6496c8 !important;
    margin-top: 15px !important;
    padding: 0 20px 20px !important;
    transition: color 0.3s ease !important;
}

.popup-link-tc:hover,
#exit-modal .popup-link-tc:hover {
    color: #4da6ff !important;
    text-decoration: underline !important;
}

/* Fade in animation for modal */
.wrap-exit-modal[style*="display: flex"] #exit-modal,
.wrap-exit-modal[style*="display: flex"] .exit-modal {
    animation: modalSlideIn 0.4s cubic-bezier(0.16, 1, 0.3, 1) !important;
}

/* Mobile responsive */
@media (max-width: 480px) {
    .wrap-exit-modal {
        padding: 10px !important;
    }

    #exit-modal,
    .exit-modal {
        max-width: 90%;
        margin: 15px;
        border-radius: 20px;
    }

    #exit-modal::before,
    .exit-modal::before {
        border-radius: 20px;
    }

    .popup-figure,
    #exit-modal .popup-figure {
        padding: 20px 15px 15px !important;
    }

    .popup-figure img,
    #exit-modal .popup-figure img {
        max-width: 120px !important;
    }

    .popup-bonus,
    #exit-modal .popup-bonus {
        font-size: 16px !important;
        letter-spacing: 1px !important;
    }

    .popup-money-bonus,
    #exit-modal .popup-money-bonus,
    .popup-bonus span,
    #exit-modal .popup-bonus span {
        font-size: 32px !important;
    }

    .money-bonus,
    #exit-modal .money-bonus {
        font-size: 14px !important;
    }

    #exit-modal .btn,
    .exit-modal .btn,
    .exit-modal .link-params {
        padding: 15px 30px !important;
        font-size: 16px !important;
    }

    .exit-modal__btn-close {
        width: 32px !important;
        height: 32px !important;
        top: 12px !important;
        right: 12px !important;
    }

    .exit-modal__btn-close::before {
        font-size: 20px !important;
    }
}

@media (max-width: 320px) {
    #exit-modal,
    .exit-modal {
        max-width: 95%;
        margin: 10px;
    }

    .popup-bonus,
    #exit-modal .popup-bonus {
        font-size: 14px !important;
    }

    .popup-money-bonus,
    #exit-modal .popup-money-bonus,
    .popup-bonus span,
    #exit-modal .popup-bonus span {
        font-size: 28px !important;
    }
}

/* Age verification overlay */
.overlay {
    background: rgba(5, 13, 26, 0.95) !important;
}

.popup {
    background: linear-gradient(145deg, #0a1628, #1a3a5c) !important;
    border: 2px solid #1e90ff !important;
    box-shadow: 0 25px 60px rgba(30, 144, 255, 0.6) !important;
}

.btn-primary {
    background: linear-gradient(135deg, #1e90ff, #0066cc) !important;
    border: none !important;
    color: #ffffff !important;
}

.warning-icon {
    background: linear-gradient(135deg, #ff4757, #ff6b7a) !important;
}

/* Responsibly block */
.responsibly-block {
    background: linear-gradient(180deg, #0a1628 0%, #061829 100%);
    position: relative;
}

.responsibly-block::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, rgba(30, 144, 255, 0.08) 0%, transparent 60%);
    pointer-events: none;
}

/* Table wrappers */
.wrappers {
    position: relative;
    z-index: 1;
}

/* Table column styles */
.table_col-number,
.table_col-site,
.table_col-bonus,
.table_col-btn,
.table_col-rating {
    color: #ffffff !important;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #0a1628;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #1e90ff, #0066cc);
    border-radius: 6px;
    border: 2px solid #0a1628;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #4da6ff, #1e90ff);
}

/* Selection color */
::selection {
    background: rgba(30, 144, 255, 0.4);
    color: #ffffff;
}

/* Link styles */
a {
    color: #4da6ff;
    transition: color 0.3s ease;
}

a:hover {
    color: #1e90ff;
}

/* Footer styles */
.site-footer {
    color: #ffffff;
    position: relative;
    background: linear-gradient(180deg, #050d1a 0%, #0a1628 100%);
    border-top: 3px solid #1e90ff;
    text-align: center;
}

.footer-nav-wrap {
    border-radius: 10px;
    background: rgba(30, 144, 255, 0.1);
    border: 1px solid rgba(30, 144, 255, 0.3);
    padding: 16px 32px;
    margin-bottom: 20px;
}

.menu-footer-menu-container ul li a:hover {
    color: #1e90ff !important;
    text-decoration: none;
    text-shadow: 0 0 10px rgba(30, 144, 255, 0.8);
}

/* Mobile responsive */
@media (max-width: 768px) {
    .header-container {
        flex-direction: column;
        text-align: center;
    }

    .header-logo {
        justify-content: center;
        gap: 10px;
    }

    .header-site-name {
        font-size: 18px;
        letter-spacing: 0.5px;
    }

    .header-logo img {
        height: 40px;
    }

    .header-nav ul {
        justify-content: center;
        gap: 10px;
    }

    .header-nav a {
        font-size: 12px;
        padding: 6px 12px;
    }

    .first-block {
        padding-top: 180px;
    }

    .site-footer {
        margin-top: 1rem;
    }

    .footer-logos {
        justify-content: center;
        gap: 15px;
    }

    .footer-container {
        padding: 2rem 1rem 1.5rem;
    }

    .site-footer .custom-logo-link {
        margin: 0 auto 1.5rem;
        display: block;
    }

    .footer-nav-wrap {
        padding-right: 0;
        border: none;
        margin-bottom: 2rem;
    }

    .menu-footer-menu-container ul {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
    }

    .menu-footer-menu-container ul li {
        width: 50%;
        display: inline-block;
    }

    .footer-widget {
        text-align: center;
        padding-right: 0;
    }

    .site-footer .site-branding {
        text-align: center;
        margin-bottom: 15px;
        display: block;
    }

    .footer-logos img {
        height: 30px;
    }
}
