/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Unbounded', sans-serif;
    line-height: 1.6;
    color: #ffffff;
    background-color: #000000;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Cookie Notice Styles */
.cookie-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cookie-notice.show {
    display: flex;
    opacity: 1;
}

.cookie-notice.hidden {
    opacity: 0;
    pointer-events: none;
}

.cookie-content {
    background-color: #ffffff;
    color: #000000;
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.cookie-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.cookie-content h3 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000000;
}

.cookie-content p {
    font-size: 14px;
    line-height: 1.5;
    margin-bottom: 30px;
    color: rgba(11, 11, 11, 1);
}

.cookie-buttons {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-accept {
    background: rgba(255, 82, 142, 1);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.btn-reject {
    background: transparent;
    color: #e91e63;
    border: 2px solid #e91e63;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-reject:hover {
    background: #e91e63;
    color: #ffffff;
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
        text-decoration: none;
}

.logo {
    width: 40px;
    height: 40px;
}

.brand-name {
    font-size: 24px;
    font-weight: 700;
    color: #ffffff;

}

.nav-menu {
    display: flex;
    gap: 40px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    font-size: 16px;
    transition: color 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d4aa;
}

.nav-link:hover::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: #00d4aa;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    gap: 4px;
}

.hamburger span {
    width: 25px;
    height: 3px;
    background-color: #ffffff;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(180deg, #00773A 0%, #00DD6B 100%);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}


.hero-text {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 270px 1fr 270px;
    gap: 60px;
    align-items: flex-end;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: clamp(32px, 5vw, 56px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 30px;
    text-align: center;
    color: #ffffff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-text {
    margin-bottom: 40px;
}

.hero-text p {
    font-size: 14px;
    line-height: 1.2;
}

.cta-button {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%) !important;
    background: rgba(255, 82, 142, 1);
    color: #ffffff;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-decoration: unset;
    border: 2px solid rgba(255, 255, 255, 1);
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(233, 30, 99, 0.4);
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-character {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* About Section */
.about {
    padding: 80px 20px;
    background-color: #fff;
    color: rgba(11, 11, 11, 1);
}

.section-title {
    font-size: clamp(32px, 4vw, 48px);
    font-weight: 700;
    margin-bottom: 30px;
     background: linear-gradient(180deg, #00773A 0%, #00DD6B 100%);
  -webkit-background-clip: text; /* for Safari/Chrome */
  -webkit-text-fill-color: transparent; /* for Safari/Chrome */
  background-clip: text; /* standard, may work in some browsers */
  color: transparent; /* fallback */
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr 185px;
    gap: 30px;
    align-items: flex-end;
}

.about-text p {
    font-size: 14px;
    line-height: 1.2;
    color: rgba(11, 11, 11, 1);
}

.view-games-btn {
  display: inline-flex;
    background: rgba(255, 82, 142, 1);
    color: #ffffff;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 20px;
    text-decoration: unset;
}

.view-games-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 30, 99, 0.4);
}

.about-images img {
  width: 100%;
  height: auto;
  object-fit: contain;
}

.game-preview {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    aspect-ratio: 1;
    transition: transform 0.3s ease;
}

.game-preview:hover {
    transform: scale(1.05);
}

.game-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-label {
    position: absolute;
    bottom: 10px;
    right: 10px;
    padding: 5px 15px;
    border-radius: 20px;
    font-weight: 700;
    font-size: 12px;
}

.game-label.scatter {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: #ffffff;
}

.game-label.wild {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
}

/* Advantages Section */
.advantages {
    padding: 80px 20px;
    
    color: #ffffff;
    /* Перший шар – зображення, другий – градієнт */
    background-image: 
        url(/wp-content/themes/techfile_rfjw2pa6/images/advantages.png),                     /* верхній шар */
        linear-gradient(180deg, #00773A 0%, #00DD6B 100%); /* нижній шар */

    background-size: contain, cover; 
    background-position: bottom left, center;
    background-repeat: no-repeat, no-repeat;
}

.advantages .section-title {
  color: #fff;
  background-clip: unset;
  background: none;
  -webkit-text-fill-color: unset;
  text-align: center;
}

.advantages-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    max-width: 1020px;
    margin-left: auto;
    margin-right: auto;
}

.advantage-card {
    background: rgba(255, 255, 255, 1);
    padding: 40px 30px;
    border-radius: 20px;
    text-align: center;
    position: relative;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.advantage-card:hover {
    transform: translateY(-5px);
}

.advantage-card h3 {
  background: rgba(11, 11, 11, 1);
  border-radius: 60px;
  padding: 18px 20px;
    font-size: 18px;
    font-weight: 700;
    margin-bottom: 20px;
    line-height: 1.2;
}

.advantage-card p {
    font-size: 14px;
    line-height: 1.2;
    color: rgba(11, 11, 11, 1);
    margin-bottom: 20px;
}

.advantage-icon {

}

/* How We Play Section */
.how-we-play {
    padding: 80px 20px;
    background-color: #fff;
    color: rgba(11, 11, 11, 1);
}

.how-we-play .section-title {
  text-align: center;
}

.play-content p {
    font-size: 16px;
    line-height: 1.4;
    margin-bottom: 40px;
    color: rgba(11, 11, 11, 1);
    max-width: 1000px;
    margin-left: auto;
    margin-right: auto;
    text-align: center;
}

.players-image {
    text-align: center;
    margin-top: 50px;
    max-width: 830px;
    width: 100%;
    margin-left: auto;
    margin-right: auto;
}

.players {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.1));
}

/* Why Choose Section */
.why-choose {
    padding: 80px 20px;
    background: linear-gradient(180deg, #00773A 0%, #00DD6B 100%);
    color: #ffffff;
}

.why-choose .section-title {
  color: #fff;
  background-clip: unset;
  background: none;
  -webkit-text-fill-color: unset;
}
 
.why-choose-content {
    display: grid;
    grid-template-columns: 1fr 400px;
    gap: 30px;
    align-items: center;
}

.why-choose-text p {
    font-size: 14px;
    line-height: 1.2;
}

.why-choose-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.mexican-char {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.2));
    animation: float 3s ease-in-out infinite;
}

/* Footer */
.footer {
    background-color: #000000;
    padding: 60px 20px 20px;
    color: #ffffff;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    flex-wrap: wrap;
    gap: 30px;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 15px;
    text-decoration: none;
}

.footer-links {
    display: flex;
    gap: 30px;
    flex-wrap: wrap;
}

.footer-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #00d4aa;
}

