/* Reset and base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'VT323', monospace;
}

body {
    background-color: #000;
    color: #0f0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(0, 40, 0, 0.3) 0%, transparent 20%),
        radial-gradient(circle at 90% 80%, rgba(0, 80, 0, 0.3) 0%, transparent 20%);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.4;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

/* Scanline effect */
.scanline {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: rgba(0, 255, 0, 0.3);
    animation: scan 4s linear infinite;
    z-index: 999;
    pointer-events: none;
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

/* Noise effect */
.noise {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
    pointer-events: none;
    z-index: 1;
    opacity: 0.1;
}

/* Header */
header {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid #0f0;
    padding: 20px;
    margin-bottom: 30px;
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.2);
    position: relative;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.gif-container {
    width: 120px;
    height: 120px;
    border: 2px solid #0f0;
    overflow: hidden;
}

.header-gif {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.header-text {
    text-align: center;
    flex-grow: 1;
    margin: 0 30px;
}

h1 {
    font-size: 3.5rem;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
    margin-bottom: 10px;
    letter-spacing: 3px;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

.subtitle {
    font-size: 1.8rem;
    color: #8f8;
    letter-spacing: 2px;
}

/* Main content */
.content-wrapper {
    display: flex;
    gap: 40px;
    margin-bottom: 40px;
}

.left-column {
    flex: 1;
}

.right-column {
    flex: 2;
}

/* Image container */
.image-container {
    border: 3px solid #0f0;
    padding: 10px;
    background: rgba(0, 30, 0, 0.7);
    margin-bottom: 20px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.main-image {
    width: 100%;
    height: auto;
    display: block;
    border: 1px solid #0f0;
}

/* Info box */
.info-box {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid #0f0;
    padding: 20px;
    font-size: 1.4rem;
}

.terminal-text {
    margin-bottom: 10px;
    padding: 8px;
    background: rgba(0, 40, 0, 0.5);
    border-left: 3px solid #0f0;
}

.blinking-cursor {
    animation: blink 1s infinite;
    color: #0f0;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Links section */
.links-section {
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid #0f0;
    padding: 25px;
    margin-bottom: 30px;
    box-shadow: 0 0 25px rgba(0, 255, 0, 0.2);
}

.links-section h2 {
    font-size: 2.2rem;
    color: #0f0;
    margin-bottom: 25px;
    border-bottom: 2px solid #0f0;
    padding-bottom: 10px;
}

.blinking {
    animation: blink 1.5s infinite;
    color: #f00;
}

.link-item {
    background: rgba(0, 30, 0, 0.6);
    border: 1px solid #0f0;
    padding: 20px;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.link-item:hover {
    background: rgba(0, 40, 0, 0.8);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.4);
    transform: translateX(5px);
}

.link-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
}

.link-icon {
    color: #0f0;
    font-size: 1.5rem;
    margin-right: 15px;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.link-title {
    font-size: 1.8rem;
    color: #8f8;
    flex-grow: 1;
}

.link-url {
    display: block;
    color: #0f0;
    font-size: 1.3rem;
    text-decoration: none;
    margin-bottom: 15px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed #0f0;
    word-break: break-all;
    transition: all 0.3s;
}

.link-url:hover {
    color: #fff;
    background: rgba(0, 60, 0, 0.7);
    text-decoration: none;
}

.link-status {
    display: flex;
    align-items: center;
}

.status-dot {
    width: 12px;
    height: 12px;
    background: #0f0;
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 10px #0f0;
    animation: pulse 1s infinite;
}

.status-text {
    font-size: 1.3rem;
    color: #0f0;
}

/* Terminal section */
.terminal-section {
    background: #000;
    border: 3px solid #0f0;
    overflow: hidden;
}

.terminal-header {
    background: rgba(0, 30, 0, 0.9);
    padding: 15px;
    display: flex;
    align-items: center;
    border-bottom: 2px solid #0f0;
}

.terminal-controls {
    display: flex;
    gap: 8px;
    margin-right: 20px;
}

.control {
    width: 15px;
    height: 15px;
    border-radius: 50%;
}

.control.red { background: #f00; }
.control.yellow { background: #ff0; }
.control.green { background: #0f0; }

.terminal-title {
    font-size: 1.5rem;
    color: #0f0;
    flex-grow: 1;
}

.terminal-content {
    padding: 25px;
    font-size: 1.4rem;
    line-height: 1.8;
    background: rgba(0, 10, 0, 0.9);
    min-height: 300px;
}

.terminal-line {
    margin-bottom: 10px;
}

.prompt {
    color: #0f0;
    margin-right: 10px;
}

.output {
    color: #8f8;
}

/* Footer */
footer {
    background: rgba(0, 20, 0, 0.9);
    border: 2px solid #0f0;
    padding: 20px;
    margin-top: 30px;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-text {
    font-size: 1.5rem;
    color: #0f0;
    white-space: nowrap;
}

.footer-marquee {
    flex-grow: 1;
    margin: 0 30px;
    overflow: hidden;
}

marquee {
    font-size: 1.3rem;
    color: #8f8;
}

/* Responsive */
@media (max-width: 1100px) {
    .content-wrapper {
        flex-direction: column;
    }
    
    .header-content {
        flex-direction: column;
        gap: 20px;
    }
    
    .gif-container {
        width: 80px;
        height: 80px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 15px;
        text-align: center;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    h1 {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1.3rem;
    }
    
    .link-title {
        font-size: 1.4rem;
    }
    
    .link-url {
        font-size: 1.1rem;
    }
}