/* ==============================
   Cassinos Portugal - Custom CSS
   ============================== */

/* Root Variables */
:root {
    --primary-color: #1e3a8a;
    --secondary-color: #f59e0b;
    --accent-color: #d4af37;
    --dark-blue: #1e293b;
    --darker-blue: #0f172a;
    --light-gray: #f8fafc;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --white: #ffffff;
    --danger: #dc2626;
    --success: #059669;
    --warning: #d97706;
    --gradient-primary: linear-gradient(135deg, #1e3a8a 0%, #3b82f6 100%);
    --gradient-gold: linear-gradient(135deg, #d4af37 0%, #f59e0b 100%);
    --box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    --box-shadow-hover: 0 15px 35px rgba(0, 0, 0, 0.15);
    --border-radius: 12px;
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    overflow-x: hidden;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--dark-blue);
    margin-bottom: 1rem;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-gold);
    border-radius: 2px;
}

.section-subtitle {
    font-size: 1.1rem;
    color: var(--text-light);
    max-width: 600px;
    margin: 0 auto;
}

/* Custom Background Classes */
.bg-casino-dark {
    background: var(--gradient-primary);
}

/* Navbar Styles */
.navbar {
    padding: 1rem 0;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.navbar.scrolled {
    background: rgba(30, 58, 138, 0.95) !important;
    box-shadow: var(--box-shadow);
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white) !important;
    text-decoration: none;
}

.casino-logo i {
    font-size: 1.8rem;
}

.navbar-logo {
    height: 40px;
    width: auto;
    max-width: 40px;
    object-fit: contain;
}

.nav-link {
    color: var(--white) !important;
    font-weight: 500;
    padding: 0.5rem 1rem !important;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--secondary-color) !important;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--secondary-color);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

.btn-casino {
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    border-radius: 25px;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-casino:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow-hover);
}

/* Hero Section */
.hero-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #0f172a 0%, #1e293b 50%, #1e3a8a 100%);
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
    overflow: hidden;
    padding-top: 100px; /* Add padding to prevent header overlap */
    display: flex;
    align-items: center;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="casino" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(212,175,55,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23casino)"/></svg>');
    opacity: 0.3;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
}

.hero-section .container {
    z-index: 2;
    position: relative;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 2rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.hero-features i {
    font-size: 2rem;
    display: block;
}

.hero-cta .btn {
    margin: 0.5rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

/* Featured Casino Cards */
.featured-casino-card {
    background: var(--white);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin: 1rem;
    box-shadow: var(--box-shadow);
    border: 2px solid transparent;
    transition: all 0.3s ease;
}

.featured-casino-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
    border-color: var(--secondary-color);
}

/* Старые стили casino-logo-container удалены - используется новая версия ниже */

/* Casino Grid Cards - Улучшенная стилистика */
.casino-card {
    background: var(--white);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(245, 158, 11, 0.1);
    position: relative;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.casino-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform 0.4s ease;
}

.casino-card:hover {
    transform: translateY(-12px) scale(1.02);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(245, 158, 11, 0.2);
    border-color: rgba(245, 158, 11, 0.3);
}

.casino-card:hover::before {
    transform: scaleX(1);
}

/* Casino Header */
.casino-header {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    padding: 1.5rem 1rem 1rem;
    text-align: center;
    position: relative;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.casino-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: var(--gradient-gold);
    border-radius: 1px;
}

/* Logo Container Улучшен */
.casino-logo-container {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100px;
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

.casino-logo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(245, 158, 11, 0.15), transparent);
    transition: transform 0.5s ease;
    transform: rotate(-45deg) translateX(-100%);
}

.casino-card:hover .casino-logo-container::before {
    transform: rotate(-45deg) translateX(100%);
}

.casino-logo-container img {
    max-width: 120px;
    max-height: 70px;
    width: auto;
    height: auto;
    filter: brightness(1.2) contrast(1.1) drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.25rem;
}

.casino-card:hover .casino-logo-container img {
    transform: scale(1.05);
    filter: brightness(1.3) contrast(1.2) drop-shadow(0 4px 8px rgba(0, 0, 0, 0.4));
    background: rgba(255, 255, 255, 0.15);
}

/* Rating Система */
.casino-rating {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-top: 0.5rem;
}

.rating-score {
    background: var(--gradient-gold);
    color: var(--white);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    position: relative;
}

.rating-score::after {
    content: '/10';
    font-size: 0.8rem;
    opacity: 0.9;
    margin-left: 2px;
}

.rating-stars {
    display: flex;
    gap: 2px;
}

.rating-stars i {
    font-size: 1.1rem;
    color: #fbbf24;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.1);
    transition: all 0.2s ease;
}

.casino-card:hover .rating-stars i {
    transform: scale(1.1);
    color: #f59e0b;
}

