/* ===================================
   CAIT - Retro 80s CRT Terminal
   KVA Brand Identity Edition
   =================================== */

/* CSS Variables - KVA Retro Palette */
:root {
    /* KVA Brand Colors with CRT Glow - Enhanced */
    --crt-cyan: #5ac5ff;
    --crt-cyan-bright: #7dd3ff;
    --crt-cyan-dim: #44a7d6;
    --crt-magenta: #9a031e;
    --crt-magenta-bright: #ff0044;
    --crt-magenta-dim: #660010;
    
    /* CRT Monitor Colors - Warmer blacks */
    --screen-black: #0a0e14;
    --screen-dark: #0f1419;
    --monitor-bezel: #1a1a1a;
    --monitor-frame: #2d2d2d;
    
    /* Effects - Enhanced */
    --transition-speed: 0.2s;
    --glow-intensity: 12px;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    min-height: 100%;
    overflow-y: auto;
    overflow-x: hidden;
}

body {
    font-family: 'VT323', monospace;
    background: radial-gradient(circle at center, #1a1a1a 0%, #000000 100%);
    color: var(--crt-cyan);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    perspective: 1000px;
    position: relative;
    min-height: 100vh;
    padding: 2rem 0;
}

/* ===================================
   CRT MONITOR FRAME
   =================================== */

.crt-frame {
    position: relative;
    width: 85vw;
    max-width: 900px;
    height: 85vh;
    max-height: 700px;
    background: linear-gradient(145deg, #3a3a3a, #1a1a1a);
    border-radius: 20px 20px 30px 30px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8),
        inset 0 2px 4px rgba(255, 255, 255, 0.1),
        inset 0 -2px 4px rgba(0, 0, 0, 0.5);
    z-index: 0;
    pointer-events: none;
    margin-bottom: 1rem;
}

.crt-frame::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 40%;
    height: 15px;
    background: linear-gradient(to bottom, #2d2d2d, #1a1a1a);
    border-radius: 8px 8px 0 0;
}

.power-led {
    position: absolute;
    bottom: 15px;
    right: 35px;
    width: 10px;
    height: 10px;
    background: var(--crt-magenta);
    border-radius: 50%;
    box-shadow: 
        0 0 10px var(--crt-magenta),
        0 0 20px var(--crt-magenta-bright),
        0 0 30px rgba(255, 0, 68, 0.5);
    animation: powerLedBlink 4s ease-in-out infinite;
    z-index: 100;
}

@keyframes powerLedBlink {
    0%, 89% { 
        opacity: 1;
        box-shadow: 
            0 0 10px var(--crt-magenta),
            0 0 20px var(--crt-magenta-bright),
            0 0 30px rgba(255, 0, 68, 0.5);
    }
    90%, 91% { 
        opacity: 0.4;
        box-shadow: 
            0 0 5px var(--crt-magenta),
            0 0 10px var(--crt-magenta-bright);
    }
    92%, 93% { 
        opacity: 1;
        box-shadow: 
            0 0 10px var(--crt-magenta),
            0 0 20px var(--crt-magenta-bright),
            0 0 30px rgba(255, 0, 68, 0.5);
    }
    94%, 95% { 
        opacity: 0.2;
    }
    96%, 100% { 
        opacity: 1;
        box-shadow: 
            0 0 10px var(--crt-magenta),
            0 0 20px var(--crt-magenta-bright),
            0 0 30px rgba(255, 0, 68, 0.5);
    }
}

/* ===================================
   CRT SCREEN CONTAINER
   =================================== */

.crt-screen {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 80vw;
    max-width: 850px;
    height: 77vh;
    margin-top: -36px;
    max-height: 650px;
    background: var(--screen-black);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 
        inset 0 0 100px rgba(68, 167, 214, 0.1),
        inset 0 0 50px rgba(154, 3, 30, 0.05);
    z-index: 1;
}

/* CRT Screen Curvature Effect - Reduced for better visibility */
.crt-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(0, 0, 0, 0.4) 100%);
    pointer-events: none;
    z-index: 10;
}

