/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --brown: #8B4513;
    --golden-yellow: #FFD700;
    --bright-yellow: #FFEB3B;
    --dark-navy: #1a1a2e;
    --warm-beige: #F5F1E8;
    --light-beige: #FAF8F3;
    --text-dark: #2C2C2C;
    --text-muted: #666;
    --pop-orange: #FF6B35;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: radial-gradient(ellipse at top, #FFF8E1 0%, #FFECB3 30%, #F5F1E8 70%, #FAF8F3 100%);
    color: var(--text-dark);
    line-height: 1.6;
    padding-top: 80px;
    animation: backgroundShift 10s ease infinite;
}

@keyframes backgroundShift {
    0%, 100% { background: radial-gradient(ellipse at top, #FFF8E1 0%, #FFECB3 30%, #F5F1E8 70%, #FAF8F3 100%); }
    50% { background: radial-gradient(ellipse at bottom, #FFF8E1 0%, #FFECB3 30%, #F5F1E8 70%, #FAF8F3 100%); }
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(255, 248, 225, 0.9);
    backdrop-filter: blur(15px);
    box-shadow: 0 4px 20px rgba(139, 69, 19, 0.15);
    z-index: 1000;
    transition: all 0.3s ease;
    border-bottom: 3px solid var(--golden-yellow);
}

.header-content {
    max-width: 1100px;
    margin: 0 auto;
    padding: 15px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 900;
    font-size: 22px;
    color: var(--brown);
    transition: transform 0.3s ease;
}

.logo:hover {
    transform: scale(1.05) rotate(2deg);
}

.logo-img {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--golden-yellow);
    box-shadow: 0 4px 10px rgba(255, 215, 0, 0.4);
    animation: bounce 2s ease infinite;
}

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

.logo-text {
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(255, 215, 0, 0.3);
}

.nav {
    display: flex;
    gap: 25px;
}

.nav-link {
    color: var(--text-dark);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 5px 10px;
    border-radius: 8px;
}

.nav-link:hover {
    color: var(--brown);
    background: rgba(255, 215, 0, 0.2);
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--pop-orange));
    transition: width 0.3s ease;
    border-radius: 2px;
}

.nav-link:hover::after {
    width: 80%;
}

/* Hero Section */
.hero {
    padding: 60px 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
}

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

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.popdog-container {
    position: relative;
    display: inline-block;
    cursor: pointer;
}

.banner-img {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    position: relative;
    z-index: 1;
}

.banner-img:hover {
    transform: scale(1.02);
}

.banner-img.popdog-bounce {
    animation: popdogBounce 0.6s ease;
}

@keyframes popdogBounce {
    0%, 100% { transform: scale(1); }
    25% { transform: scale(1.05) rotate(-2deg); }
    50% { transform: scale(1.1) rotate(2deg); }
    75% { transform: scale(1.05) rotate(-1deg); }
}

.banner-img.mouth-close-animation {
    animation: mouthClose 0.6s ease;
}

.banner-img.mouth-open-animation {
    animation: mouthOpen 0.6s ease;
}

@keyframes mouthClose {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    30% {
        transform: scale(0.95);
        filter: brightness(0.9);
    }
    60% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

@keyframes mouthOpen {
    0% {
        transform: scale(1);
        filter: brightness(1);
    }
    30% {
        transform: scale(1.1);
        filter: brightness(1.2);
    }
    60% {
        transform: scale(1.05);
        filter: brightness(1.1);
    }
    100% {
        transform: scale(1);
        filter: brightness(1);
    }
}

.pop-counter {
    position: absolute;
    top: -20px;
    right: -20px;
    background: linear-gradient(135deg, var(--golden-yellow) 0%, var(--pop-orange) 100%);
    color: white;
    padding: 12px 20px;
    border-radius: 25px;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
    font-weight: 900;
    font-size: 20px;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    border: 3px solid white;
    transition: transform 0.3s ease;
}

.pop-counter.celebrate {
    animation: celebratePop 1s ease;
}

@keyframes celebratePop {
    0%, 100% { transform: scale(1) rotate(0deg); }
    25% { transform: scale(1.3) rotate(-10deg); }
    50% { transform: scale(1.4) rotate(10deg); }
    75% { transform: scale(1.3) rotate(-5deg); }
}

.pop-counter #popCount {
    font-size: 28px;
    line-height: 1;
}

.pop-counter .pop-label {
    font-size: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.9;
}

.click-hint {
    position: absolute;
    bottom: -35px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 14px;
    color: var(--text-muted);
    font-weight: 600;
    font-style: italic;
    white-space: nowrap;
    animation: hintPulse 2s ease infinite;
}

@keyframes hintPulse {
    0%, 100% { opacity: 0.6; }
    50% { opacity: 1; }
}

.hero-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.hero-title {
    font-size: 52px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brown) 0%, var(--pop-orange) 50%, var(--golden-yellow) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
    animation: titlePop 3s ease infinite;
}

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

