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

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(135deg, #FF9A00 0%, #87CEEB 50%, #FFB6C1 100%);
    color: #000;
    overflow-x: hidden;
    position: relative;
}

/* Rain Overlay */
.rain-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    background: 
        radial-gradient(circle at 20% 50%, transparent 0%, transparent 1px, rgba(255,255,255,0.3) 1px, rgba(255,255,255,0.3) 2px, transparent 2px) 0 0 / 50px 100px,
        radial-gradient(circle at 80% 50%, transparent 0%, transparent 1px, rgba(255,255,255,0.3) 1px, rgba(255,255,255,0.3) 2px, transparent 2px) 0 0 / 50px 100px;
    animation: rain 1s linear infinite;
}

@keyframes rain {
    0% { transform: translateY(-100px); }
    100% { transform: translateY(100vh); }
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(255, 154, 0, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 3px solid #000;
    z-index: 1000;
    padding: 10px 0;
}

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

.nav-brand {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo {
    width: 50px;
    height: 50px;
    border: 3px solid #000;
    border-radius: 50%;
    background: #87CEEB;
    padding: 5px;
    animation: wiggle 3s ease-in-out infinite;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(2deg); }
    75% { transform: rotate(-2deg); }
}

.brand-text h1 {
    font-size: 2rem;
    font-weight: 700;
    color: #000;
    text-shadow: 2px 2px 0 #87CEEB;
}

.tagline {
    font-size: 0.9rem;
    color: #333;
    font-style: italic;
}

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

.nav-links a {
    text-decoration: none;
    color: #000;
    font-weight: 700;
    font-size: 1.1rem;
    padding: 10px 15px;
    border: 2px solid #000;
    background: #87CEEB;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-links a:hover {
    transform: translateY(-3px);
    box-shadow: 4px 4px 0 #000;
    background: #FFB6C1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
    position: relative;
    overflow: hidden;
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 50px;
    align-items: center;
    max-width: 1200px;
    width: 100%;
}

.hero-text {
    z-index: 10;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    color: #000;
    text-shadow: 4px 4px 0 #87CEEB;
    margin-bottom: 20px;
    line-height: 1.1;
    animation: float 4s ease-in-out infinite;
}

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

.hero-subtitle {
    font-size: 1.3rem;
    color: #333;
    margin-bottom: 20px;
    font-style: italic;
}

.contract-address {
    background: rgba(255, 154, 0, 0.9);
    border: 3px solid #000;
    border-radius: 15px;
    padding: 20px;
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    animation: glow 2s ease-in-out infinite alternate;
}

.contract-label {
    font-size: 1.1rem;
    font-weight: 700;
    color: #000;
    margin-bottom: 10px;
    text-shadow: 1px 1px 0 #87CEEB;
}

.contract-code {
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    font-weight: 700;
    color: #000;
    background: #87CEEB;
    padding: 15px;
    border: 2px solid #000;
    border-radius: 8px;
    margin-bottom: 15px;
    word-break: break-all;
    position: relative;
    overflow: hidden;
}

.contract-code::before {
    content: "🔗";
    position: absolute;
    left: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1.2rem;
}

.copy-button {
    background: #FF9A00;
    color: #000;
    border: 2px solid #000;
    padding: 8px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    font-family: 'Comic Neue', cursive;
    cursor: pointer;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.copy-button:hover {
    background: #FFB6C1;
    transform: scale(1.05);
    box-shadow: 3px 3px 0 #000;
}

@keyframes glow {
    0% { box-shadow: 0 0 10px rgba(255, 154, 0, 0.5); }
    100% { box-shadow: 0 0 20px rgba(255, 154, 0, 0.8), 0 0 30px rgba(255, 154, 0, 0.4); }
}

.cta-button {
    background: #FF9A00;
    color: #000;
    border: 4px solid #000;
    padding: 15px 30px;
    font-size: 1.2rem;
    font-weight: 700;
    font-family: 'Comic Neue', cursive;
    cursor: pointer;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: scale(1.05);
    box-shadow: 6px 6px 0 #000;
    background: #FFB6C1;
}

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

.bonkey-hero {
    max-width: 400px;
    width: 100%;
    border: 4px solid #000;
    border-radius: 20px;
    background: #87CEEB;
    padding: 20px;
    animation: squish 2s ease-in-out infinite;
}

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

.sound-effect {
    position: absolute;
    font-weight: 700;
    font-size: 1.5rem;
    color: #FF9A00;
    text-shadow: 2px 2px 0 #000;
    animation: float 3s ease-in-out infinite;
    opacity: 0.8;
}

.sound-effect:nth-child(2) {
    top: 20%;
    right: 10%;
    animation-delay: 1s;
}

.sound-effect:nth-child(3) {
    bottom: 20%;
    left: 10%;
    animation-delay: 2s;
}

/* Section Styles */
section {
    padding: 80px 0;
    position: relative;
}

.section-title {
    font-size: 3rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 50px;
    color: #000;
    text-shadow: 3px 3px 0 #87CEEB;
}

/* Lore Section */
.lore {
    background: rgba(255, 182, 193, 0.3);
    border-top: 4px solid #000;
    border-bottom: 4px solid #000;
}

.lore-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.lore-card {
    background: #87CEEB;
    border: 3px solid #000;
    border-radius: 15px;
    padding: 30px;
    position: relative;
    transition: all 0.3s ease;
    animation: stagger 0.5s ease-in-out;
}

.lore-card:hover {
    transform: translateY(-10px);
    box-shadow: 8px 8px 0 #000;
}

.card-number {
    position: absolute;
    top: -15px;
    left: 20px;
    background: #FF9A00;
    color: #000;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 5px 15px;
    border: 2px solid #000;
    border-radius: 8px;
}

.lore-card h3 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 15px;
    color: #000;
}

.lore-card p {
    font-size: 1rem;
    line-height: 1.6;
    color: #333;
}

@keyframes stagger {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

/* Gallery Section */
.gallery {
    background: rgba(255, 154, 0, 0.2);
}

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

.gallery-item {
    position: relative;
    transition: all 0.3s ease;
}

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

.gallery-image {
    width: 100%;
    border: 4px solid #000;
    border-radius: 15px;
    background: #87CEEB;
    padding: 15px;
    transition: all 0.3s ease;
}

.gallery-item:hover .gallery-image {
    box-shadow: 8px 8px 0 #000;
}

.image-caption {
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    background: #FF9A00;
    color: #000;
    font-weight: 700;
    padding: 8px 20px;
    border: 2px solid #000;
    border-radius: 8px;
    font-size: 0.9rem;
    white-space: nowrap;
}

/* Community Section */
.community {
    background: rgba(135, 206, 235, 0.3);
    border-top: 4px solid #000;
}

.community-tagline {
    text-align: center;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    color: #000;
    text-shadow: 2px 2px 0 #FFB6C1;
}

.rednote-highlight {
    text-align: center;
    margin-bottom: 30px;
}

.rednote-announcement {
    background: linear-gradient(45deg, #FE2C55, #FF6B8A);
    color: white;
    font-size: 1.3rem;
    font-weight: 700;
    padding: 15px 30px;
    border: 3px solid #000;
    border-radius: 15px;
    display: inline-block;
    animation: pulse 2s infinite;
    text-shadow: 2px 2px 0 #000;
}

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

.social-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.social-button {
    display: inline-block;
    background: #FF9A00;
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.2rem;
    padding: 15px 30px;
    border: 4px solid #000;
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.social-button:hover {
    transform: scale(1.1);
    box-shadow: 6px 6px 0 #000;
    background: #FFB6C1;
}

.social-button.twitter:hover {
    background: #1DA1F2;
    color: white;
}

.social-button.xiaohongshu {
    background: #FE2C55;
    color: white;
    transform: scale(1.05);
    box-shadow: 6px 6px 0 #000;
    position: relative;
}

.social-button.xiaohongshu::before {
    content: "🔥";
    position: absolute;
    top: -10px;
    right: -10px;
    font-size: 1.2rem;
    animation: bounce 1s infinite;
}

.social-button.xiaohongshu:hover {
    background: #FF6B8A;
    color: white;
    transform: scale(1.15);
    box-shadow: 8px 8px 0 #000;
}

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

/* Footer */
.footer {
    background: #000;
    color: #FF9A00;
    padding: 40px 0;
    text-align: center;
    border-top: 4px solid #FF9A00;
    position: relative;
}

.footer-text {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 20px;
    text-shadow: 2px 2px 0 #333;
}

.footer .sound-effect {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 2rem;
    animation: float 2s ease-in-out infinite;
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    
    .nav-links {
        gap: 15px;
    }
    
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .lore-cards {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    
    .social-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .bonkey-hero {
        max-width: 300px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .brand-text h1 {
        font-size: 1.5rem;
    }
} 