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

body {
    height: 100vh;
    background-image: url('lofi-bg.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    font-family: Arial, sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.box {
    width: 200px;
    height: 80px;
    border-radius: 15px;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    text-decoration: none;
}

.box:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.box a {
    color: white;
    text-decoration: none;
    font-size: 18px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
}

.blue-box {
    background-color: #4285f4;
}

.green-box {
    background-color: #34a853;
}

.yellow-box {
    background-color: #fbbc05;
}

.red-box {
    background-color: #ea4335;
}

/* Copy box specific styles */
.copy-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px;
    transition: all 0.3s ease;
}

.copy-box:hover {
    background-color: #d33b2c !important;
}

.wallet-address {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-family: 'Courier New', monospace;
    letter-spacing: 1px;
}

.copy-icon {
    color: white;
    font-size: 14px;
    opacity: 0.8;
}

.copy-success {
    color: white;
    font-size: 16px;
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

/* Responsive design */
@media (max-width: 768px) {
    .box {
        width: 180px;
        height: 70px;
    }
    
    .box a {
        font-size: 16px;
    }
    
    .wallet-address {
        font-size: 14px;
    }
    
    .copy-icon {
        font-size: 12px;
    }
    
    .container {
        gap: 15px;
    }
}

@media (max-width: 480px) {
    .box {
        width: 160px;
        height: 60px;
    }
    
    .box a {
        font-size: 14px;
    }
    
    .wallet-address {
        font-size: 12px;
    }
    
    .copy-icon {
        font-size: 10px;
    }
    
    .container {
        gap: 12px;
    }
}

/* Snow Effect */
.snow-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.snowflake {
    position: absolute;
    top: -10px;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: snow 10s linear infinite;
    opacity: 0.8;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.snowflake:nth-child(2) {
    left: 20%;
    animation-delay: 1s;
    animation-duration: 12s;
}

.snowflake:nth-child(3) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 9s;
}

.snowflake:nth-child(4) {
    left: 40%;
    animation-delay: 0.5s;
    animation-duration: 11s;
}

.snowflake:nth-child(5) {
    left: 50%;
    animation-delay: 1.5s;
    animation-duration: 7s;
}

.snowflake:nth-child(6) {
    left: 60%;
    animation-delay: 3s;
    animation-duration: 10s;
}

.snowflake:nth-child(7) {
    left: 70%;
    animation-delay: 0.8s;
    animation-duration: 13s;
}

.snowflake:nth-child(8) {
    left: 80%;
    animation-delay: 2.5s;
    animation-duration: 8.5s;
}

.snowflake:nth-child(9) {
    left: 90%;
    animation-delay: 1.2s;
    animation-duration: 9.5s;
}

.snowflake:nth-child(10) {
    left: 15%;
    animation-delay: 4s;
    animation-duration: 11.5s;
}

.snowflake:nth-child(11) {
    left: 25%;
    animation-delay: 0.3s;
    animation-duration: 7.5s;
}

.snowflake:nth-child(12) {
    left: 35%;
    animation-delay: 2.8s;
    animation-duration: 12.5s;
}

.snowflake:nth-child(13) {
    left: 45%;
    animation-delay: 1.8s;
    animation-duration: 8.8s;
}

.snowflake:nth-child(14) {
    left: 55%;
    animation-delay: 3.5s;
    animation-duration: 10.5s;
}

.snowflake:nth-child(15) {
    left: 65%;
    animation-delay: 0.7s;
    animation-duration: 9.2s;
}

.snowflake:nth-child(16) {
    left: 75%;
    animation-delay: 2.2s;
    animation-duration: 11.8s;
}

.snowflake:nth-child(17) {
    left: 85%;
    animation-delay: 1.7s;
    animation-duration: 7.8s;
}

.snowflake:nth-child(18) {
    left: 95%;
    animation-delay: 3.2s;
    animation-duration: 10.2s;
}

.snowflake:nth-child(19) {
    left: 5%;
    animation-delay: 0.9s;
    animation-duration: 12.2s;
}

.snowflake:nth-child(20) {
    left: 12%;
    animation-delay: 2.7s;
    animation-duration: 8.2s;
}

.snowflake:nth-child(21) {
    left: 18%;
    animation-delay: 1.1s;
    animation-duration: 9.8s;
}

.snowflake:nth-child(22) {
    left: 28%;
    animation-delay: 3.8s;
    animation-duration: 11.2s;
}

.snowflake:nth-child(23) {
    left: 38%;
    animation-delay: 0.6s;
    animation-duration: 7.3s;
}

.snowflake:nth-child(24) {
    left: 48%;
    animation-delay: 2.1s;
    animation-duration: 10.8s;
}

.snowflake:nth-child(25) {
    left: 58%;
    animation-delay: 4.2s;
    animation-duration: 8.7s;
}

.snowflake:nth-child(26) {
    left: 68%;
    animation-delay: 1.4s;
    animation-duration: 12.1s;
}

.snowflake:nth-child(27) {
    left: 78%;
    animation-delay: 3.1s;
    animation-duration: 9.4s;
}

.snowflake:nth-child(28) {
    left: 88%;
    animation-delay: 0.4s;
    animation-duration: 11.7s;
}

.snowflake:nth-child(29) {
    left: 98%;
    animation-delay: 2.9s;
    animation-duration: 8.9s;
}

.snowflake:nth-child(30) {
    left: 8%;
    animation-delay: 1.6s;
    animation-duration: 10.3s;
}

.snowflake:nth-child(31) {
    left: 22%;
    animation-delay: 3.7s;
    animation-duration: 7.6s;
}

.snowflake:nth-child(32) {
    left: 32%;
    animation-delay: 0.9s;
    animation-duration: 12.4s;
}

.snowflake:nth-child(33) {
    left: 42%;
    animation-delay: 2.4s;
    animation-duration: 8.1s;
}

.snowflake:nth-child(34) {
    left: 52%;
    animation-delay: 4.1s;
    animation-duration: 11.3s;
}

.snowflake:nth-child(35) {
    left: 62%;
    animation-delay: 1.3s;
    animation-duration: 9.7s;
}

@keyframes snow {
    0% {
        transform: translateY(-10px) rotate(0deg);
        opacity: 0.8;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 0.8;
    }
    100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
    }
}

/* Ensure boxes stay above snow */
.container {
    position: relative;
    z-index: 2;
}
