/* 90s Geocities Educational Site - BSC Retro Tech */

:root {
    --primary-pink: #ff69b4;
    --secondary-purple: #9370db;
    --accent-yellow: #ffd700;
    --neon-green: #00ff41;
    --retro-blue: #0080ff;
    --geocities-bg: #000080;
    --light-bg: #ffeef8;
    --monitor-green: #00ff00;
    --monitor-dark: #001100;
    --text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    --educational-orange: #ff8c00;
    --star-yellow: #ffff00;
}

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

body {
    font-family: 'Comic Neue', cursive;
    background: 
        radial-gradient(circle at 20% 20%, var(--star-yellow) 2px, transparent 2px),
        radial-gradient(circle at 60% 70%, var(--star-yellow) 1px, transparent 1px),
        radial-gradient(circle at 80% 30%, var(--star-yellow) 1.5px, transparent 1.5px),
        radial-gradient(circle at 40% 80%, var(--star-yellow) 1px, transparent 1px),
        linear-gradient(135deg, 
            var(--geocities-bg) 0%, 
            #4b0082 25%, 
            #8b008b 50%, 
            #ff1493 75%, 
            var(--geocities-bg) 100%);
    background-size: 300px 300px, 200px 200px, 250px 250px, 180px 180px, 100% 100%;
    background-attachment: fixed;
    animation: gentleStarTwinkle 8s ease-in-out infinite alternate;
    min-height: 100vh;
    color: white;
    overflow-x: hidden;
}

@keyframes gentleStarTwinkle {
    0% { 
        background-position: 0% 0%, 0% 0%, 0% 0%, 0% 0%, 0% 0%;
        opacity: 0.95;
    }
    100% { 
        background-position: 20px 20px, -20px -20px, 10px 10px, -10px -10px, 0% 0%;
        opacity: 1;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 20px;
    background: rgba(0,0,0,0.4);
    padding: 20px;
    border-radius: 15px;
    border: 3px solid var(--accent-yellow);
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
    flex-shrink: 0;
}

.title {
    font-family: 'Righteous', cursive;
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: 10px;
    text-shadow: var(--text-shadow);
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: clamp(8px, 2vw, 15px);
}

.retro-text {
    color: var(--accent-yellow);
    animation: pulse 2s infinite;
    text-shadow: 0 0 10px var(--accent-yellow);
}

.tech-text {
    color: var(--neon-green);
    animation: flicker 3s infinite;
    text-shadow: 0 0 10px var(--neon-green);
}

.archive-text {
    color: var(--primary-pink);
    animation: glow 2.5s infinite alternate;
    text-shadow: 0 0 10px var(--primary-pink);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

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

@keyframes glow {
    from { text-shadow: 0 0 10px var(--primary-pink); }
    to { text-shadow: 0 0 20px var(--primary-pink), 0 0 30px var(--primary-pink); }
}

.subtitle {
    font-size: clamp(1rem, 3vw, 1.2rem);
    color: var(--light-bg);
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
    background: rgba(0,0,0,0.3);
    padding: 10px 20px;
    border-radius: 25px;
    display: inline-block;
    border: 2px solid var(--accent-yellow);
    margin-top: 10px;
}

/* Main Content */
.main-content {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
    justify-content: center;
    min-height: 0;
}

/* Monitor Section */
.monitor-section {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.monitor {
    position: relative;
    width: 100%;
    max-width: 700px;
}

.monitor-frame {
    background: linear-gradient(145deg, #e0e0e0, #a0a0a0);
    padding: 25px;
    border-radius: 20px;
    box-shadow: 
        0 0 30px rgba(0,0,0,0.5),
        inset 0 0 20px rgba(255,255,255,0.2);
}

.monitor-bezel {
    background: #333;
    padding: 15px;
    border-radius: 15px;
    box-shadow: inset 0 0 15px rgba(0,0,0,0.8);
}

.monitor-screen {
    background: var(--monitor-dark);
    height: 400px;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    border: 2px solid #555;
    font-family: 'Courier New', monospace;
    display: flex;
    flex-direction: column;
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0,255,0,0.03) 2px,
        rgba(0,255,0,0.03) 4px
    );
    pointer-events: none;
    z-index: 2;
}

.content-area {
    padding: 20px;
    color: var(--monitor-green);
    font-size: 1rem;
    line-height: 1.6;
    position: relative;
    z-index: 1;
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    overflow-y: auto;
    scrollbar-width: thin;
    scrollbar-color: var(--neon-green) var(--monitor-dark);
}

.content-area::-webkit-scrollbar {
    width: 8px;
}

.content-area::-webkit-scrollbar-track {
    background: var(--monitor-dark);
}

.content-area::-webkit-scrollbar-thumb {
    background: var(--neon-green);
    border-radius: 4px;
}

.welcome-message {
    text-align: center;
    animation: fadeIn 2s ease-in;
}

.welcome-message h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--accent-yellow);
}

