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

html {
    scroll-behavior: smooth;
    background: #87CEEB;
    overscroll-behavior: none;
}

body {
    font-family: 'Comic Sans MS', 'Chalkboard SE', 'Comic Neue', cursive, sans-serif;
    line-height: 1.7;
    color: #4a3728;
    overflow-x: hidden;
    background: #556b2f;
    overscroll-behavior: none;
}

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

/* Hero Section */
.hero-section {
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #87CEEB 0%, #B0E3F5 50%, #FFE5B4 100%);
}

/* Background Image */
.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
}

.lander-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.hero-content {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 40px;
    padding: 20px;
}


/* Turnip Showcase - Centered and Highlighted */
.turnip-showcase {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 35px 55px;
    background: linear-gradient(135deg, rgba(255, 248, 220, 0.92) 0%, rgba(255, 250, 205, 0.92) 100%);
    border-radius: 40px;
    border: 6px solid #d4a574;
    box-shadow: 0 20px 60px rgba(139, 69, 19, 0.4),
                inset 0 -8px 25px rgba(139, 69, 19, 0.1);
    animation: fadeInUp 1.2s ease-out;
    max-width: 650px;
}

/* Highlight Glow Effect */
.turnip-highlight-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 200px;
    height: 200px;
    background: radial-gradient(circle, rgba(255, 223, 0, 0.4) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse-glow 2s infinite ease-in-out;
    z-index: 0;
}

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

/* Turnip Image - Featured and Centered */
.turnip-featured {
    position: relative;
    z-index: 1;
    max-width: 180px;
    max-height: 180px;
    width: auto;
    height: auto;
    margin-bottom: 25px;
    filter: drop-shadow(0 8px 20px rgba(0, 0, 0, 0.25));
    animation: wiggle-highlight 2.5s infinite ease-in-out;
}

@keyframes wiggle-highlight {
    0%, 100% {
        transform: rotate(-8deg) scale(1);
    }
    25% {
        transform: rotate(-5deg) scale(1.05);
    }
    50% {
        transform: rotate(8deg) scale(1.1);
    }
    75% {
        transform: rotate(5deg) scale(1.05);
    }
}

/* Turnip Emoji Fallback */
.turnip-emoji-fallback {
    display: none;
    font-size: 5rem;
    margin-bottom: 25px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Hero Title and Subtitle */
.hero-title {
    position: relative;
    z-index: 1;
    font-size: 5rem;
    color: #6b8e23;
    margin: 0;
    margin-bottom: 10px;
    text-shadow: 4px 4px 0px #fff,
                 6px 6px 0px rgba(107, 142, 35, 0.3);
    letter-spacing: 4px;
    line-height: 1.2;
    font-weight: bold;
}

/* Title Divider Line */
.title-divider {
    width: 200px;
    height: 4px;
    background: linear-gradient(90deg, transparent, #6b8e23, transparent);
    margin: 15px auto;
    border-radius: 2px;
}

.hero-subtitle {
    position: relative;
    z-index: 1;
    font-size: 1.8rem;
    color: #8b6914;
    font-weight: bold;
    margin: 0;
    margin-bottom: 30px;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.8);
}

/* Contract Address Container */
.contract-container {
    display: flex;
    align-items: center;
    width: 100%;
    max-width: 520px;
    margin-top: 25px;
    position: relative;
    z-index: 1;
    background: rgba(255, 255, 255, 0.95);
    border: 3px solid #d4a574;
    border-radius: 18px;
    box-shadow: 0 4px 15px rgba(139, 69, 19, 0.2);
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.contract-container:hover {
    border-color: #6b8e23;
}

.contract-input {
    flex: 1;
    padding: 16px 20px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    color: #4a3728;
    background: transparent;
    border: none;
    outline: none;
    text-align: center;
}

.copy-button {
    padding: 16px 20px;
    font-size: 1.5rem;
    background: linear-gradient(135deg, #9acd32 0%, #6b8e23 100%);
    border: none;
    border-left: 3px solid #d4a574;
    cursor: pointer;
    transition: all 0.3s ease;
    outline: none;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 60px;
}

.copy-button:hover {
    background: linear-gradient(135deg, #a8d646 0%, #7ba02f 100%);
}

.copy-button:active {
    transform: scale(0.95);
}

.copy-button.copied {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
}

@keyframes copySuccess {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.15);
    }
    100% {
        transform: scale(1);
    }
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    animation: bounce 2s infinite;
    color: #6b8e23;
    font-weight: bold;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 1.1rem;
}

.arrow {
    font-size: 2rem;
}

/* About Section */
.about-section {
    min-height: 100vh;
    background: linear-gradient(to bottom, #f5deb3 0%, #faebd7 50%, #fff8dc 100%);
    padding: 100px 20px;
    display: flex;
    align-items: center;
    position: relative;
}

.about-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        #d4a574 0px,
        #d4a574 20px,
        #c19a6b 20px,
        #c19a6b 40px
    );
}

.about-section h2 {
    font-size: 3.5rem;
    color: #6b8e23;
    text-align: center;
    margin-bottom: 40px;
    text-shadow: 3px 3px 0px #fff,
                 4px 4px 0px rgba(107, 142, 35, 0.2);
}

.about-layout {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 80px;
    max-width: 1200px;
    margin: 0 auto;
}

.about-image {
    flex: 0 0 500px;
    display: flex;
    align-items: center;
    justify-content: flex-start;
    position: relative;
    margin-left: -50px;
}

.tommytimmy-about {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.2));
    animation: gentleBounce 3s infinite ease-in-out;
}

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