/* Chromatic Aberration Effect */
.crt-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 11;
    background: 
        linear-gradient(90deg, 
            rgba(255, 0, 68, 0.03) 0%, 
            transparent 50%, 
            rgba(90, 197, 255, 0.03) 100%);
    animation: chromaticShift 6s ease-in-out infinite;
}

@keyframes chromaticShift {
    0%, 100% {
        opacity: 0.5;
        transform: translateX(0);
    }
    50% {
        opacity: 0.8;
        transform: translateX(1px);
    }
}

/* ===================================
   SCANLINES EFFECT - Enhanced
   =================================== */

.scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 200%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.25) 0px,
        rgba(0, 0, 0, 0.25) 1px,
        transparent 1px,
        transparent 3px
    );
    pointer-events: none;
    z-index: 9;
    animation: scanlineMove 12s linear infinite;
}

@keyframes scanlineMove {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

/* Static Noise Overlay */
.scanlines::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100"><filter id="noise"><feTurbulence baseFrequency="0.9" /></filter><rect width="100" height="100" filter="url(%23noise)" opacity="0.05"/></svg>');
    background-size: 100px 100px;
    opacity: 0.4;
    animation: staticNoise 0.2s steps(4) infinite;
}

@keyframes staticNoise {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-5%, -5%); }
    50% { transform: translate(-10%, 5%); }
    75% { transform: translate(5%, -10%); }
    100% { transform: translate(0, 0); }
}

/* ===================================
   SCREEN FLICKER - Enhanced with Phosphor Glow
   =================================== */

.screen-flicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(90, 197, 255, 0.03);
    pointer-events: none;
    z-index: 8;
    animation: flicker 0.15s infinite alternate;
}

@keyframes flicker {
    0% { opacity: 1; }
    25% { opacity: 0.97; }
    50% { opacity: 0.94; }
    75% { opacity: 0.98; }
    100% { opacity: 1; }
}

/* Phosphor Glow Layer */
.screen-flicker::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, 
        rgba(90, 197, 255, 0.1) 0%, 
        transparent 60%);
    animation: phosphorPulse 3s ease-in-out infinite;
}

@keyframes phosphorPulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 0.8; }
}

/* ===================================
   GAME CONTAINER
   =================================== */

#game-container {
    max-width: 100%;
    width: 100%;
    height: 100%;
    padding: 3rem 2rem 2rem 2rem;
    margin: 0 auto;
    position: relative;
    overflow-y: auto;
    overflow-x: hidden;
    z-index: 2;
    display: flex;
    flex-direction: column;
}

/* Custom Scrollbar - CRT Style */
#game-container::-webkit-scrollbar {
    width: 8px;
}

#game-container::-webkit-scrollbar-track {
    background: var(--screen-dark);
}

#game-container::-webkit-scrollbar-thumb {
    background: var(--crt-cyan-dim);
    box-shadow: 0 0 4px var(--crt-cyan);
}

/* ===================================
   HUD - FRAGMENT TRACKER
   =================================== */

#hud {
    position: absolute;
    top: 1.5rem;
    right: 2rem;
    font-size: 1.2rem;
    color: var(--crt-cyan-bright);
    display: flex;
    align-items: center;
    gap: 0.8rem;
    text-shadow: 
        0 0 5px var(--crt-cyan),
        0 0 10px var(--crt-cyan);
    animation: textGlow 2s ease-in-out infinite;
}

.fragment-label {
    font-size: 1rem;
    letter-spacing: 2px;
}

#fragment-display {
    font-size: 1.5rem;
    letter-spacing: 0.5rem;
    color: var(--crt-magenta);
    text-shadow: 
        0 0 8px var(--crt-magenta),
        0 0 15px var(--crt-magenta-bright);
}

@keyframes textGlow {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.85; }
}

/* ===================================
   OUTPUT AREA
   =================================== */

#output {
    min-height: 200px;
    margin-bottom: 1.5rem;
    font-size: 1.4rem;
    line-height: 1.6;
    padding-top: 3rem;
    color: var(--crt-cyan);
    text-shadow: 
        0 0 5px var(--crt-cyan),
        0 0 10px var(--crt-cyan-bright),
        0 0 15px rgba(90, 197, 255, 0.4);
    letter-spacing: 1px;
    flex-shrink: 0;
}