.welcome-features {
    margin: 20px 0;
    color: var(--neon-green);
}

.welcome-features div {
    margin: 8px 0;
    font-size: 1rem;
}

.blink {
    animation: blink 1.5s infinite;
    color: var(--neon-green);
    font-weight: bold;
    margin-top: 20px;
}

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

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

.concordance-entry {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0,255,0,0.1);
    border-left: 3px solid var(--neon-green);
    border-radius: 5px;
    animation: slideIn 0.5s ease-out;
}

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

.context-text {
    font-size: 1.1rem;
    margin-bottom: 10px;
    line-height: 1.5;
}

.context-text .highlight {
    background: var(--accent-yellow);
    color: var(--dark-bg);
    padding: 2px 4px;
    border-radius: 3px;
    font-weight: bold;
}

.entry-info {
    font-size: 0.9rem;
    color: #88ff88;
    border-top: 1px solid rgba(0,255,0,0.3);
    padding-top: 8px;
    margin-top: 8px;
}

.monitor-info {
    position: absolute;
    bottom: 8px;
    left: 15px;
    right: 15px;
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #666;
    background: rgba(0,0,0,0.5);
    padding: 5px 10px;
    border-radius: 5px;
    flex-shrink: 0;
}

.monitor-stand {
    width: 120px;
    height: 40px;
    background: linear-gradient(145deg, #c0c0c0, #808080);
    margin: 10px auto;
    border-radius: 0 0 10px 10px;
    box-shadow: 0 4px 8px rgba(0,0,0,0.3);
}

/* Controls Section - Sleek Computer-Style Panel */
.controls-section {
    width: 100%;
    max-width: 600px;
    margin-top: 20px;
}

.control-panel {
    background: linear-gradient(145deg, #2a2a2a, #1a1a1a);
    border: 2px solid #444;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 
        0 8px 16px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.1);
    position: relative;
}

.panel-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid #444;
}

.panel-lights {
    display: flex;
    gap: 8px;
}

.light {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: 1px solid #555;
}

.light.red {
    background: #333;
    border-color: #600;
}

.light.yellow {
    background: #333;
    border-color: #660;
}

.light.green {
    background: #333;
    border-color: #060;
}

.light.green.active {
    background: var(--neon-green);
    border-color: var(--neon-green);
    box-shadow: 0 0 8px var(--neon-green);
}

.panel-title {
    color: var(--neon-green);
    font-family: 'Courier New', monospace;
    font-size: 0.9rem;
    font-weight: bold;
    text-shadow: 0 0 5px var(--neon-green);
    letter-spacing: 1px;
}

.panel-version {
    color: #888;
    font-family: 'Courier New', monospace;
    font-size: 0.7rem;
}

/* Dropdown Styles */
.dropdown-container {
    position: relative;
    margin-bottom: 15px;
}

.retro-dropdown {
    width: 100%;
    padding: 12px 40px 12px 15px;
    font-size: 1rem;
    font-family: 'Courier New', monospace;
    background: var(--monitor-dark);
    color: var(--monitor-green);
    border: 2px solid #555;
    border-radius: 6px;
    cursor: pointer;
    appearance: none;
    text-shadow: 0 0 5px var(--monitor-green);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.5),
        0 0 10px rgba(0,255,0,0.2);
    transition: all 0.3s ease;
}

.retro-dropdown:hover {
    border-color: var(--neon-green);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.5),
        0 0 15px rgba(0,255,0,0.4);
}

.retro-dropdown:focus {
    outline: none;
    border-color: var(--accent-yellow);
    box-shadow: 
        inset 0 2px 4px rgba(0,0,0,0.5),
        0 0 20px rgba(255,215,0,0.3);
}

.dropdown-arrow {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--monitor-green);
    font-size: 1rem;
    pointer-events: none;
    text-shadow: 0 0 5px var(--monitor-green);
}