.emoji-fallback-large {
    display: none;
    font-size: 8rem;
    gap: 20px;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

.about-description {
    flex: 1;
    font-size: 1.4rem;
    color: #5d4e37;
    line-height: 2;
    background: rgba(255, 255, 255, 0.7);
    padding: 40px;
    border-radius: 25px;
    border: 4px solid #d4a574;
    box-shadow: 0 8px 25px rgba(139, 69, 19, 0.2);
}

.about-description p {
    margin-bottom: 20px;
}

.about-description p:last-child {
    margin-bottom: 0;
}

.about-description strong {
    color: #6b8e23;
    font-weight: bold;
}

/* How to Buy Section */
.how-to-buy-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #c8e6c9 0%, #dcedc8 50%, #f1f8e9 100%);
    padding: 100px 20px;
    position: relative;
}

.how-to-buy-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        #8b6f47 0px,
        #8b6f47 20px,
        #a0826d 20px,
        #a0826d 40px
    );
}

.how-to-buy-section h2 {
    font-size: 3.5rem;
    color: #6b8e23;
    text-align: center;
    margin-bottom: 60px;
    text-shadow: 3px 3px 0px #fff,
                 4px 4px 0px rgba(107, 142, 35, 0.2);
}

.steps {
    max-width: 900px;
    margin: 0 auto 60px;
}

.step {
    display: flex;
    gap: 30px;
    margin-bottom: 50px;
    align-items: flex-start;
    animation: fadeInLeft 0.6s ease-out;
}

.step-number {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    background: linear-gradient(135deg, #9acd32 0%, #6b8e23 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    font-weight: bold;
    box-shadow: 0 6px 20px rgba(107, 142, 35, 0.4),
                inset 0 -3px 10px rgba(0, 0, 0, 0.2);
    border: 5px solid #fff;
}

.step-icon {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.step-icon-img {
    max-height: 50px;
    max-width: 50px;
    object-fit: contain;
    filter: drop-shadow(2px 2px 4px rgba(0,0,0,0.3));
    animation: pulse 1.5s infinite ease-in-out;
}

.step-icon.fallback .emoji-fallback {
    display: block;
    font-size: 2.5rem;
    animation: pulse 1.5s infinite ease-in-out;
}

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

.step-content {
    flex: 1;
    background: linear-gradient(135deg, #fffef7 0%, #fffacd 100%);
    padding: 30px 35px;
    border-radius: 25px;
    box-shadow: 0 6px 20px rgba(139, 69, 19, 0.15);
    border: 4px solid #d4a574;
    position: relative;
}

.step-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 6px;
    background: linear-gradient(90deg, #6b8e23, #9acd32, #6b8e23);
    border-radius: 20px 20px 0 0;
}

.step-content h3 {
    font-size: 1.7rem;
    color: #6b8e23;
    margin-bottom: 10px;
    font-weight: bold;
}

.step-content p {
    color: #5d4e37;
    line-height: 1.7;
    font-size: 1.1rem;
}

.tip-box {
    max-width: 900px;
    margin: 0 auto;
    background: linear-gradient(135deg, #fffacd 0%, #ffd700 100%);
    padding: 45px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(139, 69, 19, 0.3);
    border: 5px solid #d4a574;
    position: relative;
    overflow: hidden;
}

.tip-box::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 10px;
    background: repeating-linear-gradient(
        45deg,
        #8b4513,
        #8b4513 10px,
        #a0522d 10px,
        #a0522d 20px
    );
}

.tip-box h3 {
    font-size: 2rem;
    color: #8b4513;
    margin-bottom: 25px;
    font-weight: bold;
    text-shadow: 2px 2px 0px rgba(255, 255, 255, 0.7);
}

.tip-box ul {
    list-style: none;
    padding: 0;
}

.tip-box li {
    color: #5d4e37;
    font-size: 1.15rem;
    padding: 12px 0;
    padding-left: 0px;
    line-height: 1.7;
    font-weight: 500;
}

/* Price Section */
.price-section {
    min-height: 100vh;
    background: linear-gradient(135deg, #ffd3a5 0%, #ffc371 50%, #ffb88c 100%);
    padding: 100px 20px;
    position: relative;
    display: flex;
    align-items: center;
}

.price-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: repeating-linear-gradient(
        90deg,
        #d4a574 0px,
        #d4a574 20px,
        #c19a6b 20px,
        #c19a6b 40px
    );
}

.price-section h2 {
    font-size: 3.5rem;
    color: #6b8e23;
    text-align: center;
    margin-bottom: 50px;
    text-shadow: 3px 3px 0px #fff,
                 4px 4px 0px rgba(107, 142, 35, 0.2);
}

.price-content {
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
}

.price-content p {
    font-size: 1.4rem;
    color: #5d4e37;
    line-height: 2;
    margin-bottom: 25px;
    background: rgba(255, 255, 255, 0.7);
    padding: 25px 35px;
    border-radius: 20px;
    border: 3px solid #d4a574;
}

.price-content strong {
    color: #6b8e23;
    font-weight: bold;
}

.interested-text {
    font-size: 1.6rem !important;
    font-weight: bold;
    color: #6b8e23 !important;
    margin-top: 40px !important;
    margin-bottom: 35px !important;
}

/* Buy Button */
.buy-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    padding: 25px 50px;
    font-size: 2rem;
    font-weight: bold;
    color: #fff;
    background: linear-gradient(135deg, #ff6b6b 0%, #ff5252 50%, #ff3d3d 100%);
    border: 5px solid #fff;
    border-radius: 30px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(255, 61, 61, 0.5),
                inset 0 -5px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    animation: pulse-button 2s infinite ease-in-out;
    position: relative;
    overflow: hidden;
}

.buy-button::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.3),
        transparent
    );
    animation: shine 3s infinite;
}

