/* ========================================
   $BEARISH — Vibrant cartoon bear theme
   Matches the We Bare Bears-inspired art
   ======================================== */

@import url('https://fonts.googleapis.com/css2?family=Fredoka:wght@400;500;600;700&family=Nunito:wght@400;600;700;800&display=swap');

:root {
    --bg: #e8f4f8;
    --bg-warm: #fdf6ec;
    --bg-surface: #ffffff;
    --bg-card: #ffffff;
    --green: #2ecc71;
    --green-dark: #27ae60;
    --green-glow: rgba(46, 204, 113, 0.2);
    --sky: #87ceeb;
    --sky-deep: #5ba3d9;
    --brown: #8B6B4A;
    --brown-light: #c49a6c;
    --red: #e74c3c;
    --red-soft: #ff6b6b;
    --orange: #f39c12;
    --white: #ffffff;
    --text: #2c3e50;
    --text-soft: #5a6c7d;
    --text-dim: #8899aa;
    --border: rgba(0, 0, 0, 0.08);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-md: 0 4px 20px rgba(0, 0, 0, 0.08);
    --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.12);
    --font-display: 'Fredoka', sans-serif;
    --font-body: 'Nunito', sans-serif;
    --radius: 16px;
    --radius-lg: 24px;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-body);
    background: var(--bg);
    color: var(--text);
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 0 24px;
}

h2 {
    font-family: var(--font-display);
    font-size: 2.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    margin-bottom: 40px;
    text-transform: lowercase;
    color: var(--text);
}

/* ========================================
   Nav
   ======================================== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 14px 32px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    transition: box-shadow 0.3s ease;
}

.navbar.scrolled {
    box-shadow: var(--shadow-sm);
}

.nav-logo {
    font-family: var(--font-display);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--brown);
    letter-spacing: 0.5px;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 28px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-soft);
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: lowercase;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--text);
}

.nav-btn {
    background: var(--green) !important;
    color: var(--white) !important;
    padding: 10px 22px !important;
    border-radius: 12px !important;
    font-weight: 700 !important;
    font-family: var(--font-display) !important;
    transition: all 0.3s ease !important;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3) !important;
}

.nav-btn:hover {
    background: var(--green-dark) !important;
    transform: translateY(-1px) !important;
    box-shadow: 0 6px 16px rgba(46, 204, 113, 0.4) !important;
}

.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
}

.mobile-menu-btn span {
    width: 24px;
    height: 2.5px;
    background: var(--text);
    border-radius: 2px;
    transition: all 0.3s;
}

.mobile-menu-btn.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.mobile-menu-btn.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-btn.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

.mobile-menu {
    display: none;
    position: fixed;
    top: 58px;
    left: 0;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(20px);
    flex-direction: column;
    align-items: center;
    padding: 28px;
    gap: 20px;
    z-index: 999;
    border-bottom: 1px solid var(--border);
}

.mobile-menu.active {
    display: flex;
}

.mobile-menu a {
    text-decoration: none;
    color: var(--text);
    font-weight: 700;
    font-size: 1rem;
    text-transform: lowercase;
    font-family: var(--font-display);
}

/* ========================================
   Hero
   ======================================== */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    padding-top: 60px;
    background: linear-gradient(180deg, #b8e4f0 0%, #e8f4f8 60%, var(--bg-warm) 100%);
}

/* floating cloud decoration */
.hero::before,
.hero::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    filter: blur(40px);
    pointer-events: none;
}

.hero::before {
    width: 300px;
    height: 150px;
    top: 10%;
    left: -80px;
    animation: float 8s ease-in-out infinite;
}

