/* 90s Website Generator Styles - NO TAILWIND! */

body {
    margin: 0;
    font-family: 'Comic Sans MS', cursive;
    background: linear-gradient(45deg, #000080, #800080);
    background-attachment: fixed;
    color: #FFFF00;
    overflow-x: auto;
}

.app {
    min-height: 100vh;
    background-image: 
        url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="20" height="20"><rect width="20" height="20" fill="%23000080"/><circle cx="5" cy="5" r="1" fill="%23FFFFFF"/><circle cx="15" cy="15" r="1" fill="%23FFFFFF"/></svg>');
}

/* Browser Chrome */
.browser-chrome {
    background: #C0C0C0;
    border-bottom: 2px inset #C0C0C0;
    padding: 5px;
    font-family: 'MS Sans Serif', sans-serif;
    font-size: 11px;
}

.browser-buttons {
    display: flex;
    gap: 10px;
    margin-bottom: 5px;
}

.browser-buttons span {
    background: #C0C0C0;
    border: 2px outset #C0C0C0;
    padding: 2px 8px;
    cursor: pointer;
    font-size: 10px;
}

.address-bar {
    background: white;
    border: 2px inset #C0C0C0;
    padding: 3px;
    margin-top: 5px;
}

/* Header Styles */
.header {
    text-align: center;
    padding: 20px;
    background: radial-gradient(circle, #FF0000, #FF4500, #FFD700);
    border-bottom: 5px ridge #FFD700;
}

.blink-title {
    font-size: 3em;
    animation: blink 1s infinite, rainbow 3s infinite;
    text-shadow: 4px 4px 0px #FF00FF, 8px 8px 0px #000000;
    margin: 0;
    font-family: 'Impact', 'Arial Black', sans-serif;
}

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

@keyframes rainbow {
    0% { color: #FF0000; }
    17% { color: #FF8C00; }
    33% { color: #FFD700; }
    50% { color: #00FF00; }
    67% { color: #0000FF; }
    83% { color: #8A2BE2; }
    100% { color: #FF0000; }
}

.marquee {
    background: #000000;
    color: #00FF00;
    padding: 10px;
    margin: 10px 0;
    border: 3px double #00FF00;
    font-weight: bold;
}

.header-widgets {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 20px;
    margin-top: 15px;
}

.visitor-counter {
    background: #000000;
    color: #FF0000;
    border: 2px solid #FF0000;
    padding: 5px 15px;
    font-family: 'Courier New', monospace;
    font-weight: bold;
}

/* Main Content Layout */
.main-content {
    display: flex;
    max-width: 1200px;
    margin: 0 auto;
    gap: 20px;
    padding: 20px;
}

.controls-panel, .preview-panel {
    background: rgba(0, 0, 0, 0.8);
    border: 5px ridge #FFD700;
    border-radius: 0;
    padding: 20px;
}

.controls-panel {
    flex: 1;
    min-width: 350px;
}

.preview-panel {
    flex: 2;
}

.panel-title {
    color: #FF00FF;
    text-shadow: 2px 2px 0px #000000;
    font-size: 1.5em;
    margin-bottom: 20px;
    text-align: center;
}

/* Control Sections */
.control-section {
    margin-bottom: 25px;
    padding: 15px;
    background: rgba(128, 0, 128, 0.3);
    border: 2px solid #FF00FF;
}

.control-section h3 {
    color: #00FFFF;
    margin-top: 0;
    text-shadow: 1px 1px 0px #000000;
}

.radio-option, .checkbox-option {
    display: block;
    color: #FFFFFF;
    font-weight: bold;
    margin: 8px 0;
    cursor: pointer;
}

.radio-option input, .checkbox-option input {
    margin-right: 8px;
}

.custom-prompt {
    width: 100%;
    height: 80px;
    background: #000080;
    color: #FFFFFF;
    border: 3px inset #C0C0C0;
    padding: 10px;
    font-family: 'Courier New', monospace;
    resize: vertical;
}

.retro-select {
    width: 100%;
    background: #C0C0C0;
    border: 2px inset #C0C0C0;
    padding: 5px;
    font-family: 'MS Sans Serif', sans-serif;
}

/* Preview Area */
.preview-frame {
    width: 100%;
    height: 500px;
    border: 3px inset #C0C0C0;
    background: white;
}

.preview-placeholder {
    height: 500px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    border: 3px dashed #FFD700;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 10px,
        rgba(255, 215, 0, 0.1) 10px,
        rgba(255, 215, 0, 0.1) 20px
    );
}

.loading-container {
    height: 500px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.dial-up-loading {
    text-align: center;
    color: #00FF00;
    background: #000000;
    padding: 40px;
    border: 3px solid #00FF00;
}

.loading-bar {
    width: 200px;
    height: 20px;
    background: #000080;
    border: 2px inset #C0C0C0;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.loading-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, #00FF00, #FFFF00, #00FF00);
    animation: loading 2s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Retro Buttons */
.retro-button {
    background: linear-gradient(45deg, #C0C0C0, #FFFFFF);
    border: 3px outset #C0C0C0;
    padding: 10px 20px;
    font-weight: bold;
    font-family: 'MS Sans Serif', sans-serif;
    cursor: pointer;
    margin: 5px;
    transition: all 0.1s;
}

.retro-button:hover {
    background: linear-gradient(45deg, #FFFFFF, #C0C0C0);
}

.retro-button:active {
    border: 3px inset #C0C0C0;
}

.retro-button.primary {
    background: linear-gradient(45deg, #FF0000, #FF8C00);
    color: white;
    border: 3px outset #FF0000;
    font-size: 1.2em;
    animation: pulse 2s infinite;
}

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

.retro-button.secondary {
    background: linear-gradient(45deg, #0000FF, #00BFFF);
    color: white;
    border: 3px outset #0000FF;
}

.retro-button.chaos {
    background: linear-gradient(45deg, #FF00FF, #8A2BE2);
    color: white;
    border: 3px outset #FF00FF;
    animation: shake 0.5s infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-2px); }
    75% { transform: translateX(2px); }
}

.retro-button.small {
    padding: 5px 10px;
    font-size: 0.9em;
}

.retro-button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

.action-buttons {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
    padding: 20px;
    background: rgba(255, 215, 0, 0.1);
    border: 2px dashed #FFD700;
}

/* Footer */
.footer {
    background: #000000;
    color: #00FF00;
    text-align: center;
    padding: 20px;
    border-top: 5px ridge #00FF00;
    margin-top: 30px;
}

.footer marquee {
    color: #FF00FF;
    font-weight: bold;
}

/* Responsive Design (as much as 90s sites had any) */
@media (max-width: 768px) {
    .main-content {
        flex-direction: column;
    }
    
    .controls-panel {
        min-width: auto;
    }
    
    .blink-title {
        font-size: 2em;
    }
    
    .browser-buttons {
        flex-wrap: wrap;
        gap: 5px;
    }
}

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

::-webkit-scrollbar-track {
    background: #C0C0C0;
    border: 2px inset #C0C0C0;
}

::-webkit-scrollbar-thumb {
    background: #808080;
    border: 2px outset #C0C0C0;
}

::-webkit-scrollbar-thumb:hover {
    background: #606060;
}

/* Extra 90s Flair */
* {
    box-sizing: border-box;
}

a {
    color: #00FFFF;
    text-decoration: underline;
}

a:visited {
    color: #FF00FF;
}

a:hover {
    color: #FFFF00;
    text-decoration: none;
}

/* Cursor Effects */
html {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="16" height="16"><circle cx="8" cy="8" r="6" fill="yellow"/></svg>'), auto;
}