/* CSS Variables */
:root {
    --primary-color: #8c1836;
    --secondary-color: #220b4a;
    --accent-color: #191465;
    --background-light: #F9FAFB;
    --background-white: #ffffff;
    --background-gray: #e5e7eb;
    --text-dark: #1f2937;
    --text-light: #6b7280;
    --gradient-primary: linear-gradient(135deg, #220b4a 0%, #191465 50%, #8c1836 100%);
    --gradient-secondary: linear-gradient(135deg, #191465 0%, #220b4a 100%);
    --shadow-card: 0 10px 25px rgba(34, 11, 74, 0.1);
    --shadow-hover: 0 15px 35px rgba(34, 11, 74, 0.15);
    --border-radius: 16px;
    --border-radius-sm: 8px;
    --transition: all 0.3s ease;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--background-light);
}

/* Age Popup */
.age-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
}

.age-popup-content {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 400px;
    margin: 1rem;
}

.age-popup-buttons {
    margin-top: 1.5rem;
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.age-popup-buttons .btn {
    flex: 1;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--background-white);
    border-top: 1px solid var(--background-gray);
    padding: 1rem 0;
    z-index: 1000;
    box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.1);
}

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

/* Header */
.header {
    background: var(--gradient-primary);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 20px rgba(34, 11, 74, 0.1);
    z-index: 1000;
}

.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    color: rgba(255, 255, 255, 0.9) !important;
    font-weight: 500;
    margin: 0 0.5rem;
    transition: var(--transition);
}

.navbar-nav .nav-link:hover {
    color: white !important;
    transform: translateY(-2px);
}

/* Hero Section */
.hero-section {
    background: var(--gradient-primary);
    color: white;
    padding-top: 120px;
    position: relative;
    overflow: hidden;
}

.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="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.05)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.hero-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.age-notice {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(255, 255, 255, 0.1);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    font-size: 0.9rem;
}

/* Section Titles */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1rem;
}

.section-description {
    font-size: 1.1rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

/* Top Casinos Section */
.top-casinos-section {
    background: var(--background-white);
}

.casino-card {
    background: white;
    border-radius: var(--border-radius);
    padding: 2rem;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    border: 1px solid var(--background-gray);
    height: 100%;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.casino-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 1.5rem;
    position: relative;
}

.casino-logo {
    width: 80px;
    height: 60px;
    object-fit: contain;
    border-radius: var(--border-radius-sm);
}

.casino-info {
    flex: 1;
    margin-left: 1rem;
}

.casino-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stars {
    color: #fbbf24;
    font-size: 1.1rem;
}

.rating-score {
    font-weight: 600;
    color: var(--text-light);
}

.casino-badge {
    position: absolute;
    top: -10px;
    right: 0;
    background: linear-gradient(135deg, #f97316, #ea580c);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 500;
}

.casino-features {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.feature-tag {
    background: var(--background-light);
    color: var(--text-light);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    border: 1px solid var(--background-gray);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 2rem;
}

.payment-badge {
    background: var(--gradient-secondary);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.75rem;
    font-weight: 500;
}

.btn-casino {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.75rem 2rem;
    border-radius: var(--border-radius-sm);
    font-weight: 600;
    text-decoration: none;
    display: inline-block;
    transition: var(--transition);
    width: 100%;
    text-align: center;
}

.btn-casino:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(140, 24, 54, 0.3);
    color: white;
}

/* Guides Section */
.guides-section {
    background: var(--background-light);
}

.guides-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.guide-feature {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.guide-feature:hover {
    transform: translateY(-3px);
}

.guide-feature .material-icons-outlined {
    color: var(--primary-color);
    font-size: 2rem;
}

.guide-feature span:last-child {
    font-weight: 500;
    color: var(--text-dark);
}

.guides-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

/* Offers Section */
.offers-section {
    background: var(--background-white);
}

.offer-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: white;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--background-gray);
}

.offer-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.offer-icon {
    font-size: 3rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.offer-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.offer-card p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Comparison Section */
.comparison-section {
    background: var(--background-light);
}

.comparison-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

/* Reviews Section */
.reviews-section {
    background: var(--background-white);
}

.review-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    border: 1px solid var(--background-gray);
}

.review-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

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

.review-card p {
    font-style: italic;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.reviewer {
    font-weight: 500;
    color: var(--text-light);
    font-size: 0.9rem;
}

/* News Section */
.news-section {
    background: var(--background-light);
}

.news-card {
    background: white;
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
}

.news-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.news-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.news-content {
    padding: 1.5rem;
}

.news-content h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.news-content p {
    color: var(--text-light);
    font-size: 0.95rem;
}

/* Responsible Gaming Section */
.responsible-gaming-section {
    background: var(--gradient-secondary);
    color: white;
}

.responsible-gaming-card {
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    padding: 3rem 2rem;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    text-align: center;
}

.responsible-icon {
    font-size: 4rem;
    color: white;
    margin-bottom: 1rem;
}

.responsible-gaming-card h3 {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 2rem;
}

.responsible-gaming-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
    opacity: 0.9;
}

.age-restriction {
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--border-radius-sm);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.support-logo-placeholder {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--border-radius-sm);
    padding: 1rem;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Footer */
.footer {
    background: var(--text-dark);
    color: white;
}

.footer-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: white;
}

