:root {
    --primary-color: #f7b500;
    --secondary-color: #ffffff;
    --text-dark: #1a1a1a;
    --text-light: #f5f5f5;
    --accent-color: #ff9d00;
    --font-main: 'Fredoka', sans-serif;
    --font-heading: 'Luckiest Guy', cursive;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

body {
    font-family: var(--font-main);
    background: #ffffff;
    background-image: 
        radial-gradient(at 0% 0%, hsla(44,100%,92%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(44,100%,95%,1) 0, transparent 50%),
        radial-gradient(at 100% 0%, hsla(44,100%,92%,1) 0, transparent 50%);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

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

/* Splash Screen */
#splash-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.8s ease, visibility 0.8s ease;
}

#splash-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.splash-content {
    text-align: center;
    animation: pulse 2s infinite ease-in-out;
}

.splash-img {
    width: 250px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
    margin-bottom: 30px;
}

.loader-bar {
    width: 200px;
    height: 6px;
    background: #eee;
    margin: 0 auto 15px;
    border-radius: 10px;
    overflow: hidden;
}

.loader-progress {
    height: 100%;
    width: 0%;
    background: var(--primary-color);
    animation: loading 2.5s forwards ease-in-out;
}

.splash-content p {
    font-family: var(--font-heading);
    color: var(--primary-color);
    letter-spacing: 2px;
}

@keyframes loading {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

/* Header */
header {
    position: fixed;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 95%;
    max-width: 1200px;
    background: rgba(255, 255, 255, 0.75);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    z-index: 1000;
    padding: 10px 0;
    border-radius: 100px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0,0,0,0.05);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo img {
    height: 45px;
}

.logo span {
    font-family: var(--font-heading);
    font-size: 28px;
    color: var(--text-dark);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 700;
    font-size: 14px;
    transition: var(--transition);
}

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

.nav-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.header-socials {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-right: 10px;
}

.header-socials a {
    display: flex;
    transition: var(--transition);
}

.header-socials a:hover {
    transform: translateY(-2px);
}

.header-socials img {
    height: 24px;
    width: auto;
}

.btn-buy {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 12px 28px;
    border-radius: 50px;
    font-weight: 900;
    font-size: 15px;
    box-shadow: 0 4px 15px rgba(247, 181, 0, 0.3);
    border-bottom: 4px solid #cc9500;
    transition: var(--transition);
}

.btn-buy:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(247, 181, 0, 0.4);
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    padding-top: 140px; /* Increased to avoid header overlap */
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.hero-bg img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(10px) brightness(0.95);
    transform: scale(1.1); /* Prevents blur from showing edges */
}

.hero-content {
    display: flex;
    align-items: flex-end; /* Pin content to bottom */
    justify-content: space-between;
    gap: 40px;
    min-height: calc(100vh - 140px); /* Match increased padding */
    width: 100%;
}

.hero-left {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: flex-end;
    height: 100%;
    position: relative;
}

.duck-char {
    max-width: 500px;
    width: 100%;
    filter: drop-shadow(0 20px 30px rgba(0,0,0,0.15));
    margin-bottom: -5px; /* Slight overlap to ensure no gap at bottom */
    display: block;
    z-index: 2;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

.hero-right {
    flex: 1.2;
    padding-bottom: 100px; /* Keep text centered while image is at bottom */
}

.hero-right h1 {
    font-family: var(--font-heading);
    font-size: 80px;
    line-height: 1.1; /* Slightly relaxed for better spacing */
    color: #fff;
    text-shadow: 
        4px 4px 0px #000,
        -1px -1px 0px #000,  
         1px -1px 0px #000,
        -1px  1px 0px #000,
         1px  1px 0px #000;
    margin-bottom: 20px;
}

.hero-right h1 span {
    color: var(--primary-color);
    font-size: 90px;
    text-shadow: 
        4px 4px 0px #000,
        -1px -1px 0px #000,  
         1px -1px 0px #000,
        -1px  1px 0px #000,
         1px  1px 0px #000;
}

.hero-desc {
    color: var(--text-dark);
    font-size: 18px;
    line-height: 1.6;
    max-width: 500px;
    margin-bottom: 35px;
    background: rgba(255, 255, 255, 0.4);
    padding: 25px;
    border-radius: 24px;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 10px 30px rgba(0,0,0,0.03);
    font-weight: 500;
}

.hero-ca {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.8);
    padding: 12px 20px;
    border-radius: 18px;
    margin-bottom: 30px;
    gap: 12px;
    max-width: fit-content;
    position: relative;
    box-shadow: 0 8px 25px rgba(0,0,0,0.05);
}

.hero-ca span:first-child {
    color: var(--primary-color);
    font-family: var(--font-heading);
    font-size: 14px;
}

.ca-value {
    background: transparent;
    border: none;
    color: var(--text-dark);
    font-family: var(--font-main);
    font-size: 14px;
    font-weight: 700;
    width: 280px;
    outline: none;
    cursor: default;
}

.copy-ca-btn {
    background: var(--primary-color);
    border: none;
    color: #fff;
    width: 32px;
    height: 32px;
    border-radius: 8px;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
}

.copy-ca-btn:hover {
    transform: scale(1.1);
}

.copy-tooltip {
    position: absolute;
    top: -40px;
    right: 0;
    background: #4cd137;
    color: #fff;
    padding: 5px 10px;
    border-radius: 5px;
    font-size: 12px;
    font-weight: 700;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.copy-tooltip.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(-5px);
}

.hero-btns {
    display: flex;
    align-items: center;
    gap: 25px;
}

.btn-primary {
    background: var(--primary-color);
    color: #fff;
    text-decoration: none;
    padding: 18px 45px;
    border-radius: 50px;
    font-family: var(--font-heading);
    font-size: 24px;
    box-shadow: 0 8px 25px rgba(247, 181, 0, 0.4);
    border-bottom: 6px solid #cc9500;
    transition: var(--transition);
}

.btn-primary:hover {
    transform: scale(1.05);
    background: var(--accent-color);
}

.social-icons {
    display: flex;
    gap: 15px;
}

.social-icons a {
    width: 45px;
    height: 45px;
    background: #fff;
    color: var(--text-dark);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    text-decoration: none;
    font-size: 20px;
    transition: var(--transition);
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
}

.social-icons a img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.social-icons a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

/* Responsive */
@media (max-width: 1024px) {
    header {
        top: 0;
        width: 100%;
        border-radius: 0;
        border-left: none;
        border-right: none;
        border-top: none;
    }
    .nav-links { display: none; }
    .hero-right h1 { font-size: 60px; }
    .hero-right h1 span { font-size: 70px; }
}

/* About Section (Section 2) */
.about-section {
    background: #ffffff;
    padding: 100px 0;
    position: relative;
    overflow: visible; /* Prevents clipping from above */
    z-index: 1;
}

.about-container {
    display: flex;
    align-items: center;
    gap: 60px;
}

.about-content {
    flex: 1;
}

.sub-title {
    display: block;
    color: var(--accent-color);
    font-family: var(--font-heading);
    font-size: 18px;
    letter-spacing: 1px;
    margin-bottom: 20px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 64px;
    color: var(--text-dark);
    line-height: 1.1;
    margin-bottom: 30px;
}

.about-text {
    margin-bottom: 40px;
}

.about-text p {
    font-size: 16px;
    line-height: 1.6;
    color: #444;
    margin-bottom: 20px;
    font-weight: 500;
}

.about-actions {
    display: flex;
    align-items: center;
    gap: 20px;
}

.btn-outline {
    text-decoration: none;
    color: var(--text-dark);
    font-weight: 800;
    font-size: 14px;
    border-bottom: 2px solid var(--text-dark);
    transition: var(--transition);
}

.btn-outline:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

.about-image {
    flex: 1;
    display: flex;
    justify-content: center;
}

.meme-wrapper {
    position: relative;
    width: 100%;
    max-width: 500px;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.1);
}