/* ===================================
   TYPEWRITER EFFECT
   =================================== */

.typewriter-cursor::after {
    content: '█';
    animation: cursorBlink 0.8s step-end infinite;
    color: var(--crt-magenta);
    text-shadow: 
        0 0 8px var(--crt-magenta),
        0 0 15px var(--crt-magenta-bright);
}

@keyframes cursorBlink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* ===================================
   GLITCH EFFECT
   =================================== */

.glitch {
    position: relative;
    display: inline-block;
    animation: glitchAnim 0.3s ease-in-out;
}

@keyframes glitchAnim {
    0% { 
        transform: translate(0);
        text-shadow: 
            0 0 3px var(--crt-cyan),
            2px 0 3px var(--crt-magenta),
            -2px 0 3px var(--crt-cyan-bright);
    }
    20% { 
        transform: translate(-3px, 2px);
        text-shadow: 
            0 0 5px var(--crt-cyan),
            4px 0 5px var(--crt-magenta),
            -4px 0 5px var(--crt-cyan-bright);
    }
    40% { 
        transform: translate(3px, -2px);
    }
    60% { 
        transform: translate(-2px, 3px);
    }
    80% { 
        transform: translate(2px, -3px);
    }
    100% { 
        transform: translate(0);
        text-shadow: 
            0 0 3px var(--crt-cyan);
    }
}

/* ===================================
   CHOICES CONTAINER
   =================================== */

#choices {
    margin-bottom: 1.5rem;
    opacity: 0;
    transition: opacity 0.5s ease-in;
    flex-shrink: 0;
}

#choices.visible {
    opacity: 1;
}

.choice-btn {
    display: block;
    width: 100%;
    padding: 1.2rem;
    margin-bottom: 1rem;
    background-color: transparent;
    border: 2px solid var(--crt-cyan);
    color: var(--crt-cyan);
    font-family: 'VT323', monospace;
    font-size: 1.3rem;
    text-align: left;
    cursor: pointer;
    transition: all var(--transition-speed);
    position: relative;
    overflow: hidden;
    letter-spacing: 1px;
    text-shadow: 0 0 2px var(--crt-cyan);
    box-shadow: 
        inset 0 0 20px rgba(68, 167, 214, 0.1),
        0 0 10px rgba(68, 167, 214, 0.2);
}

.choice-btn::before {
    content: '▸ ';
    color: var(--crt-magenta);
    text-shadow: 0 0 8px var(--crt-magenta);
}

.choice-btn::after {
    content: '';
    position: absolute;
    left: -100%;
    top: 0;
    height: 100%;
    width: 100%;
    background: linear-gradient(90deg, 
        transparent,
        rgba(68, 167, 214, 0.3),
        transparent
    );
    transition: left 0.5s;
}

.choice-btn:hover::after,
.choice-btn:focus::after {
    left: 100%;
}

.choice-btn:hover,
.choice-btn:focus {
    border-color: var(--crt-magenta);
    color: var(--crt-magenta-bright);
    text-shadow: 
        0 0 5px var(--crt-magenta),
        0 0 10px var(--crt-magenta-bright);
    box-shadow: 
        inset 0 0 30px rgba(154, 3, 30, 0.2),
        0 0 20px rgba(154, 3, 30, 0.5);
    transform: translateX(8px);
}

.choice-btn:active {
    transform: translateX(8px) scale(0.98);
}

/* ===================================
   CONTROLS
   =================================== */

#controls {
    position: absolute;
    top: 1.5rem;
    left: 2rem;
    display: flex;
    gap: 0.5rem;
    z-index: 100;
}

.control-btn {
    padding: 0.4rem 0.8rem;
    background-color: rgba(68, 167, 214, 0.05);
    border: 1px solid var(--crt-cyan-dim);
    color: var(--crt-cyan);
    font-family: 'VT323', monospace;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all var(--transition-speed);
    letter-spacing: 1px;
    text-shadow: 0 0 2px var(--crt-cyan);
    box-shadow: 0 0 5px rgba(68, 167, 214, 0.1);
    opacity: 0.6;
}

