/* Import playful font */
@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@700&display=swap');

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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #2A2A2A;
    overflow-x: hidden;
}

html {
    overflow-x: hidden;
}

:root {
    --jungle-green: #2F5D50;
    --jungle-green-light: #4A8071;
    --moss-green: #6A994E;
    --soft-gold: #FFD369;
    --coral-red: #E76F51;
    --sunset-orange: #F4A261;
    --warm-tan: #EBD9B4;
    --warm-tan-light: #F5E6C5;
    --charcoal: #2A2A2A;
    --off-white: #FAFAFA;
}

/* Main gradient background with decorative elements */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, var(--moss-green) 0%, var(--jungle-green) 50%, var(--jungle-green-light) 100%);
    z-index: -2;
}

body::after {
    content: '';
    position: fixed;
    top: -50%;
    right: -20%;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(255,255,255,0.08) 0%, transparent 70%);
    border-radius: 50%;
    animation: float 30s ease-in-out infinite;
    z-index: -1;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(-50px, 100px) rotate(120deg); }
    66% { transform: translate(50px, -50px) rotate(240deg); }
}

/* Jungle leaves in top corners */
.jungle-leaves {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 250px;
  display: flex;
  justify-content: space-between;
  align-items: start;
  pointer-events: none;
  overflow: hidden;
}

.jungle-leaves img {
  height: 100%;
  width: auto;
  opacity: 0.7;
  object-fit: contain;
}

/* Decorative circles */
.bg-decoration {
    position: fixed;
    border-radius: 50%;
    opacity: 0.05;
    z-index: -1;
}

.bg-decoration:nth-child(2) {
    top: 10%;
    left: 5%;
    width: 300px;
    height: 300px;
    background: white;
    animation: float 25s ease-in-out infinite reverse;
}

.bg-decoration:nth-child(3) {
    bottom: 20%;
    left: 70%;
    width: 400px;
    height: 400px;
    background: var(--soft-gold);
    animation: float 35s ease-in-out infinite;
}

/* Cookie Banner */
.cookie-banner {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--charcoal);
    color: white;
    padding: 1.5rem 2rem;
    box-shadow: 0 -2px 10px rgba(0,0,0,0.2);
    z-index: 2000;
    display: none;
}

.cookie-banner.active {
    display: block;
}

.cookie-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.cookie-text {
    flex: 1;
}

.cookie-accept {
    background: var(--soft-gold);
    color: var(--charcoal);
    border: none;
    padding: 0.8rem 2rem;
    border-radius: 25px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s;
}

.cookie-accept:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

/* Hero Section - No separate header */
.hero {
    padding: 3rem 2rem 4rem;
    text-align: center;
    position: relative;
}

