/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #0a0a0a;
    color: #00ff00;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Container */
.container {
    text-align: center;
    padding: 2rem;
    max-width: 800px;
    width: 100%;
}

/* Content States */
.hidden-content {
    animation: fadeIn 2s ease-in;
}

.blocked-content {
    animation: glitch 2s ease-in-out infinite;
}

/* Loading State */
.loading {
    font-size: 1.5rem;
    animation: pulse 1.5s infinite;
}

/* Typography */
h1 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-shadow: 0 0 10px #00ff00;
    letter-spacing: 0.3rem;
}

.warning {
    color: #ff0000;
    font-size: 1.8rem;
    text-shadow: 0 0 10px #ff0000;
}

.message {
    font-size: 1.2rem;
    line-height: 1.8;
    margin-bottom: 2rem;
}

.error-text {
    color: #ff0000;
    margin: 1rem 0;
}

/* Cipher Box */
.cipher-box {
    background: rgba(0, 255, 0, 0.05);
    border: 2px solid #00ff00;
    padding: 2rem;
    margin: 0;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.cipher-text {
    font-size: 1.5rem;
    letter-spacing: 0.2rem;
    word-break: break-all;
}

/* Links */
.next-link {
    color: #00ffff;
    text-decoration: none;
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border: 2px solid #00ffff;
    display: inline-block;
    margin-top: 2rem;
    transition: all 0.3s;
}

.next-link:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Background Effects */
.static {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.03;
    z-index: -1;
    background-image: 
        repeating-linear-gradient(
            0deg, 
            transparent, 
            transparent 2px, 
            rgba(0, 255, 0, 0.1) 2px, 
            rgba(0, 255, 0, 0.1) 4px
        );
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes glitch {
    0%, 90%, 100% { transform: translate(0); opacity: 1; }
    91% { transform: translate(-1px, 0); opacity: 0.8; }
    92% { transform: translate(1px, 0); opacity: 0.8; }
    93% { transform: translate(0); opacity: 1; }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2rem;
    }
    
    .message {
        font-size: 1rem;
    }
    
    .cipher-text {
        font-size: 1.2rem;
    }
}
