/* ==================== GLOBAL STYLES ==================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --pink-primary: rgba(228, 108, 180, 1);
    --pink-light: #FFB3D9;
    --yellow-primary: #FFD700;
    --yellow-dark: #FFC700;
    --orange-primary: #FF8C00;
    --orange-dark: #FF6B00;
    --white: #FFFFFF;
    --black: #000000;
    --text-dark: #2C2C2C;
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Oxanium', sans-serif;
    color: var(--text-dark);
    overflow-x: hidden;
    line-height: 1.6;
}

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

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
}

a {
    text-decoration: none;
    color: inherit;
}

img {
    max-width: 100%;
    height: auto;
}

/* ==================== BUTTONS ==================== */
.btn-primary {
    display: inline-block;
    padding: 15px 40px;
    background: var(--orange-primary);
    color: var(--white);
    border: 3px solid var(--black);
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
}

.btn-primary:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px var(--shadow);
}

.btn-secondary {
    display: inline-block;
    padding: 15px 40px;
    background: transparent;
    color: var(--black);
    border: 3px solid var(--black);
    border-radius: 10px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s ease;
}

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

.btn-large {
    padding: 20px 60px;
    font-size: 20px;
}

.btn-play {
    display: inline-block;
    padding: 12px 30px;
    background: var(--orange-primary);
    color: var(--white);
    border: 3px solid var(--black);
    border-radius: 8px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-play:hover {
    background: var(--orange-dark);
    transform: translateY(-2px);
}

/* ==================== COOKIE NOTICE ==================== */
.cookie-notice {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    padding: 20px;
}

.cookie-notice.hidden {
    display: none;
}

.cookie-content {
    background: var(--white);
    border: 4px solid var(--black);
    border-radius: 20px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    text-align: center;
}

.cookie-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
}

.cookie-content h2 {
    font-size: 32px;
    margin-bottom: 20px;
    color: var(--black);
}

.cookie-content p {
    font-size: 16px;
    line-height: 1.6;
    margin-bottom: 30px;
    color: var(--text-dark);
}

.cookie-content button {
    width: 100%;
    margin-bottom: 15px;
}

.cookie-content button:last-child {
    margin-bottom: 0;
}

/* ==================== HEADER ==================== */
.header {
    background: var(--pink-primary);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    box-shadow: 0 2px 10px var(--shadow);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    color: var(--black);
}

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

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

.nav-menu a {
    font-size: 18px;
    font-weight: 600;
    color: var(--black);
    transition: color 0.3s ease;
}

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

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

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--black);
    transition: all 0.3s ease;
}

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

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

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

/* ==================== HERO SECTION ==================== */
.hero {
    background: var(--pink-primary);
    padding: 80px 0 0;
    position: relative;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0;
    align-items: center;
}

.hero-text {
  background: #fff;
  border-width: 3px, 7px, 7px, 0px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 1);
  border-radius: 30px;
  padding: 50px 20px;
}

.hero-text h1 {
    font-size: 140px;
    margin-bottom: 20px;
    color: var(--black);
}

.hero-text h2 {
    font-size: 34px;
    margin-bottom: 30px;
    color: var(--black);
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.hero-text .btn-primary {
    margin-top: 20px;
}

.hero-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* ==================== WAVE DIVIDER ==================== */
.wave-divider {
    position: relative;
    width: 100%;
    height: 80px;
    background-size: cover;
    background-position: center;
}

.wave-bottom {
    margin-top: -1px;
}

.hero .wave-divider,
.why-choose .wave-divider,
.faq .wave-divider,
.games-section .wave-divider,
.game-features .wave-divider {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 80'%3E%3Cpath fill='%23FFD700' d='M0,40 Q360,80 720,40 T1440,40 L1440,80 L0,80 Z'/%3E%3C/svg%3E");
}

/* ==================== CRAFTED WORLDS SECTION ==================== */
.crafted-worlds {
    background: var(--yellow-primary);
    padding: 80px 0 40px;
}

.section-header {
    text-align: center;
    margin-bottom: 50px;
}

.section-header h2 {
    font-size: 42px;
    margin-bottom: 20px;
    color: var(--black);
}

.section-header p {
    font-size: 16px;
    line-height: 1.8;
    max-width: 900px;
    margin: 0 auto;
}

.worlds-image {
    text-align: center;
}

.worlds-image img {
    max-width: 600px;
    height: auto;
    width: 100%;
    border-radius: 20px;
}

/* ==================== WHY CHOOSE SECTION ==================== */
.why-choose {
    background: var(--yellow-primary);
    padding: 40px 0;
    position: relative;
}

.why-choose h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 16px;
    color: var(--black);
}