.hero-header {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-header .logo {
    display: none;
    z-index: 10;
}

.logo {
    width: 400px;
}

/* Language Picker */
.lang-picker {
    position: relative;
    z-index: 20;
}

.lang-current {
    background: rgba(255,255,255,0.2);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    cursor: pointer;
    color: white;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border: 2px solid rgba(255,255,255,0.3);
    transition: all 0.3s;
}

.lang-current:hover {
    background: rgba(255,255,255,0.3);
}

.lang-dropdown {
    position: absolute;
    top: 110%;
    right: 0;
    background: white;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
    min-width: 150px;
    display: none;
    overflow: hidden;
}

.lang-dropdown.active {
    display: block;
}

.lang-option {
    padding: 0.8rem 1.2rem;
    cursor: pointer;
    color: var(--charcoal);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: background 0.2s;
}

.lang-option:hover {
    background: var(--off-white);
}

.lang-option.selected {
    background: var(--soft-gold);
    color: var(--off-white);
}

.lang-flag {
    font-size: 1.2rem;
}

/* Hero Section - Redesigned */
.hero {
    padding: 2rem 2rem 4rem;
    position: relative;
    overflow: hidden;
}

.hero-header {
    max-width: 1400px;
    margin: 0 auto 2rem;
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.hero-content {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 4rem;
    align-items: center;
}

/* Left side - Text content */
.hero-left {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    z-index: 2;
}

.hero h1 {
    font-family: 'Fredoka', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 6rem;
    line-height: 1.1;
    color: #FFD369;
    margin: 0;
    text-shadow: 3px 3px 0px rgba(0,0,0,0.2), 
                 6px 6px 20px rgba(0,0,0,0.15);
    text-align: left;
    font-weight: 700;
}

.hero-cta {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
}

.cta-wrapper {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--soft-gold) 0%, #FFC34A 100%);
    color: var(--charcoal);
    padding: 1rem 3rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    transition: all 0.3s;
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

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

.cta-platform {
    color: white;
    font-size: 0.95rem;
    margin: 0;
    padding-left: 0.5rem;
    text-align: center;
}

.logo {
    width: 500px;
    max-width: 90%;
}

/* Right side - Visual showcase */
.hero-right {
    position: relative;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Mobile visual container - hidden by default */
.hero-mobile-visual {
    display: none;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
}

.hero-mobile-visual img {
    width: 100%;
    height: auto;
}

.hero-visual-bg {
    position: absolute;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, 
        rgba(255, 211, 105, 0.25) 0%, 
        rgba(106, 153, 78, 0.15) 30%,
        rgba(47, 93, 80, 0.1) 50%,
        transparent 70%);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
}

.hero-visual-bg::after {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, 
        rgba(255, 211, 105, 0.7) 0%,
        rgba(255, 211, 105, 0.5) 10%,
        rgba(255, 211, 105, 0.3) 20%,
        transparent 60%);
    border-radius: 50%;
    top: 30%;
    left: 65%;
    transform: translate(-50%, -50%);
    z-index: 1;
    pointer-events: none;
}

/* Step containers */
.hero-step {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.step-label {
    background: rgba(255, 255, 255, 0.95);
    color: var(--jungle-green);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 1rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    white-space: nowrap;
}

/* Step 1: Games (top left) */
.step-1 {
    top: 2%;
    left: 0%;
}

.hero-games {
    width: 200px;
    animation: stepGlow1 12s ease-in-out infinite;
    transition: transform 0.3s ease;
    cursor: pointer;
}

.hero-games:hover {
    transform: scale(1.1);
}

/* Step 2: Card Packs (bottom left) */
.step-2 {
    bottom: 10%;
    left: 10%;
}

.hero-card-packs-fan {
    position: relative;
    width: 240px;
    height: 150px;
    animation: stepGlow2 12s ease-in-out infinite;
}

.pack-card {
    position: absolute;
    width: 78.5px;
    transition: transform 0.3s ease;
}

.pack-left {
    left: 0%;
    top: 20px;
    transform: rotate(-15deg);
    z-index: 1;
}

.pack-center-left {
    left: 23%;
    top: 0;
    transform: rotate(-5deg);
    z-index: 2;
}

.pack-center-right {
    right: 23%;
    top: 0;
    transform: rotate(5deg);
    z-index: 2;
}

.pack-right {
    right: 0%;
    top: 20px;
    transform: rotate(15deg);
    z-index: 1;
}

.hero-card-packs-fan:hover .pack-left {
    transform: rotate(-20deg) translateY(-5px);
}

.hero-card-packs-fan:hover .pack-center-left {
    transform: rotate(-8deg) translateY(-8px);
}

.hero-card-packs-fan:hover .pack-center-right {
    transform: rotate(8deg) translateY(-8px);
}

.hero-card-packs-fan:hover .pack-right {
    transform: rotate(20deg) translateY(-5px);
}

/* Step 3: Cards (bottom right) */
.step-3 {
    bottom: 10%;
    right: 0%;
}

.hero-card-fan {
    position: relative;
    width: 200px;
    height: 150px;
    animation: stepGlow3 12s ease-in-out infinite;
}

.fan-card {
    position: absolute;
    width: 90px;
    transition: transform 0.3s ease;
}

.card-center {
    left: 50%;
    top: 0;
    transform: translateX(-50%) rotate(0deg);
    z-index: 3;
}

.card-left {
    left: 25%;
    top: 10px;
    transform: translateX(-50%) rotate(-12deg);
    z-index: 2;
}

.card-right {
    left: 75%;
    top: 10px;
    transform: translateX(-50%) rotate(12deg);
    z-index: 4;
}

.hero-card-fan:hover .card-center {
    transform: translateX(-50%) rotate(0deg) translateY(-10px);
}

.hero-card-fan:hover .card-left {
    transform: translateX(-50%) rotate(-18deg) translateY(-5px);
}

.hero-card-fan:hover .card-right {
    transform: translateX(-50%) rotate(18deg) translateY(-5px);
}

.hero-flow {
    position: absolute;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 2;
}

.hero-flow-1 {
    top: 40%;
    left: 10%;
}

.hero-flow-2 {
    bottom: 15%;
    left: 52%;
    flex-direction: column;
}

.flow-label {
    background: rgba(255, 211, 105, 0.95);
    color: var(--charcoal);
    padding: 0.4rem 0.8rem;
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.8rem;
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    white-space: nowrap;
    animation: labelPulse 12s ease-in-out infinite;
}

.hero-flow-1 .flow-label {
    animation-delay: 0s;
}

.hero-flow-2 .flow-label {
    animation-delay: 0s;
}

@keyframes labelPulse {
    0%, 16%, 100% { 
        transform: scale(1);
        background: rgba(255, 211, 105, 0.95);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    20%, 28% { 
        transform: scale(1.1);
        background: rgba(255, 211, 105, 1);
        box-shadow: 0 4px 20px rgba(255, 211, 105, 0.6);
    }
    33%, 92% {
        transform: scale(1);
        background: rgba(255, 211, 105, 0.95);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
}

/* Arrows */
.hero-arrow-1 {
    width: 90px;
    transform: rotate(45deg);
    z-index: 2;
    animation: arrowFlow1 12s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

.hero-arrow-2 {
    width: 90px;
    transform: rotate(-40deg);
    z-index: 2;
    animation: arrowFlow2 12s ease-in-out infinite;
    filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
}

/* Separate animation for flow-2 label */
.hero-flow-2 .flow-label {
    animation: labelPulse2 12s ease-in-out infinite;
}

@keyframes labelPulse2 {
    0%, 50%, 100% { 
        transform: scale(1);
        background: rgba(255, 211, 105, 0.95);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
    54%, 62% { 
        transform: scale(1.1);
        background: rgba(255, 211, 105, 1);
        box-shadow: 0 4px 20px rgba(255, 211, 105, 0.6);
    }
    70%, 92% {
        transform: scale(1);
        background: rgba(255, 211, 105, 0.95);
        box-shadow: 0 4px 12px rgba(0,0,0,0.2);
    }
}

/* Pico in center - static */
.hero-pico {
    position: absolute;
    width: 300px;
    top: 30%;
    left: 60%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

/* Sequential step glow animations */
@keyframes stepGlow1 {
    0%, 100% { 
        filter: drop-shadow(0 0 15px rgba(255, 211, 105, 0.6));
    }
    8%, 25% { 
        filter: drop-shadow(0 0 30px rgba(255, 211, 105, 1)) 
                drop-shadow(0 0 50px rgba(255, 211, 105, 0.8));
    }
    33%, 92% { 
        filter: drop-shadow(0 0 10px rgba(255, 211, 105, 0.3));
    }
}

@keyframes stepGlow2 {
    0%, 25%, 66%, 100% { 
        filter: drop-shadow(0 0 10px rgba(255, 211, 105, 0.3));
    }
    33%, 58% { 
        filter: drop-shadow(0 0 30px rgba(255, 211, 105, 1)) 
                drop-shadow(0 0 50px rgba(255, 211, 105, 0.8));
    }
}

@keyframes stepGlow3 {
    0%, 58%, 100% { 
        filter: drop-shadow(0 0 10px rgba(255, 211, 105, 0.3));
    }
    66%, 92% { 
        filter: drop-shadow(0 0 30px rgba(255, 211, 105, 1)) 
                drop-shadow(0 0 50px rgba(255, 211, 105, 0.8));
    }
}

@keyframes arrowFlow1 {
    0%, 16%, 100% { 
        opacity: 0.6;
        filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    }
    20%, 28% { 
        opacity: 1;
        filter: drop-shadow(0 4px 20px rgba(255, 211, 105, 0.8));
    }
    33%, 92% {
        opacity: 0.6;
        filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    }
}

@keyframes arrowFlow2 {
    0%, 50%, 100% {
        opacity: 0.6;
        filter: drop-shadow(0 4px 10px rgba(0,0,0,0.2));
    }
    54%, 62% {
        opacity: 1;
        filter: drop-shadow(0 4px 20px rgba(255, 211, 105, 0.8));
    }
}

/* Section Cards - Floating on gradient */
section {
    padding: 0 2rem 3rem;
}

.section-card {
    max-width: 1200px;
    margin: 0 auto 2rem;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    padding: 3rem 2rem;
    border-radius: 30px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.15);
}

h2 {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--soft-gold);
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

/* How It Works */
.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.step {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.95) 0%, 
        rgba(255, 211, 105, 0.7) 50%,
        rgba(255, 255, 255, 0.95) 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s;
    position: relative;
    overflow: hidden;
}

.step::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 211, 105, 0.15) 0%, transparent 70%);
    border-radius: 50%;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 35px rgba(0,0,0,0.2);
    border-color: var(--soft-gold);
}

.step-image {
    max-width: 150px;
}

.step-number {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--off-white) 50%, var(--soft-gold) 100%);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1rem;
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--charcoal);
}