.control-btn:hover,
.control-btn:focus {
    border-color: var(--crt-magenta);
    color: var(--crt-magenta-bright);
    background-color: rgba(154, 3, 30, 0.15);
    text-shadow: 
        0 0 4px var(--crt-magenta),
        0 0 8px var(--crt-magenta-bright);
    box-shadow: 0 0 10px rgba(154, 3, 30, 0.3);
    opacity: 1;
    transform: translateY(-1px);
}

.control-btn:active {
    transform: translateY(0);
}

/* ===================================
   SETTINGS PANEL
   =================================== */

#settings-panel {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.95) 0%,
        rgba(10, 10, 10, 0.98) 100%
    );
    border: 3px solid var(--crt-cyan);
    padding: 2.5rem;
    z-index: 1000;
    max-width: 450px;
    width: 90%;
    box-shadow: 
        0 0 30px rgba(68, 167, 214, 0.5),
        inset 0 0 50px rgba(68, 167, 214, 0.1);
}

#settings-panel.hidden {
    display: none;
}

#settings-panel h2 {
    color: var(--crt-magenta-bright);
    margin-bottom: 2rem;
    text-align: center;
    font-size: 2rem;
    letter-spacing: 3px;
    text-shadow: 
        0 0 8px var(--crt-magenta),
        0 0 15px var(--crt-magenta-bright);
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding: 1rem;
    border: 1px solid var(--crt-cyan-dim);
    background: rgba(68, 167, 214, 0.05);
}

.setting-item label {
    font-size: 1.2rem;
    letter-spacing: 1px;
    color: var(--crt-cyan);
    text-shadow: 0 0 3px var(--crt-cyan);
}

.setting-item select,
.setting-item input[type="checkbox"] {
    background-color: var(--screen-dark);
    color: var(--crt-cyan);
    border: 2px solid var(--crt-cyan);
    padding: 0.5rem;
    font-family: 'VT323', monospace;
    font-size: 1.1rem;
    text-shadow: 0 0 2px var(--crt-cyan);
}

.setting-item select {
    cursor: pointer;
}

.setting-item select:focus {
    outline: none;
    border-color: var(--crt-magenta);
    box-shadow: 0 0 10px rgba(154, 3, 30, 0.5);
}

.setting-item input[type="checkbox"] {
    width: 24px;
    height: 24px;
    cursor: pointer;
    accent-color: var(--crt-magenta);
}

#close-settings {
    width: 100%;
    margin-top: 1.5rem;
}

/* ===================================
   UTILITY CLASSES
   =================================== */

.hidden {
    display: none !important;
}

.fade-in {
    animation: fadeIn 1s ease-in;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* ===================================
   FOOTER
   =================================== */

#game-footer {
    text-align: center;
    padding: 1rem;
    color: var(--crt-cyan-dim);
    font-size: 1rem;
    text-shadow: 0 0 3px var(--crt-cyan-dim);
    letter-spacing: 1px;
    position: relative;
    z-index: 10;
    width: 100%;
}

#game-footer p {
    margin: 0;
}

#game-footer a {
    color: var(--crt-cyan);
    text-decoration: none;
    transition: all var(--transition-speed);
    text-shadow: 0 0 3px var(--crt-cyan);
}

#game-footer a:hover,
#game-footer a:focus {
    color: var(--crt-magenta-bright);
    text-shadow: 
        0 0 5px var(--crt-magenta),
        0 0 10px var(--crt-magenta-bright);
}

/* ===================================
   ACCESSIBILITY - REDUCED MOTION
   =================================== */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scanlines {
        animation: none;
    }
    
    .screen-flicker {
        animation: none;
        opacity: 0;
    }
}

/* ===================================
   MOBILE RESPONSIVENESS
   =================================== */