.why-choose .container p {
  text-align: center;
  font-size: 14px;
}

.why-choose .container p:not(:last-child) {
  margin-bottom: 30px;
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 30px;
}

.feature-card {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 15px;
    padding: 30px;
    text-align: center;
    max-width: 285px;
    width: 100%;
    transition: transform 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px var(--shadow);
}

.feature-icon {
    width: 60px;
    height: 60px;
    margin-bottom: 20px;
}

.feature-card h3 {
    font-size: 20px;
    margin-bottom: 15px;
    color: var(--black);
}

.feature-card p {
    font-size: 14px;
    line-height: 1.6;
}

/* ==================== NEW ADVENTURE SECTION ==================== */
.new-adventure {
    background: var(--white);
    padding: 80px 0;
}

.adventure-content {
    display: grid;
    grid-template-columns: 1fr 0.6fr;
    gap: 40px;
    align-items: center;
}

.adventure-text h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--black);
}

.adventure-text p {
    font-size: 16px;
    margin-bottom: 20px;
    line-height: 1.8;
}

.adventure-text .btn-primary {
    margin-top: 20px;
}

.adventure-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* ==================== PLAY TOGETHER SECTION ==================== */
.play-together {
    background: var(--yellow-primary);
    padding: 80px 0;
}

.play-together h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--black);
}

.play-together p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 40px;
}

.community-image {
    text-align: center;
}

.community-image img {
    max-width: 600px;
    width: 100%;
    height: auto;
    border-radius: 20px;
}

/* ==================== FAQ SECTION ==================== */
.faq {
    background: var(--yellow-primary);
    padding: 80px 0;
    position: relative;
}

.faq h2 {
    text-align: center;
    font-size: 42px;
    margin-bottom: 60px;
    color: var(--black);
}

.faq-list {
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
}

.faq-question {
    width: 100%;
    padding: 25px;
    background: transparent;
    border: none;
    font-family: 'Oxanium', sans-serif;
    font-size: 18px;
    font-weight: 700;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--black);
}

.faq-icon {
    font-size: 28px;
    font-weight: 700;
    transition: transform 0.3s ease;
}

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

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
}

.faq-answer p {
    padding: 0 25px 25px 25px;
    font-size: 16px;
    line-height: 1.8;
}

/* ==================== CONTACT SECTION ==================== */
.contact {
    background: var(--orange-primary);
    padding: 80px 0;
}

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

.contact-text h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--black);
}

.contact-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
}

.contact-info {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 15px;
    padding: 30px;
}

.contact-info p {
    font-size: 16px;
    margin-bottom: 10px;
}

.contact-info p:last-child {
    margin-bottom: 0;
}

.contact-image img {
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    display: block;
}

/* ==================== FOOTER ==================== */
.footer {
    background: var(--pink-light);
    padding: 40px 0;
    text-align: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 20px;
    color: var(--black);
}

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

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

.footer-nav a {
    font-size: 16px;
    color: var(--black);
    transition: color 0.3s ease;
}

.footer-nav a:hover {
    color: var(--white);
}

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

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

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

.social-icon img {
    width: 100%;
    height: 100%;
}

.copyright {
    font-size: 14px;
    color: var(--black);
}

