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

body {
    font-family: 'Press Start 2P', cursive;
    background: #0a0a0a;
    color: #00ff00;
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    position: relative;
    z-index: 2;
}

.header {
    text-align: center;
    margin-bottom: 40px;
    border: 3px solid #00ff00;
    padding: 30px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 0;
    box-shadow: 0 0 20px #00ff00;
}

.ascii-art {
    color: #00ffff;
    font-size: 8px;
    margin-bottom: 20px;
    text-shadow: 0 0 10px #00ffff;
}

.title {
    font-size: 48px;
    color: #ff0080;
    text-shadow: 0 0 10px #ff0080;
    margin: 20px 0;
    letter-spacing: 3px;
}

.subtitle {
    color: #ffff00;
    font-size: 12px;
    letter-spacing: 2px;
}

.main-content {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.pixel-border {
    border: 4px solid;
    border-image: linear-gradient(45deg, #00ff00, #00ffff, #ff0080, #ffff00) 1;
    padding: 30px;
    background: rgba(0, 20, 0, 0.9);
    position: relative;
}

.pixel-border::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(45deg, #00ff00, #00ffff, #ff0080, #ffff00);
    z-index: -1;
    animation: glow 3s ease-in-out infinite alternate;
}

.welcome-section h2 {
    color: #ff0080;
    font-size: 20px;
    margin-bottom: 20px;
    text-align: center;
    text-shadow: 0 0 15px #ff0080;
}

.welcome-text {
    font-size: 14px;
    text-align: center;
    color: #00ffff;
    line-height: 1.8;
}

.goals-section h2 {
    color: #ffff00;
    font-size: 24px;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 15px #ffff00;
}

.goals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.goal-box {
    border: 2px solid #00ff00;
    padding: 25px;
    background: rgba(0, 50, 0, 0.3);
    box-shadow: inset 0 0 20px rgba(0, 255, 0, 0.1);
}

.goal-box h3 {
    color: #00ffff;
    font-size: 14px;
    margin-bottom: 15px;
    text-shadow: 0 0 10px #00ffff;
}

.goal-box ul {
    list-style: none;
}

.goal-box li {
    color: #00ff00;
    font-size: 10px;
    margin-bottom: 8px;
    padding-left: 15px;
    position: relative;
}

.goal-box li::before {
    content: '>';
    position: absolute;
    left: 0;
    color: #ff0080;
    animation: blink 1s infinite;
}

.challenge-section {
    margin: 40px 0;
}

.challenge-box {
    border: 3px solid #ff0080;
    background: rgba(20, 0, 20, 0.9);
    padding: 30px;
    box-shadow: 0 0 30px #ff0080;
}

.challenge-box h2 {
    color: #ff0080;
    font-size: 24px;
    text-align: center;
    margin-bottom: 25px;
    text-shadow: 0 0 20px #ff0080;
}

.challenge-intro {
    color: #00ffff;
    font-size: 12px;
    text-align: center;
    margin-bottom: 25px;
}

.encrypted-message {
    background: rgba(0, 0, 0, 0.8);
    border: 2px solid #ffff00;
    padding: 20px;
    margin: 20px 0;
    text-align: center;
}

.encrypted-message h3 {
    color: #ffff00;
    font-size: 14px;
    margin-bottom: 15px;
}

.cipher-text {
    font-size: 18px;
    color: #ff0080;
    background: rgba(255, 0, 128, 0.1);
    padding: 15px;
    border: 1px solid #ff0080;
    letter-spacing: 3px;
    animation: pulse 2s infinite;
}

.hints {
    background: rgba(0, 50, 50, 0.5);
    border: 2px dashed #00ffff;
    padding: 20px;
    margin: 20px 0;
}

.hints h3 {
    color: #00ffff;
    font-size: 14px;
    margin-bottom: 15px;
}

.hints p {
    color: #00ff00;
    font-size: 10px;
    margin-bottom: 8px;
}

.submission {
    background: rgba(50, 0, 0, 0.5);
    border: 2px solid #ff0080;
    padding: 20px;
    text-align: center;
}

.submission h3 {
    color: #ff0080;
    font-size: 14px;
    margin-bottom: 15px;
}

.email {
    color: #ffff00;
    font-size: 16px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px;
    border: 1px solid #ffff00;
}

.instruction {
    color: #00ffff;
    font-size: 10px;
    margin-top: 10px;
}

.stats-section {
    margin: 40px 0;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-box {
    border: 2px solid #00ffff;
    background: rgba(0, 50, 50, 0.3);
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.stat-number {
    display: block;
    font-size: 16px;
    color: #ff0080;
    margin-bottom: 10px;
    text-shadow: 0 0 10px #ff0080;
}

.stat-label {
    color: #00ffff;
    font-size: 8px;
    letter-spacing: 2px;
}

.footer {
    text-align: center;
    margin-top: 50px;
    padding: 30px;
    border-top: 2px solid #00ff00;
    background: rgba(0, 0, 0, 0.8);
}

.footer p {
    color: #00ff00;
    font-size: 8px;
    margin: 5px 0;
}

.footer-note {
    color: #ffff00;
    font-style: italic;
}

.matrix-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(0, 255, 0, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
    pointer-events: none;
}

.matrix-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(0deg, 
            transparent, 
            transparent 2px, 
            rgba(0, 255, 0, 0.03) 2px, 
            rgba(0, 255, 0, 0.03) 4px),
        repeating-linear-gradient(90deg, 
            transparent, 
            transparent 2px, 
            rgba(0, 255, 0, 0.03) 2px, 
            rgba(0, 255, 0, 0.03) 4px);
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes pulse {
    0% { 
        background-color: rgba(255, 0, 128, 0.1);
        box-shadow: 0 0 5px #ff0080;
    }
    50% { 
        background-color: rgba(255, 0, 128, 0.3);
        box-shadow: 0 0 20px #ff0080;
    }
    100% { 
        background-color: rgba(255, 0, 128, 0.1);
        box-shadow: 0 0 5px #ff0080;
    }
}

@keyframes glow {
    0% { opacity: 0.5; }
    100% { opacity: 1; }
}

@media (max-width: 768px) {
    .ascii-art {
        font-size: 6px;
    }
    
    .title {
        font-size: 32px;
    }
    
    .goals-grid {
        grid-template-columns: 1fr;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .goal-box, .challenge-box, .pixel-border {
        padding: 20px;
    }
    
    .cipher-text {
        font-size: 14px;
        letter-spacing: 2px;
    }
}

@media (max-width: 480px) {
    .ascii-art {
        font-size: 4px;
    }
    
    .title {
        font-size: 24px;
    }
    
    .container {
        padding: 10px;
    }
}