@media (max-width: 768px) {
    .crt-frame {
        width: 95vw;
        height: 95vh;
    }
    
    .crt-screen {
        width: 87vw;
        margin-top: -47px;
    }
    
    #game-container {
        padding: 2rem 1.5rem;
    }

    #output {
        font-size: 1.2rem;
        min-height: 250px;
    }

    #hud {
        font-size: 1rem;
        top: 1rem;
        right: 1rem;
        flex-direction: column;
        align-items: flex-end;
        gap: 0.3rem;
    }
    
    #fragment-display {
        font-size: 1.2rem;
    }

    .choice-btn {
        padding: 1rem;
        font-size: 1.2rem;
    }

    #controls {
        top: 0.8rem;
        left: 1rem;
        gap: 0.4rem;
    }

    .control-btn {
        padding: 0.25rem 0.8rem;
        font-size: 0.85rem;
        opacity: 0.7;
    }

    .control-btn:hover,
    .control-btn:focus {
        opacity: 1;
    }

    #settings-panel {
        padding: 2rem;
        width: 95%;
    }
    
    #settings-panel h2 {
        font-size: 1.6rem;
    }
}

/* Touch Target Enhancement */
@media (hover: none) {
    .choice-btn,
    .control-btn {
        min-height: 48px;
    }
}

/* ===================================
   SPECIAL EFFECTS
   =================================== */

/* Screen Glow Pulse */
@keyframes screenPulse {
    0%, 100% {
        box-shadow: 
            inset 0 0 100px rgba(68, 167, 214, 0.1),
            inset 0 0 50px rgba(154, 3, 30, 0.05);
    }
    50% {
        box-shadow: 
            inset 0 0 120px rgba(68, 167, 214, 0.15),
            inset 0 0 60px rgba(154, 3, 30, 0.08);
    }
}

.crt-screen {
    animation: screenPulse 4s ease-in-out infinite;
}

/* Boot Sequence (can be triggered with JS) */
@keyframes bootSequence {
    0% {
        opacity: 0;
    }
    10% {
        opacity: 0.3;
    }
    20% {
        opacity: 0;
    }
    30% {
        opacity: 0.6;
    }
    50% {
        opacity: 0.2;
    }
    100% {
        opacity: 1;
    }
}

.boot-animation {
    animation: bootSequence 2s ease-out;
}

/* ===================================
   BOOT SEQUENCE OVERLAY
   =================================== */

#boot-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    transition: opacity 0.5s ease-out;
}

#boot-overlay.boot-complete {
    opacity: 0;
    pointer-events: none;
}

.boot-content {
    text-align: center;
    color: var(--crt-cyan);
    font-family: 'VT323', monospace;
}

.boot-logo {
    margin-bottom: 2rem;
    animation: bootFlicker 1.5s ease-in-out;
}

@keyframes bootFlicker {
    0%, 10% { opacity: 0; }
    11%, 20% { opacity: 0.3; }
    21%, 30% { opacity: 0; }
    31%, 40% { opacity: 0.6; }
    41%, 50% { opacity: 0.2; }
    51%, 100% { opacity: 1; }
}

.ascii-art {
    font-size: 1.2rem;
    line-height: 1.2;
    color: var(--crt-cyan-bright);
    text-shadow: 
        0 0 10px var(--crt-cyan),
        0 0 20px var(--crt-cyan-bright);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% {
        text-shadow: 
            0 0 10px var(--crt-cyan),
            0 0 20px var(--crt-cyan-bright);
    }
    50% {
        text-shadow: 
            0 0 20px var(--crt-cyan),
            0 0 30px var(--crt-cyan-bright),
            0 0 40px var(--crt-cyan);
    }
}

.boot-text {
    font-size: 1.4rem;
}

.boot-line {
    margin: 0.5rem 0;
    opacity: 0;
    text-shadow: 0 0 5px var(--crt-cyan);
}

.boot-line:nth-child(1) {
    animation: bootLineAppear 0.3s ease-in 0.5s forwards;
}

.boot-line:nth-child(2) {
    animation: bootLineAppear 0.3s ease-in 1s forwards;
}

.boot-line:nth-child(3) {
    animation: bootLineAppear 0.3s ease-in 1.5s forwards;
}

.boot-line:nth-child(4) {
    animation: bootLineAppear 0.3s ease-in 2s forwards,
                progressBar 1s ease-in-out 2.3s;
}

.boot-line:nth-child(5) {
    animation: bootLineAppear 0.3s ease-in 3s forwards;
    color: var(--crt-magenta-bright);
    text-shadow:
        0 0 8px var(--crt-magenta),
        0 0 15px var(--crt-magenta-bright);
}

