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

:root {
    --base-blue: #0052FF;
    --winter-white: #FAFAFA;
    --soft-gray: #E8E8E8;
    --text-dark: #1A1A1A;
    --overlay-dark: rgba(0, 0, 0, 0.35);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    overflow-x: hidden;
    position: relative;
    width: 100%;
    height: 100vh;
}

/* Token Logo - Top Left */
.token-logo {
    position: fixed;
    top: 2rem;
    left: 2rem;
    z-index: 100;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.9);
    transition: transform 0.3s ease;
}

.token-logo:hover {
    transform: scale(1.05);
}

.token-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Music Toggle - Top Right */
.music-toggle {
    position: fixed;
    top: 2rem;
    right: 2rem;
    z-index: 100;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.music-toggle:hover {
    transform: scale(1.05);
    background: rgba(255, 255, 255, 1);
}

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

.music-icon,
.mute-icon {
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.music-toggle:hover .music-icon,
.music-toggle:hover .mute-icon {
    color: var(--base-blue);
}

.hidden {
    display: none;
}

/* Background */
.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

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

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        to bottom,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.3) 50%,
        rgba(0, 0, 0, 0.4) 100%
    );
}

/* Main Content */
.hero-container {
    position: relative;
    z-index: 10;
    width: 100%;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem;
}

.content-wrapper {
    text-align: center;
    max-width: 700px;
    width: 100%;
}

/* Powered by Base Badge */
.powered-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 0.6rem 1.5rem;
    border-radius: 50px;
    font-size: 0.875rem;
    font-weight: 500;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    letter-spacing: 0.5px;
}

.base-logo {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

/* Main Title */
.main-title {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 900;
    color: var(--winter-white);
    margin-bottom: 1rem;
    letter-spacing: -0.02em;
    line-height: 1;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.2);
}

/* Tagline */
.tagline {
    font-size: clamp(1rem, 2.5vw, 1.5rem);
    font-weight: 400;
    color: var(--winter-white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    opacity: 0.95;
}

/* Subtitle */
.subtitle {
    font-size: clamp(1.125rem, 2.5vw, 1.5rem);
    font-weight: 500;
    color: var(--winter-white);
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

/* Buy Button */
.buy-button {
    background: var(--base-blue);
    color: white;
    border: none;
    padding: 1rem 3.5rem;
    font-size: 1.125rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    margin-bottom: 2rem;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 82, 255, 0.3);
    letter-spacing: 0.3px;
}

.buy-button:hover {
    background: #0046DD;
    transform: translateY(-2px);
    box-shadow: 0 12px 35px rgba(0, 82, 255, 0.4);
}

.buy-button:active {
    transform: translateY(0);
}

/* Contract Address Container */
.contract-container {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 1.75rem;
    border-radius: 50px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.ca-label {
    font-weight: 600;
    color: var(--base-blue);
    font-size: 1rem;
    letter-spacing: 0.5px;
}

.ca-address {
    font-family: 'Courier New', monospace;
    font-size: 0.875rem;
    color: var(--text-dark);
    font-weight: 500;
    max-width: 300px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.copy-icon {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.25rem;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-dark);
    transition: all 0.2s ease;
    border-radius: 4px;
}

.copy-icon:hover {
    background: rgba(0, 82, 255, 0.1);
    color: var(--base-blue);
}

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

.copy-icon.copied {
    color: #10B981;
}

/* Responsive Design */
@media (max-width: 768px) {
    .token-logo {
        top: 1.5rem;
        left: 1.5rem;
        width: 60px;
        height: 60px;
        border-width: 2px;
    }

    .music-toggle {
        top: 1.5rem;
        right: 1.5rem;
        width: 50px;
        height: 50px;
    }

    .music-icon,
    .mute-icon {
        width: 20px;
        height: 20px;
    }

    .hero-container {
        padding: 1.5rem;
    }

    .powered-badge {
        font-size: 0.75rem;
        padding: 0.5rem 1.25rem;
        margin-bottom: 2rem;
    }

    .main-title {
        margin-bottom: 0.75rem;
    }

    .subtitle {
        margin-bottom: 2.5rem;
    }

    .buy-button {
        padding: 0.875rem 2.5rem;
        font-size: 1rem;
        margin-bottom: 1.5rem;
    }

    .contract-container {
        padding: 0.875rem 1.25rem;
        gap: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }

    .ca-address {
        max-width: 200px;
        font-size: 0.75rem;
    }
}

@media (max-width: 480px) {
    .ca-address {
        max-width: 150px;
        font-size: 0.7rem;
    }

    .contract-container {
        padding: 0.75rem 1rem;
    }
}

/* Smooth transitions */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Selection styling */
::selection {
    background: var(--base-blue);
    color: white;
}

::-moz-selection {
    background: var(--base-blue);
    color: white;
}

