:root {
    --primary: #3e2723;
    --secondary: #d7ccc8;
    --accent: #ffb300;
    --text-light: #ffffff;
    --text-dark: #2c2c2c;
    --background: #fafafa;
    --card-bg: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --gradient: linear-gradient(135deg, var(--primary), #5d4037);
    --accent-gradient: linear-gradient(135deg, var(--accent), #ffc107);
    --border-radius: 12px;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background: var(--background);
    overflow-x: hidden;
}

.container {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
}

/* Modals */
.modal {
    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: 10000;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    text-align: center;
    max-width: 500px;
    margin: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    animation: modalAppear 0.3s ease forwards;
}

@keyframes modalAppear {
    to { transform: scale(1); }
}

.modal-content h2 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.8rem;
}

.modal-content p {
    margin-bottom: 15px;
    color: var(--text-dark);
}

.modal-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--primary);
    color: var(--text-light);
    padding: 20px;
    z-index: 9999;
    transform: translateY(100%);
    transition: var(--transition);
}

.cookie-banner.show {
    transform: translateY(0);
}

.cookie-content {
    max-width: var(--max-width);
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}

.cookie-buttons {
    display: flex;
    gap: 15px;
    align-items: center;
    flex-wrap: wrap;
}

/* Buttons */
.btn-primary, .btn-secondary, .cta-button, .casino-btn, .wheel-btn {
    padding: 12px 24px;
    border: none;
    border-radius: var(--border-radius);
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
    font-size: 1rem;
}

.btn-primary, .cta-button {
    background: var(--accent-gradient);
    color: var(--text-dark);
    box-shadow: 0 4px 15px rgba(255, 179, 0, 0.3);
}

.btn-primary:hover, .cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 179, 0, 0.4);
}

.btn-secondary {
    background: transparent;
    color: var(--text-dark);
    border: 2px solid var(--primary);
}

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

.btn-text {
    color: var(--text-light);
    text-decoration: underline;
}

.btn-text:hover {
    color: var(--accent);
}

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 20px;
    max-width: var(--max-width);
    margin: 0 auto;
}

.nav-brand h1 {
    color: var(--primary);
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 2px;
}

