/* --- 90's Web Kitsch Extravaganza - MAXIMUM OVERDRIVE --- */

/* The ultimate 90s cursor */
body.theme-90s, body.theme-90s * {
    cursor: url('https://cur.cursors-4u.net/cursors/cur-2/cur116.cur'), auto !important;
    backdrop-filter: none !important;
    box-shadow: none !important;
    transition: none !important;
    letter-spacing: normal !important;
}

@keyframes starScroll {
    from { background-position: 0 0; }
    to { background-position: -200px 200px; }
}

body.theme-90s {
    background-color: #000000 !important;
    /* Reliable Pure CSS Starfield */
    background-image: 
      radial-gradient(circle at 20px 30px, #ffffff 1px, transparent 1px),
      radial-gradient(circle at 40px 70px, #ffffff 1px, transparent 1px),
      radial-gradient(circle at 90px 40px, #ffffff 1px, transparent 1px),
      radial-gradient(circle at 130px 80px, #ffffff 1px, transparent 1px),
      radial-gradient(circle at 160px 120px, #ffffff 1px, transparent 1px),
      radial-gradient(circle at 180px 180px, #ffffff 1px, transparent 1px) !important;
    background-size: 200px 200px !important;
    animation: starScroll 10s linear infinite !important;
    color: #00ff00 !important;
    font-family: "Comic Sans MS", "Chalkboard SE", "Marker Felt", cursive !important;
    text-transform: none !important;
    perspective: none !important;
    -webkit-font-smoothing: auto !important;
}

/* Hide Modern Overlays & 3D Elements */
body.theme-90s .noise-overlay,
body.theme-90s .custom-cursor,
body.theme-90s .cursor-dot,
body.theme-90s .living-border::before,
body.theme-90s .timeline-container::before {
    display: none !important;
}

/* Undo Metallic Emojis - Bring back the color! */
body.theme-90s .metallic-icon {
    filter: none !important;
    animation: none !important;
    text-shadow: none !important;
}

/* Main Container - The table layout aesthetic */
body.theme-90s .container {
    background-color: #000080 !important; /* Navy Blue */
    /* CSS Muddy Texture */
    background-image: repeating-linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.1) 75%, rgba(0,0,0,0.1)), repeating-linear-gradient(45deg, rgba(0,0,0,0.1) 25%, transparent 25%, transparent 75%, rgba(0,0,0,0.1) 75%, rgba(0,0,0,0.1)) !important;
    background-position: 0 0, 10px 10px !important;
    background-size: 20px 20px !important;
    border: 10px ridge #ff00ff !important;
    padding: 20px !important;
    margin-top: 20px !important;
    margin-bottom: 20px !important;
    max-width: 900px !important;
}

@keyframes fireMove {
    0% { background-position: 0 0; }
    100% { background-position: 42px -42px; }
}

/* Header */
body.theme-90s .main-header {
    /* CSS Animated Fire Gradient */
    background: repeating-linear-gradient(45deg, #ff0000, #ff0000 10px, #ff7f00 10px, #ff7f00 20px, #ffff00 20px, #ffff00 30px) !important;
    background-size: 42px 42px !important;
    animation: fireMove 1s linear infinite !important;
    border: 8px outset #ffffff !important;
    position: static !important;
    padding: 10px 10px 40px 10px !important;
    margin-bottom: 30px !important;
    text-align: center !important;
}

body.theme-90s .header-inner {
    display: block !important;
}

/* 3D Spinning Logo */
@keyframes spin3d {
    0% { transform: rotateY(0deg) rotateZ(0deg) scale(1); }
    50% { transform: rotateY(180deg) rotateZ(10deg) scale(1.5); }
    100% { transform: rotateY(360deg) rotateZ(0deg) scale(1); }
}

body.theme-90s .logo {
    display: inline-block !important;
    color: #00ffff !important;
    background: #000000 !important;
    -webkit-text-fill-color: initial !important;
    font-family: "Impact", serif !important;
    font-size: 3.5rem !important;
    text-decoration: underline !important;
    text-shadow: 3px 3px #ff0000 !important;
    animation: spin3d 3s linear infinite !important;
    margin-bottom: 15px !important;
    padding: 10px !important;
    border: 4px dotted #ff00ff !important;
}

body.theme-90s .header-controls {
    display: block !important;
    margin-top: 20px !important;
}

body.theme-90s .header-btn {
    background: #c0c0c0 !important;
    color: blue !important;
    border: 4px outset #ffffff !important;
    border-radius: 0 !important;
    font-family: "Times New Roman", Times, serif !important;
    font-size: 1.2rem !important;
    padding: 5px 15px !important;
    margin: 5px !important;
    text-decoration: underline !important;
}

body.theme-90s .header-btn:active {
    border-style: inset !important;
}

/* Animations */
@keyframes blink {
    0% { opacity: 1; }
    50% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes rainbowColor {
    0% { color: #ff0000; }
    16% { color: #ff7f00; }
    33% { color: #ffff00; }
    50% { color: #00ff00; }
    66% { color: #0000ff; }
    83% { color: #4b0082; }
    100% { color: #9400d3; }
}

body.theme-90s h1, body.theme-90s h2, body.theme-90s h3 {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    font-family: "Times New Roman", Times, serif !important;
    text-decoration: underline !important;
}

/* WordArt Hero Name */
body.theme-90s .hero-name {
    font-size: 5rem !important;
    font-family: "Impact", sans-serif !important;
    background: linear-gradient(to bottom, #ff0000 0%, #ffff00 50%, #ff0000 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    filter: drop-shadow(4px 4px 0px #000) drop-shadow(8px 8px 0px blue) !important;
    transform: skewX(-10deg) rotate(-5deg) scaleY(1.2) !important;
    display: inline-block !important;
    margin-top: 30px !important;
    margin-bottom: 40px !important;
    text-decoration: none !important;
}

body.theme-90s .hero-role {
    font-size: 2.5rem !important;
    color: #ff00ff !important;
    animation: blink 1.5s step-end infinite !important;
    text-shadow: 2px 2px #ffffff !important;
}

/* Marquee Effect for Tagline */
body.theme-90s .hero-tagline {
    color: #ffff00 !important;
    font-family: monospace !important;
    font-size: 1.8rem !important;
    background-color: #000000 !important;
    border: 4px inset #888 !important;
    padding: 10px !important;
    margin-bottom: 40px !important;
}

/* Cards & Elements - Unstyled MS Word Aesthetic */
body.theme-90s .stat-item,
body.theme-90s .result-card,
body.theme-90s .timeline-content,
body.theme-90s .cert-card,
body.theme-90s .contact-card {
    background: #ffffcc !important; /* Post-it Yellow */
    color: #000000 !important;
    border: 6px outset #c0c0c0 !important;
    border-radius: 0 !important;
    transform: none !important; /* Kill the 3D tilt */
}

/* Fix Contact Card Text Color */
body.theme-90s .contact-card h2,
body.theme-90s .contact-card .contact-msg {
    color: #000000 !important;
    background: none !important;
    -webkit-text-fill-color: initial !important;
    text-shadow: none !important;
}

/* Add a CSS Under Construction Block */
body.theme-90s #results-grid::after {
    content: "🚧 UNDER CONSTRUCTION 🚧";
    display: block !important;
    text-align: center !important;
    font-size: 2.5rem !important;
    color: #ffff00 !important;
    background: #000000 !important;
    border: 6px dashed #ff0000 !important;
    margin: 40px auto !important;
    padding: 20px !important;
    grid-column: 1 / -1;
    animation: blink 0.8s step-start infinite !important;
    font-family: "Impact", sans-serif !important;
}

body.theme-90s .section-title {
    background-color: transparent !important;
    color: #00ff00 !important;
    border: none !important;
    font-size: 3rem !important;
    text-align: left !important;
    animation: rainbowColor 2s linear infinite !important;
}

body.theme-90s .section-title::before {
    content: "=> ";
}
body.theme-90s .section-title::after {
    content: " <=";
    background: none !important;
    position: static !important;
    width: auto !important;
    height: auto !important;
}

body.theme-90s .stat-value,
body.theme-90s .result-value {
    color: #ff0000 !important;
    text-shadow: 2px 2px #000000 !important;
    font-family: "Impact", sans-serif !important;
}

body.theme-90s .stat-label,
body.theme-90s .result-label,
body.theme-90s .experience-role,
body.theme-90s .cert-name {
    color: #0000ff !important;
    font-family: "Comic Sans MS", cursive !important;
    text-decoration: none !important;
}

/* Buttons - Windows 95 Style */
body.theme-90s .btn, body.theme-90s .filter-btn {
    background: #c0c0c0 !important;
    color: #000 !important;
    border: 4px outset #ffffff !important;
    border-radius: 0 !important;
    font-family: "Times New Roman", Times, serif !important;
    font-weight: bold !important;
    text-decoration: none !important;
}

body.theme-90s .btn:active, body.theme-90s .filter-btn:active {
    border-style: inset !important;
    background: #a0a0a0 !important;
}

body.theme-90s .filter-btn.active {
    background: #000080 !important;
    color: white !important;
    border-style: inset !important;
}

/* Skills - Animated Rainbow Bars */
@keyframes rainbowSlide {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

body.theme-90s .skill-bar-bg {
    background-color: #000 !important;
    border: 4px inset #888 !important;
    border-radius: 0 !important;
    height: 30px !important;
}

body.theme-90s .skill-bar-fill {
    position: relative !important;
    overflow: hidden !important;
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
}

body.theme-90s .skill-bar-fill::after {
    content: "" !important;
    position: absolute !important;
    top: 0 !important;
    left: 0 !important;
    bottom: 0 !important;
    width: 200% !important;
    background: repeating-linear-gradient(-45deg, red 0, orange 10px, yellow 20px, green 30px, blue 40px, indigo 50px, violet 60px, red 70px) !important;
    animation: rainbowSlide 1.5s linear infinite !important;
}

/* Timeline - No straight lines, just chaos */
body.theme-90s .timeline-container {
    padding-left: 0 !important;
}
body.theme-90s .timeline-container::before {
    display: none !important;
}

body.theme-90s .timeline-dot {
    display: none !important; /* Kill the dots */
}

body.theme-90s .timeline-content {
    margin-left: 0 !important;
    border: 8px ridge #00ff00 !important;
}

body.theme-90s .tag {
    background: #ff00ff !important;
    color: #ffff00 !important;
    border: 3px solid #000000 !important;
    border-radius: 0 !important;
    font-family: "Comic Sans MS", cursive !important;
}

/* Footer & Credits */
body.theme-90s .main-footer {
    opacity: 1 !important;
    background: #000000 !important;
    border-top: 10px groove #c0c0c0 !important;
    color: #00ff00 !important;
}

body.theme-90s .ai-credit {
    background: none !important;
    -webkit-text-fill-color: initial !important;
    color: #ffff00 !important;
    font-size: 1.5rem !important;
    animation: blink 1s step-start infinite !important;
}

/* Add a Web Ring / Hit Counter aesthetic to the footer */
body.theme-90s .main-footer::after {
    content: "You are visitor number: 00001337";
    display: block !important;
    margin-top: 20px !important;
    font-family: "Courier New", Courier, monospace !important;
    font-size: 1.2rem !important;
    color: #00ffff !important;
    background: #000000 !important;
    border: 2px inset #ffffff !important;
    width: 300px !important;
    margin-left: auto !important;
    margin-right: auto !important;
    padding: 5px !important;
}