.footer-subtitle {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.footer-links {
    list-style: none;
    padding: 0;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: var(--transition);
}

.footer-links a:hover {
    color: white;
}

.contact-info p {
    display: flex;
    align-items: center;
    margin-bottom: 0.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.footer-divider {
    border-color: rgba(255, 255, 255, 0.2);
    margin: 2rem 0;
}

.copyright,
.disclaimer {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
    margin: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 1.9rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .casino-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .casino-info {
        margin-left: 0;
        margin-top: 1rem;
    }
    
    .casino-badge {
        position: static;
        margin-top: 1rem;
        align-self: flex-start;
    }
    
    .age-notice {
        position: static;
        transform: none;
        margin-top: 2rem;
        align-self: center;
    }
    
    .guides-features {
        grid-template-columns: 1fr;
    }
    
    .responsible-gaming-card {
        padding: 2rem 1rem;
    }
    
    .responsible-gaming-card h3 {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .hero-section {
        padding-top: 120px;
        padding-bottom: 90px;
    }
    
    .casino-card,
    .offer-card,
    .review-card,
    .news-card {
        margin-bottom: 1rem;
    }
    
    .age-popup-buttons {
        flex-direction: column;
    }
    
    .cookie-banner .row {
        text-align: center;
    }
    
    .cookie-banner .col-md-4 {
        margin-top: 1rem;
    }
}

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.btn-primary {
    background: var(--gradient-primary);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(140, 24, 54, 0.3);
}

.btn-secondary {
    background: var(--background-gray);
    color: var(--text-dark);
    border: none;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-secondary:hover {
    background: var(--text-light);
    color: white;
}

.btn-outline-secondary {
    border: 1px solid var(--background-gray);
    color: var(--text-light);
    background: transparent;
    border-radius: var(--border-radius-sm);
    padding: 0.5rem 1.5rem;
    font-weight: 500;
    transition: var(--transition);
}

.btn-outline-secondary:hover {
    background: var(--background-gray);
    color: var(--text-dark);
}

/* Hidden class for popups */
.hidden {
    display: none !important;
}

/* About Page Styles */
.mission-image,
.team-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

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

.approach-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: white;
    border-radius: var(--border-radius-sm);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
}

.approach-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-hover);
}

.approach-icon {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
}

.approach-text {
    font-weight: 500;
    color: var(--text-dark);
}

/* Blog Page Styles */
.method-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    transition: var(--transition);
    height: 100%;
    text-align: center;
    border: 1px solid var(--background-gray);
}

.method-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-hover);
}

.method-icon {
    color: var(--primary-color);
    font-size: 3rem;
    margin-bottom: 1rem;
}

.method-card h4 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.method-card p {
    color: var(--text-light);
    font-size: 0.95rem;
    line-height: 1.6;
}

.responsible-info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--background-gray);
}

.responsible-info-card p {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-dark);
}

.security-image {
    width: 100%;
    height: auto;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

/* FAQ Page Styles */
.faq-container {
    max-width: 100%;
}

.faq-item {
    background: white;
    border-radius: var(--border-radius);
    margin-bottom: 1rem;
    box-shadow: var(--shadow-card);
    border: 1px solid var(--background-gray);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    box-shadow: var(--shadow-hover);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: white;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--background-light);
}

