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

body {
    background-color: #ffffff;
    font-family: 'Fredoka', sans-serif;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

.top-left-nav {
    position: fixed;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    z-index: 100;
}

.top-left-logo {
    width: 80px;
    height: 80px;
    border: 4px solid #000;
    border-radius: 50%;
    object-fit: cover;
    background: white;
    box-shadow: 4px 4px 0px #000;
}

.x-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: #000;
    border: 3px solid #000;
    border-radius: 12px;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 4px 4px 0px #000;
    text-decoration: none;
}

.x-link:hover {
    transform: translate(-2px, -2px);
    box-shadow: 6px 6px 0px #000;
}

.x-link:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.x-icon {
    width: 28px;
    height: 28px;
    fill: #fff;
}

.main-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 30px;
    padding: 20px;
    max-width: 90%;
}

.banner {
    width: 100%;
    max-width: 600px;
    height: auto;
    border: 6px solid #000;
    border-radius: 20px;
    box-shadow: 10px 10px 0px #000;
}

.rainbow-text {
    font-size: 3rem;
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 5px;
    margin-top: -10px;
    -webkit-text-stroke: 2px #000;
    filter: drop-shadow(4px 4px 0px #000);
}

.rainbow-text span {
    display: inline-block;
    transition: transform 0.2s ease;
}

.rainbow-text span:hover {
    transform: translateY(-5px) rotate(5deg);
}

.rainbow-text span:nth-child(1) {
    color: #ff5e5e;
}

.rainbow-text span:nth-child(2) {
    color: #ffd15e;
}

.rainbow-text span:nth-child(3) {
    color: #ff9e5e;
}

.rainbow-text span:nth-child(4) {
    color: #ff5e9e;
}

.rainbow-text span:nth-child(5) {
    color: #ffd15e;
}

.rainbow-text span:nth-child(6) {
    color: #ff5e9e;
}

.rainbow-text span:nth-child(7) {
    color: #5e9eff;
}

.rainbow-text span:nth-child(8) {
    color: #5eff9e;
}

.rainbow-text span:nth-child(9) {
    color: #ff5e5e;
}

.rainbow-text span:nth-child(10) {
    color: #ffd15e;
}

.rainbow-text span:nth-child(11) {
    color: #ff9e5e;
}

.rainbow-text span:nth-child(12) {
    color: #ff5e9e;
}

.rainbow-text span:nth-child(13) {
    color: #5e9eff;
}

.ca-container {
    background: #fff;
    border: 4px solid #000;
    border-radius: 15px;
    padding: 15px 25px;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    position: relative;
    transition: transform 0.1s ease, box-shadow 0.1s ease;
    box-shadow: 6px 6px 0px #000;
}

.ca-container:hover {
    transform: translate(-2px, -2px);
    box-shadow: 8px 8px 0px #000;
}

.ca-container:active {
    transform: translate(2px, 2px);
    box-shadow: 2px 2px 0px #000;
}

.ca-label {
    font-weight: 700;
    font-size: 1.2rem;
    color: #000;
    letter-spacing: 1px;
}

.ca-address {
    font-size: 1rem;
    color: #333;
    word-break: break-all;
    font-weight: 500;
}

.copy-tooltip {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%);
    background: #000;
    color: #fff;
    padding: 5px 15px;
    border-radius: 10px;
    font-size: 0.9rem;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease, top 0.3s ease;
}

.copy-tooltip.show {
    opacity: 1;
    top: -50px;
}

/* Responsive adjustments */
@media (max-width: 600px) {
    .top-left-nav {
        top: 10px;
        left: 10px;
        gap: 10px;
    }

    .top-left-logo {
        width: 60px;
        height: 60px;
    }

    .x-link {
        width: 40px;
        height: 40px;
    }

    .x-icon {
        width: 20px;
        height: 20px;
    }

    .banner {
        border-width: 4px;
        box-shadow: 6px 6px 0px #000;
    }

    .rainbow-text {
        font-size: 2rem;
    }

    .ca-container {
        padding: 10px 15px;
        box-shadow: 4px 4px 0px #000;
    }
}