.hero::after {
    width: 250px;
    height: 120px;
    top: 15%;
    right: -60px;
    animation: float 10s ease-in-out infinite reverse;
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-banner {
    width: 100%;
    max-width: 1000px;
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin: 0 auto 32px;
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
}

.hero-banner img {
    width: 100%;
    height: auto;
    display: block;
}

.hero-overlay {
    display: none;
}

.hero-content {
    position: relative;
    z-index: 2;
    text-align: center;
    padding: 0 24px 60px;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 4.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--brown);
    margin-bottom: 8px;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-soft);
    margin-bottom: 32px;
    font-weight: 600;
}

.hero-buttons {
    display: flex;
    gap: 14px;
    justify-content: center;
    margin-bottom: 28px;
}

.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 14px;
    font-weight: 700;
    font-size: 0.95rem;
    text-decoration: none;
    cursor: pointer;
    border: none;
    font-family: var(--font-display);
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--green);
    color: var(--white);
    box-shadow: 0 4px 16px rgba(46, 204, 113, 0.35);
}

.btn-primary:hover {
    background: var(--green-dark);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(46, 204, 113, 0.45);
}

.btn-ghost {
    background: var(--white);
    color: var(--text);
    border: 2px solid var(--border);
    box-shadow: var(--shadow-sm);
}

.btn-ghost:hover {
    border-color: var(--brown-light);
    color: var(--brown);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.hero-ca {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: var(--white);
    border: 2px solid var(--border);
    padding: 12px 18px;
    border-radius: 14px;
    font-size: 0.85rem;
    box-shadow: var(--shadow-sm);
}

.ca-label {
    color: var(--text-dim);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.7rem;
    font-family: var(--font-display);
}

.ca-address {
    color: var(--green-dark);
    font-family: 'SF Mono', 'Courier New', monospace;
    font-size: 0.8rem;
    font-weight: 600;
}

.copy-btn {
    background: var(--bg);
    border: 1px solid var(--border);
    color: var(--text-soft);
    padding: 5px 14px;
    border-radius: 8px;
    cursor: pointer;
    font-size: 0.7rem;
    font-weight: 700;
    font-family: var(--font-display);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s;
}

.copy-btn:hover {
    background: var(--green);
    color: var(--white);
    border-color: var(--green);
}

/* ========================================
   About
   ======================================== */
.about {
    padding: 100px 0;
    background: var(--bg-warm);
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center;
}

.about-image img {
    width: 100%;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-lg);
    border: 4px solid var(--white);
    transition: transform 0.4s ease;
}

.about-image img:hover {
    transform: rotate(-1deg) scale(1.02);
}

.about-text p {
    color: var(--text-soft);
    margin-bottom: 16px;
    font-size: 1.05rem;
    line-height: 1.75;
}

.about-text h2 {
    margin-bottom: 24px;
}

.crossed {
    text-decoration: line-through;
    text-decoration-color: var(--red);
    text-decoration-thickness: 3px;
    color: var(--text-dim);
}

.green {
    color: var(--green);
    font-weight: 800;
}

/* ========================================
   Vibe Strip
   ======================================== */
.vibe-strip {
    display: flex;
    justify-content: center;
    gap: 24px;
    padding: 22px 0;
    background: var(--green);
    color: var(--white);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    letter-spacing: 3px;
    text-transform: uppercase;
    overflow: hidden;
    flex-wrap: nowrap;
    white-space: nowrap;
}

/* ========================================
   Gallery
   ======================================== */
.gallery {
    padding: 100px 0;
    background: var(--bg);
}

.gallery h2 {
    text-align: center;
}

.gallery-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

.gallery-item {
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    aspect-ratio: 16 / 9;
    box-shadow: var(--shadow-md);
    border: 4px solid var(--white);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    cursor: pointer;
}

.gallery-item:hover {
    transform: translateY(-4px) rotate(-0.5deg);
    box-shadow: var(--shadow-lg);
}

.gallery-item.wide {
    grid-column: span 2;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.5s ease;
}

.gallery-item:hover img {
    transform: scale(1.05);
}

/* ========================================
   Pump.fun Button
   ======================================== */