.panel-status {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 10px;
}

.status-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-light {
    width: 6px;
    height: 6px;
    background: var(--neon-green);
    border-radius: 50%;
    animation: pulse 2s infinite;
}

#statusText {
    color: var(--monitor-green);
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    text-shadow: 0 0 5px var(--monitor-green);
}

/* Feature Showcase - Dramatic AI Agents Link */
.feature-showcase {
    width: 100%;
    max-width: 700px;
    margin: 30px auto;
    perspective: 1000px;
}

.showcase-container {
    background: linear-gradient(145deg, 
        rgba(255,105,180,0.2), 
        rgba(147,112,219,0.2), 
        rgba(0,255,65,0.1));
    border: 3px solid var(--accent-yellow);
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(255,215,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.2);
    animation: showcaseFloat 4s ease-in-out infinite alternate;
}

@keyframes showcaseFloat {
    0% { transform: translateY(0px) rotateX(0deg); }
    100% { transform: translateY(-5px) rotateX(1deg); }
}

.showcase-container::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        from 0deg,
        transparent,
        var(--accent-yellow),
        transparent,
        var(--neon-green),
        transparent,
        var(--primary-pink),
        transparent
    );
    animation: backgroundRotate 8s linear infinite;
    z-index: -1;
    opacity: 0.1;
}

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

.showcase-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 15px;
}

.showcase-icon {
    font-size: 2rem;
    animation: iconPulse 2s ease-in-out infinite alternate;
}

@keyframes iconPulse {
    0% { 
        transform: scale(1);
        filter: drop-shadow(0 0 5px var(--accent-yellow));
    }
    100% { 
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px var(--accent-yellow));
    }
}

.showcase-title {
    font-family: 'Righteous', cursive;
    font-size: 1.8rem;
    color: var(--accent-yellow);
    text-shadow: 
        0 0 10px var(--accent-yellow),
        0 0 20px var(--accent-yellow),
        2px 2px 4px rgba(0,0,0,0.8);
    letter-spacing: 2px;
    margin: 0;
}

.showcase-subtitle {
    color: var(--neon-green);
    font-size: 1.1rem;
    margin-bottom: 20px;
    text-shadow: 0 0 8px var(--neon-green);
    font-weight: bold;
}

.dramatic-link {
    display: inline-block;
    position: relative;
    text-decoration: none;
    margin: 10px 0;
    transition: all 0.3s ease;
    transform-style: preserve-3d;
}

.dramatic-link:hover {
    transform: translateY(-3px) scale(1.05);
}

.link-text {
    display: inline-block;
    background: linear-gradient(135deg, 
        var(--primary-pink), 
        var(--secondary-purple), 
        var(--accent-yellow));
    color: white;
    padding: 15px 30px;
    border-radius: 30px;
    font-family: 'Righteous', cursive;
    font-size: 1.3rem;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.8);
    border: 3px solid var(--neon-green);
    position: relative;
    z-index: 2;
    letter-spacing: 1px;
    box-shadow: 
        0 5px 15px rgba(0,0,0,0.4),
        inset 0 1px 0 rgba(255,255,255,0.3);
}

.link-icon {
    font-size: 1.4rem;
    margin: 0 8px;
    animation: iconSparkle 1.5s ease-in-out infinite alternate;
}

@keyframes iconSparkle {
    0% { 
        transform: rotate(-10deg) scale(1);
        filter: brightness(1);
    }
    100% { 
        transform: rotate(10deg) scale(1.1);
        filter: brightness(1.3);
    }
}

.link-glow {
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    background: linear-gradient(45deg, 
        var(--neon-green), 
        var(--accent-yellow), 
        var(--primary-pink), 
        var(--secondary-purple));
    border-radius: 35px;
    z-index: 1;
    opacity: 0.6;
    animation: glowRotate 3s linear infinite;
}

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

.link-pulse {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, 
        rgba(255,215,0,0.4) 0%, 
        transparent 70%);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    z-index: 0;
    animation: linkPulse 2s ease-in-out infinite;
}

@keyframes linkPulse {
    0%, 100% { 
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.4;
    }
    50% { 
        transform: translate(-50%, -50%) scale(1.5);
        opacity: 0.1;
    }
}

.showcase-tagline {
    margin-top: 15px;
    color: var(--retro-blue);
    font-size: 1rem;
    font-weight: bold;
    text-shadow: 0 0 5px var(--retro-blue);
}