.step h3 {
    color: var(--jungle-green);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, var(--off-white) 0%, var(--warm-tan-light) 50%, var(--warm-tan) 100%);
    padding: 1.5rem;
    border-radius: 20px;
    transition: transform 0.3s;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.feature-card:hover {
    transform: translateY(-3px);
}

.feature-image {
    width: auto;
    height: 100px;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: var(--jungle-green);
}

/* Card Anatomy - Improved Design */
.card-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 3rem;
}

.card-display {
  background: linear-gradient(135deg, rgba(235, 217, 180, 0.4) 0%, rgba(255, 255, 255, 0.4) 100%);
  padding: 2rem;
  border-radius: 20px;
  border: 2px solid rgba(235, 217, 180, 0.5);
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.card-label {
  align-self: center;
  background: linear-gradient(135deg, var(--jungle-green) 0%, var(--jungle-green-light) 100%);
  color: var(--soft-gold);
  padding: 0.5rem 1.5rem;
  border-radius: 20px;
  font-weight: 700;
  font-size: 1.1rem;
  box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.card-content {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 2rem;
  align-items: center;
}

.card-visual-wrapper {
  display: flex;
  justify-content: center;
  align-items: flex-start;
}

.card-image {
    max-width: 250px;
    display: block;
    margin: 0 auto;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
}

.card-features {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.card-feature-item {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    background: rgba(255,255,255,0.6);
    padding: 0.7rem 1rem;
    border-radius: 12px;
    transition: all 0.3s;
}

.card-feature-item:hover {
    background: rgba(255,255,255,0.8);
    transform: translateX(5px);
}

.feature-emoji {
    font-size: 1rem;
    flex-shrink: 0;
    line-height: 1.4;
}

.card-feature-item span:last-child {
    color: var(--charcoal);
    line-height: 1.4;
    font-size: 0.8rem;
}

/* Gameplay Video - Enhanced Layout */
.gameplay-container {
    max-width: 1000px;
    margin: 0 auto;
}

.gameplay-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.gameplay-text {
    color: white;
}

.gameplay-text h3 {
    font-size: 2rem;
    color: var(--soft-gold);
    margin-bottom: 1rem;
}

.gameplay-text p {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.gameplay-highlights {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: rgba(255,255,255,0.1);
    padding: 1rem;
    border-radius: 12px;
    backdrop-filter: blur(5px);
}

.highlight-icon {
    font-size: 1.5rem;
    flex-shrink: 0;
}

/* Video Container */
.iphone-frame-container {
    position: relative;
    width: 300px;
    max-width: 100%;
    margin: 0 auto;
}

.iphone-frame {
    display: block;
    width: 100%;
    height: auto;
    object-fit: cover;
}

.iphone-video {
    position: absolute;
    top: 2%;
    left: 5%;
    width: 90%;
    height: 96%;
    border-radius: 20px;
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

/* Collection Showcase Section */
.collection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.collection-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.2);
    transition: transform 0.3s;
    max-height: 600px;
    width: fit-content;
    margin: 0 auto;
}

.collection-item:hover {
    transform: translateY(-8px);
}

.collection-label {
    position: absolute;
    display: flex;
    align-items: center;
    top: 0;
    left: 0;
    right: 0;
    background-color: var(--soft-gold);
    border-bottom: 3px solid var(--jungle-green);
    color: var(--charcoal);
    font-weight: 700;
    font-size: 1.7rem;
    line-height: 2rem;
    text-align: center;
    z-index: 2;
    border-radius: 0 0 10px 10px;
    padding: 16px 5px;
    box-sizing: border-box;
}

.collection-media {
    width: auto;
    height: 100%;
    max-height: 100%;
    object-fit: contain;
    display: block;
    border-radius: 20px;
}

/* Testimonials Section */
.testimonials-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.testimonial-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.9) 0%, rgba(235, 217, 180, 0.9) 100%);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s;
}

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

