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

:root {
    --primary-cyan: #00d4ff;
    --secondary-cyan: #00a8cc;
    --dark-blue: #0a1628;
    --darker-blue: #050b14;
    --accent-purple: #9d4edd;
    --glow-cyan: rgba(0, 212, 255, 0.5);
}

body {
    font-family: 'Rajdhani', sans-serif;
    background: linear-gradient(135deg, var(--darker-blue) 0%, var(--dark-blue) 50%, #1a0a2e 100%);
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
}

#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 2;
    pointer-events: none;
    animation: gridMove 20s linear infinite;
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

.container {
    position: relative;
    z-index: 3;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.glitch-wrapper {
    margin-bottom: 3rem;
    animation: fadeInDown 1s ease-out;
}

.logo-container {
    position: relative;
    width: 100%;
    max-width: 600px;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.logo {
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 30px var(--glow-cyan));
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 20px var(--glow-cyan));
    }
    to {
        filter: drop-shadow(0 0 40px var(--glow-cyan)) drop-shadow(0 0 60px rgba(0, 212, 255, 0.3));
    }
}


.content {
    text-align: center;
    max-width: 900px;
}

.main-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(2rem, 6vw, 4.5rem);
    font-weight: 900;
    margin-bottom: 2rem;
    letter-spacing: 0.1em;
    line-height: 1.2;
    position: relative;
}

.title-word {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    position: relative;
}

.glitch {
    animation: glitchSkew 1s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-cyan) 0%, var(--accent-purple) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch::before {
    left: 3px;
    text-shadow: -3px 0 #00d4ff;
    clip: rect(24px, 9999px, 90px, 0);
    animation: glitch-anim-1 2s infinite linear alternate-reverse;
}

.glitch::after {
    left: -3px;
    text-shadow: -3px 0 #9d4edd, 2px 2px #ff00de;
    clip: rect(85px, 9999px, 140px, 0);
    animation: glitch-anim-2 2.3s infinite linear alternate-reverse;
}

@keyframes glitchSkew {
    0% {
        transform: skew(0deg);
    }
    10% {
        transform: skew(-2deg);
    }
    20% {
        transform: skew(2deg);
    }
    30% {
        transform: skew(-1deg);
    }
    40% {
        transform: skew(1deg);
    }
    50% {
        transform: skew(0deg);
    }
    60% {
        transform: skew(0.5deg);
    }
    70% {
        transform: skew(-0.5deg);
    }
    80% {
        transform: skew(0deg);
    }
    90% {
        transform: skew(0deg);
    }
    100% {
        transform: skew(0deg);
    }
}

@keyframes glitch-anim-1 {
    0% { clip: rect(42px, 9999px, 44px, 0); }
    5% { clip: rect(12px, 9999px, 59px, 0); }
    10% { clip: rect(48px, 9999px, 29px, 0); }
    15% { clip: rect(18px, 9999px, 83px, 0); }
    20% { clip: rect(76px, 9999px, 34px, 0); }
    25% { clip: rect(25px, 9999px, 68px, 0); }
    30% { clip: rect(61px, 9999px, 15px, 0); }
    35% { clip: rect(34px, 9999px, 93px, 0); }
    40% { clip: rect(80px, 9999px, 22px, 0); }
    45% { clip: rect(5px, 9999px, 56px, 0); }
    50% { clip: rect(67px, 9999px, 47px, 0); }
    55% { clip: rect(29px, 9999px, 74px, 0); }
    60% { clip: rect(53px, 9999px, 11px, 0); }
    65% { clip: rect(71px, 9999px, 88px, 0); }
    70% { clip: rect(16px, 9999px, 62px, 0); }
    75% { clip: rect(44px, 9999px, 37px, 0); }
    80% { clip: rect(85px, 9999px, 19px, 0); }
    85% { clip: rect(9px, 9999px, 71px, 0); }
    90% { clip: rect(58px, 9999px, 25px, 0); }
    95% { clip: rect(22px, 9999px, 66px, 0); }
    100% { clip: rect(39px, 9999px, 51px, 0); }
}