.meme-img {
    width: 100%;
    display: block;
    transition: transform 0.5s ease;
}

.meme-wrapper:hover .meme-img {
    transform: scale(1.05);
}

/* Responsive updates for Section 2 */
@media (max-width: 1024px) {
    .section-title { font-size: 48px; }
}

@media (max-width: 768px) {
    .about-container {
        flex-direction: column;
        text-align: center;
    }
    .about-actions {
        justify-content: center;
        flex-direction: column;
    }
    .section-title { font-size: 38px; }
    .meme-wrapper { max-width: 400px; margin: 0 auto; }
}

@media (max-width: 768px) {
    .hero-content {
        flex-direction: column-reverse;
        text-align: center;
        padding-bottom: 0;
    }
    .hero-right h1 { font-size: 45px; }
    .hero-right h1 span { font-size: 55px; }
    .hero-desc { margin: 0 auto 30px; }
    .hero-btns { justify-content: center; flex-direction: column; }
    .duck-char { 
        max-width: 350px; 
        width: 100%;
        margin-bottom: -20px;
    }
}

/* How To Buy Section (Section 3) */
.buy-section {
    background: #fdfdfd;
    padding: 100px 0;
    position: relative;
    overflow: visible; /* Allow character to spill into section above */
    z-index: 10; /* Ensure it is above the about section */
}

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

.section-subtitle {
    font-family: var(--font-main);
    font-weight: 700;
    color: #666;
    margin-top: -20px;
    margin-bottom: 50px;
    font-size: 14px;
    letter-spacing: 1px;
}