/* Casino Body */
.casino-body {
    padding: 1.5rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.casino-body h5 {
    color: var(--dark-blue);
    font-size: 1.4rem;
    font-weight: 700;
    margin-bottom: 1rem;
    text-align: center;
    position: relative;
}

.casino-bonus {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: var(--white);
    padding: 0.75rem 1rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 0.95rem;
    text-align: center;
    margin-bottom: 1rem;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
    position: relative;
    overflow: hidden;
}

.casino-bonus::before {
    content: '🎁';
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.casino-bonus::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.casino-card:hover .casino-bonus::after {
    left: 100%;
}

/* Feature Badges */
.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
    justify-content: center;
}

.feature-badge {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    color: #0277bd;
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    border: 1px solid rgba(2, 119, 189, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-badge:nth-child(2) {
    background: linear-gradient(135deg, #f3e8ff 0%, #ddd6fe 100%);
    color: #7c3aed;
    border-color: rgba(124, 58, 237, 0.2);
}

.feature-badge:nth-child(3) {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    color: #d97706;
    border-color: rgba(217, 119, 6, 0.2);
}

.feature-badge::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.4s ease;
}

.casino-card:hover .feature-badge::before {
    left: 100%;
}

.feature-badge:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Description */
.casino-description {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
    text-align: center;
    margin-bottom: 0;
    flex-grow: 1;
}

/* Casino Footer */
.casino-footer {
    padding: 1.5rem;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

.casino-footer .btn-casino {
    width: 100%;
    padding: 1rem 1.5rem;
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-radius: 12px;
    background: var(--gradient-gold);
    border: none;
    color: var(--white);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
}

.casino-footer .btn-casino::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.casino-footer .btn-casino:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

.casino-footer .btn-casino:hover::before {
    left: 100%;
}

.casino-footer .btn-casino:active {
    transform: translateY(-1px);
}

.casino-footer .btn-casino i {
    transition: transform 0.3s ease;
}

.casino-footer .btn-casino:hover i {
    transform: translateX(3px);
}

.bonus-highlight {
    background: linear-gradient(135deg, #059669 0%, #10b981 100%);
    color: var(--white);
    padding: 1rem;
    border-radius: var(--border-radius);
    margin: 1rem 0;
    text-align: center;
    font-weight: 600;
}

/* Payment Cards */
.payment-card {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    height: 100%;
}

.payment-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: var(--box-shadow-hover);
}

.payment-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.info-box {
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    display: flex;
    align-items: center;
    border-left: 4px solid var(--secondary-color);
}

.info-box i {
    font-size: 2rem;
    margin-right: 1rem;
}

/* Security Cards */
.security-card {
    background: var(--white);
    padding: 2rem 1rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    transition: all 0.3s ease;
    height: 100%;
    border-top: 4px solid var(--primary-color);
}

.security-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.security-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.responsible-gaming-box {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 2px solid var(--warning);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
}

/* Guide Steps */
.guide-step {
    display: flex;
    align-items: flex-start;
    background: var(--white);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    margin-bottom: 1rem;
    transition: all 0.3s ease;
}

.guide-step:hover {
    transform: translateX(10px);
    box-shadow: var(--box-shadow-hover);
}

.step-number {
    background: var(--gradient-gold);
    color: var(--white);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.2rem;
    margin-right: 1rem;
    flex-shrink: 0;
}

.step-content h5 {
    color: var(--dark-blue);
    margin-bottom: 0.5rem;
}

.tips-box {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 2rem;
}

.tips-box ul {
    margin-bottom: 0;
}

.tips-box li {
    margin-bottom: 0.5rem;
    position: relative;
    padding-left: 1.5rem;
}

.tips-box li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success);
    font-weight: bold;
}

/* Testimonials */
.testimonial-card {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    text-align: center;
    border-top: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    height: 100%;
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--box-shadow-hover);
}

.testimonial-author {
    margin-top: 1rem;
    color: var(--text-light);
}

.stars i {
    color: var(--secondary-color);
    margin: 0 2px;
}

/* Modern FAQ Styles */
.faq-questions-container {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    overflow: hidden;
    position: relative;
}

/* FAQ Background Images */
.faq-bg-left, .faq-bg-right {
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

.faq-bg-left::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.faq-bg-right::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(2px);
    z-index: 1;
}

.faq-questions-container > *,
.faq-help-section > * {
    position: relative;
    z-index: 2;
}

.faq-question-item {
    border-bottom: 1px solid #e5e7eb;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-question-item:last-child {
    border-bottom: none;
}

.faq-question-item:hover {
    background: rgba(30, 58, 138, 0.05);
}

.faq-question-item.active {
    background: rgba(245, 158, 11, 0.15);
    border-left: 4px solid var(--secondary-color);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.faq-question-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    font-weight: 600;
    color: var(--dark-blue);
    transition: all 0.3s ease;
}

.faq-question-header span {
    flex: 1;
    margin-right: 1rem;
}

.faq-question-header i {
    color: var(--secondary-color);
    transition: transform 0.3s ease;
    font-size: 0.9rem;
}

.faq-question-item.active .faq-question-header i {
    transform: rotate(90deg);
    color: var(--primary-color);
}

.faq-answer {
    display: none;
    padding: 0 1.5rem 1.5rem 1.5rem;
    color: var(--text-light);
    line-height: 1.6;
    background: rgba(255, 255, 255, 0.8);
}

.faq-question-item.active .faq-answer {
    display: block;
    animation: fadeInDown 0.3s ease;
}

.faq-answer p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* FAQ Help Section */
.faq-help-section {
    background: var(--white);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    padding: 2rem;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.faq-professional-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 15px 35px rgba(30, 58, 138, 0.4), 0 5px 15px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 3;
}

.faq-professional-avatar::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
    animation: rotate 4s linear infinite;
}

.faq-professional-avatar i {
    font-size: 3rem;
    color: var(--white);
}

.faq-help-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-weight: 600;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.1);
}

