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

body {
    background: #000;
    overflow: hidden;
    font-family: 'Arial', sans-serif;
    height: 100vh;
    position: relative;
}

.background-text {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.6rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.2);
    z-index: 1;
    pointer-events: none;
    white-space: nowrap;
    letter-spacing: 0.2em;
    user-select: none;
}

.container {
    width: 100vw;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    background: radial-gradient(circle at center, #220033 0%, #000000 70%);
}

.image-container {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    transition: transform 0.3s ease-out;
    transform-origin: center center;
    cursor: grab;
}

.image-container:active {
    cursor: grabbing;
}

.main-image {
    max-width: 48vw;
    max-height: 64vh;
    object-fit: contain;
    border-radius: 20px;
    box-shadow: 
        0 0 50px rgba(0, 255, 255, 0.3),
        0 0 100px rgba(0, 255, 255, 0.2),
        0 0 200px rgba(0, 255, 255, 0.1);
    animation: float 6s ease-in-out infinite, pulse-glow 3s ease-in-out infinite alternate;
}

.glow-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: rotate 20s linear infinite;
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.particles::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 255, 0.5), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(255, 255, 255, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(0, 255, 255, 0.4), transparent),
        radial-gradient(1px 1px at 130px 80px, rgba(255, 255, 255, 0.2), transparent),
        radial-gradient(2px 2px at 160px 30px, rgba(0, 255, 255, 0.3), transparent);
    background-repeat: repeat;
    background-size: 200px 100px;
    animation: sparkle 8s linear infinite;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    pointer-events: none;
    animation: grid-move 30s linear infinite;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 30%,
        rgba(0, 255, 255, 0.02) 50%,
        transparent 70%
    );
    animation: scan 10s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) scale(1); }
    50% { transform: translateY(-20px) scale(1.02); }
}

@keyframes pulse-glow {
    0% { 
        box-shadow: 
            0 0 50px rgba(0, 255, 255, 0.3),
            0 0 100px rgba(0, 255, 255, 0.2),
            0 0 200px rgba(0, 255, 255, 0.1);
    }
    100% { 
        box-shadow: 
            0 0 80px rgba(0, 255, 255, 0.5),
            0 0 150px rgba(0, 255, 255, 0.3),
            0 0 300px rgba(0, 255, 255, 0.2);
    }
}

@keyframes rotate {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes sparkle {
    0%, 100% { transform: translateY(0px); opacity: 1; }
    50% { transform: translateY(-100px); opacity: 0.5; }
}

@keyframes grid-move {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes scan {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.logo-header {
    position: absolute;
    top: 5vh;
    left: 50%;
    transform: translateX(-50%);
    z-index: 15;
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    letter-spacing: 0.4em;
    color: #ffffff;
    position: relative;
}



@media (max-width: 768px) {
    .main-image {
        max-width: 72vw;
        max-height: 56vh;
    }
    .logo {
        font-size: 1.5rem;
    }
    .background-text {
        font-size: 0.8rem;
    }
}

.copyright {
    position: absolute;
    bottom: 10px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 5;
}

.copyright p {
    font-size: 0.7rem;
    color: rgba(255, 255, 255, 0.15);
    margin: 0;
    font-weight: 300;
}

@media (max-width: 480px) {
    .main-image {
        max-width: 76vw;
        max-height: 48vh;
    }
    .logo {
        font-size: 1.1rem;
        letter-spacing: 0.3em;
    }
    .logo-header {
        top: calc(3vh + 60px);
    }
    .copyright {
        bottom: 10px;
    }
    .copyright p {
        font-size: 0.6rem;
    }
    .background-text {
        font-size: 0.5rem;
    }
}