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

:root {
    --navy: #243B6B;
    --light-blue: #4A90E2;
    --orange: #D68A3D;
    --white: #FFFFFF;
    --bg: #F8FAFC;
    --border-color: #243B6B;
}

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

body {
    background-color: var(--white);
    color: var(--navy);
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3 {
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    color: var(--navy);
}

/* Cartoon Components */
.sticker {
    background: var(--white);
    border: 4px solid var(--border-color);
    border-radius: 24px;
    box-shadow: 8px 8px 0px var(--border-color);
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.sticker:hover {
    transform: translate(-2px, -2px);
    box-shadow: 12px 12px 0px var(--border-color);
}

.btn-cartoon {
    display: inline-block;
    padding: 16px 32px;
    background: var(--orange);
    color: white;
    border: 4px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    font-size: 1.25rem;
    text-decoration: none;
    box-shadow: 6px 6px 0px var(--border-color);
    cursor: pointer;
    transition: all 0.2s;
}

.btn-cartoon:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px var(--border-color);
    background: #e69a4d;
}

.btn-cartoon:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border-color);
}

/* Hero Section Redesign: Truly Dramatic & Soulful */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    text-align: center;
    background: radial-gradient(circle at center, rgba(74, 144, 226, 0.08) 0%, rgba(255, 255, 255, 0) 70%);
    position: relative;
    overflow: hidden;
    perspective: 1200px; /* For 3D Tilt */
}

.hero-main-container {
    transform-style: preserve-3d;
    transition: transform 0.1s ease-out;
    z-index: 10;
}

.hero-aura {
    position: absolute;
    width: 800px;
    height: 800px;
    background: radial-gradient(circle, rgba(74, 144, 226, 0.2) 0%, transparent 70%);
    border-radius: 50%;
    z-index: 0;
    animation: pulse-aura 6s infinite ease-in-out;
    pointer-events: none;
}

/* Debris Layer */
.debris-layer {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.debris {
    position: absolute;
    clip-path: circle(45%); /* Trims the white corners off the square generated boxes */
    animation: float-debris var(--d, 10s) infinite linear;
}

.d1 { width: 120px; top: 15%; left: 10%; --d: 15s; }
.d2 { width: 80px; top: 60%; right: 15%; --d: 12s; animation-delay: -2s; }
.d3 { width: 100px; bottom: 20%; left: 20%; --d: 18s; animation-delay: -5s; }
.star-d1 { width: 150px; top: 20%; right: 10%; --d: 20s; filter: drop-shadow(0 0 20px rgba(214, 138, 61, 0.3)); }

.hero-img {
    width: 480px;
    max-width: 90vw;
    border-radius: 50% !important; /* Force circle for the logo.jpg */
    object-fit: cover;
    z-index: 1;
    filter: drop-shadow(0 20px 40px rgba(36, 59, 107, 0.25));
    margin-bottom: -10px;
}

.hero h1 {
    font-size: 9rem;
    line-height: 0.8;
    letter-spacing: -4px;
    margin-top: 1.5rem;
    background: linear-gradient(180deg, var(--navy) 40%, var(--light-blue) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 15px 25px rgba(36, 59, 107, 0.3));
    transform: translateZ(50px); /* 3D depth */
}

.hero .tagline {
    font-size: 2.2rem;
    font-family: 'Fredoka', sans-serif;
    color: var(--navy);
    opacity: 0.9;
    margin-top: 2.5rem;
    font-style: italic;
    max-width: 700px;
    z-index: 10;
    transform: translateZ(30px);
}

@keyframes pulse-aura {
    0%, 100% { transform: scale(1); opacity: 0.4; }
    50% { transform: scale(1.3); opacity: 0.6; }
}

@keyframes float-debris {
    0% { transform: translate(0, 0) rotate(0deg); }
    33% { transform: translate(15px, -20px) rotate(5deg); }
    66% { transform: translate(-10px, 15px) rotate(-5deg); }
    100% { transform: translate(0, 0) rotate(0deg); }
}

/* Sticker override for logo.jpg circle */
.sticker.hero-img {
    border-radius: 50%;
    padding: 0;
    background: transparent;
}

/* Header Styling */
.site-header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width:calc(100% - 40px);
    max-width: 1200px;
    background: var(--white);
    border: 4px solid var(--border-color);
    border-radius: 20px;
    padding: 12px 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    box-shadow: 6px 6px 0px var(--border-color);
}

