/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --terminal-bg: #1e1e1e;
    --terminal-border: #404040;
    --terminal-header: #2d2d2d;
    --primary-green: #00ff41;
    --secondary-green: #00d936;
    --text-white: #f0f0f0;
    --text-gray: #a0a0a0;
    --text-cyan: #00ffff;
    --text-yellow: #ffff00;
    --text-red: #ff4444;
    --prompt-color: #00ff41;
    --font-mono: 'JetBrains Mono', monospace;
    --subtle-glow: 0 0 10px rgba(0, 255, 65, 0.3);
}

html {
    scroll-behavior: smooth;
    height: 100%;
}

body {
    font-family: var(--font-mono);
    background: #0a0a0a;
    color: var(--text-white);
    overflow-x: hidden;
    line-height: 1.6;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

/* Terminal Container */
.terminal-container {
    width: 100%;
    max-width: 1200px;
    height: 90vh;
    background: var(--terminal-bg);
    border: 2px solid var(--terminal-border);
    border-radius: 12px;
    box-shadow: 
        0 0 30px rgba(0, 255, 65, 0.2),
        inset 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    flex-direction: column;
    overflow: hidden;
    position: relative;
}

.terminal-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(0, 255, 65, 0.03) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(0, 255, 65, 0.02) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

/* Terminal Header */
.terminal-header {
    background: var(--terminal-header);
    border-bottom: 1px solid var(--terminal-border);
    padding: 1rem 1.5rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    position: relative;
    z-index: 2;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    display: block;
    transition: all 0.3s ease;
}

.btn.close {
    background: #ff5f57;
}

.btn.minimize {
    background: #ffbd2e;
}

.btn.maximize {
    background: #28ca42;
}

.btn:hover {
    filter: brightness(1.3);
    cursor: pointer;
}

.terminal-title {
    font-size: 0.95rem;
    color: var(--primary-green);
    font-weight: 500;
    text-shadow: var(--subtle-glow);
}

.terminal-info {
    font-size: 0.85rem;
    color: var(--text-gray);
}

/* Terminal Body */
.terminal-body {
    flex: 1;
    padding: 1.5rem;
    overflow-y: auto;
    position: relative;
    z-index: 2;
    background: rgba(0, 0, 0, 0.1);
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.2);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: rgba(0, 255, 65, 0.3);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 255, 65, 0.5);
}

/* Terminal Sections */
.terminal-section {
    margin-bottom: 2.5rem;
    opacity: 0;
    animation: fade-in-section 0.8s ease forwards;
}

.terminal-section:nth-child(1) { animation-delay: 0.2s; }
.terminal-section:nth-child(2) { animation-delay: 0.6s; }
.terminal-section:nth-child(3) { animation-delay: 1.0s; }
.terminal-section:nth-child(4) { animation-delay: 1.4s; }
.terminal-section:nth-child(5) { animation-delay: 1.8s; }
.terminal-section:nth-child(6) { animation-delay: 2.2s; }
.terminal-section:nth-child(7) { animation-delay: 2.6s; }

