
/* === FONT === */
@font-face {
    font-family: 'Montserrat';
    src: url('/font/Montserrat-Regular.ttf') format('truetype');
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

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

:root {
    --color-dark: #1a1612;
    --color-dark-brown: #2d2418;
    --color-charcoal: #2a2520;
    --color-gold: #d4af37;
    --color-gold-light: #f4d03f;
    --color-gold-dark: #b8941f;
    --color-white: #ffffff;
    --color-text-light: #e8e8e8;
    --color-text-muted: #b8b8b8;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.3);
    --shadow-hover: 0 8px 30px rgba(212, 175, 55, 0.2);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: var(--color-dark);
    color: var(--color-text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* === HEADER === */
header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(26, 22, 18, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    transition: var(--transition);
}

header.scrolled {
    background: rgba(26, 22, 18, 0.98);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--color-gold);
    text-decoration: none;
    transition: var(--transition);
}

.logo:hover {
    color: var(--color-gold-light);
    transform: scale(1.05);
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: var(--color-dark);
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

nav a {
    color: var(--color-text-light);
    text-decoration: none;
    font-weight: 500;
    position: relative;
    padding: 0.5rem 0;
    transition: var(--transition);
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--color-gold), var(--color-gold-light));
    transition: var(--transition);
}

nav a:hover {
    color: var(--color-gold);
}

nav a:hover::after {
    width: 100%;
}

.mobile-menu-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-light);
    font-size: 1.5rem;
    cursor: pointer;
    padding: 0.5rem;
}

/* === HERO SECTION === */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background-image: url('/img/hero.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--color-dark);
    overflow: hidden;
}

/* Fallback gradient if hero.jpg is not available */
.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #1a1612 0%, #2d2418 50%, #1a1612 100%);
    z-index: 0;
    opacity: 0;
    pointer-events: none;
}

/* Show fallback if image fails to load */
.hero.no-image::after {
    opacity: 1;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(26, 22, 18, 0.85), rgba(45, 36, 24, 0.75));
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    padding: 2rem;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-size: clamp(2.5rem, 5vw, 4rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero .subtitle {
    font-size: clamp(1.1rem, 2vw, 1.5rem);
    color: var(--color-text-light);
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 50px;
    box-shadow: var(--shadow-soft);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    font-size: 1.1rem;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
}

.btn-primary:active {
    transform: translateY(0);
}

/* === SECTIONS === */
section {
    padding: 5rem 2rem;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
    position: relative;
    display: block;
}

.contact-section .section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    border-radius: 2px;
}

/* === OUR ADVANTAGES === */
.advantages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.advantage-card {
    background: var(--color-dark-brown);
    padding: 2.5rem 2rem;
    border-radius: 16px;
    text-align: center;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.advantage-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.3);
}

.advantage-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--color-gold);
    font-weight: bold;
}

.advantage-card h3 {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.advantage-card p {
    color: var(--color-text-muted);
    line-height: 1.6;
}

/* === FEATURED GAMES === */
.games-section {
    background: linear-gradient(180deg, rgba(26, 22, 18, 0.95), rgba(45, 36, 24, 0.9));
    position: relative;
    overflow: hidden;
}

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

.game-card {
    background: var(--color-dark-brown);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.game-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-hover);
    border-color: rgba(212, 175, 55, 0.4);
}

.game-image {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
}

.game-content {
    padding: 1.5rem;
    text-align: center;
}

.game-title {
    color: var(--color-white);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.btn-play {
    display: inline-block;
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-dark);
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: var(--transition);
    border: none;
    cursor: pointer;
    width: 100%;
}

.btn-play:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    transform: scale(1.05);
}

/* === STATS SECTION === */
.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.stat-item {
    text-align: center;
    padding: 2rem;
}

.stat-label {
    color: var(--color-text-muted);
    font-size: 1rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.stat-value {
    display: inline-block;
    padding: 1.5rem 2rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-dark);
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    border-radius: 12px;
    min-width: 150px;
    box-shadow: var(--shadow-soft);
}

/* === CONTACT / NEWSLETTER === */
.contact-section {
    background: var(--color-dark-brown);
    position: relative;
    overflow: hidden;
}

.contact-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 40% 80%, rgba(212, 175, 55, 0.03) 0%, transparent 50%),
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(212, 175, 55, 0.02) 35px, rgba(212, 175, 55, 0.02) 70px);
    opacity: 0.4;
    pointer-events: none;
}


.contact-form {
    max-width: 600px;
    margin: 0 auto;
    background: rgba(26, 22, 18, 0.8);
    padding: 3rem;
    border-radius: 16px;
    border: 2px solid var(--color-gold);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    color: var(--color-gold);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.form-group input {
    width: 100%;
    padding: 1rem;
    background: var(--color-charcoal);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: var(--color-text-light);
    font-size: 1rem;
    transition: var(--transition);
}

.form-group input:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group input::placeholder {
    color: var(--color-text-muted);
}

.form-group textarea {
    width: 100%;
    padding: 1rem;
    background: var(--color-charcoal);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: var(--color-text-light);
    font-size: 1rem;
    font-family: inherit;
    resize: vertical;
    transition: var(--transition);
}

.form-group textarea:focus {
    outline: none;
    border-color: var(--color-gold);
    box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.1);
}

.form-group textarea::placeholder {
    color: var(--color-text-muted);
}

.btn-submit {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, var(--color-gold), var(--color-gold-dark));
    color: var(--color-dark);
    border: none;
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
}

.btn-submit:hover {
    background: linear-gradient(135deg, var(--color-gold-light), var(--color-gold));
    transform: translateY(-2px);
    box-shadow: var(--shadow-hover);
}