.header-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-family: 'Fredoka', sans-serif;
    font-weight: 700;
    text-decoration: none;
    color: var(--navy);
}

.header-logo img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--border-color);
}

.btn-buy {
    padding: 8px 20px;
    font-size: 1rem;
    background: var(--orange);
    color: white;
    border: 3px solid var(--border-color);
    border-radius: 50px;
    font-family: 'Fredoka', sans-serif;
    text-decoration: none;
    box-shadow: 4px 4px 0px var(--border-color);
    transition: 0.2s;
}

.btn-buy:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--border-color);
}

/* Sections */
section {
    padding: 80px 20px;
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 3.5rem;
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 60px;
    height: 6px;
    background: var(--orange);
    margin: 10px auto;
    border-radius: 10px;
}

/* Story Cards */
.story-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 40px;
}

.story-card {
    padding: 30px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    position: relative;
    padding-top: 60px;
}

.story-img-sticker {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    position: absolute;
    top: -50px;
    right: 20px;
    background: white;
    object-fit: cover;
    box-shadow: 4px 4px 0px var(--border-color);
}

.story-card .step-num {
    background: var(--light-blue);
    color: white;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    border: 3px solid var(--border-color);
    font-weight: bold;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.gallery-item {
    overflow: hidden;
    height: 300px;
}

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

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

/* Chart Section */
.chart-container {
    width: 100%;
    height: 600px;
    border: 4px solid var(--border-color);
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 8px 8px 0px var(--border-color);
    margin-top: 2rem;
}

.chart-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

/* Footer Styling Cleanup */
footer {
    padding: 60px 20px;
    text-align: center;
    border-top: 4px solid var(--border-color);
    margin-top: 60px;
    background: #fdfdfd;
}

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

.social-link {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 3px solid var(--border-color);
    border-radius: 12px;
    color: var(--navy);
    text-decoration: none;
    font-size: 1.5rem;
    box-shadow: 4px 4px 0px var(--border-color);
}

.social-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px var(--border-color);
    color: var(--light-blue);
}

/* Hero Social Icons */
.hero-socials {
    display: flex;
    gap: 24px;
    margin-top: 3rem;
    z-index: 20;
    position: relative;
}

.social-sticker {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--white);
    border: 4px solid var(--border-color);
    border-radius: 18px;
    box-shadow: 6px 6px 0px var(--border-color);
    cursor: pointer;
    transition: all 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    text-decoration: none;
    color: var(--white);
    font-size: 2rem;
}

.social-sticker:hover {
    transform: translate(-3px, -3px) rotate(-5deg);
    box-shadow: 9px 9px 0px var(--border-color);
}

.social-sticker:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px var(--border-color);
}

.ss-tg { background: #0088cc; }
.ss-x { background: #000000; }
.ss-dex { 
    background-image: url('dexscreener.jpg'); 
    background-size: cover;
    background-position: center;
    border-color: var(--border-color);
}

.social-sticker svg {
    width: 32px;
    height: 32px;
    fill: currentColor;
}

@media (max-width: 768px) {
    .site-header { top: 10px; padding: 8px 16px; }
    .header-logo span { display: none; }
    .hero h1 { font-size: 4rem; line-height: 1; }
    .hero-img { width: 300px; }
    .hero-socials { gap: 15px; margin-top: 2rem; }
    .social-sticker { width: 54px; height: 54px; }
    .section-title { font-size: 2.2rem; }
    .chart-container { height: 450px; }
    .story-card { margin-top: 40px; }
}