.tagline-accent {
    color: var(--accent-yellow);
    font-size: 1.2rem;
    margin: 0 10px;
    animation: taglineFlash 2s ease-in-out infinite alternate;
}

@keyframes taglineFlash {
    0% { opacity: 0.7; }
    100% { opacity: 1; }
}

/* Footer - Geocities Style */
.footer {
    margin-top: 30px;
    background: rgba(0,0,0,0.6);
    border: 3px solid var(--accent-yellow);
    border-radius: 15px;
    padding: 15px;
    box-shadow: 0 0 20px rgba(255,215,0,0.3);
    flex-shrink: 0;
}

.geocities-footer {
    text-align: center;
    animation: glow 3s infinite alternate;
}

.footer-gif {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin: 10px 0;
}

.visitor-counter {
    background: rgba(255,215,0,0.2);
    padding: 8px;
    border-radius: 10px;
    margin: 10px 0;
    border: 1px solid var(--accent-yellow);
    font-size: clamp(0.8rem, 2vw, 1rem);
}

.footer-content p {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.stats {
    color: var(--neon-green);
    font-weight: bold;
    background: rgba(0,255,65,0.1);
    padding: 8px;
    border-radius: 8px;
    font-size: 1rem;
}

.footer-links {
    margin: 10px 0;
    font-size: 1rem;
}

.footer-links a {
    text-decoration: none;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    text-shadow: 0 0 10px currentColor;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .header {
        padding: 15px;
        margin-bottom: 15px;
    }
    
    .title {
        font-size: 2.5rem;
        flex-direction: column;
        gap: 8px;
    }
    
    .monitor-frame {
        padding: 20px;
    }
    
    .monitor-bezel {
        padding: 12px;
    }
    
    .monitor-screen {
        height: 350px;
    }
    
    .content-area {
        padding: 15px;
        font-size: 0.9rem;
    }
    
    .welcome-message h3 {
        font-size: 1.3rem;
    }
    
    .control-panel {
        padding: 15px;
    }
    
    .panel-title {
        font-size: 0.8rem;
    }
    
    .retro-dropdown {
        font-size: 0.9rem;
        padding: 10px 35px 10px 12px;
    }
    
    .footer {
        padding: 12px;
        margin-top: 20px;
    }
    
    .footer-content p {
        font-size: 1rem;
    }
    
    .feature-showcase {
        margin: 20px auto;
        max-width: 95%;
    }
    
    .showcase-container {
        padding: 20px 15px;
    }
    
    .showcase-title {
        font-size: 1.4rem;
        letter-spacing: 1px;
    }
    
    .showcase-subtitle {
        font-size: 1rem;
        margin-bottom: 15px;
    }
    
    .link-text {
        padding: 12px 25px;
        font-size: 1.1rem;
        letter-spacing: 0.5px;
    }
    
    .link-icon {
        font-size: 1.2rem;
        margin: 0 6px;
    }
    
    .showcase-tagline {
        font-size: 0.9rem;
        margin-top: 12px;
    }
    
    .tagline-accent {
        font-size: 1.1rem;
        margin: 0 8px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 10px;
    }
    
    .header {
        padding: 12px;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
        padding: 8px 15px;
    }
    
    .monitor-frame {
        padding: 15px;
    }
    
    .monitor-bezel {
        padding: 10px;
    }
    
    .monitor-screen {
        height: 300px;
    }
    
    .content-area {
        padding: 12px;
        font-size: 0.85rem;
    }
    
    .welcome-message h3 {
        font-size: 1.2rem;
    }
    
    .control-panel {
        padding: 12px;
    }
    
    .panel-header {
        flex-direction: column;
        gap: 8px;
        text-align: center;
    }
    
    .panel-title {
        font-size: 0.7rem;
    }
    
    .retro-dropdown {
        font-size: 0.8rem;
        padding: 8px 30px 8px 10px;
    }
    
    .monitor-info {
        flex-direction: column;
        gap: 4px;
        text-align: center;
        font-size: 0.7rem;
    }
}

/* Large screens */
@media (min-width: 1200px) {
    .container {
        padding: 25px;
    }
    
    .monitor {
        max-width: 800px;
    }
    
    .monitor-screen {
        height: 500px;
    }
    
    .controls-section {
        max-width: 700px;
    }
}