.tagline {
    font-size: 0.85rem;
    color: var(--accent);
    font-weight: 500;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-menu a {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-menu a:hover {
    background: var(--secondary);
    color: var(--primary);
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    padding: 5px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background: var(--primary);
    margin: 3px 0;
    border-radius: 2px;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    padding: 120px 0 80px;
    background: var(--gradient);
    color: var(--text-light);
    overflow: hidden;
    position: relative;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('./img/3S0d0ZQe-zA.webp') center/cover;
    opacity: 0.1;
    z-index: 1;
}

.hero-content {
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-text h1 {
    font-size: 3.2rem;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.hero-text p {
    font-size: 1.3rem;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-badges {
    display: flex;
    gap: 15px;
    margin-bottom: 30px;
    flex-wrap: wrap;
}

.badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 25px;
    font-size: 0.9rem;
    font-weight: 500;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.cta-button {
    font-size: 1.2rem;
    padding: 16px 32px;
    border-radius: 50px;
}

.hero-image {
    position: relative;
}

.hero-image img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: var(--border-radius);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    transform: perspective(1000px) rotateY(-5deg);
    transition: var(--transition);
}

.hero-image:hover img {
    transform: perspective(1000px) rotateY(0deg);
}

/* Game Section */
/* Bonus Info Section */
.bonus-info-section {
    padding: 80px 0;
    background: var(--card-bg);
    text-align: center;
}

.bonus-info-section h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.bonus-display {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px;
    background: white;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    min-height: 200px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bonus-title {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.bonus-description {
    font-size: 1.2rem;
    color: var(--text-dark);
    line-height: 1.6;
    transition: all 0.3s ease;
}

.wheel-container {
    position: relative;
    display: inline-block;
    margin-bottom: 30px;
}

.wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    overflow: hidden;
    border: 8px solid var(--accent);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    transition: transform 3s cubic-bezier(0.23, 1, 0.32, 1);
    background: conic-gradient(
        from 0deg,
        #d32f2f 0deg 60deg,
        #ffa726 60deg 120deg,
        #8d6e63 120deg 180deg,
        #558b2f 180deg 240deg,
        #1976d2 240deg 300deg,
        #7b1fa2 300deg 360deg
    );
}

/* Wheel indicator arrow */
.wheel::before {
    content: '▲';
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 24px;
    color: var(--accent);
    z-index: 10;
}

/* Wheel numbers */
.wheel-number {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.5rem;
    color: #333;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    transform-origin: center;
    pointer-events: none;
}

.wheel-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: var(--text-light);
    color: var(--primary);
    border: 4px solid var(--primary);
    width: 80px;
    height: 80px;
    border-radius: 50%;
    font-weight: 700;
    font-size: 0.9rem;
    z-index: 10;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.wheel-btn:hover {
    background: var(--accent);
    border-color: var(--accent);
    color: var(--text-dark);
}

.wheel-result {
    max-width: 600px;
    margin: 30px auto;
    padding: 25px;
    background: var(--secondary);
    border-radius: var(--border-radius);
    font-size: 1.1rem;
    min-height: 80px;
    text-align: center;
    line-height: 1.6;
    word-wrap: break-word;
}

/* Casino Section */
.casinos-section {
    padding: 80px 0;
    background: var(--background);
}

.casinos-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.casino-card {
    background: var(--card-bg);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: 0 10px 30px var(--shadow);
    transition: var(--transition);
    position: relative;
}

.casino-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
}

.casino-header {
    padding: 20px;
    background: var(--gradient);
    color: var(--text-light);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.casino-header h3 {
    font-size: 1.4rem;
    font-weight: 700;
}

.rating {
    text-align: right;
}

.stars {
    color: var(--accent);
    font-size: 1.2rem;
    display: block;
}

.rating-num {
    font-size: 0.9rem;
    opacity: 0.9;
}

.casino-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.casino-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

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

.casino-info {
    padding: 20px;
}

.casino-info p {
    margin-bottom: 15px;
    line-height: 1.6;
}

.casino-features {
    display: flex;
    gap: 10px;
    margin-bottom: 15px;
    flex-wrap: wrap;
}

.feature {
    background: var(--secondary);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--primary);
    font-weight: 500;
}

.casino-license {
    margin-bottom: 20px;
    padding: 10px;
    background: rgba(255, 179, 0, 0.1);
    border-left: 4px solid var(--accent);
    font-size: 0.9rem;
}

.casino-btn {
    width: 100%;
    background: var(--accent-gradient);
    color: var(--text-dark);
    padding: 15px;
    font-weight: 600;
    text-align: center;
    border-radius: 0;
    display: block;
    margin-top: auto;
}

.casino-btn:hover {
    background: linear-gradient(135deg, #ffc107, var(--accent));
}

/* Reviews Section */
.reviews-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.reviews-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
}

.reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.review-item {
    text-align: center;
    padding: 30px 20px;
    border-radius: var(--border-radius);
    background: var(--background);
    transition: var(--transition);
}

.review-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px var(--shadow);
}

.review-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.review-item h3 {
    color: var(--primary);
    font-size: 1.3rem;
    margin-bottom: 15px;
}

.review-item p {
    line-height: 1.6;
    color: var(--text-dark);
}

/* Bonuses Section */
.bonuses-section {
    padding: 80px 0;
    background: var(--background);
}

.bonuses-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 40px;
}

.bonuses-tabs {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 12px 24px;
    background: transparent;
    border: 2px solid var(--primary);
    color: var(--primary);
    border-radius: 25px;
    cursor: pointer;
    transition: var(--transition);
    font-weight: 500;
}

.tab-btn.active,
.tab-btn:hover {
    background: var(--primary);
    color: var(--text-light);
}

.tab-content {
    display: none;
    max-width: 800px;
    margin: 0 auto;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

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

.bonus-card {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

.bonus-card h3 {
    color: var(--primary);
    font-size: 1.8rem;
    margin-bottom: 20px;
}

.bonus-card p {
    margin-bottom: 20px;
    line-height: 1.6;
}

.bonus-card ul {
    margin: 20px 0;
    padding-left: 20px;
}

.bonus-card li {
    margin-bottom: 10px;
    line-height: 1.5;
}

.bonus-warning {
    background: rgba(255, 179, 0, 0.1);
    padding: 15px;
    border-left: 4px solid var(--accent);
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

/* Trust Section */
.trust-section {
    padding: 80px 0;
    background: var(--card-bg);
}

.trust-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
}

.trust-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 40px;
}

.trust-item {
    padding: 30px;
    border-radius: var(--border-radius);
    background: var(--background);
    border-left: 5px solid var(--accent);
}

.trust-item h3 {
    color: var(--primary);
    font-size: 1.4rem;
    margin-bottom: 15px;
}

.trust-item p {
    line-height: 1.6;
    margin-bottom: 20px;
}

.responsible-links {
    display: flex;
    gap: 20px;
    align-items: center;
    flex-wrap: wrap;
}

.responsible-links img {
    height: 40px;
    width: auto;
    transition: var(--transition);
}

.responsible-links img:hover {
    transform: scale(1.1);
}

/* Contact Section */
.contact-section {
    padding: 80px 0;
    background: var(--background);
}

.contact-section h2 {
    text-align: center;
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 50px;
}

.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: start;
}

.contact-info h3,
.contact-form h3 {
    color: var(--primary);
    font-size: 1.5rem;
    margin-bottom: 25px;
}

.contact-item {
    margin-bottom: 20px;
    padding: 15px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.contact-item:last-child {
    border-bottom: none;
}

.contact-item strong {
    color: var(--primary);
    display: block;
    margin-bottom: 5px;
}

.contact-item a {
    color: var(--accent);
    text-decoration: none;
    font-weight: 500;
}

.contact-item a:hover {
    text-decoration: underline;
}

.contact-form {
    background: var(--card-bg);
    padding: 40px;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--primary);
    font-weight: 500;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--secondary);
    border-radius: var(--border-radius);
    font-size: 1rem;
    transition: var(--transition);
    background: var(--card-bg);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(255, 179, 0, 0.1);
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

/* Footer */
.footer {
    background: var(--gradient);
    color: var(--text-light);
    padding: 60px 0 20px;
}

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 20px;
    color: var(--text-light);
}

.footer-section h3 {
    font-size: 1.5rem;
    color: var(--accent);
}

.footer-section p {
    line-height: 1.6;
    opacity: 0.9;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: var(--text-light);
    text-decoration: none;
    opacity: 0.9;
    transition: var(--transition);
}

.footer-section ul li a:hover {
    opacity: 1;
    color: var(--accent);
}

.responsible-gaming p {
    font-size: 0.9rem;
    margin-bottom: 15px;
    font-weight: 600;
    color: var(--accent);
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding-top: 30px;
    text-align: center;
}

.footer-disclaimer {
    margin-bottom: 20px;
    font-size: 0.9rem;
    opacity: 0.8;
    line-height: 1.6;
}

.footer-copyright {
    font-size: 0.9rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--card-bg);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 50px;
        transition: var(--transition);
        box-shadow: 0 5px 15px var(--shadow);
    }

    .nav-menu.active {
        left: 0;
    }

    .hamburger {
        display: flex;
    }

    .hamburger.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }

    .hamburger.active span:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
    }

    .hero-text p {
        font-size: 1.1rem;
    }

    .wheel {
        width: 250px;
        height: 250px;
    }

    .wheel-btn {
        width: 70px;
        height: 70px;
        font-size: 0.8rem;
    }

    .casinos-grid {
        grid-template-columns: 1fr;
        gap: 25px;
    }

    .contact-grid {
        grid-template-columns: 1fr;
        gap: 40px;
    }

    .bonuses-tabs {
        flex-direction: column;
        align-items: center;
    }

    .tab-btn {
        width: 200px;
        text-align: center;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 30px;
        text-align: center;
    }

    .modal-content {
        margin: 10px;
        padding: 30px 20px;
    }

    .modal-buttons {
        flex-direction: column;
    }

    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }

    .hero-badges {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero-text h1 {
        font-size: 2rem;
    }

    .wheel {
        width: 220px;
        height: 220px;
    }

    .wheel-segment {
        font-size: 0.75rem;
        padding: 5px;
    }

    .casino-card {
        margin: 0 10px;
    }

    .bonus-card {
        padding: 25px 20px;
    }

    .contact-form {
        padding: 25px 20px;
    }
}

/* Accessibility */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .wheel {
        transition: none;
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    :root {
        --primary: #000000;
        --secondary: #ffffff;
        --accent: #ffff00;
        --text-dark: #000000;
        --text-light: #ffffff;
        --shadow: rgba(0, 0, 0, 0.5);
    }
}

/* Focus indicators */
button:focus,
a:focus,
input:focus,
select:focus,
textarea:focus {
    outline: 3px solid var(--accent);
    outline-offset: 2px;
}

/* Print styles */
@media print {
    .header,
    .game-section,
    .footer,
    .modal,
    .cookie-banner {
        display: none !important;
    }

    body {
        background: white;
        color: black;
    }

    .casino-card,
    .bonus-card,
    .trust-item {
        break-inside: avoid;
        box-shadow: none;
        border: 1px solid #ccc;
    }
}