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

body {
    background-color: white;
    font-family: Arial, sans-serif;
    height: 100vh;
    overflow: hidden;
    cursor: crosshair;
}

.top-controls {
    position: fixed;
    top: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 10px;
    z-index: 100;
}

.sound-toggle {
    background: black;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sound-toggle:hover {
    background: #333;
    transform: scale(1.1);
}

.sound-toggle.muted {
    background: #666;
}

.social-button {
    background: black;
    color: white;
    border: none;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    font-size: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-button:hover {
    background: #333;
    transform: scale(1.1);
}

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

.community-button:hover {
    background: #00C851;
}

.dex-button {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.dex-button:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border-color: #555;
}

.dex-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.gallery-button {
    background: #1a1a1a;
    border: 2px solid #333;
    border-radius: 50%;
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.gallery-button:hover {
    background: #2a2a2a;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
    border-color: #555;
}

.gallery-icon {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 1;
    width: 90%;
    max-width: 90vw;
    padding: 0 5%;
}

.title {
    font-family: 'Anton', sans-serif;
    font-size: 16rem;
    font-weight: bold;
    color: black;
    margin-bottom: -2rem;
}

.subtitle {
    font-size: 1.2rem;
    color: black;
    font-weight: normal;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.meme-link {
    display: inline-block;
    background: black;
    color: white;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 25px;
    font-size: 1.2rem;
    font-weight: bold;
    margin-top: 20px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.meme-link:hover {
    background: #333;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0,0,0,0.3);
}

.dog-nose {
    position: absolute;
    pointer-events: none;
    z-index: 10;
}

@keyframes appear {
    from {
        opacity: 0;
        transform: scale(0.5);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.dog-nose.mirrored {
    transform: scaleX(-1);
}

.dog-nose.mirrored.animate {
    animation: appear-mirrored 0.3s ease-out;
}

@keyframes appear-mirrored {
    from {
        opacity: 0;
        transform: scaleX(-1) scale(0.5);
    }
    to {
        opacity: 1;
        transform: scaleX(-1) scale(1);
    }
}

.ca-address {
    word-break: break-all;
    hyphens: auto;
}

/* Mobile Responsive Styles */
@media (max-width: 768px) {
    .title {
        font-size: 10rem;
        max-width: 90vw;
        word-wrap: break-word;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
        padding: 0 20px;
        max-width: 90vw;
        margin-bottom: 1.5rem;
    }
    
    .meme-link {
        font-size: 1.1rem;
        padding: 12px 24px;
        margin-top: 1rem;
    }
}

@media (max-width: 480px) {
    .title {
        font-size: 8rem;
        max-width: 90vw;
        word-wrap: break-word;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 1rem;
        padding: 0 15px;
        max-width: 90vw;
        margin-bottom: 1.5rem;
    }
    
    .meme-link {
        font-size: 1rem;
        padding: 10px 20px;
        margin-top: 1rem;
    }
}

@media (max-width: 360px) {
    .title {
        font-size: 6rem;
        max-width: 90vw;
        word-wrap: break-word;
        margin-bottom: 1rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
        padding: 0 10px;
        max-width: 90vw;
        margin-bottom: 1.5rem;
    }
    
    .meme-link {
        font-size: 0.9rem;
        padding: 8px 16px;
        margin-top: 1rem;
    }
}
