:root {
    --retro-pink: #ff71ce;
    --retro-blue: #01cdfe;
    --retro-green: #05ffa1;
    --retro-purple: #b967ff;
    --retro-yellow: #fffb96;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #000;
    font-family: 'Press Start 2P', cursive;
    color: var(--retro-green);
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
}

.retro-header {
    font-size: 2.5em;
    text-shadow: 3px 3px 0 var(--retro-pink);
    animation: glitch 1s infinite;
    margin-bottom: 30px;
}

.photo-container {
    background-color: #111;
    padding: 20px;
    border: 4px solid var(--retro-blue);
    border-radius: 10px;
    box-shadow: 0 0 20px var(--retro-purple);
    margin: 20px 0;
    position: relative;
    overflow: hidden;
}

.photo-container::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

img {
    max-width: 100%;
    height: auto;
    border-radius: 5px;
    filter: grayscale(50%) sepia(20%);
    transition: all 0.3s ease;
}

img:hover {
    filter: grayscale(0%) sepia(0%);
    transform: scale(1.02);
}

.controls {
    margin: 20px 0;
}

.retro-button {
    background-color: var(--retro-purple);
    color: white;
    border: none;
    padding: 10px 20px;
    margin: 5px;
    font-family: 'Press Start 2P', cursive;
    cursor: pointer;
    transition: all 0.3s ease;
}

.retro-button:hover {
    background-color: var(--retro-pink);
    transform: scale(1.1);
}

.pixel-corners {
    clip-path: polygon(
        0% 5px,
        5px 5px,
        5px 0%,
        calc(100% - 5px) 0%,
        calc(100% - 5px) 5px,
        100% 5px,
        100% calc(100% - 5px),
        calc(100% - 5px) calc(100% - 5px),
        calc(100% - 5px) 100%,
        5px 100%,
        5px calc(100% - 5px),
        0% calc(100% - 5px)
    );
}

@keyframes glitch {
    0% { transform: translate(0) }
    20% { transform: translate(-2px, 2px) }
    40% { transform: translate(-2px, -2px) }
    60% { transform: translate(2px, 2px) }
    80% { transform: translate(2px, -2px) }
    100% { transform: translate(0) }
}

@keyframes shine {
    0% { transform: translateX(-100%) rotate(45deg) }
    100% { transform: translateX(100%) rotate(45deg) }
}

.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: #000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    transition: opacity 0.5s ease;
}

.loading-text {
    color: var(--retro-green);
    font-size: 24px;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0; }
}

.hidden {
    display: none;
}

.home-link {
    color: var(--retro-blue);
    text-decoration: none;
    font-size: 1em;
    margin-top: 20px;
    display: inline-block;
    transition: all 0.3s ease;
}

.home-link:hover {
    color: var(--retro-pink);
    transform: scale(1.1);
} 