/* Windows 95 Style CSS Framework for Side Hustle Source */
@import url('https://fonts.googleapis.com/css2?family=VT323&display=swap');

:root {
    --win95-bg: #008080;
    --win95-gray: #c0c0c0;
    --win95-dark-gray: #808080;
    --win95-white: #ffffff;
    --win95-black: #000000;
    --win95-blue: #000080;
    --win95-light-blue: #1084d0;
    --win95-green: #008000;
    --win95-yellow: #ffff00;
    --win95-red: #ff0000;
}

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

body {
    font-family: 'MS Sans Serif', 'Segoe UI', Tahoma, sans-serif;
    font-size: 26px;
    background: var(--win95-bg);
    min-height: 100vh;
    padding: 4px;
    padding-bottom: 55px;
    cursor: default;
}

a {
    color: var(--win95-blue);
    text-decoration: underline;
}

a:hover {
    color: var(--win95-light-blue);
}

/* Windows 95 Border Effects */
.win95-outset {
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
}

.win95-inset {
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

/* Main Window Container */
.window {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: #dfdfdf #0a0a0a #0a0a0a #dfdfdf;
    box-shadow: 2px 2px 0 var(--win95-black);
    width: 100%;
    max-width: none;
    margin: 0 0 4px 0;
}

/* Title Bar */
.title-bar {
    background: linear-gradient(90deg, var(--win95-blue), var(--win95-light-blue));
    padding: 10px 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    user-select: none;
}

.title-bar-text {
    color: white;
    font-weight: bold;
    font-size: 28px;
    display: flex;
    align-items: center;
    gap: 12px;
}

.title-bar-controls {
    display: flex;
    gap: 5px;
}

.title-bar-controls button {
    width: 38px;
    height: 36px;
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    font-size: 20px;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    padding: 0;
    line-height: 1;
}

.title-bar-controls button:active {
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

/* Menu Bar */
.menu-bar {
    background: var(--win95-gray);
    padding: 2px 0;
    border-bottom: 1px solid var(--win95-dark-gray);
    display: flex;
    flex-wrap: wrap;
}

.menu-bar a, .menu-bar button {
    background: transparent;
    border: none;
    padding: 10px 26px;
    font-size: 24px;
    cursor: pointer;
    text-decoration: none;
    color: var(--win95-black);
    font-family: inherit;
}

.menu-bar a:hover, .menu-bar button:hover {
    background: var(--win95-blue);
    color: white;
}

.menu-bar a.active {
    background: var(--win95-blue);
    color: white;
}

/* Window Content */
.window-content {
    padding: 25px 40px;
    background: var(--win95-gray);
}

/* Win95 Button */
.win95-btn {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    padding: 13px 32px;
    font-size: 24px;
    cursor: pointer;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    color: var(--win95-black);
}

.win95-btn:hover {
    background: #d4d4d4;
}

.win95-btn:active {
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 5px 15px 3px 17px;
}

.win95-btn.primary {
    font-weight: bold;
    outline: 1px dotted var(--win95-black);
    outline-offset: -4px;
}

.win95-btn.large {
    padding: 18px 48px;
    font-size: 26px;
}

.win95-btn.cta {
    background: linear-gradient(180deg, #c0c0c0 0%, #a0a0a0 100%);
}

/* Input Fields */
.win95-input {
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 10px 14px;
    font-size: 22px;
    font-family: inherit;
}

.win95-input:focus {
    outline: none;
}

/* Checkbox */
.win95-checkbox {
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 22px;
}

.win95-checkbox input {
    appearance: none;
    width: 24px;
    height: 24px;
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    cursor: pointer;
    flex-shrink: 0;
}

.win95-checkbox input:checked {
    background: var(--win95-white) url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 10 10"><path d="M1 5 L4 8 L9 2" stroke="%23000" fill="none" stroke-width="2"/></svg>') center/16px no-repeat;
}

/* Tabs */
.tab-container {
    margin-bottom: 10px;
}

.tabs {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

.tab {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-gray) var(--win95-white);
    padding: 16px 36px;
    cursor: pointer;
    font-size: 24px;
    position: relative;
    top: 2px;
    z-index: 1;
    text-decoration: none;
    color: var(--win95-black);
}

.tab:hover {
    background: #d4d4d4;
}

.tab.active {
    border-bottom-color: var(--win95-gray);
    z-index: 3;
    background: var(--win95-gray);
}

.tab-content {
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    padding: 25px;
    background: var(--win95-gray);
    position: relative;
    z-index: 2;
}

/* List View (File Explorer Style) */
.list-view {
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    max-height: 600px;
    overflow-y: auto;
}

.list-item {
    display: flex;
    align-items: center;
    padding: 18px 26px;
    gap: 20px;
    border-bottom: 1px solid #e0e0e0;
    cursor: pointer;
    text-decoration: none;
    color: var(--win95-black);
}

.list-item:hover {
    background: var(--win95-blue);
    color: white;
}

.list-item:hover .list-item-meta {
    color: #c0c0c0;
}

.list-item-icon {
    width: 70px;
    height: 70px;
    background: var(--win95-gray);
    border: 1px solid var(--win95-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 36px;
    flex-shrink: 0;
}

.list-item-icon img {
    width: 48px;
    height: 48px;
    object-fit: contain;
}

.list-item-details {
    flex: 1;
    min-width: 0;
}

.list-item-name {
    font-weight: bold;
    font-size: 25px;
}

.list-item-meta {
    font-size: 21px;
    color: var(--win95-dark-gray);
}

.list-item-value {
    font-weight: bold;
    color: var(--win95-green);
    font-size: 25px;
    white-space: nowrap;
}

.list-item:hover .list-item-value {
    color: #90EE90;
}

.list-save-btn {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    width: 50px;
    height: 50px;
    font-size: 24px;
    cursor: pointer;
    flex-shrink: 0;
}

.list-save-btn:hover {
    background: #d4d4d4;
}

.list-save-btn:active {
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

/* Platform Grid */
.platform-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 15px;
    padding: 10px 0;
}

.platform-card {
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 20px 15px;
    text-align: center;
    text-decoration: none;
    color: var(--win95-black);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: all 0.1s;
}

.platform-card:hover {
    background: var(--win95-blue);
    color: var(--win95-white);
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
}

.platform-logo {
    width: 64px;
    height: 64px;
    object-fit: contain;
    margin-bottom: 5px;
}

.platform-name {
    font-weight: bold;
    font-size: 20px;
}

.platform-category {
    font-size: 16px;
    color: var(--win95-dark-gray);
}

.platform-card:hover .platform-category {
    color: #c0c0c0;
}

.platform-payout {
    font-weight: bold;
    font-size: 18px;
    color: var(--win95-green);
    margin-top: 5px;
}

.platform-card:hover .platform-payout {
    color: #90EE90;
}

.platform-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    color: var(--win95-black);
    flex: 1;
}

.platform-card:hover .platform-link {
    color: var(--win95-white);
}

.save-btn {
    width: 100%;
    padding: 8px;
    margin-top: 10px;
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
    color: var(--win95-blue);
}

.save-btn:hover {
    background: #d4d4d4;
}

.save-btn:active {
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

/* Stats Box */
.stats-box {
    background: linear-gradient(180deg, #e8e8e8 0%, #c0c0c0 100%);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    padding: 20px 0;
}

@media (max-width: 700px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

.stat-item {
    text-align: center;
    padding: 15px;
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

.stat-number {
    font-size: 48px;
    font-weight: bold;
    font-family: 'VT323', monospace;
    line-height: 1;
    animation: statPulse 2s ease-in-out infinite;
}

.stat-number.blue {
    color: var(--win95-blue);
}

.stat-number.green {
    color: var(--win95-green);
}

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

.stat-label {
    font-size: 22px;
    color: var(--win95-black);
    margin-top: 8px;
    font-weight: bold;
}

/* Urgency Box */
.urgency-box {
    margin: 15px 0;
    padding: 12px;
    background: #ffffcc;
    border: 2px solid #ff9900;
}

.urgency-text {
    font-size: 22px;
    font-weight: bold;
    color: #cc0000;
    margin-bottom: 10px;
    animation: urgencyBlink 1.5s ease-in-out infinite;
}

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

/* Group Box */
.group-box {
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 25px;
    margin: 20px 0;
    position: relative;
}

.group-box-title {
    position: absolute;
    top: -16px;
    left: 18px;
    background: var(--win95-gray);
    padding: 0 14px;
    font-size: 26px;
    font-weight: bold;
}

/* Dialog Box */
.dialog {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: #dfdfdf #0a0a0a #0a0a0a #dfdfdf;
    margin: 20px 0;
    box-shadow: 2px 2px 0 var(--win95-black);
}

.dialog .title-bar {
    background: linear-gradient(90deg, var(--win95-green), #00c000);
}

.dialog.warning .title-bar {
    background: linear-gradient(90deg, #c0a000, #e0c000);
}

.dialog.error .title-bar {
    background: linear-gradient(90deg, #c00000, #e00000);
}

.dialog-content {
    padding: 40px;
    display: flex;
    gap: 32px;
    align-items: flex-start;
}

.dialog-icon {
    font-size: 94px;
    flex-shrink: 0;
}

.dialog-text {
    flex: 1;
}

.dialog-text h3 {
    font-size: 32px;
    margin-bottom: 18px;
}

.dialog-text p {
    font-size: 24px;
    margin-bottom: 20px;
    line-height: 1.6;
}

.dialog-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    padding: 26px;
    border-top: 1px solid var(--win95-dark-gray);
}

/* Progress Bar */
.progress-bar {
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    height: 20px;
    padding: 2px;
}

.progress-fill {
    background: var(--win95-blue);
    height: 100%;
    transition: width 0.3s;
}

/* Status Bar */
.status-bar {
    background: var(--win95-gray);
    border-top: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 8px 14px;
    font-size: 21px;
    display: flex;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 6px;
}

.status-bar-field {
    border: 1px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 1px 8px;
}

/* Taskbar */
.taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--win95-gray);
    border-top: 2px solid var(--win95-white);
    padding: 2px 4px;
    display: flex;
    align-items: center;
    gap: 5px;
    z-index: 1000;
}

.start-button {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    padding: 8px 18px;
    font-weight: bold;
    font-size: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    cursor: pointer;
    font-family: inherit;
}

.start-button:active {
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

.taskbar-divider {
    width: 2px;
    height: 22px;
    border-left: 1px solid var(--win95-dark-gray);
    border-right: 1px solid var(--win95-white);
    margin: 0 2px;
}

.taskbar-item {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 8px 18px;
    font-size: 21px;
    display: flex;
    align-items: center;
    gap: 8px;
    max-width: 280px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.taskbar-clock {
    margin-left: auto;
    border: 1px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 8px 20px;
    font-size: 21px;
}

/* Marquee */
.marquee-container {
    background: var(--win95-blue);
    color: var(--win95-yellow);
    padding: 8px 0;
    overflow: hidden;
    margin-bottom: 15px;
}

.marquee {
    display: inline-block;
    animation: marquee 20s linear infinite;
    white-space: nowrap;
    font-weight: bold;
    font-size: 26px;
}

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

/* Banner/Header Box */
/* Hero Header */
.hero-header {
    background: linear-gradient(180deg, #000080 0%, #0000aa 50%, #000080 100%);
    border: 4px solid;
    border-color: #4040ff #000040 #000040 #4040ff;
    padding: 40px 30px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: inset 0 0 50px rgba(0,0,0,0.3);
}

.hero-logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-bottom: 15px;
}

.logo-icon {
    font-size: 60px;
    animation: coinBounce 1s ease-in-out infinite;
}

.logo-icon:last-child {
    animation-delay: 0.5s;
}

@keyframes coinBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.logo-side {
    font-family: 'VT323', monospace;
    font-size: 36px;
    color: #ffff00;
    letter-spacing: 12px;
    text-shadow: 2px 2px 0 #000;
}

.logo-hustle {
    font-family: 'VT323', monospace;
    font-size: 72px;
    color: #00ff00;
    letter-spacing: 8px;
    text-shadow: 3px 3px 0 #000, 0 0 20px rgba(0,255,0,0.5);
    animation: glowPulse 2s ease-in-out infinite;
}

@keyframes glowPulse {
    0%, 100% { text-shadow: 3px 3px 0 #000, 0 0 20px rgba(0,255,0,0.5); }
    50% { text-shadow: 3px 3px 0 #000, 0 0 30px rgba(0,255,0,0.8), 0 0 40px rgba(0,255,0,0.4); }
}

.logo-source {
    font-family: 'VT323', monospace;
    font-size: 36px;
    color: #ffff00;
    letter-spacing: 12px;
    text-shadow: 2px 2px 0 #000;
}

.hero-tagline {
    font-size: 24px;
    color: #ffffff;
    margin-bottom: 20px;
    text-shadow: 1px 1px 0 #000;
}

.hero-badges {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 15px;
}

.hero-badge {
    background: #008000;
    color: #ffffff;
    padding: 8px 16px;
    font-size: 18px;
    font-weight: bold;
    border: 2px solid;
    border-color: #00c000 #004000 #004000 #00c000;
    text-shadow: 1px 1px 0 #000;
}

@media (max-width: 600px) {
    .logo-hustle {
        font-size: 48px;
    }
    .logo-side, .logo-source {
        font-size: 24px;
    }
    .logo-icon {
        font-size: 40px;
    }
    .hero-badges {
        flex-direction: column;
        align-items: center;
    }
}

/* Legacy header-box for other pages */
.header-box {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 40px;
    margin-bottom: 20px;
    text-align: center;
}

.header-box h1 {
    font-size: 62px;
    color: var(--win95-blue);
    margin-bottom: 22px;
    font-family: 'VT323', monospace;
    letter-spacing: 4px;
}

.header-box p {
    color: var(--win95-black);
    font-size: 26px;
}

/* Alert Banner */
.alert-banner {
    background: linear-gradient(90deg, #ffff00, #ffe000, #ffff00);
    background-size: 200% 100%;
    animation: shimmer 3s ease-in-out infinite;
    border: 3px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 20px 30px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    text-align: center;
}

@keyframes shimmer {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.alert-banner .icon {
    font-size: 32px;
    animation: bounce 1s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.alert-banner span {
    font-size: 18px;
    font-weight: bold;
    color: var(--win95-black);
}

.alert-banner .win95-btn {
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); box-shadow: 2px 2px 0 var(--win95-black); }
    50% { transform: scale(1.05); box-shadow: 3px 3px 0 var(--win95-black); }
}

/* Icon Grid (Desktop Style) */
.icon-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(170px, 1fr));
    gap: 20px;
    padding: 32px;
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

.icon-item {
    text-align: center;
    cursor: pointer;
    padding: 20px 14px;
    text-decoration: none;
    color: var(--win95-black);
}

.icon-item:hover {
    background: var(--win95-blue);
    color: white;
}

.icon-item-img {
    width: 104px;
    height: 104px;
    margin: 0 auto 18px;
    background: var(--win95-gray);
    border: 1px solid var(--win95-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 52px;
}

.icon-item span {
    font-size: 22px;
    word-wrap: break-word;
    display: block;
    line-height: 1.4;
}

/* Card Grid */
.card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 15px;
}

.card {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
}

.card-header {
    background: linear-gradient(90deg, var(--win95-blue), var(--win95-light-blue));
    color: white;
    padding: 16px 24px;
    font-weight: bold;
    font-size: 25px;
}

.card-body {
    padding: 26px;
    font-size: 22px;
}

/* Badge */
.badge {
    display: inline-block;
    background: var(--win95-blue);
    color: white;
    padding: 7px 18px;
    font-size: 20px;
    font-weight: bold;
}

.badge.green {
    background: var(--win95-green);
}

.badge.yellow {
    background: #c0a000;
    color: var(--win95-black);
}

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

::-webkit-scrollbar-track {
    background: var(--win95-gray);
    background-image: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="2" height="2"><rect width="1" height="1" fill="%23808080"/><rect x="1" y="1" width="1" height="1" fill="%23808080"/></svg>');
    background-size: 2px 2px;
}

::-webkit-scrollbar-thumb {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
}

::-webkit-scrollbar-button {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    width: 16px;
    height: 16px;
}

/* Search Box */
.search-box {
    display: flex;
    gap: 5px;
    margin-bottom: 10px;
}

.search-box input {
    flex: 1;
}

/* Filter Row */
.filter-row {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

/* Inset Panel */
.inset-panel {
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    padding: 20px;
}

/* Footer */
.footer {
    margin-top: 25px;
    padding: 20px;
    border: 1px solid var(--win95-dark-gray);
    background: #dfdfdf;
    text-align: center;
}

/* Visitor Counter */
.visitor-counter {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.counter-label {
    font-size: 18px;
    color: var(--win95-dark-gray);
}

.counter-display {
    display: flex;
    gap: 3px;
}

.counter-digit {
    background: #000;
    color: #00ff00;
    font-family: 'VT323', 'Courier New', monospace;
    font-size: 28px;
    font-weight: bold;
    width: 28px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid;
    border-color: #404040 #808080 #808080 #404040;
    text-shadow: 0 0 8px #00ff00;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 26px;
    flex-wrap: wrap;
    font-size: 24px;
    margin-bottom: 18px;
}

.footer-links a {
    color: var(--win95-blue);
}

.footer-copyright {
    font-size: 21px;
    color: var(--win95-dark-gray);
}

/* Responsive */
@media (max-width: 600px) {
    body {
        padding: 5px;
        padding-bottom: 40px;
        font-size: 14px;
    }

    .window {
        margin: 0 0 10px;
    }

    .header-box h1 {
        font-size: 22px;
    }

    .tab {
        padding: 5px 12px;
        font-size: 12px;
    }

    .list-item {
        padding: 8px;
    }

    .list-item-icon {
        width: 28px;
        height: 28px;
        font-size: 14px;
    }

    .list-item-name {
        font-size: 13px;
    }

    .list-item-meta {
        font-size: 11px;
    }

    .icon-grid {
        gap: 10px;
        padding: 10px;
    }

    .icon-item {
        width: 80px;
    }

    .icon-item-img {
        width: 36px;
        height: 36px;
        font-size: 18px;
    }

    .icon-item span {
        font-size: 12px;
    }

    .taskbar {
        padding: 2px;
    }

    .taskbar-item {
        display: none;
    }

    .dialog-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .alert-banner {
        flex-direction: column;
        text-align: center;
    }

    .win95-btn {
        font-size: 13px;
        padding: 5px 14px;
    }

    .menu-bar a, .menu-bar button {
        font-size: 12px;
        padding: 3px 8px;
    }
}

/* Saved Sidebar */
.saved-sidebar {
    position: fixed;
    right: 20px;
    top: 50%;
    transform: translateY(-50%);
    z-index: 999;
    display: flex;
    align-items: center;
}

.saved-sidebar-toggle {
    background: linear-gradient(180deg, #00c000 0%, #008000 100%);
    border: 3px solid;
    border-color: #00ff00 #004000 #004000 #00ff00;
    width: 60px;
    padding: 15px 10px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-size: 28px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.5), 0 0 15px rgba(0,255,0,0.3);
    transition: all 0.2s;
    animation: savedPulse 2s ease-in-out infinite;
}

@keyframes savedPulse {
    0%, 100% { box-shadow: 4px 4px 0 rgba(0,0,0,0.5), 0 0 15px rgba(0,255,0,0.3); }
    50% { box-shadow: 4px 4px 0 rgba(0,0,0,0.5), 0 0 25px rgba(0,255,0,0.6); }
}

.saved-sidebar-toggle:hover {
    background: linear-gradient(180deg, #00e000 0%, #00a000 100%);
    transform: scale(1.05);
}

.saved-sidebar-toggle:active {
    border-color: #004000 #00ff00 #00ff00 #004000;
}

.saved-toggle-label {
    font-size: 11px;
    font-weight: bold;
    color: white;
    text-shadow: 1px 1px 0 #000;
    writing-mode: vertical-rl;
    text-orientation: mixed;
    letter-spacing: 1px;
}

.saved-count {
    font-size: 16px;
    font-weight: bold;
    background: #ffff00;
    color: #000;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 2px solid #000;
    box-shadow: 2px 2px 0 rgba(0,0,0,0.3);
}

/* Animation when item is saved */
.saved-sidebar.peek .saved-sidebar-panel {
    right: -270px;
    animation: peekIn 0.5s ease-out;
}

@keyframes peekIn {
    0% { right: -360px; }
    40% { right: -200px; }
    100% { right: -270px; }
}

.saved-sidebar.bounce .saved-sidebar-toggle {
    animation: saveBounce 0.5s ease-out;
}

@keyframes saveBounce {
    0% { transform: scale(1); }
    30% { transform: scale(1.3); }
    50% { transform: scale(0.9); }
    70% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.saved-sidebar-panel {
    position: absolute;
    right: -360px;
    top: 50%;
    transform: translateY(-50%);
    width: 320px;
    max-height: 70vh;
    background: var(--win95-gray);
    border: 2px solid;
    border-color: #dfdfdf #0a0a0a #0a0a0a #dfdfdf;
    box-shadow: -4px 4px 0 rgba(0,0,0,0.3);
    transition: right 0.3s ease;
    display: flex;
    flex-direction: column;
}

.saved-sidebar.open .saved-sidebar-panel {
    right: 60px;
}

.saved-sidebar.open .saved-sidebar-toggle {
    opacity: 0;
    pointer-events: none;
}

.saved-sidebar-header {
    background: linear-gradient(90deg, var(--win95-blue), var(--win95-light-blue));
    padding: 8px 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.saved-sidebar-header h3 {
    color: white;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 8px;
}

.close-sidebar {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    width: 24px;
    height: 24px;
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-sidebar:active {
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

.saved-sidebar-content {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
    background: var(--win95-white);
    border: 2px solid;
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
    margin: 10px;
    max-height: calc(70vh - 120px);
}

.empty-saved {
    color: var(--win95-dark-gray);
    text-align: center;
    padding: 30px 15px;
    font-size: 14px;
    line-height: 1.6;
}

.saved-item {
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    padding: 10px;
    margin-bottom: 8px;
}

.saved-item:last-child {
    margin-bottom: 0;
}

.saved-item-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 6px;
}

.saved-item-icon {
    width: 32px;
    height: 32px;
    background: var(--win95-white);
    border: 1px solid var(--win95-dark-gray);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.saved-item-icon img {
    width: 24px;
    height: 24px;
    object-fit: contain;
}

.saved-item-name {
    font-weight: bold;
    font-size: 14px;
    flex: 1;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.saved-item-category {
    color: var(--win95-dark-gray);
    font-size: 12px;
    margin-bottom: 8px;
}

.saved-item-actions {
    display: flex;
    gap: 6px;
}

.saved-item-actions button {
    flex: 1;
    padding: 6px 10px;
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    font-family: inherit;
}

.saved-item-actions button:active {
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

.saved-item-btn-view {
    color: var(--win95-blue);
}

.saved-item-btn-remove {
    color: #c00000;
}

.saved-sidebar-footer {
    padding: 10px;
    border-top: 1px solid var(--win95-dark-gray);
}

.clear-all-btn {
    width: 100%;
    padding: 8px;
    background: var(--win95-gray);
    border: 2px solid;
    border-color: var(--win95-white) var(--win95-dark-gray) var(--win95-dark-gray) var(--win95-white);
    color: #c00000;
    font-size: 13px;
    font-weight: bold;
    cursor: pointer;
    font-family: inherit;
}

.clear-all-btn:active {
    border-color: var(--win95-dark-gray) var(--win95-white) var(--win95-white) var(--win95-dark-gray);
}

/* Toast notification */
.toast {
    position: fixed;
    bottom: 70px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--win95-gray);
    border: 2px solid;
    border-color: #dfdfdf #0a0a0a #0a0a0a #dfdfdf;
    padding: 12px 24px;
    font-size: 14px;
    box-shadow: 4px 4px 0 rgba(0,0,0,0.3);
    z-index: 10000;
    display: none;
}

.toast.show {
    display: block;
    animation: toastIn 0.3s ease;
}

@keyframes toastIn {
    from { opacity: 0; transform: translateX(-50%) translateY(20px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}

@media (max-width: 600px) {
    .saved-sidebar {
        right: 10px;
    }

    .saved-sidebar-toggle {
        width: 50px;
        padding: 12px 8px;
        font-size: 22px;
    }

    .saved-count {
        width: 22px;
        height: 22px;
        font-size: 14px;
    }

    .saved-sidebar-panel {
        width: 280px;
        right: -310px;
        max-height: 60vh;
    }

    .saved-sidebar.open .saved-sidebar-panel {
        right: 50px;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.text-bold { font-weight: bold; }
.mt-10 { margin-top: 10px; }
.mb-10 { margin-bottom: 10px; }
.p-10 { padding: 10px; }
.flex { display: flex; }
.flex-wrap { flex-wrap: wrap; }
.gap-10 { gap: 10px; }
.hidden { display: none; }

/* Mobile Responsive Fixes */
@media (max-width: 500px) {
    .platform-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .platform-card {
        padding: 12px 8px;
    }
    
    .platform-logo {
        width: 40px;
        height: 40px;
    }
    
    .platform-name {
        font-size: 14px;
    }
    
    .platform-category {
        font-size: 11px;
    }
    
    .platform-payout {
        font-size: 13px;
    }
    
    .save-btn {
        padding: 6px;
        font-size: 12px;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .stat-label {
        font-size: 14px;
    }
    
    .hero-header {
        padding: 20px 15px;
    }
    
    .hero-logo {
        flex-direction: column;
        gap: 5px;
    }
    
    .logo-icon {
        font-size: 30px;
    }
    
    .logo-side, .logo-source {
        font-size: 28px;
    }
    
    .logo-hustle {
        font-size: 42px;
    }
    
    .hero-tagline {
        font-size: 14px;
    }
    
    .hero-badges {
        flex-direction: column;
        gap: 5px;
    }
    
    .hero-badge {
        font-size: 11px;
        padding: 4px 10px;
    }
    
    .icon-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .icon-item {
        padding: 10px;
    }
    
    .icon-item-img {
        font-size: 28px;
    }
    
    .icon-item span {
        font-size: 11px;
    }
    
    .window-content {
        padding: 10px;
    }
    
    .group-box {
        padding: 15px 10px;
    }
    
    .group-box-title {
        font-size: 14px;
    }
    
    .dialog-content {
        flex-direction: column;
        text-align: center;
    }
    
    .dialog-icon {
        font-size: 40px;
    }
    
    .dialog-text h3 {
        font-size: 16px;
    }
    
    .dialog-text p {
        font-size: 12px;
    }
    
    .win95-btn {
        font-size: 12px;
        padding: 8px 12px;
    }
    
    .win95-btn.large {
        font-size: 14px;
        padding: 10px 20px;
    }
    
    .alert-banner {
        flex-direction: column;
        text-align: center;
        gap: 10px;
        font-size: 12px;
    }
    
    .menu-bar a {
        font-size: 12px;
        padding: 6px 8px;
    }
    
    .title-bar-text {
        font-size: 14px;
    }
    
    .visitor-counter {
        flex-direction: column;
        gap: 5px;
    }
    
    .counter-digit {
        width: 20px;
        height: 28px;
        font-size: 20px;
    }
}