.hero-subtitle {
    font-size: 22px;
    color: var(--text-dark);
    font-weight: 500;
    font-style: italic;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    margin-top: 10px;
}

.btn {
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 16px;
    transition: all 0.3s ease;
    display: inline-block;
    text-align: center;
    border: 2px solid transparent;
}

.btn-primary {
    background: linear-gradient(135deg, var(--brown) 0%, var(--pop-orange) 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    font-weight: 700;
    font-size: 18px;
    padding: 16px 40px;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #6B3410 0%, #FF5722 100%);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 8px 30px rgba(139, 69, 19, 0.5), 0 0 30px rgba(255, 215, 0, 0.5);
}

.btn-secondary {
    background: transparent;
    color: var(--brown);
    border: 3px solid var(--brown);
    font-weight: 700;
    font-size: 18px;
    padding: 16px 40px;
}

.btn-secondary:hover {
    background: var(--brown);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    border-color: var(--pop-orange);
}

.contract-address {
    margin-top: 30px;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.2) 0%, rgba(255, 107, 53, 0.2) 100%);
    border-radius: 20px;
    border: 3px solid var(--golden-yellow);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.3);
}

.contract-label {
    display: block;
    font-size: 14px;
    font-weight: 700;
    color: var(--brown);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 12px;
}

.contract-box {
    display: flex;
    align-items: center;
    gap: 15px;
    flex-wrap: wrap;
}

.contract-code {
    flex: 1;
    min-width: 200px;
    font-family: 'Courier New', monospace;
    font-size: 16px;
    font-weight: 700;
    color: var(--dark-navy);
    background: white;
    padding: 12px 18px;
    border-radius: 12px;
    border: 2px solid var(--brown);
    word-break: break-all;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.copy-hint {
    padding: 12px 24px;
    background: var(--brown);
    color: white;
    border-radius: 12px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.3);
    white-space: nowrap;
}

.contract-code {
    cursor: text;
    user-select: all;
}

.hero-info {
    display: flex;
    gap: 15px;
    margin-top: 20px;
    flex-wrap: wrap;
}

.info-card {
    background: linear-gradient(135deg, white 0%, #FFF8E1 100%);
    padding: 15px 22px;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.12);
    display: flex;
    flex-direction: column;
    gap: 6px;
    flex: 1;
    min-width: 140px;
    border: 2px solid var(--golden-yellow);
    transition: all 0.3s ease;
}

.info-card:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 6px 20px rgba(255, 215, 0, 0.3);
}

.info-label {
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.info-value {
    font-size: 16px;
    font-weight: 700;
    color: var(--brown);
}

/* Section Styles */
.section {
    padding: 80px 20px;
}

.section-title {
    font-size: 46px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brown) 0%, var(--pop-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
    margin-bottom: 50px;
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 5px;
    background: linear-gradient(90deg, var(--golden-yellow), var(--pop-orange));
    border-radius: 3px;
}

/* About Section */
.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    align-items: start;
}

.about-text {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.about-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.about-card {
    background: linear-gradient(135deg, white 0%, #FFF8E1 100%);
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(255, 215, 0, 0.2);
    border: 4px solid var(--golden-yellow);
    transform: rotate(-1deg);
    transition: all 0.3s ease;
}

.about-card:hover {
    transform: rotate(0deg) scale(1.03);
    box-shadow: 0 12px 40px rgba(255, 215, 0, 0.4);
}

.about-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.about-list li {
    font-size: 16px;
    color: var(--text-dark);
    padding-left: 25px;
    position: relative;
    font-weight: 500;
}

.about-list li::before {
    content: '•';
    position: absolute;
    left: 0;
    color: var(--golden-yellow);
    font-size: 24px;
    line-height: 1;
}

/* Tokenomics Section */
.tokenomics {
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.6) 0%, rgba(255, 236, 179, 0.6) 100%);
}

.tokenomics-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 25px;
}

.tokenomics-card {
    background: linear-gradient(135deg, white 0%, #FFF8E1 100%);
    padding: 35px;
    border-radius: 25px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.12);
    text-align: center;
    transition: all 0.4s ease;
    border: 3px solid transparent;
    position: relative;
    overflow: hidden;
}