.testimonial-stars {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--soft-gold);
}

.testimonial-text {
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
    color: var(--charcoal);
    font-style: italic;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.testimonial-author strong {
    color: var(--jungle-green);
    font-size: 1.1rem;
}

.testimonial-author span {
    color: #666;
    font-size: 0.9rem;
}

/* Final CTA Section */
#final-cta {
    padding: 0 2rem 4rem;
}

.cta-card {
    background: linear-gradient(135deg, rgba(47, 93, 80, 0.3) 0%, rgba(106, 153, 78, 0.3) 100%);
    border: 3px solid rgba(255, 211, 105, 0.3);
}

.cta-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.app-icon {
    border-radius: 22px;
    max-width: 150px;
    box-shadow: 0 10px 40px rgba(0,0,0,0.4);
    transition: transform 0.3s;
}

.app-icon:hover {
    transform: scale(1.05);
}

.cta-title {
    font-size: 2.5rem;
    color: white;
    margin: 0;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
}

.cta-tagline {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: linear-gradient(135deg, var(--soft-gold) 0%, #FFC34A 100%);
    color: var(--charcoal);
    padding: 1.2rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.5rem;
    transition: all 0.3s;
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

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

.tagline-text {
    text-align: center;
}

.tagline-arrow {
    font-size: 1.8rem;
    transition: transform 0.3s;
}

.cta-tagline:hover .tagline-arrow {
    transform: translateX(5px);
}

.cta-features {
    font-size: 1.1rem;
    color: white;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.2);
}

/* About Developer */
.developer-card {
    max-width: 700px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(235, 217, 180, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
    padding: 3rem;
    border-radius: 20px;
    text-align: center;
}

.developer-photo {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
}

/* FAQ */
.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: linear-gradient(135deg, rgba(235, 217, 180, 0.5) 0%, rgba(255, 255, 255, 0.5) 100%);
    padding: 1.5rem;
    border-radius: 12px;
    margin-bottom: 1rem;
    border: 1px solid rgba(235, 217, 180, 0.3);
}

.faq-item h3 {
    color: var(--jungle-green);
    margin-bottom: 0.8rem;
    font-size: 1.2rem;
}

/* Footer */
footer {
    background: var(--charcoal);
    color: white;
    padding: 3rem 2rem 1rem;
    position: relative;
    z-index: 1;
}

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

.footer-section h4 {
    color: var(--soft-gold);
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

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

.footer-links a {
    color: white;
    text-decoration: none;
    transition: color 0.3s;
    cursor: pointer;
}

.footer-links a:hover {
    color: var(--soft-gold);
}

.footer-bottom {
    text-align: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(255,255,255,0.1);
    color: #999;
}

.footer-social-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
    vertical-align: middle;
    transition: transform 0.3s;
}

.footer-social-icon:hover {
    transform: translateY(-2px);
}

.email-link {
    color: inherit;
    text-decoration: none;
}

.email-link:hover {
    text-decoration: underline;
}

/* Modal Styles - Improved Scrollbar */
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    z-index: 3000;
    padding: 1rem;
    overflow-y: auto;
    backdrop-filter: blur(3px);
}