/* === TERMS SECTION === */
.terms-section {
    background: var(--color-dark-brown);
    position: relative;
    overflow: hidden;
    min-height: 60vh;
}

.terms-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 90% 80%, rgba(212, 175, 55, 0.04) 0%, transparent 40%),
        radial-gradient(circle at 30% 60%, rgba(212, 175, 55, 0.03) 0%, transparent 40%),
        repeating-linear-gradient(45deg, transparent, transparent 40px, rgba(212, 175, 55, 0.02) 40px, rgba(212, 175, 55, 0.02) 80px);
    opacity: 0.5;
    pointer-events: none;
}

.terms-container {
    max-width: 900px;
    margin: 0 auto;
    background: rgba(45, 36, 24, 0.9);
    padding: 3rem 3rem 4rem;
    border-radius: 16px;
    border: 2px solid rgba(212, 175, 55, 0.6);
    box-shadow: var(--shadow-soft);
    position: relative;
    z-index: 1;
}

.terms-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--color-gold);
    text-align: center;
    margin-bottom: 3rem;
    font-weight: 700;
}

.terms-content {
    color: var(--color-text-light);
    line-height: 1.8;
}

.term-item {
    margin-bottom: 2.5rem;
}

.term-item:last-child {
    margin-bottom: 0;
}

.term-heading {
    color: var(--color-gold);
    font-size: 1.5rem;
    margin-bottom: 0.75rem;
    font-weight: 600;
}

.term-text {
    color: var(--color-text-light);
    font-size: 1rem;
    line-height: 1.7;
    margin: 0;
}

/* === RESPONSIBLE GAMING === */
.responsible-gaming {
    background: var(--color-dark-brown);
    border: 2px solid var(--color-gold);
    border-radius: 16px;
    padding: 2.5rem;
    margin: 3rem auto;
    max-width: 900px;
    box-shadow: var(--shadow-soft);
}

.responsible-gaming h2 {
    color: var(--color-gold);
    font-size: 1.8rem;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.responsible-gaming p {
    color: var(--color-text-light);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.responsible-gaming ul {
    list-style: none;
    margin: 1.5rem 0;
}

.responsible-gaming li {
    color: var(--color-text-light);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.responsible-gaming li::before {
    content: '•';
    color: var(--color-gold);
    position: absolute;
    left: 0;
}

.responsible-gaming a {
    color: var(--color-gold);
    text-decoration: underline;
}

.responsible-gaming a:hover {
    color: var(--color-gold-light);
}

.age-restriction-bar {
    background: rgba(26, 22, 18, 0.8);
    padding: 1rem;
    border-radius: 8px;
    margin-top: 1.5rem;
    text-align: center;
    border: 1px solid var(--color-gold);
}

.age-restriction-bar strong {
    color: var(--color-gold);
    font-size: 1.1rem;
}

/* === FOOTER === */
footer {
    background: var(--color-dark);
    padding: 4rem 2rem 2rem;
    margin-top: 4rem;
}

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

.footer-column h3 {
    color: var(--color-gold);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.footer-column p {
    color: var(--color-text-muted);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.footer-column ul li {
    margin-bottom: 0.75rem;
}

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

.footer-column a:hover {
    color: var(--color-gold);
    padding-left: 5px;
}

.footer-newsletter input {
    width: 100%;
    padding: 0.75rem;
    background: var(--color-charcoal);
    border: 1px solid rgba(212, 175, 55, 0.2);
    border-radius: 8px;
    color: var(--color-text-light);
    margin-bottom: 1rem;
}

.footer-newsletter input:focus {
    outline: none;
    border-color: var(--color-gold);
}

.footer-bottom {
    max-width: 1400px;
    margin: 0 auto;
    padding-top: 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    text-align: center;
}

.important-notice {
    background: rgba(212, 175, 55, 0.1);
    padding: 1.5rem;
    border-radius: 8px;
    margin-bottom: 2rem;
    border-left: 4px solid var(--color-gold);
}

.important-notice strong {
    color: var(--color-gold);
    display: block;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.copyright {
    color: var(--color-text-muted);
    margin-bottom: 1rem;
}

.footer-badges {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 1rem;
}

.badge {
    width: 50px;
    height: 50px;
    background: var(--color-dark-brown);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--color-gold);
    font-weight: bold;
    border: 2px solid var(--color-gold);
}

.support-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    margin-top: 1rem;
    align-items: center;
}

.support-logo {
    height: 60px;
    width: auto;
    max-width: 120px;
    object-fit: contain;
    filter: brightness(0.8);
    transition: var(--transition);
    border-radius: 8px;
}

.support-logo:hover {
    filter: brightness(1);
    transform: scale(1.05);
}

/* === ANIMATIONS === */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes countUp {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.stat-value.animated {
    animation: countUp 0.5s ease-out;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }

    nav {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(26, 22, 18, 0.98);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }

    nav.active {
        max-height: 500px;
    }

    nav ul {
        flex-direction: column;
        padding: 1rem 2rem;
        gap: 1rem;
    }

    .hero {
        min-height: 80vh;
        background-attachment: scroll;
    }

    section {
        padding: 3rem 1.5rem;
    }

    .advantages-grid,
    .games-grid {
        grid-template-columns: 1fr;
    }

    .stats-grid {
        grid-template-columns: 1fr;
    }

    .contact-form {
        padding: 2rem 1.5rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    header {
        padding: 1rem;
    }

    .logo {
        font-size: 1.2rem;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .terms-container {
        padding: 2rem 1.5rem;
    }

    .terms-title {
        font-size: 1.8rem;
        margin-bottom: 2rem;
    }

    .term-heading {
        font-size: 1.3rem;
    }
}
