/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-cyan: #00d4ff;
    --secondary-cyan: #4ecdc4;
    --text-white: #ffffff;
    --bg-dark: rgba(0, 0, 0, 0.85);
    --glow-cyan: rgba(0, 212, 255, 0.6);
    --glow-white: rgba(255, 255, 255, 0.3);
}

body {
    font-family: 'Orbitron', 'Space Grotesk', monospace;
    color: var(--text-white);
    background: #000;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
    font-weight: 600;
}

/* Background Image */
.background-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('assets/QNC.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    z-index: -3;
}

/* Dark Overlay with Grid */
.dark-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        135deg,
        rgba(0, 0, 0, 0.95) 0%,
        rgba(0, 0, 0, 0.9) 25%,
        rgba(0, 0, 0, 0.92) 50%,
        rgba(0, 0, 0, 0.95) 75%,
        rgba(0, 0, 0, 0.98) 100%
    );
    z-index: -2;
}

.grid-pattern {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 212, 255, 0.15) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 212, 255, 0.15) 1px, transparent 1px);
    background-size: 60px 60px;
    opacity: 0.4;
}


/* Main Content */
.main-content {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.container {
    width: 100%;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

/* Left Side - Navigation */
.left-side {
    display: flex;
    flex-direction: column;
    gap: 3rem;
    align-items: flex-start;
}

.nav-text {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-white);
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 3px;
    position: relative;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    text-shadow: 0 0 20px var(--glow-white);
    cursor: pointer;
    filter: drop-shadow(0 0 10px rgba(0, 212, 255, 0.3));
}

.nav-text:hover {
    color: var(--primary-cyan);
    text-shadow: 0 0 40px var(--glow-cyan), 0 0 60px var(--glow-cyan);
    transform: translateX(15px) scale(1.05);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.6));
}

.nav-text::before {
    content: '';
    position: absolute;
    left: -20px;
    top: 50%;
    width: 0;
    height: 2px;
    background: var(--primary-cyan);
    transform: translateY(-50%);
    transition: width 0.3s ease;
}

.nav-text:hover::before {
    width: 15px;
}

/* Right Side - Title */
.right-side {
    display: flex;
    justify-content: flex-end;
    align-items: center;
}

.main-title {
    font-family: 'Orbitron', monospace;
    font-size: 4.5rem;
    font-weight: 800;
    line-height: 0.9;
    text-align: right;
    text-shadow: 0 0 30px var(--glow-white);
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.2));
    position: relative;
}

.title-main {
    display: block;
    color: var(--text-white);
    letter-spacing: 4px;
}

.title-year {
    display: block;
    color: var(--primary-cyan);
    text-shadow: 0 0 40px var(--glow-cyan);
    position: relative;
    background: linear-gradient(45deg, #00d4ff, #4ecdc4, #00d4ff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}


/* Responsive Design */
@media (max-width: 1024px) {
    .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .left-side {
        align-items: center;
        order: 2;
    }
    
    .right-side {
        justify-content: center;
        order: 1;
    }
    
    .main-title {
        text-align: center;
        font-size: 3.5rem;
    }
    
    .nav-text {
        font-size: 2rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 2.8rem;
    }
    
    .nav-text {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .atom-icon {
        width: 50px;
        height: 50px;
        top: 1rem;
        right: 1rem;
    }
    
    .container {
        padding: 0 1rem;
        gap: 2rem;
    }
}

@media (max-width: 480px) {
    .main-title {
        font-size: 2.2rem;
    }
    
    .nav-text {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .left-side {
        gap: 2rem;
    }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 8px;
}

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

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

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

/* Selection Styling */
::selection {
    background: var(--primary-cyan);
    color: white;
}

::-moz-selection {
    background: var(--primary-cyan);
    color: white;
}