@keyframes shine {
    0% {
        transform: translateX(-100%) translateY(-100%) rotate(45deg);
    }
    100% {
        transform: translateX(100%) translateY(100%) rotate(45deg);
    }
}

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

.buy-button:hover {
    transform: scale(1.1) translateY(-5px);
    box-shadow: 0 15px 40px rgba(255, 61, 61, 0.7),
                inset 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.buy-button:active {
    transform: scale(1.02) translateY(-2px);
}

.button-turnip {
    width: 60px;
    height: 60px;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.3));
    animation: wiggle-button 1.5s infinite ease-in-out;
}

.button-turnip-fallback {
    display: none;
    font-size: 3rem;
}

@keyframes wiggle-button {
    0%, 100% {
        transform: rotate(-10deg);
    }
    50% {
        transform: rotate(10deg);
    }
}

.button-text {
    position: relative;
    z-index: 1;
}

/* Daisy Mae Image */
.mae-image {
    position: absolute;
    bottom: 0;
    right: -30px;
    width: 600px;
    height: 600px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
}

.mae-img {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 30px rgba(0, 0, 0, 0.3));
}

.mae-emoji-fallback {
    display: none;
    font-size: 10rem;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Music Toggle Button */
.music-toggle {
    position: fixed;
    bottom: 30px;
    left: 30px;
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, #9acd32 0%, #6b8e23 100%);
    border: 5px solid #fff;
    border-radius: 50%;
    font-size: 2rem;
    cursor: pointer;
    z-index: 1000;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
                inset 0 -3px 10px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    outline: none;
}

.music-toggle:hover {
    transform: scale(1.1);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4),
                inset 0 -3px 10px rgba(0, 0, 0, 0.2);
}

.music-toggle:active {
    transform: scale(0.95);
}

.music-toggle.playing {
    background: linear-gradient(135deg, #ffd700 0%, #ffa500 100%);
    animation: pulse-music 2s infinite ease-in-out;
}

@keyframes pulse-music {
    0%, 100% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
                    inset 0 -3px 10px rgba(0, 0, 0, 0.2),
                    0 0 0 0 rgba(255, 215, 0, 0.7);
    }
    50% {
        box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3),
                    inset 0 -3px 10px rgba(0, 0, 0, 0.2),
                    0 0 0 15px rgba(255, 215, 0, 0);
    }
}

