:root {
    --cyber-900: #0a0a0a;
    --cyber-800: #121212;
    --cyber-700: #1a1a1a;
    --matrix-500: #00d166;
    --matrix-400: #00e472;
    --matrix-600: #00b359;
    --matrix-300: #a0ffd0;
    --tech-blue: #0095da;
    --tech-purple: #8a2be2;
    --tech-cyan: #00ffff;
    --tech-gray: #e0e0e0;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Arial', sans-serif;
}

body {
    background-color: var(--cyber-900);
    color: var(--tech-gray);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    margin-bottom: 160px;
    
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 136, 0.05) 0%, transparent 25%),
        radial-gradient(circle at 80% 70%, rgba(0, 149, 218, 0.05) 0%, transparent 25%),
        linear-gradient(to bottom, rgba(10, 10, 10, 0.95), rgba(10, 10, 10, 0.98));
}

body::before {
    content: "";
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 1;
}

.cyber-container {
    max-width: 900px;
    width: 100%;
    margin: 60px auto;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.cyber-header {
    font-size: 32px;
    font-family: 'Russo One', sans-serif;
    color: var(--matrix-green);
    text-align: center;
    margin-bottom: 20px;
    text-transform: uppercase;
    letter-spacing: 3px;
    text-shadow: 0 0 15px rgba(0, 255, 136, 0.5);
    position: relative;
    padding-bottom: 15px;
}

.cyber-header::after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--matrix-green), transparent);
    animation: linePulse 2s infinite;
}

.image-container {
    display: flex;
    justify-content: center;
    margin: 20px 0;
}

.image-frame {
    width: 60%; 
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.2);
    border: 1px solid rgba(0, 255, 136, 0.3);
    cursor: pointer;
}

.image-frame::before {
    content: "";
    display: block;
    padding-top: 100%; 
}

.image-frame::after {
    content: "";
    position: absolute;
    inset: -10px;
    background: linear-gradient(45deg, var(--matrix-green), var(--tech-blue), var(--tech-purple));
    z-index: -1;
    filter: blur(20px);
    opacity: 0.7;
    animation: gradientRotate 8s infinite linear;
}

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

.image-main, .image-hover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.5s ease;
}

.image-main {
    z-index: 1;
    opacity: 1;
}

.image-hover {
    z-index: 2;
    opacity: 0;
}

.image-frame:hover .image-main {
    opacity: 0;
}

.image-frame:hover .image-hover {
    opacity: 1;
}

.image-label {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.7);
    color: var(--matrix-green);
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    z-index: 3;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.image-frame:hover .image-label {
    opacity: 1;
}

.cyber-text {
    background: rgba(20, 25, 20, 0.7);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 8px;
    padding: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 136, 0.1);
    line-height: 1.6;
    font-size: 1.1rem;
    position: relative;
}

.cyber-text::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--matrix-green), var(--tech-blue), var(--tech-purple));
}

@keyframes linePulse {
    0% { opacity: 0.3; width: 100px; }
    50% { opacity: 1; width: 200px; }
    100% { opacity: 0.3; width: 100px; }
}

@keyframes gradientRotate {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

@media (max-width: 768px) {
    .cyber-header {
        font-size: 2rem;
    }
    .image-frame {
        height: 300px;
    }
    .cyber-text {
        padding: 20px;
    }
    .image-frame {
        width: 100%; 
        height: 100%;
    }
}

@media (max-width: 480px) {
    .cyber-header {
        font-size: 1.5rem;
    }
    .image-frame {
        width: 100%; 
    }
}