.prompt-line {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.prompt {
    color: var(--prompt-color);
    font-weight: 600;
    text-shadow: var(--subtle-glow);
    user-select: none;
}

.command {
    color: var(--text-white);
    font-weight: 500;
}

.output {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

/* ASCII Art */
.ascii-art {
    font-size: 0.6rem;
    color: var(--primary-green);
    text-shadow: var(--subtle-glow);
    margin-bottom: 1.5rem;
    white-space: pre;
    overflow-x: auto;
}

.welcome-text p {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.welcome-text p:first-child {
    font-size: 1.2rem;
    color: var(--text-white);
    font-weight: 500;
}

/* Status Colors */
.status-green { color: #28ca42; }
.status-cyan { color: var(--text-cyan); }
.status-red { color: var(--text-red); }
.status-yellow { color: var(--text-yellow); }

/* Help Menu */
.help-menu {
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid var(--primary-green);
    padding: 1rem 1.5rem;
    border-radius: 0 8px 8px 0;
}

.help-header {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.help-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.help-item:hover {
    background: rgba(0, 255, 65, 0.1);
}

.cmd {
    color: var(--text-cyan);
    font-weight: 500;
    min-width: 200px;
}

.desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Skills Grid */
.skills-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 1.5rem;
}

.skill-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
    transition: all 0.3s ease;
}

.skill-item:hover {
    border-color: var(--primary-green);
    box-shadow: var(--subtle-glow);
    transform: translateY(-2px);
}

.skill-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.skill-icon {
    font-size: 1.5rem;
}

.skill-name {
    color: var(--text-cyan);
    font-weight: 600;
    flex: 1;
}

.skill-status {
    color: var(--primary-green);
    font-size: 0.8rem;
    background: rgba(0, 255, 65, 0.1);
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
}

.skill-desc {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    line-height: 1.5;
}

.skill-tools {
    color: var(--text-yellow);
    font-size: 0.9rem;
    font-style: italic;
}

/* Stats Display */
.stats-display {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.stat-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.stat-line:hover {
    background: rgba(0, 255, 65, 0.05);
}

.stat-label {
    color: var(--text-gray);
    font-weight: 500;
}

.stat-value {
    color: var(--text-cyan);
    font-weight: 600;
    font-size: 1.1rem;
}

.stat-value-text {
    color: var(--text-white);
    font-weight: 600;
}

.stat-unit {
    color: var(--text-cyan);
    font-weight: 600;
    font-size: 1.1rem;
}

/* Requirements List */
.requirements-list {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.req-header {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
    border-bottom: 1px solid rgba(0, 255, 65, 0.3);
    padding-bottom: 0.5rem;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 0.8rem;
    border-radius: 6px;
    transition: background 0.3s ease;
}

.req-item:hover {
    background: rgba(0, 255, 65, 0.05);
}

.req-check {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
    min-width: 20px;
}

.req-text {
    color: var(--text-gray);
    line-height: 1.4;
}

/* Contact Info */
.contact-info {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.contact-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding: 0.5rem;
}

.contact-label {
    color: var(--text-gray);
    font-weight: 500;
    min-width: 150px;
}

.contact-value {
    color: var(--text-white);
    font-weight: 500;
}

.email-link {
    color: var(--text-cyan);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

.email-link:hover {
    color: var(--primary-green);
    text-shadow: var(--subtle-glow);
}

.warning-box {
    background: rgba(255, 107, 53, 0.1);
    border: 1px solid #ff6b35;
    border-radius: 6px;
    padding: 1rem;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.warning-icon {
    color: #ff6b35;
    font-size: 1.2rem;
}

.warning-text {
    color: #ff6b35;
    font-weight: 500;
}

/* Interactive Section */
.interactive-section {
    border-top: 1px solid rgba(0, 255, 65, 0.2);
    padding-top: 1.5rem;
    margin-top: 2rem;
}

.typing-text {
    color: var(--text-white);
    min-height: 1.2em;
}

.cursor {
    color: var(--primary-green);
    animation: blink 1s step-end infinite;
    font-weight: bold;
}

/* Terminal Footer */
.terminal-footer {
    background: var(--terminal-header);
    border-top: 1px solid var(--terminal-border);
    padding: 0.8rem 1.5rem;
    position: relative;
    z-index: 2;
}

.footer-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.footer-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Animations */
@keyframes fade-in-section {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        padding: 1rem;
    }
    
    .terminal-container {
        height: 95vh;
        border-radius: 8px;
    }
    
    .terminal-header {
        padding: 0.8rem 1rem;
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .terminal-body {
        padding: 1rem;
    }
    
    .ascii-art {
        font-size: 0.4rem;
    }
    
    .skills-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .skill-item {
        padding: 1rem;
    }
    
    .help-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .cmd {
        min-width: auto;
    }
    
    .contact-line,
    .stat-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .footer-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 480px) {
    .terminal-header {
        padding: 0.6rem 0.8rem;
    }
    
    .terminal-body {
        padding: 0.8rem;
    }
    
    .ascii-art {
        font-size: 0.35rem;
        overflow-x: scroll;
    }
    
    .skill-item,
    .stats-display,
    .requirements-list,
    .contact-info {
        padding: 1rem;
    }
    
    .help-menu {
        padding: 0.8rem 1rem;
    }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    position: relative;
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 20% 50%, rgba(0, 255, 65, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 65, 0.05) 0%, transparent 50%);
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 0%, rgba(0, 255, 65, 0.03) 50%, transparent 100%);
    animation: scan-line 4s linear infinite;
    pointer-events: none;
}

.hero-content {
    text-align: center;
    z-index: 2;
    position: relative;
}

.title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 700;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    line-height: 0.9;
}

.title-primary {
    display: block;
    color: var(--text-white);
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3);
    animation: flicker 3s infinite alternate;
}

.title-secondary {
    display: block;
    color: var(--primary-green);
    text-shadow: var(--neon-glow);
    animation: neon-pulse 2s ease-in-out infinite alternate;
}

.subtitle {
    font-size: clamp(1.2rem, 3vw, 2rem);
    font-weight: 300;
    color: var(--text-gray);
    font-family: var(--font-mono);
    margin-bottom: 2rem;
    opacity: 0;
    animation: fade-in-up 1s ease-out 0.5s forwards;
}

.terminal-cursor {
    display: inline-block;
    width: 3px;
    height: 2rem;
    background: var(--primary-green);
    margin-left: 10px;
    animation: blink 1s step-end infinite;
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    opacity: 0;
    animation: fade-in-up 1s ease-out 1s forwards;
}

.scroll-arrow {
    width: 2px;
    height: 3rem;
    background: linear-gradient(to bottom, transparent, var(--primary-green));
    position: relative;
    animation: scroll-bounce 2s ease-in-out infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 5px solid transparent;
    border-right: 5px solid transparent;
    border-top: 8px solid var(--primary-green);
}

.scroll-text {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--text-gray);
    letter-spacing: 0.2em;
    writing-mode: vertical-rl;
    text-orientation: mixed;
}

/* Join Section */
.join-section {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: var(--darker-bg);
    position: relative;
    padding: 2rem;
    overflow: hidden;
    gap: 3rem;
}

.join-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 255, 65, 0.02) 2px,
        rgba(0, 255, 65, 0.02) 4px
    );
    pointer-events: none;
    animation: grid-move 20s linear infinite;
}

