/* ==========================================
   TOLY CAT - Global Styles
   ========================================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Ubuntu', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #333;
    overflow-x: hidden;
}

/* ==========================================
   HERO SECTION
   ========================================== */

.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #87CEEB 0%, #E0F6FF 100%);
    position: relative;
    overflow: hidden;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.logo-container {
    margin-bottom: 10px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-title {
    font-size: 50px;
    font-weight: 900;
    color: #FFD700;
    text-shadow: 4px 4px 0 #000, 8px 8px 0 rgba(0,0,0,0.3);
    font-family: 'Permanent Marker', cursive;
    letter-spacing: 3px;
    margin-bottom: 10px;
    margin-top: 0;
    line-height: 1.2;
}

.hero-cat-image {
    width: 120px;
    height: 120px;
    object-fit: contain;
    margin-top: 10px;
    animation: bounce 2s infinite;
}

.hero-logo {
    width: 200px;
    height: 200px;
    object-fit: contain;
}

.hero-scene {
    width: 100%;
    height: 120px;
    margin: 15px 0;
    position: relative;
}

.scene-container {
    position: relative;
    width: 100%;
    height: 100%;
}

.parallax-bg {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
}

.parallax-element {
    position: absolute;
    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.8;
}

.cloud-1 {
    width: 300px;
    height: 100px;
    top: 20%;
    left: 10%;
}

.cloud-2 {
    width: 250px;
    height: 80px;
    top: 50%;
    right: 15%;
}

.hero-subtitle {
    font-size: 16px;
    color: #333;
    margin: 8px 0;
    font-weight: 400;
}

.scroll-indicator {
    font-size: 12px;
    color: #555;
    margin-top: 40px;
    animation: bounce 2s infinite;
    font-family: 'Anonymous Pro', monospace;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(20px);
    }
}

@keyframes walkingPaws {
    0% {
        transform: translateX(-50px);
        opacity: 1;
    }
    100% {
        transform: translateX(300px);
        opacity: 1;
    }
}

@keyframes pawWalk {
    0% {
        transform: translateX(-100px) rotate(var(--rotation, 0deg));
        opacity: 0;
    }
    10% {
        opacity: 0.7;
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateX(500px) rotate(var(--rotation, 0deg));
        opacity: 0;
    }
}

