/* Windows 95 Style Theme */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'MS Sans Serif', 'VT323', monospace, Arial, sans-serif;
    line-height: 1.4;
    color: #000;
    background-image: url('/rsc/diablo.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    overflow: hidden;
    font-size: 14px;
}

.desktop {
    width: 100%;
    height: 100vh;
    position: relative;
    overflow: auto;
    padding-bottom: 28px; /* Space for taskbar */
}

/* Taskbar styles */
.taskbar {
    background-color: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #7b7b7b;
    border-bottom: 1px solid #7b7b7b;
    height: 28px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5px;
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1000;
}

.start-button {
    display: flex;
    align-items: center;
    background-color: #c0c0c0;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #808080;
    border-bottom: 1px solid #808080;
    padding: 2px 5px;
    font-weight: bold;
    cursor: pointer;
}

.start-button img {
    height: 16px;
    margin-right: 5px;
}

.taskbar-time {
    background-color: #c0c0c0;
    border-top: 1px solid #7b7b7b;
    border-left: 1px solid #7b7b7b;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 2px 5px;
}

/* Desktop icons */
.desktop-icons {
    position: absolute;
    top: 10px;
    left: 10px;
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.desktop-icon {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 75px;
    text-align: center;
    cursor: pointer;
}

.desktop-icon img {
    width: 32px;
    height: 32px;
    margin-bottom: 5px;
}

.desktop-icon span {
    color: white;
    text-shadow: 1px 1px 1px #000;
}

/* Window styles */
.window {
    background-color: #c0c0c0;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 2px solid #404040;
    border-bottom: 2px solid #404040;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.2);
    position: relative;
}

/* Main window */
.main-window {
    width: 90%;
    max-width: 900px;
    height: 80vh;
    margin: 20px auto;
    display: flex;
    flex-direction: column;
    background: url('https://cur.glitter-graphics.net/pub/3682/3682033ykiztjdawi.gif'); /* Sparkly background */
    color: #fff;
}

/* Popup windows */
.popup-window {
    position: absolute;
    width: 300px;
    min-height: 150px;
    z-index: 1500;
}

.flashing {
    animation: flash 0.1s infinite steps(1);
}

@keyframes flash {
    0% { background-color: #c0c0c0; }
    33% { background-color: #ff5555; }
    66% { background-color: #ffff00; }
    100% { background-color: #c0c0c0; }
}

.shake {
    animation: shake 0.05s infinite;
}

@keyframes shake {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-1px, 1px); }
    50% { transform: translate(1px, -1px); }
    75% { transform: translate(-1px, -1px); }
    100% { transform: translate(1px, 1px); }
}

.popup-content {
    text-align: center;
    padding: 15px;
    font-weight: bold;
}

.popup-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.window-header {
    background-color: #000080; /* Navy blue title bar */
    color: white;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 2px 3px;
    font-weight: bold;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.window-controls button {
    width: 16px;
    height: 14px;
    font-size: 9px;
    display: flex;
    justify-content: center;
    align-items: center;
    background-color: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #7b7b7b;
    border-bottom: 1px solid #7b7b7b;
    cursor: pointer;
}

.window-content {
    padding: 15px;
    overflow-y: auto;
    flex-grow: 1;
}

/* Custom scrollbar for the myspace feel */
.window-content::-webkit-scrollbar {
    width: 15px;
}

.window-content::-webkit-scrollbar-track {
    background: #000000;
    border: 2px inset #666;
}

.window-content::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #ff00ff, #00ffff);
    border: 1px solid #fff;
}

/* Window toolbar (for Internet Explorer look) */
.window-toolbar {
    display: flex;
    padding: 5px;
    background-color: #c0c0c0;
    border-bottom: 1px solid #7b7b7b;
    align-items: center;
}

.toolbar-button {
    padding: 2px 8px;
    margin-right: 5px;
    background-color: #c0c0c0;
    border-top: 1px solid #ffffff;
    border-left: 1px solid #ffffff;
    border-right: 1px solid #7b7b7b;
    border-bottom: 1px solid #7b7b7b;
    font-size: 12px;
    cursor: pointer;
}

.address-bar {
    flex-grow: 1;
    display: flex;
    align-items: center;
    margin-left: 5px;
}

.address-bar span {
    margin-right: 5px;
}

.address-bar input {
    flex-grow: 1;
    border-top: 1px solid #7b7b7b;
    border-left: 1px solid #7b7b7b;
    border-right: 1px solid #ffffff;
    border-bottom: 1px solid #ffffff;
    padding: 2px 5px;
    background-color: white;
}

/* Tab system */
.tab-buttons {
    display: flex;
    border-bottom: 1px solid #7b7b7b;
    margin-bottom: 15px;
}

.tab-button {
    padding: 5px 10px;
    margin-right: 2px;
    background: linear-gradient(to bottom, #000066, #000033);
    border: 2px outset #3366ff;
    text-shadow: 1px 1px 2px #00ccff;
    transition: all 0.3s;
    cursor: pointer;
    position: relative;
    top: 1px;
    font-weight: bold;
    color: #ffffff;
}

.tab-button:hover {
    background: linear-gradient(to bottom, #000099, #000066);
    transform: scale(1.1);
}

.tab-button.active {
    background: linear-gradient(to bottom, #3333ff, #000099);
    border-bottom: 2px solid #00ffff;
}

.tab-content {
    display: none;
    background-color: rgba(0, 0, 0, 0.7);
    border: 3px ridge #ff00ff;
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 10px;
    box-shadow: 0 0 15px #00ffff;
}

.tab-content.active {
    display: block;
}

/* Add some flair to headers */
.tab-content h1, .tab-content h2, .tab-content h3 {
    font-family: 'Comic Sans MS', cursive;
    text-shadow: 2px 2px 4px #ff00ff, -2px -2px 4px #00ffff;
    color: #ffffff;
    letter-spacing: 2px;
    text-align: center;
}

/* Status bar */
.status-bar {
    display: flex;
    justify-content: space-between;
    padding: 3px 5px;
    background-color: #c0c0c0;
    border-top: 1px solid #7b7b7b;
    font-size: 12px;
}

/* Main content styles */
main {
    padding: 0;
}

section {
    min-height: auto;
    padding: 10px 0;
    border-bottom: none;
}

h1, h2 {
    font-weight: bold;
    margin-bottom: 10px;
}

h1 {
    font-size: 1.5rem;
}

h2 {
    font-size: 1.3rem;
}

h3 {
    font-size: 1.1rem;
    margin-bottom: 8px;
}

p {
    margin-bottom: 10px;
}

/* Windows 95 progress bar */
.progress-bar {
    width: 100%;
    height: 20px;
    background-color: white;
    border-top: 1px solid #7b7b7b;
    border-left: 1px solid #7b7b7b;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    margin: 15px 0;
}

.progress {
    width: 70%;
    height: 100%;
    background-color: #000080;
    animation: progress 3s ease-in-out infinite;
}

@keyframes progress {
    0% { width: 0%; }
    100% { width: 100%; }
}

/* Services section */
.services-container {
    display: flex;
    flex-wrap: wrap;
    gap: 15px;
    margin-top: 15px;
}

.service-card {
    flex: 1 1 200px;
    padding: 15px;
    background-color: #c0c0c0;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #7b7b7b;
    border-bottom: 1px solid #7b7b7b;
    text-align: center;
}

.service-card img {
    width: 32px;
    height: 32px;
    margin-bottom: 8px;
}

.service-card:hover {
    transform: none; /* Remove the hover effect from the original site */
}

/* Contact form */
.form-group {
    margin-bottom: 12px;
}

label {
    display: block;
    margin-bottom: 4px;
}

input, textarea {
    width: 100%;
    padding: 5px;
    background-color: white;
    border-top: 1px solid #7b7b7b;
    border-left: 1px solid #7b7b7b;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
}

.win95-button {
    padding: 5px 10px;
    background-color: #c0c0c0;
    color: black;
    border-top: 1px solid #dfdfdf;
    border-left: 1px solid #dfdfdf;
    border-right: 1px solid #7b7b7b;
    border-bottom: 1px solid #7b7b7b;
    cursor: pointer;
    font-family: 'MS Sans Serif', 'VT323', Arial, sans-serif;
    font-size: 14px;
}

.win95-button:active {
    border-top: 1px solid #7b7b7b;
    border-left: 1px solid #7b7b7b;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
}

/* System properties box */
.system-properties {
    background-color: #c0c0c0;
    border-top: 1px solid #7b7b7b;
    border-left: 1px solid #7b7b7b;
    border-right: 1px solid #dfdfdf;
    border-bottom: 1px solid #dfdfdf;
    padding: 10px;
    margin: 15px 0;
}

/* Marquee text for popups */
.marquee-text {
    display: inline-block;
    animation: marquee 3s linear infinite;
}

@keyframes marquee {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Emoji animation */
.spinning-emoji {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Footer styles */
.win95-footer {
    background-color: #c0c0c0;
    padding: 10px;
    margin-top: 0;
    text-align: center;
    font-size: 12px;
    border-top: 1px solid #7b7b7b;
}

/* Responsive styles - simplified for Windows 95 look */
@media (max-width: 768px) {
    .main-window {
        width: 95%;
        height: 85vh;
    }
    
    .services-container {
        flex-direction: column;
    }
    
    .desktop-icons {
        display: none; /* Hide desktop icons on mobile */
    }
    
    .popup-window {
        width: 90%;
        max-width: 300px;
    }
}

/* Subway Surfers Window */
.subway-window {
    position: fixed;
    bottom: 40px;
    right: 20px;
    width: 280px;
    height: 200px;
    z-index: 999;
    box-shadow: 3px 3px 10px rgba(0, 0, 0, 0.3);
}

.subway-content {
    padding: 0;
    overflow: hidden;
    background-color: #000;
}

.subway-content iframe {
    border: none;
    display: block;
}

/* For mobile screens - make the subway window smaller */
@media (max-width: 768px) {
    .subway-window {
        width: 200px;
        height: 150px;
        bottom: 30px;
        right: 10px;
    }
}

/* Error popup styling */
.error-popup {
    width: 350px;
    min-height: 170px;
    z-index: 2000;
    background-color: #c0c0c0;
}

.error-popup .window-header {
    background-color: #aa0000; /* Red title bar for errors */
}

.error-header {
    display: flex;
    align-items: flex-start;
    margin-bottom: 15px;
}

.error-icon {
    width: 32px;
    height: 32px;
    margin-right: 10px;
}

.error-text {
    flex-grow: 1;
}

.error-message {
    font-weight: bold;
    margin-top: 5px;
}

.error-details {
    border-top: 1px solid #7b7b7b;
    margin-top: 10px;
    padding-top: 10px;
    font-size: 12px;
}

.error-details p {
    margin-bottom: 5px;
}

/* New animations */
.spinning {
    animation: spin 1.5s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.pulsing {
    animation: pulse 0.5s infinite alternate;
}

@keyframes pulse {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}

.moving {
    animation: move-around 10s linear infinite;
}

@keyframes move-around {
    0% { transform: translate(0, 0); }
    25% { transform: translate(100px, 50px); }
    50% { transform: translate(50px, 150px); }
    75% { transform: translate(-50px, 100px); }
    100% { transform: translate(0, 0); }
}

/* Web 1.0 style additions */
.web1-header {
    text-align: center;
    margin-bottom: 20px;
}

.blink {
    animation: blinker 1s step-start infinite;
    font-weight: bold;
    color: #FF0000;
}

@keyframes blinker {
    50% { opacity: 0; }
}

.visitor-counter {
    margin: 10px auto;
    border: 1px solid #000;
    background: #f0f0f0;
    padding: 5px;
    display: inline-block;
    font-size: 12px;
    font-weight: bold;
}

/* Updated mogg-definition styling */
.mogg-definition {
    margin: 15px 0;
    border: 4px ridge #00ffcc;
    padding: 15px;
    background: linear-gradient(to bottom right, #330066, #000022);
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
    color: white;
}

.definition-flex {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
}

.definition-text {
    flex: 3;
}

.definition-image {
    flex: 1;
    text-align: center;
}

.mog-img {
    width: 100%;
    max-width: 150px;
    border: 3px solid #ff00ff;
    box-shadow: 0 0 10px #00ffff;
}

.image-caption {
    font-size: 10px;
    color: #00ffff;
    margin-top: 5px;
    font-style: italic;
}

.mogg-title {
    font-size: 24px;
    font-weight: bold;
    margin-bottom: 10px;
    font-family: "Comic Sans MS", cursive;
}

.mogg-explanation {
    font-size: 16px;
    margin-bottom: 10px;
    line-height: 1.4;
}

.mogg-example {
    font-style: italic;
    background: rgba(0, 0, 0, 0.4);
    padding: 8px;
    border-left: 3px solid #ff00ff;
}

.rainbow-text {
    font-weight: bold;
    background-image: linear-gradient(to right, red, orange, yellow, green, blue, indigo, violet);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: rainbow-animation 5s linear infinite;
}

@keyframes rainbow-animation {
    0% { background-position: 0% 50% }
    50% { background-position: 100% 50% }
    100% { background-position: 0% 50% }
}

.mogg-facts {
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid #00ccff;
    padding: 10px;
    margin-top: 15px;
}

.fact-title {
    text-align: center;
    font-weight: bold;
    color: #ffff00;
    margin-bottom: 5px;
    font-size: 16px;
}

.mogg-facts ul {
    margin-left: 25px;
    list-style-type: square;
}

.mogg-facts li {
    margin-bottom: 5px;
}

.mogg-button-container {
    text-align: center;
    margin-top: 15px;
}

.mogg-button {
    background: linear-gradient(to bottom, #ff3366, #cc0033);
    color: white;
    border: 3px outset #ff99cc;
    padding: 8px 15px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    animation: pulse 1.5s infinite;
}

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

/* Hit counter styles */
.hit-counter {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 10px auto;
    font-family: "Courier New", monospace;
    background-color: #c0c0c0;
    border: 2px outset #dfdfdf;
    padding: 5px;
    width: 220px;
}

.counter-label {
    font-weight: bold;
    color: #FF0000;
    margin-bottom: 5px;
    text-shadow: 1px 1px 0 #FFFF00;
    font-size: 14px;
}

.counter-digits {
    background: #000000;
    color: #00FF00;
    padding: 5px 10px;
    border: 2px inset #808080;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 20px;
    font-family: "Digital", "Courier New", monospace;
    min-width: 120px;
    text-align: center;
}

.counter-changed {
    animation: counter-flash 0.5s ease-in-out;
}

@keyframes counter-flash {
    0% { color: #00FF00; }
    50% { color: #FFFFFF; }
    100% { color: #00FF00; }
}

/* Custom profile section styling */
.profile-section {
    border: 3px ridge #ff33cc;
    padding: 10px;
    margin: 10px 0;
    background: rgba(0, 0, 0, 0.6);
}

.profile-section h3 {
    border-bottom: 2px solid #ff33cc;
    padding-bottom: 5px;
}

/* Music player look-alike */
.myspace-player {
    border: 2px solid #666;
    background: #000;
    padding: 8px;
    border-radius: 5px;
    display: flex;
    align-items: center;
    margin: 15px auto;
    width: 90%;
}

.player-button {
    width: 30px;
    height: 30px;
    background: #333;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 5px;
    color: #fff;
    font-size: 16px;
    cursor: pointer;
}

.song-info {
    flex-grow: 1;
    margin-left: 10px;
    font-size: 12px;
    color: #ccc;
}

/* Top friends styling */
.friends-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
    background: rgba(0, 0, 0, 0.5);
    padding: 10px;
    border: 2px dashed #ff00ff;
}

.friend {
    border: 2px solid #3366ff;
    padding: 5px;
    background: rgba(0, 0, 51, 0.8);
    width: 120px;
    text-align: center;
    box-shadow: 0 0 10px #00ccff;
    color: #fff;
}

/* Visitor counter enhancements */
.visitor-counter {
    background: linear-gradient(to bottom, #000033, #000066);
    border: 3px ridge #3366ff;
    color: #fff;
    padding: 10px;
    box-shadow: 0 0 15px #00ccff;
}

/* Progress bars with glowing effect */
.progress-tracker {
    font-family: 'MS Sans Serif', 'VT323', monospace, Arial, sans-serif;
    text-shadow: 1px 1px 2px #000;
}

.progress-tracker div {
    margin-bottom: 10px;
    color: #fff;
} 