/* Terminal Window */
.terminal-window {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    box-shadow: 
        0 0 20px rgba(0, 255, 65, 0.3),
        inset 0 0 20px rgba(0, 255, 65, 0.1);
    max-width: 600px;
    width: 100%;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    animation: terminal-fade-in 1s ease-out 0.5s forwards;
}

.terminal-header {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid var(--primary-green);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px 8px 0 0;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.terminal-btn.close {
    background: #ff5f57;
}

.terminal-btn.minimize {
    background: #ffbd2e;
}

.terminal-btn.maximize {
    background: #28ca42;
}

.terminal-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
}

.terminal-body {
    padding: 1.5rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.6;
}

.terminal-line {
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.terminal-prompt {
    color: var(--primary-green);
    font-weight: 600;
    text-shadow: 0 0 5px var(--primary-green);
}

.terminal-command {
    color: var(--text-white);
}

.terminal-output {
    color: #888;
    margin-left: 2rem;
    margin-bottom: 0.5rem;
    font-style: italic;
}

.terminal-cursor-blink {
    color: var(--primary-green);
    animation: blink 1s step-end infinite;
    font-weight: bold;
}

.typing-effect {
    overflow: hidden;
    border-right: 2px solid var(--primary-green);
    white-space: nowrap;
    animation: typing 3s steps(20, end) infinite;
}

.join-content {
    text-align: center;
    z-index: 2;
    position: relative;
    max-width: 800px;
}

.glitch-wrapper {
    margin-bottom: 3rem;
}

.join-title {
    font-size: clamp(2.5rem, 6vw, 5rem);
    font-weight: 600;
    color: var(--primary-green);
    text-shadow: var(--neon-glow);
    margin-bottom: 2rem;
}

.glitch {
    position: relative;
    display: inline-block;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0040;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #00ffff;
    z-index: -2;
}

.join-message {
    margin-bottom: 3rem;
}

.join-text {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    color: var(--text-white);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.email-container {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.email-box {
    background: rgba(0, 255, 65, 0.1);
    border: 2px solid var(--primary-green);
    border-radius: 10px;
    padding: 2rem 3rem;
    position: relative;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.email-box:hover {
    box-shadow: var(--neon-glow);
    transform: translateY(-5px);
}

.email-label {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--text-gray);
    display: block;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.email-link {
    font-family: var(--font-mono);
    font-size: clamp(1rem, 2vw, 1.4rem);
    color: var(--primary-green);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.email-link:hover {
    text-shadow: var(--neon-glow);
    letter-spacing: 0.05em;
}

.warning-text {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: #ff6b35;
    display: inline-block;
}

.warning-icon {
    margin-right: 0.5rem;
    font-size: 1.1rem;
}

/* Matrix Background Effect */
.matrix-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    opacity: 0.1;
    overflow: hidden;
}

/* Floating Code Snippets */
.floating-code {
    position: absolute;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--primary-green);
    opacity: 0.3;
    pointer-events: none;
    white-space: nowrap;
    animation: float-code 15s linear infinite;
}

/* Binary Rain */
.binary-rain {
    position: absolute;
    top: -100px;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--primary-green);
    opacity: 0.2;
    animation: binary-fall 10s linear infinite;
    pointer-events: none;
}

/* Animations */
@keyframes flicker {
    0%, 19%, 21%, 23%, 25%, 54%, 56%, 100% {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3);
    }
    20%, 24%, 55% {
        text-shadow: none;
    }
}

@keyframes neon-pulse {
    0% {
        text-shadow: 
            0 0 5px var(--primary-green),
            0 0 10px var(--primary-green),
            0 0 15px var(--primary-green);
    }
    100% {
        text-shadow: 
            0 0 10px var(--primary-green),
            0 0 20px var(--primary-green),
            0 0 30px var(--primary-green),
            0 0 40px var(--primary-green);
    }
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

@keyframes fade-in-up {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes scroll-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(10px);
    }
    60% {
        transform: translateY(5px);
    }
}

@keyframes glitch-1 {
    0% {
        transform: translate(0);
        opacity: 0;
    }
    10% {
        transform: translate(-2px, -2px);
        opacity: 1;
    }
    20% {
        transform: translate(-2px, -2px);
        opacity: 1;
    }
    21% {
        transform: translate(-2px, -2px);
        opacity: 0;
    }
    100% {
        transform: translate(0);
        opacity: 0;
    }
}

@keyframes glitch-2 {
    0% {
        transform: translate(0);
        opacity: 0;
    }
    5% {
        transform: translate(2px, 2px);
        opacity: 1;
    }
    15% {
        transform: translate(2px, 2px);
        opacity: 1;
    }
    16% {
        transform: translate(2px, 2px);
        opacity: 0;
    }
    100% {
        transform: translate(0);
        opacity: 0;
    }
}

@keyframes scan-line {
    0% {
        transform: translateX(-100%);
    }
    100% {
        transform: translateX(100%);
    }
}

@keyframes grid-move {
    0% {
        transform: translateY(0);
    }
    100% {
        transform: translateY(20px);
    }
}

@keyframes float-code {
    0% {
        transform: translateX(-100px) translateY(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    90% {
        opacity: 0.3;
    }
    100% {
        transform: translateX(calc(100vw + 100px)) translateY(-50px) rotate(5deg);
        opacity: 0;
    }
}

@keyframes binary-fall {
    0% {
        transform: translateY(-100vh);
        opacity: 0;
    }
    10% {
        opacity: 0.2;
    }
    90% {
        opacity: 0.2;
    }
    100% {
        transform: translateY(100vh);
        opacity: 0;
    }
}

@keyframes terminal-fade-in {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes typing {
    0% {
        width: 0;
    }
    50% {
        width: 100%;
    }
    100% {
        width: 0;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero {
        padding: 2rem 1rem;
    }
    
    .join-section {
        padding: 2rem 1rem;
        gap: 2rem;
    }
    
    .features-section,
    .stats-section,
    .requirements-section,
    .cta-section {
        padding: 3rem 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1.5rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
    
    .stats-terminal,
    .requirements-terminal,
    .cta-terminal {
        padding: 1rem;
    }
    
    .req-terminal-body {
        padding: 1rem;
        font-size: 0.8rem;
    }
    
    .terminal-window {
        margin-bottom: 1rem;
        font-size: 0.8rem;
    }
    
    .terminal-body {
        padding: 1rem;
    }
    
    .terminal-header {
        padding: 0.5rem 1rem;
    }
    
    .email-box {
        padding: 1.5rem 2rem;
        margin: 0 1rem;
    }
    
    .warning-text {
        margin: 2rem 1rem 0;
        text-align: left;
    }
    
    .scroll-text {
        display: none;
    }
}

@media (max-width: 480px) {
    .title {
        line-height: 1;
    }
    
    .terminal-cursor {
        height: 1.5rem;
    }
    
    .features-section,
    .stats-section,
    .requirements-section,
    .cta-section {
        padding: 2rem 1rem;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 1rem;
    }
    
    .stats-terminal,
    .cta-terminal {
        padding: 0.75rem;
        font-size: 0.8rem;
    }
    
    .requirements-terminal {
        margin-bottom: 2rem;
    }
    
    .req-terminal-body {
        padding: 0.75rem;
        font-size: 0.7rem;
        line-height: 1.6;
    }
    
    .req-item {
        padding: 0.75rem;
        font-size: 0.9rem;
    }
    
    .terminal-window {
        font-size: 0.7rem;
    }
    
    .terminal-body {
        padding: 0.75rem;
    }
    
    .terminal-line {
        flex-wrap: wrap;
    }
    
    .email-box {
        padding: 1rem 1.5rem;
    }
}

/* Preload optimization */
.hero-content,
.join-content {
    will-change: transform;
}

/* Performance optimizations */
* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

img {
    max-width: 100%;
    height: auto;
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    background: var(--dark-bg);
    position: relative;
}

.features-content {
    max-width: 1200px;
    margin: 0 auto;
}

.features-title {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: var(--neon-glow);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.6);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 10px;
    padding: 2rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(10px);
}

.feature-card:hover {
    border-color: var(--primary-green);
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.3);
    transform: translateY(-5px);
}

.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    display: block;
}

.feature-title {
    font-size: 1.3rem;
    color: var(--text-white);
    margin-bottom: 1rem;
    font-weight: 600;
}

.feature-desc {
    color: var(--text-gray);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.feature-code {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary-green);
    background: rgba(0, 255, 65, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 5px;
    border-left: 3px solid var(--primary-green);
}

/* Stats Section */
.stats-section {
    padding: 5rem 2rem;
    background: var(--darker-bg);
    position: relative;
}

.stats-content {
    max-width: 1000px;
    margin: 0 auto;
    text-align: center;
}

.stats-title {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-green);
    margin-bottom: 4rem;
    text-shadow: var(--neon-glow);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-family: var(--font-mono);
    font-size: clamp(2.5rem, 5vw, 4rem);
    color: var(--primary-green);
    font-weight: 700;
    display: block;
    text-shadow: var(--neon-glow);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: var(--text-gray);
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.stats-terminal {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    padding: 2rem;
    font-family: var(--font-mono);
    text-align: left;
    max-width: 600px;
    margin: 0 auto;
}

.stats-terminal-header {
    margin-bottom: 1rem;
}

.stats-prompt {
    color: var(--primary-green);
    font-weight: 600;
}

.stats-command {
    color: var(--text-white);
}

.stats-output {
    border-left: 2px solid var(--primary-green);
    padding-left: 1rem;
}

.stats-line {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.status-active { color: #28ca42; }
.status-classified { color: #ff6b35; }
.status-time { color: var(--primary-green); }
.status-legendary { color: #ffd700; }

/* Requirements Section */
.requirements-section {
    padding: 5rem 2rem;
    background: var(--dark-bg);
}

.requirements-content {
    max-width: 1000px;
    margin: 0 auto;
}

.requirements-title {
    font-family: var(--font-mono);
    font-size: clamp(2rem, 4vw, 3rem);
    color: var(--primary-green);
    text-align: center;
    margin-bottom: 4rem;
    text-shadow: var(--neon-glow);
}

.requirements-terminal {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    margin-bottom: 3rem;
    box-shadow: 0 0 20px rgba(0, 255, 65, 0.2);
}

.req-terminal-header {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-bottom: 1px solid var(--primary-green);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    border-radius: 8px 8px 0 0;
}

.req-terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.req-terminal-btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: block;
}

.req-terminal-btn.close { background: #ff5f57; }
.req-terminal-btn.minimize { background: #ffbd2e; }
.req-terminal-btn.maximize { background: #28ca42; }

.req-terminal-title {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--primary-green);
    font-weight: 600;
}

.req-terminal-body {
    padding: 2rem;
    font-family: var(--font-mono);
    font-size: 0.9rem;
    line-height: 1.8;
}

.req-line {
    margin-bottom: 0.3rem;
}

.req-comment { color: #888; }
.req-keyword { color: #ff6b35; font-weight: 600; }
.req-condition { color: var(--text-white); }
.req-string { color: #ffd700; }
.req-indent { margin-left: 2rem; color: var(--text-white); }

.requirements-list {
    display: grid;
    gap: 1rem;
    max-width: 600px;
    margin: 0 auto;
}

.req-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid var(--primary-green);
    border-radius: 0 5px 5px 0;
}

.req-check {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.req-text {
    color: var(--text-white);
    font-size: 1rem;
}

/* CTA Section */
.cta-section {
    padding: 5rem 2rem;
    background: var(--darker-bg);
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-terminal {
    background: rgba(0, 0, 0, 0.9);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    padding: 2rem;
    font-family: var(--font-mono);
    text-align: left;
    box-shadow: 0 0 30px rgba(0, 255, 65, 0.3);
}

.cta-output {
    margin-bottom: 0.5rem;
}

.cta-result {
    color: var(--text-gray);
    margin: 1rem 0 2rem 2rem;
    font-style: italic;
}

.cta-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.cta-prompt {
    color: var(--primary-green);
    font-weight: 600;
}

.cta-command {
    color: var(--text-white);
}

.cta-cursor {
    color: var(--primary-green);
    animation: blink 1s step-end infinite;
}

/* IRC Guide Specific Styles */
.irc-intro {
    background: rgba(0, 255, 65, 0.05);
    border-left: 3px solid var(--primary-green);
    padding: 1.5rem;
    border-radius: 0 8px 8px 0;
    margin-bottom: 1rem;
}

.irc-title {
    color: var(--primary-green);
    font-size: 1.5rem;
    margin-bottom: 1rem;
    text-shadow: var(--subtle-glow);
}

.irc-desc {
    color: var(--text-gray);
    font-size: 1.1rem;
    margin-bottom: 1.5rem;
}

.step-section {
    margin-bottom: 2rem;
}

.step-title {
    color: var(--text-cyan);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    border-bottom: 1px solid rgba(0, 255, 255, 0.3);
    padding-bottom: 0.5rem;
}

/* Client Grid */
.client-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.client-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.client-header {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-bottom: 1rem;
    color: var(--text-white);
    font-weight: 600;
}

.client-icon {
    font-size: 1.3rem;
}

.client-option {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 6px;
}

.client-cmd {
    font-size: 0.9rem;
    color: var(--text-yellow);
    margin-top: 0.3rem;
    font-style: italic;
}

/* Connection Info */
.connection-info {
    display: grid;
    gap: 2rem;
    margin-bottom: 2rem;
}

.info-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.info-header {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.info-line {
    display: flex;
    justify-content: space-between;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.info-line:hover {
    background: rgba(0, 255, 65, 0.05);
}

.info-label {
    color: var(--text-gray);
    font-weight: 500;
}

.info-value {
    color: var(--text-white);
    font-weight: 600;
}

.command-examples {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.cmd-header {
    color: var(--text-cyan);
    font-weight: 600;
    margin-bottom: 1rem;
}

.cmd-example {
    margin-bottom: 1rem;
    padding: 0.8rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 6px;
}

.cmd-label {
    color: var(--text-gray);
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.cmd-code {
    color: var(--text-yellow);
    font-weight: 500;
    background: rgba(0, 0, 0, 0.3);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 2px solid var(--text-yellow);
}

/* Registration Steps */
.registration-steps {
    display: grid;
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.reg-step {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    transition: all 0.3s ease;
}

.reg-step:hover {
    border-color: var(--primary-green);
    transform: translateX(5px);
}

.reg-number {
    background: var(--primary-green);
    color: #000;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    flex-shrink: 0;
}

.reg-content {
    flex: 1;
}

.reg-title {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.reg-cmd {
    color: var(--text-yellow);
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 4px;
    margin: 0.5rem 0;
    border-left: 2px solid var(--text-yellow);
}

.reg-note {
    color: var(--text-gray);
    font-size: 0.9rem;
    font-style: italic;
}

.important-note {
    background: rgba(255, 255, 0, 0.1);
    border: 1px solid var(--text-yellow);
    border-radius: 8px;
    padding: 1.5rem;
    margin-top: 2rem;
}

.note-header {
    color: var(--text-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
}

.note-cmd {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    background: rgba(255, 255, 0, 0.05);
    border-radius: 4px;
}

.cmd-name {
    color: var(--text-yellow);
    font-weight: 500;
}

.cmd-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Channel Information */
.channels-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.channel-basics,
.channel-types {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(0, 255, 65, 0.2);
    border-radius: 8px;
    padding: 1.5rem;
}

.basics-header,
.types-header {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.basic-item,
.type-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.basic-item:hover,
.type-item:hover {
    background: rgba(0, 255, 65, 0.05);
}

.basic-cmd {
    color: var(--text-cyan);
    font-weight: 500;
}

.basic-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

.type-symbol {
    color: var(--primary-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.type-desc {
    color: var(--text-gray);
    font-size: 0.9rem;
}

/* Shadow Brokers Specific */
.shadowbrokers-info {
    display: grid;
    gap: 2rem;
}

.sb-warning {
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid var(--text-red);
    border-radius: 8px;
    padding: 1.5rem;
}

.warning-header {
    color: var(--text-red);
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.warning-content p {
    color: var(--text-white);
    margin-bottom: 1rem;
}

.warning-list {
    list-style: none;
    padding: 0;
}

.warning-list li {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.warning-list li::before {
    content: "•";
    color: var(--text-red);
    position: absolute;
    left: 0;
}

.access-process {
    background: rgba(0, 255, 65, 0.05);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    padding: 1.5rem;
}

.process-header {
    color: var(--primary-green);
    font-weight: 600;
    margin-bottom: 1rem;
}

.process-step {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 65, 0.05);
    border-radius: 6px;
}

.process-num {
    background: var(--primary-green);
    color: #000;
    width: 25px;
    height: 25px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 0.9rem;
}

.process-text {
    color: var(--text-white);
}

.email-highlight {
    color: var(--text-cyan);
    font-weight: 600;
}

.channel-rules {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 255, 65, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.rules-header {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1rem;
}

.rule-item {
    color: var(--text-gray);
    margin-bottom: 0.8rem;
    padding: 0.5rem;
    border-radius: 4px;
    transition: background 0.3s ease;
}

.rule-item:hover {
    background: rgba(0, 255, 65, 0.05);
}

/* Troubleshooting */
.troubleshooting {
    display: grid;
    gap: 1.5rem;
}

.trouble-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 0, 0.3);
    border-radius: 8px;
    padding: 1.5rem;
}

.trouble-problem {
    color: var(--text-yellow);
    font-weight: 600;
    margin-bottom: 1rem;
}

.solution-text {
    color: var(--text-gray);
    margin-bottom: 0.5rem;
}

.solution-cmd {
    color: var(--text-cyan);
    font-family: var(--font-mono);
    background: rgba(0, 0, 0, 0.5);
    padding: 0.5rem;
    border-radius: 4px;
    border-left: 2px solid var(--text-cyan);
}

/* Completion Message */
.completion-message {
    background: rgba(0, 255, 65, 0.1);
    border: 1px solid var(--primary-green);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
}

.completion-header {
    color: var(--primary-green);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.completion-text p {
    color: var(--text-white);
    margin-bottom: 0.8rem;
}

.final-contact {
    margin-top: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 6px;
    padding: 1rem;
}

.contact-header {
    color: var(--text-cyan);
    font-weight: 600;
    margin-bottom: 0.8rem;
}

.contact-item {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-bottom: 0.5rem;
}

.contact-label {
    color: var(--text-gray);
}

.contact-value {
    color: var(--text-white);
    font-weight: 500;
}

/* Mobile Responsive for IRC Guide */
@media (max-width: 768px) {
    .client-grid {
        grid-template-columns: 1fr;
    }
    
    .channels-info {
        grid-template-columns: 1fr;
    }
    
    .reg-step {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .note-cmd,
    .basic-item,
    .type-item,
    .info-line {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.3rem;
    }
    
    .contact-item {
        flex-direction: column;
        gap: 0.3rem;
    }
}
