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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

.container {
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    padding: 20px;
}

/* Lightning Effects */
.lightning-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

.lightning {
    position: absolute;
    width: 2px;
    height: 100px;
    background: linear-gradient(to bottom, transparent, #00ffff, #0080ff, transparent);
    opacity: 0;
    animation: lightning 4s infinite;
    box-shadow: 0 0 20px #00ffff, 0 0 40px #0080ff;
}

.lightning:nth-child(1) {
    left: 20%;
    animation-delay: 0s;
}

.lightning:nth-child(2) {
    left: 50%;
    animation-delay: 1.5s;
}

.lightning:nth-child(3) {
    left: 80%;
    animation-delay: 3s;
}

@keyframes lightning {
    0%, 90%, 100% {
        opacity: 0;
        transform: scaleY(0);
    }
    5%, 15% {
        opacity: 1;
        transform: scaleY(1);
    }
    20% {
        opacity: 0;
        transform: scaleY(0);
    }
    25%, 35% {
        opacity: 0.8;
        transform: scaleY(1);
    }
    40% {
        opacity: 0;
        transform: scaleY(0);
    }
}

/* Content */
.content {
    position: relative;
    z-index: 2;
    text-align: center;
    max-width: 800px;
    width: 100%;
    margin: 0 auto;
}

.image-container {
    margin-bottom: 30px;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 0 50px rgba(0, 255, 255, 0.3);
    transition: all 0.3s ease;
    width: fit-content;
    height: fit-content;
    margin-left: auto;
    margin-right: auto;
}

.image-container:hover {
    transform: scale(1.02);
    box-shadow: 0 0 80px rgba(0, 255, 255, 0.5);
}

.image-container img {
    width: auto;
    height: 70vh;
    max-width: 100%;
    display: block;
    filter: contrast(1.1) brightness(0.9) saturate(1.2);
    transition: all 0.3s ease;
    object-fit: contain;
    cursor: pointer;
}

.image-container:hover img {
    filter: contrast(1.2) brightness(1) saturate(1.3);
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.95);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal-content {
    max-width: 95%;
    max-height: 95%;
    object-fit: contain;
    border-radius: 10px;
    box-shadow: 0 0 100px rgba(0, 255, 255, 0.5);
    animation: zoomIn 0.3s ease-in-out;
    cursor: zoom-out;
}

.close-btn {
    position: absolute;
    top: 20px;
    right: 30px;
    color: #ffffff;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    z-index: 1001;
    transition: all 0.3s ease;
    text-shadow: 0 0 10px #00ffff;
}

.close-btn:hover {
    color: #00ffff;
    transform: scale(1.1);
    text-shadow: 0 0 20px #00ffff;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

@keyframes zoomIn {
    from {
        transform: scale(0.8);
        opacity: 0;
    }
    to {
        transform: scale(1);
        opacity: 1;
    }
}

/* Text Styling */
.text-container {
    margin-top: 20px;
}

.glow-text {
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: bold;
    color: #ffffff;
    text-shadow: 
        0 0 10px #00ffff,
        0 0 20px #00ffff,
        0 0 30px #00ffff,
        0 0 40px #0080ff;
    animation: textGlow 2s ease-in-out infinite alternate;
    letter-spacing: clamp(0.5px, 1vw, 2px);
    text-transform: uppercase;
    background: linear-gradient(45deg, #ffffff, #00ffff, #0080ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textGlow 2s ease-in-out infinite alternate, gradientShift 3s ease-in-out infinite;
}

@keyframes textGlow {
    from {
        text-shadow: 
            0 0 10px #00ffff,
            0 0 20px #00ffff,
            0 0 30px #00ffff,
            0 0 40px #0080ff;
    }
    to {
        text-shadow: 
            0 0 15px #00ffff,
            0 0 25px #00ffff,
            0 0 35px #00ffff,
            0 0 45px #0080ff,
            0 0 55px #0040ff;
    }
}

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

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .content {
        max-width: 100%;
    }
    
    .image-container {
        margin-bottom: 20px;
        width: fit-content;
        height: fit-content;
    }
    
    .image-container img {
        height: 60vh;
    }
    
    .glow-text {
        font-size: clamp(1.2rem, 3vw, 2rem);
        letter-spacing: clamp(0.3px, 0.8vw, 1px);
    }
    
    .close-btn {
        top: 15px;
        right: 20px;
        font-size: 35px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .content {
        max-width: 100%;
    }
    
    .image-container {
        width: fit-content;
        height: fit-content;
    }
    
    .image-container img {
        height: 50vh;
    }
    
    .glow-text {
        font-size: clamp(1rem, 2.5vw, 1.5rem);
        letter-spacing: clamp(0.2px, 0.6vw, 0.5px);
    }
    
    .close-btn {
        top: 10px;
        right: 15px;
        font-size: 30px;
    }
    
    .modal-content {
        max-width: 98%;
        max-height: 98%;
    }
}

/* Additional Dark Theme Enhancements */
.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 50% 50%, rgba(0, 255, 255, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: 0;
}

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Selection styling */
::selection {
    background: rgba(0, 255, 255, 0.3);
    color: #ffffff;
}
