@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

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

body {
    font-family: 'VT323', monospace;
    background: #000000;
    color: #ffffff;
    line-height: 1.6;
    font-size: 18px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.vintage-header {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    padding: 20px 0;
    border-bottom: 3px solid #333333;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
}

.vintage-header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-vintage {
    font-size: 2.5rem;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    letter-spacing: 3px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    filter: drop-shadow(0 0 10px #00ff00);
    transition: all 0.3s ease;
}

.logo-icon:hover {
    filter: drop-shadow(0 0 20px #00ff00);
    transform: scale(1.1);
}

.vintage-nav {
    display: flex;
    gap: 30px;
}

.nav-link {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    padding: 8px 16px;
    border: 1px solid transparent;
}

.nav-link:hover {
    color: #00ff00;
    border-color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

main {
    margin-top: 100px;
}

.hero-tv {
    padding: 80px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 70vh;
}

.tv-container {
    width: 90%;
    max-width: 900px;
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 20px;
    padding: 50px;
    box-shadow: 
        0 0 50px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
}

.tv-screen {
    width: 100%;
    height: 500px;
    background: #000000;
    border-radius: 10px;
    position: relative;
    overflow: visible;
    border: 3px solid #333333;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.8);
}

.static-noise {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><defs><filter id="noise"><feTurbulence baseFrequency="0.9" numOctaves="4" stitchTiles="stitch"/><feColorMatrix values="0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 0 1 0"/></filter></defs><rect width="100%" height="100%" filter="url(%23noise)" opacity="0.4"/></svg>');
    animation: staticFlicker 0.1s infinite;
    opacity: 0.3;
}

@keyframes staticFlicker {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(255, 255, 255, 0.05) 2px,
        rgba(255, 255, 255, 0.05) 4px
    );
    animation: scanMove 0.1s linear infinite;
}

@keyframes scanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

.content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    text-align: center;
    padding: 30px 20px;
    min-height: 450px;
}

.hero-layout {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-top: 30px;
    width: 100%;
    max-width: 800px;
}

.hero-text {
    flex: 1;
    text-align: left;
}

.hero-image-container {
    flex: 0 0 auto;
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    border: 2px solid #333333;
    box-shadow: 
        0 0 20px rgba(0, 255, 0, 0.3),
        inset 0 0 20px rgba(0, 0, 0, 0.5);
}

.hero-image {
    width: 250px;
    height: auto;
    display: block;
    filter: 
        contrast(1.1) 
        brightness(0.9) 
        saturate(1.2)
        drop-shadow(0 0 10px rgba(0, 255, 0, 0.3));
    transition: all 0.3s ease;
    animation: imageGlow 4s ease-in-out infinite alternate;
}

.hero-image:hover {
    filter: 
        contrast(1.2) 
        brightness(1.0) 
        saturate(1.3)
        drop-shadow(0 0 20px rgba(0, 255, 0, 0.5));
    transform: scale(1.02);
}

@keyframes imageGlow {
    0% {
        filter: 
            contrast(1.1) 
            brightness(0.9) 
            saturate(1.2)
            drop-shadow(0 0 10px rgba(0, 255, 0, 0.3));
    }
    100% {
        filter: 
            contrast(1.15) 
            brightness(0.95) 
            saturate(1.25)
            drop-shadow(0 0 15px rgba(0, 255, 0, 0.4));
    }
}

.vintage-title {
    font-size: 4rem;
    color: #00ff00;
    text-shadow: 
        0 0 10px #00ff00,
        0 0 20px #00ff00,
        0 0 30px #00ff00;
    margin-bottom: 20px;
    animation: vintageGlow 2s ease-in-out infinite alternate;
    letter-spacing: 5px;
}

@keyframes vintageGlow {
    0% { 
        text-shadow: 
            0 0 10px #00ff00,
            0 0 20px #00ff00,
            0 0 30px #00ff00;
    }
    100% { 
        text-shadow: 
            0 0 20px #00ff00,
            0 0 30px #00ff00,
            0 0 40px #00ff00;
    }
}

.subtitle {
    font-size: 1.8rem;
    color: #ffffff;
    margin-bottom: 20px;
    animation: textFlicker 3s infinite;
}

@keyframes textFlicker {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-message {
    font-size: 1.3rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.7;
    text-align: left;
}

.vintage-button {
    background: linear-gradient(145deg, #444444, #222222);
    border: 2px solid #666666;
    padding: 15px 30px;
    font-family: 'VT323', monospace;
    font-size: 1.5rem;
    color: #00ff00;
    text-decoration: none;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: 
        0 4px 8px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    display: inline-block;
    text-align: center;
    min-width: 200px;
    border-radius: 0;
    cursor: pointer;
}

.vintage-button:hover {
    background: linear-gradient(145deg, #555555, #333333);
    box-shadow: 
        0 6px 12px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2),
        0 0 20px rgba(0, 255, 0, 0.3);
    transform: translateY(-2px);
    color: #00ff00;
    border-color: #00ff00;
}

.vintage-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 0, 0.2), transparent);
    transition: left 0.5s ease;
}

.vintage-button:hover::before {
    left: 100%;
}

.section-vintage {
    padding: 80px 0;
}

.tv-window {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    border: 2px solid #333333;
}

.tv-header {
    background: linear-gradient(145deg, #333333, #222222);
    padding: 15px 30px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid #444444;
}

.channel {
    color: #00ff00;
    font-size: 1.2rem;
    text-shadow: 0 0 5px #00ff00;
}

.tv-header .title {
    color: #ffffff;
    font-size: 1.5rem;
    letter-spacing: 2px;
}

.tv-content {
    padding: 40px;
    background: #111111;
    position: relative;
}

.tv-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 3px,
        rgba(255, 255, 255, 0.02) 3px,
        rgba(255, 255, 255, 0.02) 6px
    );
    pointer-events: none;
}