.modal-overlay.active {
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding-top: 2rem;
    padding-bottom: 2rem;
}

.modal-content {
    background: var(--warm-tan);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow: hidden;
    position: relative;
    box-shadow: 0 20px 60px rgba(0,0,0,0.3);
    animation: modalSlideIn 0.3s ease-out;
    display: flex;
    flex-direction: column;
}

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

.modal-header {
    background: var(--jungle-green);
    color: white;
    padding: 1.5rem 2rem;
    border-radius: 20px 20px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-shrink: 0;
}

.modal-header h2 {
    margin: 0;
    font-size: 1.8rem;
    color: white;
}

.modal-close {
    background: rgba(255,255,255,0.2);
    border: none;
    color: white;
    font-size: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.modal-close:hover {
    background: rgba(255,255,255,0.3);
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    color: var(--charcoal);
    overflow-y: auto;
    flex: 1;
}

/* Custom scrollbar for modal */
.modal-body::-webkit-scrollbar {
    width: 10px;
}

.modal-body::-webkit-scrollbar-track {
    background: rgba(0,0,0,0.05);
    border-radius: 0 0 20px 0;
}

.modal-body::-webkit-scrollbar-thumb {
    background: var(--jungle-green);
    border-radius: 10px;
}

.modal-body::-webkit-scrollbar-thumb:hover {
    background: var(--jungle-green-light);
}

.modal-body h2 {
    color: var(--jungle-green);
    font-size: 1.5rem;
    margin: 2rem 0 1rem;
    text-align: left;
}

.modal-body h2:first-child {
    margin-top: 0;
}

.modal-body p {
    margin-bottom: 1rem;
    line-height: 1.8;
}

.modal-body ul {
    margin: 1rem 0 1rem 2rem;
    line-height: 1.8;
}

.modal-body strong {
    color: var(--jungle-green);
}

/* Responsive adjustments */

/* Tablets and smaller desktops */
@media (max-width: 1200px) {
    .hero h1 {
        font-size: 4.5rem;
    }
    
    .logo {
        width: 400px;
    }
}

/* iPad and tablet portrait */
@media (max-width: 900px) {
    .hero-header {
        justify-content: space-between;
        align-items: center;
    }
    
    .hero-header .logo {
        display: block;
        width: 200px;
        order: 1;
    }
    
    .lang-picker {
        order: 2;
    }
    
    .hero-left .logo {
        display: none;
    }
    
    .hero h1 {
        font-size: 4rem;
    }
    
    .hero-content {
        gap: 2rem;
    }
}

/* Mobile and small tablets */
@media (max-width: 768px) {
    .jungle-leaves {
        height: 200px;
    }
    
    /* Hero adjustments */
    .hero {
        padding: 1.5rem 1rem 3rem;
    }
    
    .hero-header {
        margin-bottom: 1rem;
    }
    
    .hero-header .header-logo {
        width: 150px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero h1 {
        font-size: 3rem;
        text-align: center;
    }
    
    .hero-left {
        gap: 2rem;
        align-items: center;
    }
    
    .hero-cta {
        align-items: center;
    }
    
    .cta-button {
        font-size: 1.2rem;
        padding: 0.8rem 2rem;
    }
    
    /* Hide complex desktop visual, show mobile GIF */
    .hero-right .hero-step,
    .hero-right .hero-flow,
    .hero-right .hero-pico {
        display: none;
    }
    
    .hero-mobile-visual {
        display: block;
    }
    
    .hero-right {
        height: auto;
    }
    
    /* Section adjustments */
    section {
        padding: 0 1rem 2rem;
    }
    
    .section-card {
        padding: 2rem 1.5rem;
        border-radius: 20px;
        margin-bottom: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .section-subtitle {
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Card anatomy fix */
    .card-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-image {
        max-width: 200px;
    }
    
    .card-features {
        gap: 0.3rem;
    }
    
    .card-feature-item {
        padding: 0.5rem 0.7rem;
    }
    
    .card-display {
        padding: 1.5rem 1rem;
    }
    
    /* Gameplay section */
    .gameplay-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .gameplay-text {
        text-align: center;
    }
    
    .gameplay-text h3 {
        font-size: 1.5rem;
    }
    
    .gameplay-text p {
        font-size: 1rem;
    }
    
    /* Other sections */
    .steps {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .card-showcase {
        grid-template-columns: 1fr;
    }
    
    .collection-grid {
        grid-template-columns: 1fr;
        justify-items: center;
    }
    
    .collection-item {
        width: 100%;
        max-width: fit-content;
    }
    
    .testimonials-container {
        grid-template-columns: 1fr;
    }
    
    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    /* Cookie banner */
    .cookie-content {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .cookie-banner {
        padding: 1rem 1.5rem;
    }

    /* Modal */
    .modal-content {
        margin: 0;
        border-radius: 15px;
        max-height: 95vh;
    }

    .modal-header {
        border-radius: 15px 15px 0 0;
        padding: 1rem 1.5rem;
    }
    
    .modal-header h2 {
        font-size: 1.3rem;
    }

    .modal-body {
        padding: 1.5rem;
    }
    
    /* CTA */
    .cta-title {
        font-size: 2rem;
    }
    
    .cta-tagline {
        font-size: 1.2rem;
        padding: 1rem 2rem;
    }
    
    .cta-features {
        font-size: 0.95rem;
        display: flex;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

/* Small mobile phones */
@media (max-width: 480px) {
    .jungle-leaves {
        height: 150px;
    }
    
    .hero h1 {
        font-size: 2.5rem;
        margin-top: 1rem;
    }
    
    .hero-header .header-logo {
        width: 120px;
    }
    
    .cta-button {
        font-size: 1.1rem;
        padding: 0.7rem 1.5rem;
    }
    
    .cta-platform {
        font-size: 0.85rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .section-card {
        padding: 1.5rem 1rem;
    }
    
    .collection-label {
        font-size: 1.3rem;
        line-height: 1.6rem;
        padding: 12px 5px;
        min-height: 95px;
    }
    
    .cta-title {
        font-size: 1.6rem;
    }
    
    .cta-tagline {
        font-size: 1rem;
        padding: 0.8rem 1.5rem;
    }
    
    .tagline-text {
        font-size: 0.95rem;
    }
}

/* Desktop-only hero visual adjustments */
@media (min-width: 769px) and (max-width: 1024px) {
    .hero-right {
        height: 500px;
    }
    
    .hero-pico {
        width: 250px;
    }
    
    .hero-games {
        width: 150px;
    }
    
    .hero-card-packs-fan {
        width: 220px;
        height: 140px;
    }
    
    .pack-card {
        width: 65px;
    }
    
    .hero-card-fan {
        width: 160px;
        height: 140px;
    }
    
    .fan-card {
        width: 75px;
    }
    
    .hero-arrow-1,
    .hero-arrow-2 {
        width: 85px;
    }
    
    .step-label {
        font-size: 0.9rem;
        padding: 0.4rem 0.8rem;
    }
}

@media (max-width: 1024px) {
    /* Hide complex desktop visual, show mobile image */
    .hero-right .hero-step,
    .hero-right .hero-flow,
    .hero-right .hero-pico,
    .hero-visual-bg::after {
        display: none;
    }
    
    /* Disable desktop glow animations on mobile */
    .hero-games,
    .hero-card-packs-fan,
    .hero-card-fan,
    .hero-arrow-1,
    .hero-arrow-2 {
        animation: none !important;
    }
    
    .hero-mobile-visual {
        display: block;
    }
    
    .hero-right {
        height: auto;
    }
    
    .card-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-image {
        max-width: 250px;
    }
}