.tokenomics-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.tokenomics-card:hover::before {
    opacity: 1;
}

.tokenomics-card:hover {
    transform: translateY(-8px) scale(1.05) rotate(1deg);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    border-color: var(--golden-yellow);
}

.tokenomics-heading {
    font-size: 20px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 15px;
}

.tokenomics-percentage {
    font-size: 42px;
    font-weight: 900;
    background: linear-gradient(135deg, var(--brown) 0%, var(--pop-orange) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 15px;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.tokenomics-desc {
    font-size: 14px;
    color: var(--text-muted);
    line-height: 1.6;
}

/* Memes Section */
.memes-intro {
    text-align: center;
    font-size: 18px;
    color: var(--text-muted);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.memes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
}

.meme-item {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    transition: all 0.4s ease;
    border: 3px solid transparent;
}

.meme-item:hover {
    transform: translateY(-8px) scale(1.03) rotate(1deg);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    border-color: var(--golden-yellow);
}

.meme-img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

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

.meme-caption {
    padding: 15px;
    font-size: 14px;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

/* Roadmap Section */
.roadmap {
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.6) 0%, rgba(255, 236, 179, 0.6) 100%);
}

.roadmap-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
}

.roadmap-card {
    background: linear-gradient(135deg, white 0%, #FFF8E1 100%);
    padding: 40px;
    border-radius: 25px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
    border-left: 6px solid var(--golden-yellow);
    border-top: 3px solid var(--golden-yellow);
    transition: all 0.4s ease;
    position: relative;
}

.roadmap-card:nth-child(1) { transform: rotate(-1deg); }
.roadmap-card:nth-child(2) { transform: rotate(1deg); }
.roadmap-card:nth-child(3) { transform: rotate(-0.5deg); }

.roadmap-card:hover {
    transform: rotate(0deg) translateY(-8px) scale(1.03);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4);
    border-left-width: 8px;
}

.roadmap-phase {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark-navy);
    margin-bottom: 20px;
}

.roadmap-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.roadmap-list li {
    font-size: 16px;
    color: var(--text-dark);
    padding-left: 25px;
    position: relative;
}

.roadmap-list li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--brown);
    font-weight: 700;
}

/* Community Section */
.community-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: center;
    margin-bottom: 30px;
}

.community-text {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.community-text p {
    font-size: 18px;
    line-height: 1.8;
    color: var(--text-dark);
}

.community-links {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.btn-community {
    background: transparent;
    color: var(--brown);
    border: 3px solid var(--brown);
    padding: 16px 36px;
    text-align: center;
    font-weight: 700;
    font-size: 17px;
}

.btn-community:hover {
    background: linear-gradient(135deg, var(--brown) 0%, var(--pop-orange) 100%);
    color: white;
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.4);
    border-color: var(--pop-orange);
}

.disclaimer {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 30px;
    padding-top: 30px;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

/* Footer */
.footer {
    background: linear-gradient(135deg, var(--dark-navy) 0%, #2a2a4e 100%);
    color: white;
    padding: 50px 20px;
    text-align: center;
    border-top: 5px solid var(--golden-yellow);
}

.footer-text {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 10px;
    color: var(--golden-yellow);
}

.footer-disclaimer {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.7);
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }

    .header-content {
        flex-direction: column;
        gap: 15px;
        padding: 12px 20px;
    }

    .nav {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }

    .hero-title {
        font-size: 36px;
    }

    .hero-subtitle {
        font-size: 18px;
    }

    .hero-buttons {
        justify-content: center;
    }
    
    .hero-image {
        display: flex;
        justify-content: center;
        align-items: center;
    }
    
    .pop-counter {
        top: -15px;
        right: -15px;
        padding: 10px 16px;
        font-size: 18px;
    }
    
    .pop-counter #popCount {
        font-size: 24px;
    }
    
    .click-hint {
        bottom: -30px;
        font-size: 12px;
    }

    .hero-info {
        justify-content: center;
    }
    
    .contract-box {
        flex-direction: column;
        align-items: stretch;
    }
    
    .contract-code {
        width: 100%;
        font-size: 14px;
    }
    
    .copy-hint {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 32px;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

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

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

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

    .community-content {
        grid-template-columns: 1fr;
    }

    .community-links {
        width: 100%;
    }

    .btn {
        width: 100%;
    }
}

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

    .section-title {
        font-size: 28px;
    }

    .hero-info {
        flex-direction: column;
    }

    .info-card {
        width: 100%;
    }
    
    .contract-code {
        font-size: 12px;
        padding: 10px 14px;
    }
    
    .contract-label {
        font-size: 12px;
    }
}

