* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Orbitron', monospace;
    background: #000;
    color: #00ff00;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

/* Matrix Rain Background */
#matrix {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    opacity: 0.1;
}

/* Glitch Overlay */
.glitch-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        45deg,
        transparent 49%,
        rgba(0, 255, 0, 0.03) 50%,
        transparent 51%
    );
    z-index: -1;
    animation: glitchOverlay 3s infinite;
}

@keyframes glitchOverlay {
    0%, 100% { transform: translateX(0); }
    20% { transform: translateX(-2px); }
    40% { transform: translateX(2px); }
    60% { transform: translateX(-1px); }
    80% { transform: translateX(1px); }
}

/* Container */
.container {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

/* Circuit Lines */
.circuit-lines {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.line {
    position: absolute;
    background: linear-gradient(90deg, transparent, #00ff00, transparent);
    opacity: 0.3;
}

.line-1 {
    width: 100%;
    height: 2px;
    top: 20%;
    animation: slideRight 4s infinite;
}

.line-2 {
    width: 2px;
    height: 100%;
    left: 80%;
    animation: slideDown 3s infinite;
}

.line-3 {
    width: 100%;
    height: 2px;
    bottom: 30%;
    animation: slideLeft 5s infinite;
}

.line-4 {
    width: 2px;
    height: 100%;
    left: 15%;
    animation: slideUp 3.5s infinite;
}

@keyframes slideRight {
    0% { transform: translateX(-100%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(100%); }
}

@keyframes slideLeft {
    0% { transform: translateX(100%); }
    50% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

@keyframes slideDown {
    0% { transform: translateY(-100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(100%); }
}

@keyframes slideUp {
    0% { transform: translateY(100%); }
    50% { transform: translateY(0); }
    100% { transform: translateY(-100%); }
}

/* Terminal */
.terminal {
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid #00ff00;
    border-radius: 10px;
    width: 90%;
    max-width: 600px;
    margin-bottom: 30px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    animation: fadeInUp 1s ease-out;
}

.terminal-header {
    background: #00ff00;
    color: #000;
    padding: 10px 15px;
    display: flex;
    align-items: center;
    border-radius: 8px 8px 0 0;
}

.buttons {
    display: flex;
    gap: 8px;
    margin-right: 15px;
}

.btn {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.btn.red { background: #ff5f56; }
.btn.yellow { background: #ffbd2e; }
.btn.green { background: #27ca3f; }

.title {
    font-family: 'Courier Prime', monospace;
    font-weight: bold;
}

.terminal-body {
    padding: 20px;
    font-family: 'Courier Prime', monospace;
    line-height: 1.6;
}

.terminal-line {
    margin: 8px 0;
    opacity: 0;
    animation: fadeIn 0.5s ease-out forwards;
}

.terminal-line.delay-1 { animation-delay: 1s; }
.terminal-line.delay-2 { animation-delay: 2s; }
.terminal-line.delay-3 { animation-delay: 3s; }

.prompt {
    color: #00ff00;
    margin-right: 10px;
}

.command {
    color: #ffff00;
}

.output {
    color: #ffffff;
    margin-left: 20px;
}

.output.success {
    color: #00ff00;
}

/* Logo Container */
.logo-container {
    text-align: center;
    margin: 40px 0;
    animation: fadeInUp 1.5s ease-out 1s both;
}

.main-title {
    font-size: clamp(3rem, 8vw, 8rem);
    font-weight: 900;
    margin-bottom: 20px;
    text-shadow: 0 0 30px #00ff00;
    position: relative;
}

/* Glitch Effect */
.glitch {
    position: relative;
    color: #00ff00;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: #ff0000;
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: #0000ff;
    z-index: -2;
}

@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); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(-2px, -2px); }
    20% { transform: translate(2px, 2px); }
    30% { transform: translate(-2px, 2px); }
    40% { transform: translate(2px, -2px); }
    50% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    70% { transform: translate(-2px, 2px); }
    80% { transform: translate(2px, -2px); }
    90% { transform: translate(-2px, -2px); }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); }
    10% { transform: translate(2px, 2px); }
    20% { transform: translate(-2px, -2px); }
    30% { transform: translate(2px, -2px); }
    40% { transform: translate(-2px, 2px); }
    50% { transform: translate(2px, 2px); }
    60% { transform: translate(-2px, -2px); }
    70% { transform: translate(2px, -2px); }
    80% { transform: translate(-2px, 2px); }
    90% { transform: translate(2px, 2px); }
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.5rem);
    color: #ffffff;
    font-family: 'Courier Prime', monospace;
}

.bracket {
    color: #00ff00;
    font-weight: bold;
}

.status-text {
    color: #ffff00;
    margin: 0 10px;
}

/* Typing Effect */
.typing-effect {
    border-right: 2px solid #00ff00;
    animation: typing 3s steps(40, end), blink-caret 0.75s step-end infinite;
    white-space: nowrap;
    overflow: hidden;
}

@keyframes typing {
    from { width: 0; }
    to { width: 100%; }
}

@keyframes blink-caret {
    from, to { border-color: transparent; }
    50% { border-color: #00ff00; }
}

/* Status Panel */
.status-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 1px solid #00ff00;
    border-radius: 10px;
    padding: 20px;
    margin: 30px 0;
    min-width: 300px;
    animation: fadeInUp 2s ease-out 1.5s both;
}

.status-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin: 15px 0;
    font-family: 'Courier Prime', monospace;
}

.label {
    color: #00ff00;
    font-weight: bold;
}

.value {
    color: #ffffff;
    display: flex;
    align-items: center;
    gap: 10px;
}

.blink {
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0.3; }
}

/* Progress Bar */
.progress-bar {
    width: 150px;
    height: 10px;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 5px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00ff00, #ffff00);
    width: 87%;
    animation: progressGlow 2s ease-in-out infinite alternate;
}

@keyframes progressGlow {
    0% { box-shadow: 0 0 5px #00ff00; }
    100% { box-shadow: 0 0 15px #00ff00, 0 0 25px #00ff00; }
}

.percentage {
    color: #00ff00;
    font-weight: bold;
}

/* Hexagon Grid */
.hex-grid {
    position: fixed;
    top: 50%;
    right: 10%;
    transform: translateY(-50%);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    z-index: -1;
}

.hexagon {
    width: 60px;
    height: 60px;
    background: transparent;
    border: 2px solid #00ff00;
    position: relative;
    transform: rotate(45deg);
    opacity: 0.3;
    animation: hexRotate 4s linear infinite;
}

.hexagon:nth-child(2) { animation-delay: 0.5s; }
.hexagon:nth-child(3) { animation-delay: 1s; }
.hexagon:nth-child(4) { animation-delay: 1.5s; }
.hexagon:nth-child(5) { animation-delay: 2s; }
.hexagon:nth-child(6) { animation-delay: 2.5s; }

@keyframes hexRotate {
    0% { transform: rotate(45deg) scale(1); }
    50% { transform: rotate(225deg) scale(1.2); }
    100% { transform: rotate(405deg) scale(1); }
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-icon {
    position: absolute;
    color: #00ff00;
    font-family: 'Courier Prime', monospace;
    font-size: 1.5rem;
    opacity: 0.4;
    animation: float 6s ease-in-out infinite;
}

.floating-icon:nth-child(1) {
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.floating-icon:nth-child(2) {
    top: 20%;
    right: 20%;
    animation-delay: 1.5s;
}

.floating-icon:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 3s;
}

.floating-icon:nth-child(4) {
    bottom: 10%;
    right: 10%;
    animation-delay: 4.5s;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-20px) rotate(90deg); }
    50% { transform: translateY(-10px) rotate(180deg); }
    75% { transform: translateY(-30px) rotate(270deg); }
}

/* Social Links */
.social-links {
    display: flex;
    gap: 20px;
    margin: 30px 0;
    animation: fadeInUp 2.5s ease-out 2s both;
}

.social-link {
    color: #00ff00;
    text-decoration: none;
    padding: 10px 15px;
    border: 1px solid #00ff00;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-family: 'Courier Prime', monospace;
}

.social-link:hover {
    background: #00ff00;
    color: #000;
    box-shadow: 0 0 15px #00ff00;
    transform: translateY(-3px);
}

/* Footer */
.footer {
    margin-top: auto;
    padding: 20px;
    text-align: center;
    font-family: 'Courier Prime', monospace;
    animation: fadeIn 3s ease-out 2.5s both;
}

.footer-text {
    color: #666;
    font-size: 0.9rem;
}

.cursor {
    animation: blink 1s infinite;
    color: #00ff00;
}

/* Animations */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 10px;
    }
    
    .terminal {
        width: 95%;
        margin-bottom: 20px;
    }
    
    .terminal-body {
        padding: 15px;
    }
    
    .status-panel {
        min-width: auto;
        width: 90%;
    }
    
    .status-item {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
    
    .progress-bar {
        width: 100px;
    }
    
    .hex-grid {
        right: 5%;
        gap: 15px;
    }
    
    .hexagon {
        width: 40px;
        height: 40px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .floating-icon {
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .terminal-line {
        font-size: 0.85rem;
    }
    
    .status-item {
        font-size: 0.9rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #000;
}

::-webkit-scrollbar-thumb {
    background: #00ff00;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #00cc00;
}