.htb-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    z-index: 1;
}

.htb-card {
    background: #f1f1f1;
    padding: 35px 25px;
    border-radius: 20px;
    text-align: left;
    transition: var(--transition);
}

.htb-card:hover {
    transform: translateY(-10px);
    background: #e9e9e9;
}

.htb-icon {
    width: 60px;
    height: 60px;
    background: #fff;
    border-radius: 12px;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 25px;
    box-shadow: 0 4px 10px rgba(0,0,0,0.05);
}

.htb-icon img {
    height: 35px;
    width: auto;
}

.htb-card h3 {
    font-family: var(--font-heading);
    font-size: 24px;
    margin-bottom: 15px;
    color: var(--text-dark);
}

.htb-card p {
    font-size: 14px;
    line-height: 1.5;
    color: #555;
    font-weight: 600;
}

.htb-character {
    position: absolute;
    right: 5%;
    top: -150px; /* Lowered from -220px to prevent clipping */
    z-index: 20;
    pointer-events: none;
    transform: rotate(-5deg);
}

.duck-money-img {
    width: 320px;
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.15));
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(0); }
    50% { transform: translateY(-30px) rotate(5deg); }
}

/* Responsive updates for Section 3 */
@media (max-width: 1024px) {
    .htb-character { display: none; }
    .htb-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 768px) {
    .htb-grid { grid-template-columns: 1fr; }
    .section-title { font-size: 34px; }
    .htb-card { text-align: center; }
    .htb-icon { margin: 0 auto 20px; }
}

/* Meme Gallery Section (Section 4) */
.meme-section {
    background: #ffffff;
    padding: 100px 0;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 50px;
}

.meme-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: var(--transition);
    aspect-ratio: 1 / 1;
}

.meme-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.meme-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.2);
}

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

.meme-item.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.meme-item.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Responsive updates for Meme Gallery */
@media (max-width: 1200px) {
    .meme-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 768px) {
    .meme-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 480px) {
    .meme-grid { grid-template-columns: 1fr; }
}

/* Socials Section (Section 5) */
.socials-section {
    padding: 100px 0;
    background: #ffffff;
}

.socials-card {
    background-image: linear-gradient(rgba(0,0,0,0.5), rgba(0,0,0,0.2)), url('assets/community.png');
    background-size: cover;
    background-position: center; 
    border-radius: 40px;
    padding: 100px 40px;
    text-align: center;
    color: #ffffff;
    position: relative;
    overflow: hidden;
    box-shadow: 0 30px 60px rgba(0,0,0,0.15);
    border: 1px solid rgba(255,255,255,0.1);
}

.socials-title {
    font-family: var(--font-heading);
    font-size: 80px;
    margin-bottom: 25px;
    color: #ffffff;
    text-shadow: 
        3px 3px 0px #000, 
        -1px -1px 0px #000, 
        1px -1px 0px #000, 
        -1px 1px 0px #000, 
        1px 1px 0px #000;
}

.socials-text {
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 20px;
    font-weight: 700;
    line-height: 1.5;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
    background: transparent;
    padding: 0;
    border-radius: 0;
    backdrop-filter: none;
}

.socials-actions {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
}

.socials-icons-row {
    display: flex;
    align-items: center;
    gap: 20px;
}

.socials-icons-row a {
    background: #ffffff;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.socials-icons-row a img {
    height: 28px;
    width: auto;
}

.socials-icons-row a:hover {
    transform: translateY(-5px);
    background: var(--primary-color);
}

.btn-buy-socials {
    background: var(--primary-color);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 20px;
    padding: 15px 40px;
    border-radius: 50px;
    text-decoration: none;
    transition: var(--transition);
    box-shadow: 0 10px 20px rgba(0,0,0,0.1);
}

.btn-buy-socials:hover {
    background: var(--accent-color);
    transform: scale(1.05);
}

/* Responsive updates for Socials Section */
@media (max-width: 768px) {
    .socials-title { font-size: 50px; }
    .socials-text { font-size: 14px; }
    .socials-card { padding: 60px 20px 80px; }
    .socials-icons-row { flex-wrap: wrap; justify-content: center; }
}

/* Footer Bottom Bar */
footer {
    padding: 60px 0;
    background: #1a1a1a;
    color: #fff;
    text-align: center;
}

.footer-info {
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
}

.copyright {
    font-family: var(--font-heading);
    font-size: 18px;
    margin-bottom: 5px;
    letter-spacing: 1px;
    color: var(--primary-color);
}

.disclaimer {
    font-size: 11px;
    color: #666;
    max-width: 800px;
    margin: 0 auto;
    font-weight: 600;
    line-height: 1.6;
}