@keyframes glitch-anim-2 {
    0% { clip: rect(65px, 9999px, 119px, 0); }
    5% { clip: rect(144px, 9999px, 29px, 0); }
    10% { clip: rect(92px, 9999px, 8px, 0); }
    15% { clip: rect(71px, 9999px, 34px, 0); }
    20% { clip: rect(36px, 9999px, 117px, 0); }
    25% { clip: rect(115px, 9999px, 73px, 0); }
    30% { clip: rect(18px, 9999px, 140px, 0); }
    35% { clip: rect(98px, 9999px, 51px, 0); }
    40% { clip: rect(5px, 9999px, 88px, 0); }
    45% { clip: rect(127px, 9999px, 16px, 0); }
    50% { clip: rect(42px, 9999px, 105px, 0); }
    55% { clip: rect(89px, 9999px, 62px, 0); }
    60% { clip: rect(23px, 9999px, 133px, 0); }
    65% { clip: rect(110px, 9999px, 45px, 0); }
    70% { clip: rect(58px, 9999px, 97px, 0); }
    75% { clip: rect(76px, 9999px, 11px, 0); }
    80% { clip: rect(31px, 9999px, 122px, 0); }
    85% { clip: rect(103px, 9999px, 54px, 0); }
    90% { clip: rect(14px, 9999px, 81px, 0); }
    95% { clip: rect(95px, 9999px, 38px, 0); }
    100% { clip: rect(50px, 9999px, 112px, 0); }
}

.word-1 {
    animation-delay: 0s;
}

.word-2 {
    animation-delay: 0.5s;
    margin-left: 1rem;
}

@keyframes titleGlow {
    0%, 100% {
        filter: drop-shadow(0 0 10px var(--glow-cyan));
        transform: translateY(0);
    }
    50% {
        filter: drop-shadow(0 0 25px var(--glow-cyan));
        transform: translateY(-5px);
    }
}

.subtitle-container {
    margin-bottom: 3rem;
    animation: fadeIn 1s ease-out 0.5s both;
}

.subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.5rem, 4vw, 3rem);
    font-weight: 700;
    color: var(--primary-cyan);
    text-transform: uppercase;
    letter-spacing: 0.15em;
    position: relative;
    display: inline-block;
}

.subtitle-text {
    display: inline-block;
    animation: slideInRight 1s ease-out 0.8s both;
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--primary-cyan);
    font-weight: 400;
}

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

@keyframes slideInRight {
    from {
        transform: translateX(-50px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.description {
    margin-bottom: 4rem;
    animation: fadeIn 1s ease-out 1s both;
}

.desc-line {
    font-size: clamp(1rem, 2vw, 1.3rem);
    font-weight: 300;
    color: rgba(255, 255, 255, 0.8);
    margin: 0.5rem 0;
    letter-spacing: 0.05em;
    animation: fadeInUp 1s ease-out both;
}

.desc-line:first-child {
    animation-delay: 1.2s;
}

.desc-line:last-child {
    animation-delay: 1.4s;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.loader-container {
    margin: 3rem auto;
    max-width: 500px;
    animation: fadeIn 1s ease-out 1.6s both;
}

.loader {
    width: 100%;
    height: 4px;
    background: rgba(0, 212, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.2);
}

.loader-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--primary-cyan), var(--accent-purple), var(--primary-cyan));
    background-size: 200% 100%;
    border-radius: 10px;
    animation: loading 2s ease-in-out infinite, shimmer 2s linear infinite;
    box-shadow: 0 0 20px var(--glow-cyan);
}

@keyframes loading {
    0%, 100% { width: 0%; margin-left: 0%; }
    50% { width: 100%; margin-left: 0%; }
    100% { width: 0%; margin-left: 100%; }
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.loader-text {
    margin-top: 1rem;
    font-size: 1rem;
    color: var(--primary-cyan);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    font-weight: 600;
}

.terminal-container {
    margin-top: 2rem;
    max-width: 750px;
    margin-left: auto;
    margin-right: auto;
    background: linear-gradient(135deg, rgba(10, 22, 40, 0.95), rgba(5, 11, 20, 0.95));
    border: 2px solid var(--primary-cyan);
    border-radius: 12px;
    box-shadow: 
        0 0 40px rgba(0, 212, 255, 0.3),
        0 0 80px rgba(0, 212, 255, 0.15),
        inset 0 0 60px rgba(0, 212, 255, 0.05);
    animation: fadeIn 1s ease-out 1.8s both, terminalGlow 3s ease-in-out infinite;
    backdrop-filter: blur(15px);
    position: relative;
    overflow: hidden;
}

.terminal-container::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--primary-cyan), var(--accent-purple), var(--primary-cyan));
    border-radius: 12px;
    z-index: -1;
    opacity: 0.3;
    filter: blur(10px);
    animation: borderRotate 4s linear infinite;
}