.faq-question h4 {
    font-size: 1.1rem;
    font-weight: 600;
    margin: 0;
    color: var(--text-dark);
    flex: 1;
    padding-right: 1rem;
}

.faq-icon {
    color: var(--primary-color);
    font-size: 1.5rem;
    transition: var(--transition);
    flex-shrink: 0;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    background: var(--background-light);
}

.faq-item.active .faq-answer {
    padding: 1.5rem 2rem;
}

.faq-answer p {
    color: var(--text-light);
    line-height: 1.7;
    margin: 0;
}

/* Contact Page Styles */
.contact-form-card {
    background: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--background-gray);
}

.contact-form .form-control {
    border: 2px solid var(--background-gray);
    border-radius: var(--border-radius-sm);
    padding: 0.75rem 1rem;
    font-size: 1rem;
    transition: var(--transition);
}

.contact-form .form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(140, 24, 54, 0.25);
}

.contact-form .form-control.is-invalid {
    border-color: #dc3545;
}

.contact-form .form-label {
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.contact-info-card {
    background: white;
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--background-gray);
    height: 100%;
}

.contact-details {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.contact-icon {
    color: var(--primary-color);
    font-size: 2rem;
    flex-shrink: 0;
    margin-top: 0.25rem;
}

.contact-text h5 {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

.contact-text p {
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.map-container {
    height: 100%;
    min-height: 400px;
}

.map-placeholder {
    background: var(--background-light);
    border: 2px dashed var(--background-gray);
    border-radius: var(--border-radius);
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.map-icon {
    font-size: 4rem;
    color: var(--text-light);
    margin-bottom: 1rem;
}

.map-placeholder p {
    font-size: 1.1rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
}

.map-placeholder small {
    color: var(--text-light);
}

/* Thank You Page Styles */
.thank-you-page {
    background: var(--gradient-primary);
    min-height: 100vh;
}

.thank-you-card {
    background: white;
    padding: 4rem 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
}

.thank-you-icon {
    color: #10b981;
    font-size: 5rem;
}

.thank-you-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.thank-you-message {
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.thank-you-info {
    color: var(--text-light);
    font-size: 1rem;
    margin-bottom: 2rem;
}

/* 404 Page Styles */
.error-page {
    background: var(--gradient-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.error-card {
    max-width: 500px;
    padding: 2rem;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    line-height: 1;
    margin-bottom: 1rem;
    opacity: 0.8;
}

.error-title {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.error-message {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Service Pages Styles */
.service-page-section {
    background: var(--background-white);
    padding: 5rem 0;
}

.service-content {
    background: white;
    padding: 3rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-card);
    border: 1px solid var(--background-gray);
}

.service-content h3 {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid var(--primary-color);
}

.service-content p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--text-dark);
    margin-bottom: 1.5rem;
}

.service-content ol,
.service-content ul {
    padding-left: 1.5rem;
    margin-bottom: 2rem;
}

.service-content li {
    margin-bottom: 1rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.service-content li strong {
    color: var(--primary-color);
}

/* Mobile Responsive Adjustments */
@media (max-width: 768px) {
    .contact-form-card,
    .contact-info-card {
        padding: 2rem 1.5rem;
    }
    
    .thank-you-card {
        padding: 3rem 2rem;
        margin: 1rem;
    }
    
    .thank-you-title {
        font-size: 2rem;
    }
    
    .thank-you-icon {
        font-size: 4rem;
    }
    
    .error-code {
        font-size: 6rem;
    }
    
    .error-title {
        font-size: 1.5rem;
    }
    
    .approach-list {
        gap: 1rem;
    }
    
    .approach-item {
        padding: 1rem;
        flex-direction: column;
        text-align: center;
    }
    
    .method-card {
        padding: 1.5rem;
    }
    
    .faq-question {
        padding: 1rem 1.5rem;
    }
    
    .faq-answer {
        padding: 0 1.5rem;
    }
    
    .faq-item.active .faq-answer {
        padding: 1rem 1.5rem;
    }
    
    .contact-details {
        gap: 1.5rem;
    }
    
    .map-container {
        min-height: 300px;
        margin-top: 2rem;
    }
    
    .service-content {
        padding: 2rem 1.5rem;
    }
}