.footer-info {
    text-align: center;
    margin-bottom: 30px;
}

.footer-info p {
    font-size: 14px;
    margin-bottom: 5px;
    opacity: 0.8;
}

.footer-social {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-link {
    display: inline-block;
    width: 40px;
    height: 40px;
    background-color: #00d4aa;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-link img {
    width: 20px;
    height: 20px;
}

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

.footer-copyright p {
    font-size: 12px;
    opacity: 0.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    .hero-text {
      grid-template-columns: 1fr;
      align-items: center;
    }

    .hero {
      padding-left: 15px;
      padding-right: 15px;
    }

    .hero-character,
    .mexican-char {
      max-width: 480px;
      width: 100%;
      margin-left: auto;
      margin-right: auto;
    }

    .cta-button {
      position: relative;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        gap: 40px;
        transition: left 0.3s ease;
    }

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

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

    .hero-title {
        font-size: 36px;
    }

    .about-content,
    .why-choose-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .about-images {
        max-width: 300px;
        margin: 0 auto;
    }

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

    .footer-content {
        flex-direction: column;
        text-align: center;
    }

    .footer-links {
        justify-content: center;
    }

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

    .cookie-buttons {
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    
    .about,
    .advantages,
    .how-we-play,
    .why-choose {
        padding: 60px 15px;
    }

    .section-title {
        font-size: 28px;
    }

    .hero-title {
        font-size: 28px;
    }

    .advantage-card {
        padding: 30px 20px;
    }
}

/* Smooth scrolling animations */
@media (prefers-reduced-motion: no-preference) {
    .advantage-card,
    .game-preview {
        opacity: 0;
        animation: fadeInUp 0.6s ease forwards;
    }

    .advantage-card:nth-child(1) { animation-delay: 0.1s; }
    .advantage-card:nth-child(2) { animation-delay: 0.2s; }
    .advantage-card:nth-child(3) { animation-delay: 0.3s; }
    .advantage-card:nth-child(4) { animation-delay: 0.4s; }

    .game-preview:nth-child(1) { animation-delay: 0.1s; }
    .game-preview:nth-child(2) { animation-delay: 0.2s; }
    .game-preview:nth-child(3) { animation-delay: 0.3s; }
    .game-preview:nth-child(4) { animation-delay: 0.4s; }

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

.policy {
  margin-top: 60px;
  padding-top: 60px;
  padding-bottom: 60px;
  background: #fff;
  color: #1a1a1a;
}

.policy .container {
  max-width: 1200px;
  width: 100%;
  padding-left: 16px;
  padding-right: 16px;
  margin: 0 auto;
}

.policy .container a {
  color: inherit;
  text-decoration: none;
}