.boot-line:nth-child(6) {
    animation: bootLineAppear 0.3s ease-in 3.5s forwards;
    color: var(--crt-cyan-bright);
    font-size: 1.3em;
    text-shadow:
        0 0 10px var(--crt-cyan),
        0 0 20px var(--crt-cyan-bright);
}

.boot-line:nth-child(7) {
    animation: bootLineAppear 0.3s ease-in 4s forwards;
}

.boot-line:nth-child(8) {
    animation: bootLineAppear 0.3s ease-in 4.5s forwards;
    color: var(--crt-magenta-bright);
    text-shadow:
        0 0 8px var(--crt-magenta),
        0 0 15px var(--crt-magenta-bright);
}

.boot-line:nth-child(9) {
    animation: bootLineAppear 0.3s ease-in 5s forwards;
}

/* Divider line */
.boot-line:nth-child(10) {
    animation: bootLineAppear 0.3s ease-in 5.5s forwards;
}

/* LinkedIn link */
.boot-line:nth-child(11) {
    animation: bootLineAppear 0.3s ease-in 6s forwards;
}

/* Boot subtitle styling */
.boot-subtitle {
    font-size: 0.95em;
    color: var(--crt-cyan-dim);
    text-shadow: 0 0 5px var(--crt-cyan-dim);
    letter-spacing: 1px;
}

/* Boot divider */
.boot-divider {
    color: var(--crt-cyan-dim);
    opacity: 0.5;
    font-size: 0.9em;
    margin-top: 1rem;
    letter-spacing: 0;
    text-shadow: 0 0 3px var(--crt-cyan-dim);
}

/* LinkedIn link styling */
.boot-linkedin-link {
    display: inline-block;
    color: var(--crt-cyan-dim);
    text-decoration: none;
    font-size: 1.1em;
    margin-top: 0.5rem;
    padding: 0.3rem 0.8rem;
    transition: all 0.3s ease;
    text-shadow: 0 0 3px var(--crt-cyan-dim);
}

.boot-linkedin-link:hover,
.boot-linkedin-link:focus {
    color: var(--crt-magenta-bright);
    text-shadow:
        0 0 5px var(--crt-magenta),
        0 0 10px var(--crt-magenta-bright);
}

.linkedin-icon {
    color: var(--crt-cyan);
    font-weight: bold;
    margin-right: 0.3rem;
    text-shadow: 0 0 5px var(--crt-cyan);
    transition: all 0.3s ease;
}

.boot-linkedin-link:hover .linkedin-icon,
.boot-linkedin-link:focus .linkedin-icon {
    color: var(--crt-magenta-bright);
    text-shadow:
        0 0 8px var(--crt-magenta),
        0 0 15px var(--crt-magenta-bright);
}

.boot-start-btn {
    background: transparent;
    border: 2px solid var(--crt-cyan);
    color: var(--crt-cyan-bright);
    font-family: 'VT323', monospace;
    font-size: 1.4em;
    padding: 0.5rem 2rem;
    margin-top: 1rem;
    cursor: pointer;
    text-shadow:
        0 0 8px var(--crt-cyan),
        0 0 15px var(--crt-cyan-bright);
    box-shadow:
        0 0 10px var(--crt-cyan),
        inset 0 0 10px rgba(0, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.boot-start-btn:hover {
    background: rgba(0, 255, 255, 0.1);
    box-shadow:
        0 0 20px var(--crt-cyan),
        0 0 40px var(--crt-cyan-bright),
        inset 0 0 15px rgba(0, 255, 255, 0.2);
    transform: scale(1.05);
}

.boot-start-btn:active {
    transform: scale(0.98);
}

@keyframes bootLineAppear {
    0% { 
        opacity: 0;
        transform: translateX(-20px);
    }
    100% { 
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes progressBar {
    0%, 100% { 
        text-shadow: 0 0 5px var(--crt-cyan);
    }
    50% { 
        text-shadow: 
            0 0 10px var(--crt-cyan-bright),
            0 0 20px var(--crt-cyan);
    }
}
