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

body {
    font-family: 'Space Mono', monospace;
    color: #fff;
    margin: 0;
    padding: 0;
    height: 100vh;
    width: 100vw;
    position: relative;
    overflow: hidden;
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
}

.main-image-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.main-image-wrapper::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.2);
    z-index: 2;
    pointer-events: none;
}

.main-image {
    width: 100%;
    height: 100vh;
    object-fit: cover;
    object-position: center;
    transition: all 0.3s ease;
}

.main-image:hover {
    transform: scale(1.05);
}

.glow-orb {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: pulse 4s ease-in-out infinite;
    z-index: 2;
    pointer-events: none;
}

@keyframes pulse {
    0%, 100% { transform: translate(-50%, -50%) scale(1); opacity: 0.5; }
    50% { transform: translate(-50%, -50%) scale(1.1); opacity: 0.8; }
}

/* Typing Animation */
.typing-container {
    position: fixed;
    bottom: 20rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
    text-align: center;
    min-height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 2px;
}

.typing-text {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 0 40px rgba(255, 215, 0, 0.6);
    letter-spacing: 1px;
    min-height: 2.5rem;
    display: flex;
    align-items: center;
}

.cursor {
    font-family: 'Space Mono', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #ffd700;
    animation: blink 1s infinite;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.8);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

.links {
    position: fixed;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    max-width: 400px;
    width: 90%;
    z-index: 100;
    backdrop-filter: blur(20px);
    background: rgba(0, 0, 0, 0.3);
    padding: 1.5rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.link-button {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    color: #fff;
    text-decoration: none;
    font-weight: 700;
    transition: all 0.3s ease;
    backdrop-filter: blur(15px);
    width: 100%;
    justify-content: center;
    font-size: 1.1rem;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.link-button:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(255, 255, 255, 0.2);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.link-button.telegram {
    background: rgba(0, 136, 204, 0.2);
    border-color: rgba(0, 136, 204, 0.5);
    text-shadow: 0 0 10px rgba(0, 136, 204, 0.8);
}

.link-button.telegram:hover {
    background: rgba(0, 136, 204, 0.3);
    border-color: rgba(0, 136, 204, 0.7);
    box-shadow: 0 15px 35px rgba(0, 136, 204, 0.3);
    text-shadow: 0 0 20px rgba(0, 136, 204, 1);
}

.ca-address {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 15px;
    backdrop-filter: blur(15px);
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    font-weight: 600;
}

.ca-label {
    color: #888;
    font-weight: 600;
}

.ca-text {
    font-family: 'Space Mono', monospace;
    color: #fff;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
    max-width: 200px;
}

.copy-btn {
    background: none;
    border: none;
    color: #888;
    cursor: pointer;
    padding: 0.25rem;
    border-radius: 4px;
    transition: color 0.3s ease;
}

.copy-btn:hover {
    color: #fff;
}

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

.sparkle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #fff;
    border-radius: 50%;
    opacity: 0;
    animation: sparkle 3s ease-in-out infinite;
}

@keyframes sparkle {
    0% { opacity: 0; transform: scale(0) rotate(0deg); }
    50% { opacity: 1; transform: scale(1) rotate(180deg); }
    100% { opacity: 0; transform: scale(0) rotate(360deg); }
}

/* Floating Particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 2;
}

.particle {
    position: absolute;
    width: 2px;
    height: 2px;
    background: rgba(255, 255, 255, 0.6);
    border-radius: 50%;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .typing-container {
        bottom: 16rem;
    }
    
    .typing-text {
        font-size: 1.5rem;
    }
    
    .cursor {
        font-size: 1.5rem;
    }
    
    .links {
        bottom: 1.5rem;
        width: 95%;
        max-width: 350px;
        padding: 1.2rem;
        gap: 0.8rem;
    }
    
    .link-button {
        padding: 0.9rem 1.5rem;
        font-size: 1rem;
    }
    
    .ca-address {
        padding: 0.9rem 1.2rem;
        font-size: 0.9rem;
    }
    
    .ca-text {
        max-width: 180px;
        font-size: 0.85rem;
    }
}

@media (max-width: 480px) {
    .typing-container {
        bottom: 14rem;
    }
    
    .typing-text {
        font-size: 1.2rem;
    }
    
    .cursor {
        font-size: 1.2rem;
    }
    
    .links {
        bottom: 1rem;
        width: 95%;
        max-width: 300px;
        padding: 1rem;
        gap: 0.7rem;
    }
    
    .link-button {
        padding: 0.8rem 1.2rem;
        font-size: 0.95rem;
    }
    
    .ca-address {
        padding: 0.8rem 1rem;
        font-size: 0.85rem;
    }
    
    .ca-text {
        max-width: 140px;
        font-size: 0.8rem;
    }
}

@media (max-width: 320px) {
    .typing-container {
        bottom: 12rem;
    }
    
    .typing-text {
        font-size: 1rem;
    }
    
    .cursor {
        font-size: 1rem;
    }
    
    .links {
        bottom: 0.5rem;
        width: 98%;
        padding: 0.8rem;
        gap: 0.6rem;
    }
    
    .link-button {
        padding: 0.7rem 1rem;
        font-size: 0.9rem;
    }
    
    .ca-text {
        max-width: 120px;
        font-size: 0.75rem;
    }
}

/* Copy notification */
.copy-notification {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 255, 0, 0.9);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: bold;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.copy-notification.show {
    opacity: 1;
}