.paw-prints {
    position: relative;
    width: 100%;
    height: 100px;
    margin-top: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.paw-print-emoji {
    position: absolute;
    font-size: 42px;
    opacity: 0.7;
    animation: pawWalk 4s infinite linear;
}

.paw-1 {
    --rotation: -20deg;
    animation-delay: 0s;
}

.paw-2 {
    --rotation: 15deg;
    animation-delay: 0.3s;
}

.paw-3 {
    --rotation: -10deg;
    animation-delay: 0.6s;
}

.paw-4 {
    --rotation: 25deg;
    animation-delay: 0.9s;
}

.paw-5 {
    --rotation: -15deg;
    animation-delay: 1.2s;
}

.paw-6 {
    --rotation: 30deg;
    animation-delay: 1.5s;
}

.social-links {
    position: absolute;
    bottom: 40px;
    right: 40px;
    display: flex;
    gap: 20px;
    z-index: 3;
}

.social-links a {
    width: 50px;
    height: 50px;
    background: rgba(255,255,255,0.9);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
    cursor: pointer;
}

.social-links a:hover {
    transform: scale(1.1);
    background: #FFD700;
}

.social-links img {
    width: 30px;
    height: 30px;
}

/* ==========================================
   SCENE SECTIONS
   ========================================== */

.scene {
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 60px 40px;
    position: relative;
}

.scene-inner {
    max-width: 1000px;
    width: 100%;
    text-align: center;
}

.scene-title {
    font-size: 48px;
    font-weight: 700;
    margin-bottom: 40px;
    font-family: 'Permanent Marker', cursive;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.scene-illustration {
    width: 100%;
    max-width: 600px;
    margin: 0 auto 40px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    background: #fff;
    min-height: 400px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.scene-illustration img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.scene-text {
    font-size: 22px;
    color: #fff;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.5);
    line-height: 1.6;
    max-width: 600px;
    margin: 0 auto;
}

/* Scene Colors */
.scene-1 {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.scene-2 {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
}

.scene-3 {
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
}

.scene-4 {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
}

.scene-5 {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
}

/* ==========================================
   BEER OPENING INTERACTIVE SCENE
   ========================================== */

.interactive-scene {
    position: relative;
}

.beer-bottle {
    position: absolute;
    bottom: 20%;
    right: 10%;
    width: 80px;
    height: 120px;
    background: linear-gradient(90deg, #8B4513 0%, #A0522D 50%, #CD853F 100%);
    border-radius: 10px 10px 20px 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.4);
    animation: sway 3s ease-in-out infinite;
}

.beer-label {
    position: absolute;
    top: 30%;
    left: 50%;
    transform: translateX(-50%);
    width: 70px;
    height: 50px;
    background: #FFD700;
    border-radius: 5px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 10px;
}

.beer-label p {
    font-weight: 700;
    font-size: 12px;
    text-align: center;
    color: #333;
    font-family: 'Permanent Marker', cursive;
}

@keyframes sway {
    0%, 100% {
        transform: rotate(-2deg);
    }
    50% {
        transform: rotate(2deg);
    }
}

.instruction-text {
    font-size: 24px;
    font-weight: 700;
    margin-top: 60px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.6;
    }
}

.beer-progress {
    margin-top: 40px;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.progress-bar {
    width: 100%;
    height: 10px;
    background: rgba(255,255,255,0.3);
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid #fff;
}

.progress-fill {
    height: 100%;
    background: #FFD700;
    width: 0%;
    transition: width 0.1s linear;
}

.progress-text {
    display: block;
    margin-top: 10px;
    color: #fff;
    font-size: 14px;
    font-family: 'Anonymous Pro', monospace;
}

/* ==========================================
   HOW TO BUY SECTION
   ========================================== */

.how-to-buy {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    padding: 80px 40px;
    text-align: center;
}

.how-to-buy h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 60px;
    font-family: 'Permanent Marker', cursive;
}

.steps-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.step:hover {
    transform: translateY(-10px);
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
    border-radius: 50%;
    font-size: 24px;
    font-weight: 700;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.step h3 {
    font-size: 24px;
    margin-bottom: 15px;
    color: #333;
}

.step p {
    color: #666;
    line-height: 1.6;
    margin-bottom: 25px;
}

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    font-size: 16px;
}

.btn-primary {
    background: linear-gradient(135deg, #11998e 0%, #38ef7d 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 20px rgba(0,0,0,0.2);
}

.btn-secondary {
    background: #f0f0f0;
    color: #333;
    border: 2px solid #ddd;
}

.btn-secondary:hover {
    background: #fff;
    border-color: #333;
}

.token-address {
    margin-top: 20px;
    padding-top: 20px;
    border-top: 2px solid #eee;
}

.token-address p {
    font-family: 'Anonymous Pro', monospace;
    font-size: 14px;
}

#token-addr {
    font-weight: 700;
    color: #11998e;
}

/* ==========================================
   FAQ SECTION
   ========================================== */

.faq {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 80px 40px;
    text-align: center;
}

.faq h2 {
    font-size: 48px;
    color: #fff;
    margin-bottom: 60px;
    font-family: 'Permanent Marker', cursive;
}

.faq-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(255,255,255,0.95);
    border-radius: 15px;
    padding: 30px;
    text-align: left;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
}

.faq-item h3 {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: 700;
}

.faq-item img {
    width: 40px;
    height: 40px;
    margin-bottom: 15px;
    display: block;
}

.faq-item p {
    color: #666;
    line-height: 1.6;
    font-size: 14px;
}

/* ==========================================
   FOOTER
   ========================================== */

.footer {
    background: #222;
    color: #fff;
    padding: 40px;
    text-align: center;
    font-size: 14px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 20px;
}

.footer-links a {
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    background: #FFD700;
}

.footer-links img {
    width: 24px;
    height: 24px;
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */

@media (max-width: 768px) {
    .hero-title {
        font-size: 48px;
    }

    .hero-logo {
        width: 120px;
        height: 120px;
    }

    .scene-title {
        font-size: 32px;
    }

    .how-to-buy h2,
    .faq h2 {
        font-size: 32px;
    }

    .steps-container,
    .faq-container {
        grid-template-columns: 1fr;
    }

    .social-links {
        bottom: 20px;
        right: 20px;
    }
}

/* ==========================================
   LENIS SMOOTH SCROLL
   ========================================== */

html.lenis {
    height: auto;
}

html.lenis body {
    height: auto;
}

.lenis.lenis-smooth {
    scroll-behavior: auto;
}

.lenis.lenis-smooth [data-lenis-prevent] {
    overscroll-behavior: contain;
}

.lenis.lenis-stopped {
    overflow: hidden;
}