.tv-content h2 {
    font-size: 2.5rem;
    color: #00ff00;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00ff00;
}

.tv-content p {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 30px;
    line-height: 1.7;
}

.info-grid, .steps-grid, .tools-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.info-card, .step-card, .tool-card {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
    padding: 25px;
    border-radius: 8px;
    transition: all 0.3s ease;
    text-decoration: none;
    color: inherit;
}

.info-card:hover, .step-card:hover, .tool-card:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #00ff00;
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 255, 0, 0.1);
}

.info-card h3, .step-card h3, .tool-card h3 {
    font-size: 1.5rem;
    color: #ffffff;
    margin-bottom: 15px;
}

.step-number {
    font-size: 2rem;
    color: #00ff00;
    text-shadow: 0 0 10px #00ff00;
    margin-bottom: 15px;
}

.tool-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    display: block;
}

.step-link {
    color: #00ff00;
    text-decoration: none;
    font-size: 1.1rem;
    margin-top: 15px;
    display: inline-block;
    transition: all 0.3s ease;
}

.step-link:hover {
    text-shadow: 0 0 5px #00ff00;
}

.mirrors-list {
    margin: 30px 0;
}

.mirror-item {
    display: flex;
    align-items: center;
    gap: 20px;
    padding: 20px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid #333333;
    margin-bottom: 15px;
    border-radius: 8px;
}

.mirror-status {
    font-size: 1.2rem;
    font-weight: bold;
}

.mirror-status.online {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.mirror-label {
    font-size: 1.3rem;
    color: #ffffff;
    min-width: 150px;
}

.mirror-link {
    font-size: 1.2rem;
    color: #cccccc;
    font-family: monospace;
    background: rgba(0, 0, 0, 0.3);
    padding: 5px 10px;
    border-radius: 4px;
}

.warning-box {
    background: rgba(255, 255, 0, 0.1);
    border: 2px solid #ffff00;
    padding: 20px;
    border-radius: 8px;
    margin-top: 30px;
    color: #ffff00;
    font-size: 1.1rem;
}

.vintage-footer {
    background: linear-gradient(145deg, #1a1a1a, #0a0a0a);
    padding: 60px 0 20px;
    border-top: 3px solid #333333;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.8rem;
    color: #00ff00;
    margin-bottom: 20px;
    text-shadow: 0 0 5px #00ff00;
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-icon {
    width: 24px;
    height: 24px;
    filter: drop-shadow(0 0 5px #00ff00);
}

.footer-section p {
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #ffffff;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.footer-section ul li a:hover {
    color: #00ff00;
    text-shadow: 0 0 5px #00ff00;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid #333333;
    color: #888888;
}

@media (max-width: 768px) {
    .vintage-header .container {
        flex-direction: column;
        gap: 20px;
    }
    
    .vintage-nav {
        gap: 15px;
    }
    
    .vintage-title {
        font-size: 2.5rem;
    }
    
    .tv-container {
        padding: 20px;
    }
    
    .tv-screen {
        height: 400px;
    }
    
    .tv-content {
        padding: 20px;
    }
    
    .hero-layout {
        flex-direction: column;
        gap: 25px;
        text-align: center;
    }
    
    .hero-text {
        text-align: center;
    }
    
    .hero-image {
        width: 220px;
    }
    
    .info-grid, .steps-grid, .tools-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .mirror-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .vintage-title {
        font-size: 2rem;
    }
    
    .hero-message {
        font-size: 1.1rem;
    }
    
    .hero-layout {
        gap: 20px;
    }
    
    .hero-image {
        width: 180px;
    }
    
    .tv-screen {
        height: 350px;
    }
    
    .tv-content h2 {
        font-size: 2rem;
    }
}