.btn-pump,
.nav-btn-pump {
    display: inline-flex !important;
    align-items: center !important;
    gap: 8px !important;
    background: #00bf63 !important;
    color: var(--white) !important;
    box-shadow: 0 4px 16px rgba(0, 191, 99, 0.35) !important;
}

.btn-pump:hover,
.nav-btn-pump:hover {
    background: #00a854 !important;
    transform: translateY(-2px) !important;
    box-shadow: 0 6px 20px rgba(0, 191, 99, 0.45) !important;
}

.pump-icon {
    flex-shrink: 0;
}

/* ========================================
   Chart Section
   ======================================== */
.chart-section {
    padding: 100px 0;
    background: var(--bg-warm);
}

.chart-section h2 {
    text-align: center;
}

.chart-wrapper {
    background: var(--white);
    border-radius: var(--radius-lg);
    border: 2px solid var(--border);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    min-height: 500px;
    position: relative;
}

.chart-wrapper iframe {
    width: 100%;
    height: 500px;
    border: none;
    display: block;
}

.chart-placeholder {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 500px;
    gap: 16px;
    color: var(--text-dim);
    font-family: var(--font-display);
    font-size: 1rem;
}

.chart-placeholder svg {
    opacity: 0.3;
    animation: pulse-chart 2s ease-in-out infinite;
}

@keyframes pulse-chart {

    0%,
    100% {
        opacity: 0.3;
        transform: scale(1);
    }

    50% {
        opacity: 0.5;
        transform: scale(1.05);
    }
}

.chart-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 20px;
}

.chart-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    background: var(--white);
    border: 2px solid var(--border);
    border-radius: 14px;
    text-decoration: none;
    color: var(--text-soft);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
}

.chart-link:hover {
    border-color: var(--green);
    color: var(--green);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ========================================
   Buy
   ======================================== */
.buy {
    padding: 100px 0;
    background: var(--bg);
}

.buy h2 {
    text-align: center;
}

.steps {
    display: flex;
    flex-direction: column;
    gap: 16px;
    max-width: 680px;
    margin: 0 auto;
}

.step {
    display: flex;
    align-items: flex-start;
    gap: 20px;
    padding: 28px 32px;
    background: var(--white);
    border-radius: var(--radius);
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.step:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.step-num {
    font-family: var(--font-display);
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    background: var(--green);
    width: 48px;
    height: 48px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(46, 204, 113, 0.3);
}

.step h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 4px;
    text-transform: lowercase;
    color: var(--text);
}

.step p {
    color: var(--text-soft);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* ========================================
   Footer
   ======================================== */
.footer {
    padding: 40px 0 32px;
    background: var(--white);
    border-top: 2px solid var(--border);
}

.footer-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.footer-logo {
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--brown);
    font-size: 1.2rem;
}

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

.footer-links a {
    text-decoration: none;
    color: var(--text-soft);
    font-weight: 700;
    font-size: 0.9rem;
    transition: color 0.2s;
    font-family: var(--font-display);
}

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

.disclaimer {
    color: var(--text-dim);
    font-size: 0.75rem;
    line-height: 1.5;
}

/* ========================================
   Scroll animations
   ======================================== */
.fade-in {
    opacity: 0;
    transform: translateY(24px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* ========================================
   Responsive
   ======================================== */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .mobile-menu-btn {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-banner {
        border-radius: var(--radius);
        margin-left: 12px;
        margin-right: 12px;
    }

    .about-grid {
        grid-template-columns: 1fr;
        gap: 32px;
    }

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

    .gallery-item.wide {
        grid-column: span 1;
    }

    .vibe-strip {
        font-size: 0.75rem;
        gap: 16px;
    }

    h2 {
        font-size: 1.8rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.4rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .hero-ca {
        flex-direction: column;
        text-align: center;
    }

    .step {
        padding: 20px;
    }

    .steps {
        gap: 12px;
    }
}