.faq-help-section p {
    color: var(--text-light);
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.faq-help-buttons .btn {
    border-radius: 25px;
    padding: 0.75rem 2rem;
    font-weight: 600;
    width: 100%;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.faq-help-buttons .btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(245, 158, 11, 0.4);
}

/* Support Contact Info */
.support-contact-info {
    font-size: 0.95rem;
}

.support-contact-info div {
    margin-bottom: 0.5rem;
}

.support-contact-info i {
    width: 20px;
    text-align: center;
}

/* FAQ Animations */
@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Legacy FAQ Accordion (keeping for backward compatibility) */
.accordion-item {
    border: none;
    margin-bottom: 1rem;
    border-radius: var(--border-radius) !important;
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.accordion-button {
    background: var(--gradient-primary);
    color: var(--white);
    font-weight: 600;
    border: none;
    padding: 1.25rem 1.5rem;
}

.accordion-button:not(.collapsed) {
    background: var(--gradient-gold);
    color: var(--white);
}

.accordion-button:focus {
    box-shadow: none;
    border: none;
}

.accordion-body {
    background: var(--white);
    padding: 1.5rem;
    color: var(--text-dark);
}

/* Responsive FAQ */
@media (max-width: 768px) {
    .faq-question-header {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .faq-question-header span {
        margin-right: 0;
        margin-bottom: 0.5rem;
    }
    
    .faq-answer {
        padding: 0 1rem 1rem 1rem;
    }
    
    .faq-help-section {
        padding: 1.5rem;
        margin-top: 2rem;
    }
    
    .faq-professional-avatar {
        width: 100px;
        height: 100px;
    }
    
    .faq-professional-avatar i {
        font-size: 2.5rem;
    }
    
    .support-contact-info {
        text-align: center;
        margin-top: 1rem;
    }
    
    /* FAQ Background adjustments for mobile */
    .faq-bg-left::before,
    .faq-bg-right::before {
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(1px);
    }
    
    .faq-bg-left,
    .faq-bg-right {
        background-size: cover;
        background-attachment: scroll;
    }
    
    /* Parallax adjustments for mobile */
    .casino-advanced-guide-with-parallax {
        background-attachment: scroll !important;
        min-height: 80vh !important;
    }
    
    .parallax-overlay-dark {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Modern Contact Section */
.contact-modern-section {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 30%, #4a148c 70%, #6a1b9a 100%);
    position: relative;
    overflow: hidden;
}

.contact-modern-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="contactPattern" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(245,158,11,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23contactPattern)"/></svg>');
    opacity: 0.4;
}

.contact-modern-section .container {
    position: relative;
    z-index: 2;
}

.contact-modern-section .section-title::after {
    background: var(--gradient-gold);
}

/* Modern Contact Form */
.contact-form-modern {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.modern-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 10px;
    color: var(--white);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.modern-input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25);
    color: var(--white);
}

.modern-input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.form-floating > label {
    color: rgba(255, 255, 255, 0.8);
    font-weight: 500;
}

.form-floating > .form-control:focus ~ label,
.form-floating > .form-control:not(:placeholder-shown) ~ label,
.form-floating > .form-select ~ label {
    color: var(--secondary-color);
    font-weight: 600;
}

.modern-checkbox .form-check-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(245, 158, 11, 0.5);
    border-radius: 4px;
}

.modern-checkbox .form-check-input:checked {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.modern-submit-btn {
    width: 100%;
    padding: 1rem 2rem;
    font-weight: 600;
    border-radius: 10px;
    background: var(--gradient-gold);
    border: none;
    color: var(--white);
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 10px 25px rgba(245, 158, 11, 0.3);
}

.modern-submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
    color: var(--white);
}

/* Contact Info Modern */
.contact-info-modern {
    padding: 1rem;
}

.contact-item-modern {
    display: flex;
    align-items: center;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    border-left: 4px solid var(--secondary-color);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-item-modern:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(245, 158, 11, 0.2);
}

.contact-icon-modern {
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    flex-shrink: 0;
    box-shadow: 0 5px 15px rgba(245, 158, 11, 0.3);
}

.contact-icon-modern i {
    font-size: 1.3rem;
    color: var(--white);
}

.contact-details h6 {
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.contact-details p {
    margin-bottom: 0;
    font-size: 0.95rem;
}

/* Professional Avatar */
.professional-avatar {
    width: 120px;
    height: 120px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 15px 35px rgba(245, 158, 11, 0.4);
    position: relative;
}

.professional-avatar::before {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color), var(--secondary-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.6;
    animation: rotate 3s linear infinite;
}

.professional-avatar i {
    font-size: 3rem;
    color: var(--white);
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* FAQ Modern Section */
.faq-modern-section {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    padding: 2rem;
    backdrop-filter: blur(15px);
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.faq-item-modern {
    background: rgba(255, 255, 255, 0.08);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(245, 158, 11, 0.2);
    transition: all 0.3s ease;
}

.faq-item-modern:hover {
    border-color: var(--secondary-color);
    box-shadow: 0 5px 20px rgba(245, 158, 11, 0.2);
}

.faq-question-modern {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    cursor: pointer;
    color: var(--white);
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.faq-question-modern:hover {
    background: rgba(245, 158, 11, 0.2);
    color: var(--secondary-color);
}

.faq-question-modern i {
    transition: transform 0.3s ease;
    color: var(--secondary-color);
}

.faq-question-modern[aria-expanded="true"] i {
    transform: rotate(180deg);
}

.faq-answer-modern {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
}

.faq-answer-modern p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Contact Form Legacy */
.contact-form-wrapper {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

.form-control, .form-select {
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.form-control:focus, .form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(30, 58, 138, 0.25);
}

.contact-info {
    text-align: center;
    padding: 1.5rem;
}

.contact-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* Responsive Contact Modern */
@media (max-width: 768px) {
    .contact-form-modern {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .contact-item-modern {
        flex-direction: column;
        text-align: center;
        padding: 1.5rem;
    }
    
    .contact-icon-modern {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .professional-avatar {
        width: 100px;
        height: 100px;
    }
    
    .professional-avatar i {
        font-size: 2.5rem;
    }
    
    .faq-modern-section {
        padding: 1.5rem;
    }
    
    .faq-question-modern {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .faq-question-modern i {
        margin-top: 0.5rem;
    }
}

/* Footer */
footer {
    background: var(--darker-blue) !important;
}

footer h5, footer h6 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

footer a {
    color: #9ca3af !important;
    text-decoration: none;
    transition: all 0.3s ease;
}

footer a:hover {
    color: var(--secondary-color) !important;
    transform: translateX(5px);
}

/* Footer Policies Links */
.footer-policies {
    margin-top: 0.5rem;
}

.footer-policies a {
    text-decoration: none;
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid transparent;
    display: inline-block;
    transform: none !important; /* Override general footer a:hover transform */
}

.footer-policies a:hover {
    background: rgba(245, 158, 11, 0.1);
    border-color: var(--secondary-color);
    transform: translateY(-1px) !important;
}

.social-links a {
    display: inline-block;
    width: 40px;
    height: 40px;
    background: var(--primary-color);
    border-radius: 50%;
    text-align: center;
    line-height: 40px;
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--secondary-color);
    transform: translateY(-3px);
}

/* Chat Widget - Улучшенный дизайн */
.chat-widget {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
}

.chat-toggle {
    width: 65px;
    height: 65px;
    border-radius: 50%;
    background: var(--gradient-gold);
    border: 3px solid var(--white);
    color: var(--white);
    font-size: 1.6rem;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.chat-toggle::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: transform 0.6s ease;
    transform: rotate(-45deg) translateX(-100%);
}

.chat-toggle:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 12px 35px rgba(245, 158, 11, 0.6);
}

.chat-toggle:hover::before {
    transform: rotate(-45deg) translateX(100%);
}

.chat-window {
    position: absolute;
    bottom: 80px;
    right: 0;
    width: 350px;
    height: 450px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    border: 2px solid rgba(245, 158, 11, 0.2);
    backdrop-filter: blur(10px);
}

.chat-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--secondary-color);
}

.chat-body {
    display: flex;
    flex-direction: column;
    height: calc(100% - 70px);
}

.chat-messages {
    flex: 1;
    padding: 1rem;
    overflow-y: auto;
    background: linear-gradient(135deg, #f8fafc 0%, #f1f5f9 100%);
    max-height: 280px;
}

.chat-message {
    margin-bottom: 1rem;
    padding: 0.75rem 1rem;
    border-radius: 15px;
    font-size: 0.9rem;
    line-height: 1.4;
    animation: fadeInUp 0.3s ease;
}

.chat-message.bot {
    background: linear-gradient(135deg, #e0f2fe 0%, #b3e5fc 100%);
    border: 1px solid rgba(2, 119, 189, 0.2);
    color: #0277bd;
    align-self: flex-start;
    border-radius: 15px 15px 15px 5px;
}

.chat-message.user {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border: 1px solid rgba(217, 119, 6, 0.2);
    color: #d97706;
    align-self: flex-end;
    margin-left: auto;
    max-width: 80%;
    border-radius: 15px 15px 5px 15px;
}

.chat-message.typing {
    background: linear-gradient(135deg, #f3e8ff 0%, #ddd6fe 100%);
    border: 1px solid rgba(124, 58, 237, 0.2);
    color: #7c3aed;
}

.typing-dots {
    animation: typingDots 1.5s infinite;
}

@keyframes typingDots {
    0%, 60%, 100% { opacity: 0.3; }
    30% { opacity: 1; }
}

.chat-options {
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid rgba(0, 0, 0, 0.1);
    max-height: 160px;
    overflow-y: auto;
}

.chat-option-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    margin-bottom: 0.5rem;
    border: 2px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    background: linear-gradient(135deg, #fefbf3 0%, #fef7e6 100%);
    color: var(--text-dark);
    font-size: 0.85rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
}

.chat-option-btn:hover {
    background: linear-gradient(135deg, #fef3c7 0%, #fde68a 100%);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.2);
}

.chat-option-btn:last-child {
    margin-bottom: 0;
}

.chat-option-btn i {
    color: var(--secondary-color);
    font-size: 1rem;
}

/* Chat Widget Mobile */
@media (max-width: 768px) {
    .chat-widget {
        bottom: 15px;
        right: 15px;
    }
    
    .chat-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.4rem;
    }
    
    .chat-window {
        width: 300px;
        height: 400px;
        bottom: 70px;
        right: -10px;
    }
    
    .chat-messages {
        max-height: 240px;
    }
    
    .chat-options {
        max-height: 140px;
    }
    
    .chat-option-btn {
        padding: 0.6rem 0.8rem;
        font-size: 0.8rem;
    }
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: 8px;
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.btn-warning {
    background: var(--gradient-gold);
    border: none;
    color: var(--white);
}

.btn-outline-light {
    border: 2px solid var(--white);
    color: var(--white);
    font-weight: 600;
}

.btn-outline-light:hover {
    background: var(--white);
    color: var(--primary-color);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.8s ease forwards;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

.floating {
    animation: float 3s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding-top: 120px; /* Extra padding for mobile to prevent navbar overlap */
        min-height: 100vh;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    .hero-title {
        font-size: 2.5rem;
        line-height: 1.3;
        margin-bottom: 1.5rem;
    }
    
    .hero-features {
        margin-top: 2rem;
    }
    
    .hero-cta .btn {
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-features .col-6 {
        margin-bottom: 1rem;
    }
    
    .featured-casino-card {
        padding: 1rem;
        margin: 0.5rem;
    }
    
    .guide-step {
        flex-direction: column;
        text-align: center;
    }
    
    .step-number {
        margin-bottom: 1rem;
    }
    
    .payment-card, .security-card {
        margin-bottom: 2rem;
    }
    
    .chat-window {
        width: 280px;
        right: -10px;
    }
    
    /* Mobile Casino Cards */
    .casino-card {
        border-radius: 16px;
        margin-bottom: 1.5rem;
    }
    
    .casino-card:hover {
        transform: translateY(-8px) scale(1.01);
    }
    
    .casino-header {
        padding: 1rem 0.75rem 0.75rem;
    }
    
    .casino-logo-container {
        min-height: 80px;
        padding: 0.75rem;
        border-radius: 12px;
    }
    
    .casino-logo-container img {
        max-width: 100px;
        max-height: 60px;
        padding: 0.2rem;
        background: rgba(255, 255, 255, 0.12);
    }
    
    .casino-body {
        padding: 1rem;
    }
    
    .casino-body h5 {
        font-size: 1.2rem;
        margin-bottom: 0.75rem;
    }
    
    .casino-bonus {
        padding: 0.6rem 0.8rem;
        font-size: 0.9rem;
        border-radius: 10px;
        margin-bottom: 0.75rem;
    }
    
    .casino-bonus::before {
        font-size: 1rem;
        left: 8px;
    }
    
    .feature-badge {
        padding: 0.3rem 0.6rem;
        font-size: 0.75rem;
    }
    
    .casino-features {
        margin-bottom: 0.75rem;
    }
    
    .casino-description {
        font-size: 0.9rem;
        line-height: 1.5;
    }
    
    .casino-footer {
        padding: 1rem;
    }
    
    .casino-footer .btn-casino {
        padding: 0.8rem 1rem;
        font-size: 0.9rem;
        letter-spacing: 0.3px;
    }
    
    .rating-score {
        padding: 0.4rem 0.8rem;
        font-size: 0.9rem;
    }
    
    .rating-stars i {
        font-size: 1rem;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-cta .btn {
        display: block;
        margin-bottom: 1rem;
        width: 100%;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .contact-form-wrapper {
        padding: 1rem;
    }
}

/* Print Styles */
@media print {
    .navbar, .chat-widget, footer {
        display: none !important;
    }
    
    .hero-section {
        height: auto !important;
        min-height: auto !important;
        padding: 2rem 0;
    }
    
    * {
        box-shadow: none !important;
    }
}

/* High Contrast Mode */
@media (prefers-contrast: high) {
    :root {
        --box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
        --border-radius: 8px;
    }
    
    .btn, .card, .form-control {
        border: 2px solid var(--text-dark);
    }
}

/* Reduced Motion */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Dark Mode Support (if needed in future) */
@media (prefers-color-scheme: dark) {
    /* Dark mode styles can be added here if needed */
}

/* Casino Cards Loading Animation */
@keyframes slideInUp {
    from {
        opacity: 0;
        transform: translateY(50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.casino-card {
    animation: slideInUp 0.6s ease-out forwards;
}

.casino-card:nth-child(1) { animation-delay: 0.1s; }
.casino-card:nth-child(2) { animation-delay: 0.2s; }
.casino-card:nth-child(3) { animation-delay: 0.3s; }

/* Casino Card Hover Glow Effect */
@keyframes glow {
    0%, 100% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15), 0 0 0 1px rgba(245, 158, 11, 0.2);
    }
    50% {
        box-shadow: 0 25px 50px rgba(0, 0, 0, 0.2), 0 0 20px rgba(245, 158, 11, 0.3);
    }
}

.casino-card:hover {
    animation: glow 2s ease-in-out infinite;
}

/* Premium Badge для топ казино */
.casino-card:nth-child(1)::after,
.casino-card:nth-child(2)::after,
.casino-card:nth-child(3)::after {
    content: '⭐ TOP';
    position: absolute;
    top: 15px;
    right: 15px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: var(--white);
    padding: 0.3rem 0.6rem;
    border-radius: 15px;
    font-size: 0.7rem;
    font-weight: 700;
    z-index: 10;
    box-shadow: 0 2px 8px rgba(220, 38, 38, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

/* Pulse animation для premium badge */
@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

/* SRIJ Badge специальный стиль */
.feature-badge:contains("SRIJ"),
.feature-badge:nth-child(3) {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%) !important;
    color: var(--white) !important;
    border-color: rgba(16, 185, 129, 0.3) !important;
    position: relative;
}

.feature-badge:nth-child(3)::after {
    content: '✓';
    position: absolute;
    right: -2px;
    top: -2px;
    font-size: 0.6rem;
    color: var(--white);
    background: #059669;
    border-radius: 50%;
    width: 12px;
    height: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

/* Casino Logo Improvements */
.casino-logo {
    transition: all 0.3s ease;
    filter: brightness(1) contrast(1);
}

.casino-card:hover .casino-logo {
    filter: brightness(1.1) contrast(1.1);
}

/* Smooth Grid Layout */
#casinosGrid {
    perspective: 1000px;
}

.col-lg-4 {
    transform-style: preserve-3d;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}

/* Selection Styles */
::selection {
    background: var(--secondary-color);
    color: var(--white);
}

::-moz-selection {
    background: var(--secondary-color);
    color: var(--white);
}

/* Focus Styles for Accessibility */
.btn:focus, .nav-link:focus, .form-control:focus {
    outline: 2px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: var(--white);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

/* Casino Advanced Guide Section */
.casino-advanced-guide {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f172a 100%);
    position: relative;
    overflow: hidden;
}

/* Remove default background when parallax is active */
.casino-advanced-guide.parallax-section {
    background: none !important;
}

/* Casino Advanced Guide with Parallax */
.casino-advanced-guide-with-parallax {
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
}

/* Force parallax on desktop */
@media (min-width: 769px) {
    .casino-advanced-guide-with-parallax {
        background-attachment: fixed !important;
    }
}

.casino-advanced-guide-with-parallax .container {
    position: relative;
    z-index: 2;
}

/* Decorative pattern overlay for parallax section */
.casino-advanced-guide-with-parallax::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="parallaxDots" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="rgba(212,175,55,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23parallaxDots)"/></svg>');
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
}

.casino-advanced-guide::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="dots" x="0" y="0" width="10" height="10" patternUnits="userSpaceOnUse"><circle cx="5" cy="5" r="0.5" fill="rgba(212,175,55,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23dots)"/></svg>');
    opacity: 0.3;
}

.casino-advanced-guide .container {
    position: relative;
    z-index: 2;
}

.casino-advanced-guide .section-title::after {
    background: var(--gradient-gold);
}

/* Parallax Section Styles */
.parallax-section {
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

/* Force parallax effect */
.parallax-section[style*="background-image"] {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
}

.parallax-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1;
    pointer-events: none;
}

.parallax-overlay-dark {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    pointer-events: none;
}

.parallax-section .container {
    position: relative;
    z-index: 2;
}

/* Enhanced parallax for casino advanced guide */
.casino-advanced-guide.parallax-section {
    background-attachment: fixed !important;
    background-blend-mode: overlay;
}

.casino-advanced-guide.parallax-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="casinoDots" x="0" y="0" width="15" height="15" patternUnits="userSpaceOnUse"><circle cx="7.5" cy="7.5" r="0.8" fill="rgba(212,175,55,0.15)"/></pattern></defs><rect width="100" height="100" fill="url(%23casinoDots)"/></svg>');
    opacity: 0.4;
    z-index: 1;
    pointer-events: none;
}

/* Parallax responsive adjustments */
@media (max-width: 768px) {
    .parallax-section {
        background-attachment: scroll;
        background-size: cover;
    }
    
    .casino-advanced-guide.parallax-section {
        background-attachment: scroll;
    }
    
    .parallax-overlay {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Smooth parallax animation for desktop */
@media (min-width: 769px) {
    .parallax-section {
        will-change: transform;
    }
}

/* Advanced Steps */
.advanced-step {
    display: flex;
    align-items: flex-start;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--border-radius);
    border-left: 4px solid var(--secondary-color);
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.advanced-step:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(10px);
    box-shadow: 0 10px 30px rgba(212, 175, 55, 0.2);
}

.step-icon {
    margin-right: 1.5rem;
    flex-shrink: 0;
}

.step-num {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: var(--gradient-gold);
    color: var(--white);
    font-weight: 700;
    font-size: 1.3rem;
    border-radius: 50%;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.step-details h5 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

.step-details p {
    margin-bottom: 0;
    line-height: 1.6;
}

/* Casino Professional Image */
.casino-professional-image {
    width: 150px;
    height: 150px;
    background: var(--gradient-gold);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    box-shadow: 0 15px 35px rgba(212, 175, 55, 0.3);
    position: relative;
}

.casino-professional-image::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    background: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    border-radius: 50%;
    z-index: -1;
    opacity: 0.3;
}

.casino-icon {
    font-size: 4rem;
    color: var(--white);
}

/* Expert Tips */
.expert-tips {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.tip-item {
    display: flex;
    align-items: center;
    padding: 0.5rem 0;
    transition: all 0.3s ease;
}

.tip-item:hover {
    transform: translateX(5px);
}

.tip-item i {
    font-size: 1.1rem;
    margin-right: 0.75rem;
}

/* Expert Highlight */
.expert-highlight {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(245, 158, 11, 0.2) 100%);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    display: flex;
    align-items: center;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.expert-highlight::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.8s ease;
}

.expert-highlight:hover::before {
    left: 100%;
}

.highlight-icon {
    margin-right: 1rem;
    flex-shrink: 0;
}

.highlight-icon i {
    font-size: 2rem;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

.highlight-content h6 {
    margin-bottom: 0.5rem;
    font-weight: 600;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Responsive for Advanced Guide */
@media (max-width: 768px) {
    .advanced-step {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .step-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
    
    .casino-professional-image {
        width: 120px;
        height: 120px;
    }
    
    .casino-icon {
        font-size: 3rem;
    }
    
    .expert-highlight {
        flex-direction: column;
        text-align: center;
    }
    
    .highlight-icon {
        margin-right: 0;
        margin-bottom: 1rem;
    }
}

/* Additional Utility Classes */
.text-casino-gold {
    color: var(--accent-color);
}

.bg-casino-gold {
    background: var(--gradient-gold);
}

.border-casino {
    border-color: var(--primary-color) !important;
}

.shadow-casino {
    box-shadow: var(--box-shadow);
}

.shadow-casino-hover {
    box-shadow: var(--box-shadow-hover);
}

/* Age Verification & Privacy Modals */
.age-modal, .privacy-modal {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #1e3a8a 100%);
    border: 2px solid var(--secondary-color);
    border-radius: var(--border-radius);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
    color: var(--white);
}

.age-modal .modal-body, .privacy-modal .modal-body {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
}

.age-icon i, .underage-icon i {
    font-size: 4rem;
    color: var(--secondary-color);
    animation: pulse 2s infinite;
}

.underage-icon i {
    color: var(--danger);
}

.age-warning {
    background: rgba(220, 38, 38, 0.2);
    border: 1px solid var(--danger);
    border-radius: 8px;
    padding: 1rem;
}

.policy-section {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 1rem;
    border-left: 4px solid var(--secondary-color);
}

.policy-check {
    margin-bottom: 0.5rem;
}

.policy-check .form-check-input {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--secondary-color);
    border-radius: 4px;
    margin-top: 0.3rem;
}

.policy-check .form-check-input:checked {
    background: var(--secondary-color);
    border-color: var(--secondary-color);
}

.policy-check .form-check-label {
    color: #000 !important;
    line-height: 1.5;
}

.policy-check .form-check-label a {
    color: var(--secondary-color);
    text-decoration: underline;
    font-weight: 600;
}

.policy-check .form-check-label a:hover {
    color: var(--accent-color);
}

/* Ensure black text in privacy modal policy sections */
.privacy-modal .policy-check .form-check-label {
    color: #000 !important;
}

.privacy-modal .modal-body {
    color: #000 !important;
}

.privacy-modal .modal-body p,
.privacy-modal .modal-body .policy-section {
    color: #000 !important;
}

/* Fix select text color in forms - stronger selectors */
select,
.form-select, 
.modern-input.form-select,
select.modern-input,
#contactForm select,
#contactForm .form-select,
.contact-modern-section select,
.contact-modern-section .form-select {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(0, 0, 0, 0.2) !important;
}

select option,
.form-select option,
.modern-input.form-select option,
select.modern-input option,
#contactForm select option,
#contactForm .form-select option,
.contact-modern-section select option,
.contact-modern-section .form-select option {
    color: #000 !important;
    background-color: #fff !important;
}

/* Fix all form input text colors */
.form-control,
.modern-input,
input.modern-input,
textarea.modern-input,
#contactForm .form-control,
#contactForm .modern-input,
.contact-modern-section .form-control,
.contact-modern-section .modern-input {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
}

.form-control::placeholder,
.modern-input::placeholder,
#contactForm .form-control::placeholder,
#contactForm .modern-input::placeholder {
    color: #666 !important;
    opacity: 0.8;
}

/* Force black text in floating labels and form elements */
.form-floating select,
.form-floating .form-select,
.form-floating .modern-input,
#contactForm .form-floating select,
#contactForm .form-floating .form-select,
#contactForm .form-floating .modern-input {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 0.95) !important;
}

/* Override any Bootstrap default colors */
.form-select:focus,
.modern-input:focus,
select:focus,
#contactForm select:focus,
#contactForm .form-select:focus {
    color: #000 !important;
    background-color: rgba(255, 255, 255, 0.98) !important;
    border-color: var(--secondary-color) !important;
    box-shadow: 0 0 0 0.2rem rgba(245, 158, 11, 0.25) !important;
}

.privacy-modal .modal-header {
    background: rgba(245, 158, 11, 0.2);
    border-bottom: 1px solid var(--secondary-color);
}

.privacy-modal .modal-footer {
    background: rgba(255, 255, 255, 0.05);
    border-top: 1px solid rgba(245, 158, 11, 0.3);
}

/* Responsible Gaming Badges */
.responsible-gaming-badges {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    justify-content: flex-start;
}

.badge-link {
    display: inline-block;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
}

.badge-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.responsible-badge {
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.responsible-badge:hover {
    border-color: var(--secondary-color);
}

/* Responsible Gaming Badges Main Section */
.responsible-gaming-badges-main {
    flex-wrap: wrap;
}

.badge-link-main {
    display: inline-block;
    transition: all 0.3s ease;
    padding: 0.5rem;
    border-radius: var(--border-radius);
    background: rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
}

.badge-link-main:hover {
    transform: translateY(-3px);
    background: rgba(0, 0, 0, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.responsible-badge-main {
    height: 50px;
    width: auto;
    max-width: 120px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
    transition: filter 0.3s ease;
    border-radius: 6px;
}

.badge-link-main:hover .responsible-badge-main {
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.2)) brightness(1.1);
}

.contact-support {
    text-align: right;
    line-height: 1.3;
}

.contact-support small {
    display: block;
    font-weight: 500;
}

/* Responsive adjustments for main badges */
@media (max-width: 768px) {
    .responsible-gaming-badges-main {
        flex-direction: column;
        text-align: center;
        gap: 1rem !important;
    }
    
    .responsible-badge-main {
        height: 40px;
        max-width: 100px;
    }
    
    .contact-support {
        text-align: center;
        margin-top: 0.5rem;
    }
}

/* Contact Section with Parallax */
.contact-with-parallax {
    background-attachment: fixed !important;
    background-size: cover !important;
    background-position: center center !important;
    background-repeat: no-repeat !important;
    min-height: 100vh;
    display: flex;
    align-items: center;
}

.parallax-overlay-contact {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 1;
    pointer-events: none;
}

.contact-with-parallax .container {
    position: relative;
    z-index: 2;
}

/* Contact Parallax Mobile Adjustments */
@media (max-width: 768px) {
    .contact-with-parallax {
        background-attachment: scroll !important;
        min-height: 80vh !important;
    }
    
    .parallax-overlay-contact {
        background: rgba(0, 0, 0, 0.8);
    }
}

/* Modal Animations */
.modal.fade .modal-dialog {
    transform: translateY(-50px);
    transition: transform 0.3s ease-out;
}

.modal.show .modal-dialog {
    transform: none;
}

/* Age Gate Overlay */
.age-gate-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Dropdown Menu Styling */
.navbar .dropdown-menu {
    background: rgba(15, 23, 42, 0.95);
    border: 1px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    backdrop-filter: blur(10px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.3);
}

.navbar .dropdown-item {
    color: var(--white);
    padding: 0.75rem 1rem;
    transition: all 0.3s ease;
}

.navbar .dropdown-item:hover {
    background: rgba(245, 158, 11, 0.2);
    color: var(--secondary-color);
    transform: translateX(5px);
}

/* Responsive for Modals */
@media (max-width: 768px) {
    .age-modal .modal-body, .privacy-modal .modal-body {
        padding: 2rem 1rem;
    }
    
    .age-icon i, .underage-icon i {
        font-size: 3rem;
    }
    
    .policy-section {
        padding: 0.75rem;
    }
    
    .responsible-gaming-badges {
        justify-content: center;
    }
    
    .responsible-badge {
        max-width: 70px;
    }
}

/* Policy Pages Styling */
.policy-section {
    background: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.policy-section:hover {
    box-shadow: var(--box-shadow-hover);
    border-left-color: var(--secondary-color);
}

.policy-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.policy-section h4 {
    color: var(--dark-blue);
    margin-top: 1.5rem;
    margin-bottom: 1rem;
}

.contact-info-box {
    background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 1rem;
}

.contact-info-box h5 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

/* GDPR Specific Styles */
.gdpr-right {
    background: rgba(30, 58, 138, 0.05);
    border: 1px solid rgba(30, 58, 138, 0.2);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.gdpr-right:hover {
    background: rgba(30, 58, 138, 0.1);
    transform: translateY(-2px);
    box-shadow: var(--box-shadow);
}

.right-header {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(30, 58, 138, 0.2);
}

.right-header h4 {
    margin: 0;
    color: var(--dark-blue);
}

.action-box {
    background: rgba(245, 158, 11, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1rem;
    font-weight: 500;
}

.action-box code {
    background: var(--secondary-color);
    color: var(--white);
    padding: 0.25rem 0.5rem;
    border-radius: 4px;
    font-weight: 600;
}

.authority-info {
    background: linear-gradient(135deg, #dbeafe 0%, #bfdbfe 100%);
    border: 2px solid var(--primary-color);
    border-radius: var(--border-radius);
    padding: 2rem;
    margin-top: 1rem;
}

.exercise-rights-guide {
    background: rgba(5, 150, 105, 0.1);
    border: 2px solid var(--success);
    border-radius: var(--border-radius);
    padding: 2rem;
}

.exercise-rights-guide ol {
    margin-left: 1rem;
}

.exercise-rights-guide ol li {
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    background: var(--white);
    padding: 1rem;
    border-radius: 8px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.gdpr-form-container {
    background: rgba(245, 158, 11, 0.05);
    border-radius: var(--border-radius);
    padding: 1rem;
}

.gdpr-form-container form {
    background: var(--white);
    border: 2px solid var(--secondary-color);
}

/* Policy Tables */
.policy-section table {
    margin-top: 1rem;
}

.policy-section table th {
    background: var(--gradient-primary);
    color: var(--white);
    border: none;
    padding: 1rem;
}

.policy-section table td {
    padding: 1rem;
    border-bottom: 1px solid #e5e7eb;
}

.policy-section table tr:hover {
    background: rgba(30, 58, 138, 0.05);
}

/* Responsive Policy Pages */
@media (max-width: 768px) {
    .policy-section {
        padding: 1.5rem;
        margin-bottom: 2rem;
    }
    
    .policy-section h2 {
        font-size: 1.5rem;
    }
    
    .right-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .right-header i {
        margin-bottom: 0.5rem;
    }
    
    .contact-info-box {
        padding: 1.5rem;
    }
    
    .authority-info {
        padding: 1.5rem;
    }
    
    .exercise-rights-guide {
        padding: 1.5rem;
    }
    
    .gdpr-form-container {
        padding: 0.5rem;
    }
} 