/* ==================== GAMES PAGE ==================== */
.games-hero {
    background: var(--yellow-primary);
    padding: 80px 0;
}

.games-hero h1 {
    font-size: 68px;
    margin-bottom: 30px;
    color: var(--black);
    text-align: center;
}

.games-hero p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: center;
}

.games-section {
    background: var(--yellow-primary);
    padding: 80px 0;
    position: relative;
}

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

.game-card {
  display: flex;
  align-items: center;
  justify-content: center;
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
}



.game-image {
    width: 100%;
    height: 250px;
    overflow: hidden;
    transition: all 0.3s ease;
}

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

.game-info {
  position: absolute;
  top: 0;
  left: 0;
    padding: 25px;
    text-align: center;
    width: 100%;
    height: 100%;
    display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transition: all 0.3s ease;
}
.game-card:hover {
  background: rgba(255, 127, 0, 1);
}
.game-card:hover .game-info {
  opacity: 1;
}

.game-card:hover .game-image {
  opacity: 0;
}

.game-info h3 {
    font-size: 24px;
    margin-bottom: 20px;
    color: var(--black);
}

/* ==================== GAME PAGE ==================== */
.game-hero {
    background: var(--yellow-primary);
    padding: 80px 0;
}

.game-hero h1 {
    font-size: 48px;
    margin-bottom: 30px;
    color: var(--black);
    text-align: center;
}

.game-hero p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 30px;
    text-align: center;
}

.game-preview {
    text-align: center;
    margin: 40px 0;
}

.game-preview img {
    max-width: 400px;
    border-radius: 20px;
}

.game-hero .btn-primary {
    display: block;
    margin: 40px auto 0;
    max-width: 300px;
}

.game-features {
    background: var(--yellow-primary);
    padding: 80px 0;
    position: relative;
}

.features-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.features-text h2 {
    font-size: 42px;
    margin-bottom: 30px;
    color: var(--black);
}

.features-text p {
    font-size: 16px;
    line-height: 1.8;
    margin-bottom: 20px;
}

.features-text .btn-primary {
    margin-top: 20px;
}

.league-cards {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.league-card {
    background: var(--white);
    border: 3px solid var(--black);
    border-radius: 34px;
    overflow: hidden;
}

.league-card img {
    width: 100%;
    display: block;
}

/* ==================== RESPONSIVE DESIGN ==================== */
@media (max-width: 992px) {
    .hero-content,
    .adventure-content,
    .contact-content,
    .features-content {
        grid-template-columns: 1fr;
    }

    .hero-image img,
    .adventure-image img,
    .contact-image img {
        max-width: 300px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 60px;
        flex-direction: column;
        background: var(--pink-primary);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        gap: 20px;
    }

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

    .hamburger {
        display: flex;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    }
}

@media (max-width: 768px) {
    h1 {
        font-size: 36px !important;
    }

    h2 {
        font-size: 32px !important;
    }

    .hero-text h1 {
        font-size: 36px;
    }

    .hero-text h2 {
        font-size: 24px;
    }

    .section-header h2,
    .why-choose h2,
    .faq h2,
    .adventure-text h2,
    .contact-text h2,
    .features-text h2 {
        font-size: 32px;
    }

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

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

    .btn-primary,
    .btn-secondary {
        padding: 12px 30px;
        font-size: 16px;
    }

    .btn-large {
        padding: 15px 40px;
        font-size: 18px;
    }
}

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

    .hero,
    .crafted-worlds,
    .why-choose,
    .new-adventure,
    .play-together,
    .faq,
    .contact,
    .games-hero,
    .games-section,
    .game-hero,
    .game-features {
        padding: 50px 0;
    }

    .nav-brand {
        font-size: 20px;
    }

    .logo-icon {
        width: 30px;
        height: 30px;
    }

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

    .footer-nav {
        flex-direction: column;
        gap: 15px;
    }
}

.policy {
  padding-top: 80px;
  padding-bottom: 60px;
}

.policy h1 {
  padding-bottom: 20px;
}