/* Footer */
footer {
    background: linear-gradient(135deg, #6b8e23 0%, #556b2f 100%);
    color: #fffacd;
    text-align: center;
    padding: 40px;
    font-size: 1.3rem;
    font-weight: bold;
    border-top: 8px solid #d4a574;
    text-shadow: 2px 2px 0px rgba(0, 0, 0, 0.3);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .turnip-featured {
        max-width: 150px;
        max-height: 150px;
    }

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

    .hero-subtitle {
        font-size: 1.6rem;
    }

    .turnip-showcase {
        padding: 35px 50px;
    }

    .contract-container {
        max-width: 480px;
    }

    .contract-input {
        font-size: 0.95rem;
        padding: 14px 18px;
    }

    .copy-button {
        padding: 14px 18px;
        font-size: 1.4rem;
        min-width: 55px;
    }

    .about-layout {
        gap: 50px;
    }

    .about-image {
        flex: 0 0 450px;
        margin-left: -40px;
    }

    .about-description {
        font-size: 1.3rem;
        padding: 35px;
    }

    .price-section h2 {
        font-size: 3rem;
    }

    .price-content p {
        font-size: 1.3rem;
        padding: 20px 30px;
    }

    .buy-button {
        font-size: 1.8rem;
        padding: 22px 45px;
    }

    .button-turnip {
        width: 55px;
        height: 55px;
    }

    .mae-image {
        width: 450px;
        height: 450px;
        bottom: 0;
        right: -20px;
    }

    .music-toggle {
        width: 65px;
        height: 65px;
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .turnip-featured {
        max-width: 130px;
        max-height: 130px;
    }

    .hero-title {
        font-size: 3.2rem;
        letter-spacing: 3px;
    }

    .title-divider {
        width: 150px;
        height: 3px;
    }

    .hero-subtitle {
        font-size: 1.4rem;
    }

    .turnip-showcase {
        padding: 30px 40px;
    }

    .contract-container {
        max-width: 100%;
    }

    .contract-input {
        font-size: 0.9rem;
        padding: 14px 16px;
    }

    .copy-button {
        padding: 14px 18px;
        font-size: 1.3rem;
        min-width: 50px;
    }

    .about-section h2,
    .how-to-buy-section h2 {
        font-size: 2.5rem;
    }

    .about-layout {
        flex-direction: column;
        gap: 40px;
    }

    .about-image {
        flex: 0 0 auto;
    }

    .tommytimmy-about {
        max-width: 350px;
    }

    .about-description {
        font-size: 1.2rem;
        padding: 30px;
    }

    .about-image {
        margin-left: 0;
    }

    .price-section h2 {
        font-size: 2.5rem;
    }

    .price-content p {
        font-size: 1.2rem;
        padding: 20px 25px;
    }

    .buy-button {
        font-size: 1.5rem;
        padding: 20px 40px;
        gap: 15px;
    }

    .button-turnip {
        width: 50px;
        height: 50px;
    }

    .mae-image {
        width: 350px;
        height: 350px;
        bottom: 0;
        right: -10px;
    }

    .music-toggle {
        width: 60px;
        height: 60px;
        font-size: 1.7rem;
        bottom: 25px;
        left: 25px;
    }

    .step {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }

    .step-number {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }

    .step-icon-img {
        max-height: 45px;
        max-width: 45px;
    }

    .tip-box {
        padding: 30px;
    }
}

@media (max-width: 480px) {
    .turnip-featured {
        max-width: 100px;
        max-height: 100px;
    }

    .turnip-emoji-fallback {
        font-size: 3.5rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .title-divider {
        width: 120px;
        height: 3px;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .turnip-showcase {
        padding: 25px 30px;
    }

    .turnip-highlight-glow {
        width: 150px;
        height: 150px;
    }

    .contract-input {
        font-size: 0.85rem;
        padding: 13px 15px;
    }

    .copy-button {
        font-size: 1.2rem;
        padding: 13px 16px;
        min-width: 48px;
    }

    .about-section h2,
    .how-to-buy-section h2 {
        font-size: 2rem;
    }

    .tommytimmy-about {
        max-width: 280px;
    }

    .about-description {
        font-size: 1.1rem;
        padding: 25px;
    }

    .price-section h2 {
        font-size: 2rem;
    }

    .price-content p {
        font-size: 1.1rem;
        padding: 18px 20px;
    }

    .interested-text {
        font-size: 1.3rem !important;
    }

    .buy-button {
        font-size: 1.3rem;
        padding: 18px 35px;
        gap: 12px;
        flex-direction: column;
    }

    .button-turnip {
        width: 50px;
        height: 50px;
    }

    .mae-image {
        width: 280px;
        height: 280px;
        bottom: 0;
        right: -10px;
    }

    .music-toggle {
        width: 55px;
        height: 55px;
        font-size: 1.5rem;
        bottom: 20px;
        left: 20px;
    }

    .step-number {
        width: 60px;
        height: 60px;
        font-size: 1.8rem;
    }

    .step-icon-img {
        max-height: 40px;
        max-width: 40px;
    }

    .step-content h3 {
        font-size: 1.4rem;
    }

    .tip-box h3 {
        font-size: 1.6rem;
    }

    .tip-box li {
        font-size: 1rem;
    }
}