@keyframes terminalGlow {
    0%, 100% {
        box-shadow: 
            0 0 40px rgba(0, 212, 255, 0.3),
            0 0 80px rgba(0, 212, 255, 0.15),
            inset 0 0 60px rgba(0, 212, 255, 0.05);
    }
    50% {
        box-shadow: 
            0 0 60px rgba(0, 212, 255, 0.5),
            0 0 100px rgba(0, 212, 255, 0.25),
            inset 0 0 80px rgba(0, 212, 255, 0.1);
    }
}

@keyframes borderRotate {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

.terminal-header {
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.15), rgba(157, 78, 221, 0.1));
    padding: 0.85rem 1.2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 2px solid var(--primary-cyan);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 2px 10px rgba(0, 212, 255, 0.2);
}

.terminal-title {
    font-family: 'Courier New', monospace;
    color: var(--primary-cyan);
    font-size: 0.95rem;
    font-weight: 700;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.8);
    letter-spacing: 0.05em;
}

.terminal-buttons {
    display: flex;
    gap: 0.5rem;
}

.terminal-buttons span {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    display: inline-block;
    cursor: pointer;
    transition: all 0.3s ease;
}

.terminal-buttons span:hover {
    transform: scale(1.2);
}

.btn-close {
    background: #ff5f56;
    box-shadow: 0 0 8px #ff5f56, 0 0 15px rgba(255, 95, 86, 0.5);
    animation: buttonPulse 2s ease-in-out infinite;
}

.btn-min {
    background: #ffbd2e;
    box-shadow: 0 0 8px #ffbd2e, 0 0 15px rgba(255, 189, 46, 0.5);
    animation: buttonPulse 2s ease-in-out infinite 0.3s;
}

.btn-max {
    background: #27c93f;
    box-shadow: 0 0 8px #27c93f, 0 0 15px rgba(39, 201, 63, 0.5);
    animation: buttonPulse 2s ease-in-out infinite 0.6s;
}

@keyframes buttonPulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.7;
    }
}

.terminal-body {
    padding: 1.5rem;
    min-height: 220px;
    max-height: 320px;
    overflow-y: auto;
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    line-height: 1.7;
    color: #00ff00;
    background: rgba(0, 0, 0, 0.3);
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.5);
}

#terminal-output {
    margin-bottom: 0.5rem;
}

.terminal-line {
    margin: 0.25rem 0;
    animation: terminalType 0.05s steps(1);
}

.terminal-line.info {
    color: var(--primary-cyan);
}

.terminal-line.success {
    color: #00ff00;
}

.terminal-line.warning {
    color: #ffbd2e;
}

.terminal-line.error {
    color: #ff5f56;
}

.terminal-cursor {
    display: inline-block;
    color: var(--primary-cyan);
    animation: blink 1s step-end infinite;
}

@keyframes terminalType {
    from { opacity: 0; }
    to { opacity: 1; }
}

.terminal-body::-webkit-scrollbar {
    width: 8px;
}

.terminal-body::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.terminal-body::-webkit-scrollbar-thumb {
    background: var(--primary-cyan);
    border-radius: 4px;
}

.terminal-body::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-cyan);
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .main-title {
        margin-bottom: 1.5rem;
    }
    
    .word-2 {
        margin-left: 0.5rem;
    }
    
    .subtitle-container {
        margin-bottom: 2rem;
    }
    
    .description {
        margin-bottom: 2rem;
    }
    
    .terminal-container {
        margin-top: 2rem;
    }
    
    .terminal-body {
        font-size: 0.75rem;
        padding: 1rem;
    }

    .top-nav {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 0, 0.55);
    backdrop-filter: blur(6px);
    z-index: 9999;
}

.top-nav ul {
    list-style: none;
    margin: 0;
    padding: 0;
    text-align: right;
}

.top-nav ul li {
    display: inline-block;
    margin-right: 25px;
}

.top-nav ul li a {
    font-family: 'Orbitron', sans-serif;
    color: #00eaff;
    text-decoration: none;
    font-size: 18px;
    letter-spacing: 1px;
    transition: 0.3s;
}

.top-nav ul li a:hover {
    color: #ffffff;
    text-shadow: 0 0 10px #00eaff;
}


