:root {
    --primary: #ffe0b2;
    --secondary: #fff3e0;
    --accent: #388e3c;
    --text-dark: #2c2c2c;
    --text-light: #666;
    --white: #ffffff;
    --shadow: rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
    --transition: all 0.3s ease;
    --max-width: 1200px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: var(--text-dark);
    background-color: var(--white);
}

.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: var(--white);
    margin: 15% auto;
    padding: 2rem;
    border-radius: var(--border-radius);
    width: 90%;
    max-width: 500px;
    text-align: center;
    animation: modalSlideIn 0.3s ease;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: var(--text-dark);
    color: var(--white);
    padding: 1rem;
    z-index: 999;
    transform: translateY(100%);
    transition: var(--transition);
}

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

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

.cookie-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: var(--border-radius);
    text-decoration: none;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    font-size: 0.95rem;
}

.btn-primary {
    background-color: var(--accent);
    color: var(--white);
}

.btn-primary:hover {
    background-color: #2e7d32;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(56, 142, 60, 0.3);
}

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

.btn-secondary:hover {
    background-color: #ffcc80;
    transform: translateY(-2px);
}

.header {
    background-color: var(--white);
    box-shadow: 0 2px 10px var(--shadow);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 100;
}

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

.nav-brand h1 {
    color: var(--accent);
    font-size: 1.8rem;
}

.nav-brand span {
    color: var(--text-light);
    font-size: 0.9rem;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 500;
    transition: var(--transition);
}

.nav-menu a:hover {
    color: var(--accent);
}

main {
    margin-top: 80px;
}

.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    padding: 4rem 1rem;
    align-items: center;
}

.hero-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-light);
    margin-bottom: 2rem;
}

.hero-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

.casinos-section {
    background-color: var(--secondary);
    padding: 4rem 1rem;
}

.section-header {
    text-align: center;
    max-width: var(--max-width);
    margin: 0 auto 3rem;
}

.section-header h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.casinos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.casino-card {
    background-color: var(--white);
    border-radius: var(--border-radius);
    padding: 1.5rem;
    box-shadow: 0 5px 20px var(--shadow);
    transition: var(--transition);
}

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

.casino-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.casino-header h3 {
    font-size: 1.4rem;
    color: var(--accent);
}

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

.rating-stars {
    color: #ffc107;
    font-size: 1.2rem;
}

.rating-number {
    font-weight: bold;
    color: var(--text-dark);
}

.casino-license {
    color: var(--accent);
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.casino-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.about-section {
    padding: 4rem 1rem;
    background-color: var(--white);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto;
    align-items: center;
}

.about-text h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.about-text p {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.about-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

.trust-section {
    background-color: var(--primary);
    padding: 4rem 1rem;
}

.trust-content {
    max-width: var(--max-width);
    margin: 0 auto;
}

.trust-content h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 3rem;
    color: var(--text-dark);
}

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

.trust-item {
    background-color: var(--white);
    padding: 2rem;
    border-radius: var(--border-radius);
    box-shadow: 0 5px 20px var(--shadow);
    text-align: center;
}

.trust-item h3 {
    color: var(--accent);
    margin-bottom: 1rem;
}

.responsible-gaming {
    text-align: center;
    padding: 2rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
}

.rg-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 1rem;
}

.rg-links img {
    height: 60px;
    transition: var(--transition);
}

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

.game-section {
    background-color: var(--secondary);
    padding: 4rem 1rem;
}

.game-container {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.game-container h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.wheel-container {
    position: relative;
    display: inline-block;
    margin: 2rem 0;
}

#wheel {
    border: 5px solid var(--accent);
    border-radius: 50%;
    box-shadow: 0 10px 30px var(--shadow);
}

#spin-btn {
    margin-top: 1rem;
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.game-result {
    margin-top: 2rem;
    padding: 1rem;
    background-color: var(--white);
    border-radius: var(--border-radius);
    min-height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: var(--text-dark);
}

.contact-section {
    padding: 4rem 1rem;
    background-color: var(--white);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    max-width: var(--max-width);
    margin: 0 auto 3rem;
}

.contact-info h2 {
    font-size: 2.2rem;
    margin-bottom: 1rem;
    color: var(--text-dark);
}

.contact-details {
    margin-top: 2rem;
}

.contact-item {
    margin-bottom: 1.5rem;
}

.contact-item h3 {
    color: var(--accent);
    margin-bottom: 0.5rem;
}

.contact-item a {
    color: var(--text-dark);
    text-decoration: none;
}

.contact-item a:hover {
    color: var(--accent);
}

.contact-form {
    background-color: var(--secondary);
    padding: 2rem;
    border-radius: var(--border-radius);
}

.contact-form h3 {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 0.75rem;
    margin-bottom: 1rem;
    border: 1px solid #ddd;
    border-radius: var(--border-radius);
    font-family: inherit;
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
}

.contact-image {
    max-width: var(--max-width);
    margin: 0 auto;
}

.contact-image img {
    width: 100%;
    border-radius: var(--border-radius);
    box-shadow: 0 10px 30px var(--shadow);
}

.footer {
    background-color: var(--text-dark);
    color: var(--white);
    padding: 3rem 1rem 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    max-width: var(--max-width);
    margin: 0 auto;
}

.footer-section h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

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

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

.footer-section a {
    color: var(--white);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid #444;
    margin-top: 2rem;
    padding-top: 1rem;
    text-align: center;
    color: #ccc;
}

.casino-modal-content {
    max-width: 800px;
    max-height: 80vh;
    overflow-y: auto;
}

.close {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-dark);
}

@media (max-width: 768px) {
    .nav {
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-menu {
        gap: 1rem;
    }
    
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-content h2 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .contact-content {
        grid-template-columns: 1fr;
    }
    
    .casino-actions {
        flex-direction: column;
    }
    
    .casinos-grid {
        grid-template-columns: 1fr;
    }
    
    .cookie-content {
        flex-direction: column;
        text-align: center;
    }
    
    .modal-content {
        margin: 10% auto;
        padding: 1.5rem;
        width: 95%;
    }
    
    .modal-buttons {
        flex-direction: column;
    }
}

@media (max-width: 480px) {
    .hero-content h2 {
        font-size: 1.8rem;
    }
    
    .section-header h2 {
        font-size: 1.8rem;
    }
    
    .casinos-grid {
        grid-template-columns: 1fr;
    }
    
    .casino-card {
        padding: 1rem;
    }
    
    .rg-links {
        flex-direction: column;
        align-items: center;
    }
}

.loading {
    opacity: 0.7;
    pointer-events: none;
}

.fade-in {
    animation: fadeIn 0.5s ease-in;
}

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