/**
 * Clerky Holdings - Main Stylesheet
 * A Windows 3.1 inspired design for the modern age
 * "Best viewed with Internet Explorer 4.0" - The Webmaster, 1998
 */

/* ==========================================================================
   RESET & BASE STYLES
   ========================================================================== */

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

body {
    font-family: 'Courier New', Courier, monospace;
    background-color: #008080; /* Classic teal Windows desktop */
    color: #000080;
    min-height: 100vh;
    padding: 20px;
    background-image:
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(0, 0, 0, 0.03) 2px,
            rgba(0, 0, 0, 0.03) 4px
        );
}

/* ==========================================================================
   ACCESSIBILITY
   ========================================================================== */

.skip-link {
    position: absolute;
    top: -40px;
    left: 0;
    background: #000080;
    color: #ffffff;
    padding: 8px;
    z-index: 10000;
    text-decoration: none;
}

.skip-link:focus {
    top: 0;
}

/* ==========================================================================
   WINDOWS 3.1 WINDOW CHROME
   ========================================================================== */

.window {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    max-width: 800px;
    margin: 0 auto;
    box-shadow:
        inset 1px 1px 0 #dfdfdf,
        inset -1px -1px 0 #0a0a0a,
        4px 4px 0 rgba(0, 0, 0, 0.3);
}

.title-bar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    padding: 3px 5px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.title-bar-buttons {
    display: flex;
    gap: 2px;
}

.title-bar-btn {
    width: 16px;
    height: 14px;
    background: #c0c0c0;
    border: 1px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.title-bar-btn:hover {
    background: #d4d4d4;
}

.title-bar-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}

.menu-bar {
    background: #c0c0c0;
    padding: 2px 0;
    border-bottom: 1px solid #808080;
}

.menu-bar span {
    padding: 2px 8px;
    font-size: 12px;
    cursor: pointer;
}

.menu-bar span:first-child {
    text-decoration: underline;
}

.menu-bar span:hover {
    background: #000080;
    color: #ffffff;
}

.content {
    padding: 30px;
    background: #ffffff;
    margin: 10px;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
}

/* ==========================================================================
   HEADER & BRANDING
   ========================================================================== */

.header {
    text-align: center;
    border-bottom: 3px double #000080;
    padding-bottom: 20px;
    margin-bottom: 25px;
}

.logo {
    font-size: 48px;
    font-weight: bold;
    color: #000080;
    letter-spacing: 8px;
    text-shadow: 2px 2px 0 #808080;
    margin-bottom: 5px;
    cursor: default;
    user-select: none;
}

.tagline {
    font-size: 14px;
    color: #808080;
    font-style: italic;
}

/* ==========================================================================
   VISITOR COUNTER
   ========================================================================== */

.visitor-counter {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
    background: #000000;
    display: inline-block;
    border: 2px inset #808080;
    cursor: pointer;
    user-select: none;
}

.visitor-counter:hover {
    box-shadow: 0 0 5px #00ff00;
}

.counter-label {
    color: #00ff00;
    font-size: 10px;
    display: block;
    margin-bottom: 3px;
}

.counter-digits {
    font-family: 'Courier New', monospace;
    font-size: 18px;
    color: #ff0000;
    background: #1a1a1a;
    padding: 3px 8px;
    letter-spacing: 3px;
}

/* ==========================================================================
   COMPANY LIST & NAVIGATION
   ========================================================================== */

.nav-section {
    margin: 30px 0;
}

.nav-section h2 {
    font-size: 16px;
    color: #000080;
    border-bottom: 1px solid #000080;
    padding-bottom: 5px;
    margin-bottom: 15px;
}

.company-list {
    list-style: none;
}

.company-list li {
    margin: 12px 0;
    padding-left: 20px;
    position: relative;
}

.company-list li::before {
    content: "\25BA"; /* Right-pointing triangle */
    position: absolute;
    left: 0;
    color: #000080;
    font-size: 10px;
}

.company-list a {
    color: #0000ff;
    text-decoration: underline;
    font-size: 14px;
    cursor: pointer;
}

.company-list a:visited {
    color: #800080;
}

.company-list a:hover {
    color: #ff0000;
    background: #ffff00;
}

.company-list a:focus {
    outline: 2px dotted #000080;
    outline-offset: 2px;
}

.company-desc {
    color: #808080;
    font-size: 11px;
    display: block;
    margin-top: 2px;
    padding-left: 5px;
}

/* ==========================================================================
   INFO SECTIONS
   ========================================================================== */

.info-section {
    background: #ffffcc;
    border: 1px dashed #808080;
    padding: 15px;
    margin: 20px 0;
    font-size: 12px;
}

.info-section p {
    margin: 8px 0;
    line-height: 1.6;
}

/* ==========================================================================
   BADGES (NEW!, HOT!)
   ========================================================================== */

.new-badge {
    background: #ff0000;
    color: #ffff00;
    font-size: 9px;
    padding: 1px 4px;
    margin-left: 8px;
    font-weight: bold;
    animation: blink 1s infinite;
}

.hot-badge {
    background: #ff6600;
    color: #ffffff;
    font-size: 9px;
    padding: 1px 4px;
    margin-left: 8px;
    font-weight: bold;
}

/* ==========================================================================
   UNDER CONSTRUCTION
   ========================================================================== */

.under-construction {
    text-align: center;
    margin: 20px 0;
}

.construction-gif {
    font-size: 24px;
    display: inline-block;
    animation: bounce 0.5s infinite alternate;
    cursor: pointer;
}

.construction-gif.dancing {
    animation: dance 0.5s ease-in-out 3;
}

/* ==========================================================================
   FOOTER
   ========================================================================== */

.footer {
    text-align: center;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid #808080;
    font-size: 10px;
    color: #808080;
}

.footer p {
    margin: 5px 0;
}

.email-link {
    color: #0000ff;
    cursor: pointer;
}

/* ==========================================================================
   BUTTONS
   ========================================================================== */

.guestbook-btn {
    display: inline-block;
    margin: 15px 0;
    padding: 8px 16px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    color: #000000;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
}

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

.guestbook-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}

/* ==========================================================================
   MARQUEE
   ========================================================================== */

.marquee-container {
    background: #000080;
    color: #ffff00;
    padding: 5px 0;
    overflow: hidden;
    margin: 15px 0;
}

.marquee-text {
    display: inline-block;
    white-space: nowrap;
    animation: marquee 15s linear infinite;
    font-size: 12px;
}

/* ==========================================================================
   CORPORATE INFO TABLE
   ========================================================================== */

.info-table {
    width: 100%;
    border-collapse: collapse;
    margin: 15px 0;
    font-size: 12px;
}

.info-table th {
    background: #000080;
    color: #ffffff;
    padding: 5px 10px;
    text-align: left;
    border: 1px solid #000000;
}

.info-table td {
    padding: 5px 10px;
    border: 1px solid #808080;
    background: #ffffff;
}

.info-table tr:nth-child(even) td {
    background: #f0f0f0;
}

/* ==========================================================================
   HORIZONTAL RULES
   ========================================================================== */

hr {
    border: none;
    border-top: 1px solid #808080;
    border-bottom: 1px solid #ffffff;
    margin: 20px 0;
}

/* ==========================================================================
   AWARD BADGES
   ========================================================================== */

.badges {
    text-align: center;
    margin: 20px 0;
    padding: 10px;
}

.badge {
    display: inline-block;
    margin: 5px 10px;
    padding: 8px 12px;
    border: 2px ridge #808080;
    background: linear-gradient(180deg, #ffffff 0%, #c0c0c0 100%);
    font-size: 9px;
    color: #000080;
    cursor: pointer;
    user-select: none;
}

.badge:hover {
    background: linear-gradient(180deg, #ffffff 0%, #d4d4d4 100%);
}

/* ==========================================================================
   BEST VIEWED WITH
   ========================================================================== */

.best-viewed {
    text-align: center;
    font-size: 10px;
    color: #808080;
    margin-top: 15px;
    cursor: pointer;
}

.best-viewed:hover {
    color: #000080;
}

.ie-logo {
    font-size: 14px;
}

/* ==========================================================================
   SPINNING @ EMAIL
   ========================================================================== */

.spin {
    display: inline-block;
    animation: spin 2s linear infinite;
    cursor: pointer;
}

/* ==========================================================================
   MODAL STYLES
   ========================================================================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 128, 128, 0.8);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.2s ease;
}

.modal-overlay.active {
    display: flex;
}

.modal-window {
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    box-shadow:
        inset 1px 1px 0 #dfdfdf,
        inset -1px -1px 0 #0a0a0a,
        8px 8px 0 rgba(0, 0, 0, 0.4);
    animation: modalSlideIn 0.2s ease;
}

.modal-title-bar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    padding: 3px 5px;
    font-weight: bold;
    font-size: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    user-select: none;
}

.modal-title-buttons {
    display: flex;
    gap: 2px;
}

.modal-title-btn {
    width: 16px;
    height: 14px;
    background: #c0c0c0;
    border: 1px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    font-size: 9px;
    line-height: 12px;
    text-align: center;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-title-btn:hover {
    background: #d4d4d4;
}

.modal-title-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}

.modal-content {
    padding: 20px;
    background: #ffffff;
    margin: 8px;
    border: 2px solid;
    border-color: #808080 #ffffff #ffffff #808080;
    max-height: 60vh;
    overflow-y: auto;
}

.modal-logo {
    font-size: 48px;
    text-align: center;
    margin-bottom: 15px;
}

.modal-company-name {
    font-size: 24px;
    color: #000080;
    text-align: center;
    font-weight: bold;
    margin-bottom: 5px;
}

.modal-tagline {
    text-align: center;
    color: #808080;
    font-size: 11px;
    font-style: italic;
    margin-bottom: 20px;
}

.modal-section {
    margin: 15px 0;
    padding: 10px;
    background: #f0f0f0;
    border: 1px solid #808080;
}

.modal-section-title {
    font-size: 11px;
    color: #000080;
    font-weight: bold;
    margin-bottom: 8px;
    border-bottom: 1px dotted #808080;
    padding-bottom: 3px;
}

.modal-section p {
    font-size: 12px;
    line-height: 1.6;
    margin: 5px 0;
}

.modal-fun-fact {
    background: #ffffcc;
    border: 1px dashed #808080;
    padding: 10px;
    margin: 15px 0;
    font-size: 11px;
}

.modal-fun-fact::before {
    content: "FUN FACT: ";
    font-weight: bold;
    color: #ff6600;
}

.modal-buttons {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.modal-btn {
    padding: 8px 20px;
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    color: #000000;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
}

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

.modal-btn:active {
    border-color: #808080 #ffffff #ffffff #808080;
}

.modal-btn-primary {
    background: #000080;
    color: #ffffff;
    border-color: #4040ff #000040 #000040 #4040ff;
}

.modal-btn-primary:hover {
    background: #0000a0;
}

/* ==========================================================================
   BSOD (BLUE SCREEN OF DEATH) EASTER EGG
   ========================================================================== */

.bsod-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #0000aa;
    z-index: 99999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    font-family: 'Courier New', monospace;
    color: #ffffff;
    cursor: pointer;
}

.bsod-overlay.active {
    display: flex;
}

.bsod-title {
    background: #a8a8a8;
    color: #0000aa;
    padding: 2px 20px;
    font-weight: bold;
    margin-bottom: 30px;
}

.bsod-text {
    text-align: center;
    max-width: 600px;
    line-height: 1.8;
    font-size: 14px;
}

.bsod-text p {
    margin: 15px 0;
}

.bsod-joke {
    margin-top: 40px;
    font-size: 12px;
    color: #ffff00;
    animation: blink 1s infinite;
}

/* ==========================================================================
   AOL "YOU'VE GOT MAIL" POPUP EASTER EGG
   ========================================================================== */

.aol-popup {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: #c0c0c0;
    border: 2px solid;
    border-color: #ffffff #808080 #808080 #ffffff;
    padding: 0;
    z-index: 99998;
    box-shadow: 4px 4px 0 rgba(0, 0, 0, 0.3);
    animation: aolBounce 0.3s ease;
}

.aol-popup.active {
    display: block;
}

.aol-title-bar {
    background: linear-gradient(90deg, #000080, #1084d0);
    color: white;
    padding: 3px 8px;
    font-size: 11px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.aol-content {
    padding: 20px 30px;
    text-align: center;
    background: #ffffff;
    margin: 5px;
    border: 1px solid #808080;
}

.aol-icon {
    font-size: 48px;
    margin-bottom: 10px;
}

.aol-text {
    font-size: 14px;
    color: #000000;
    margin-bottom: 15px;
}

/* ==========================================================================
   KONAMI CODE EASTER EGG
   ========================================================================== */

.konami-active {
    cursor: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" width="32" height="32" viewBox="0 0 32 32"><text y="24" font-size="24">👆</text></svg>'), auto !important;
}

.konami-active * {
    cursor: inherit !important;
}

.dancing-baby {
    position: fixed;
    bottom: 20px;
    right: 20px;
    font-size: 64px;
    animation: babyDance 0.5s ease-in-out infinite;
    z-index: 9998;
    display: none;
}

.dancing-baby.active {
    display: block;
}

.rainbow-text {
    animation: rainbow 2s linear infinite;
}

/* ==========================================================================
   Y2K TOOLTIP EASTER EGG
   ========================================================================== */

.y2k-tooltip {
    display: none;
    position: absolute;
    background: #000000;
    color: #00ff00;
    padding: 10px 15px;
    font-size: 10px;
    border: 2px solid #00ff00;
    z-index: 1000;
    white-space: nowrap;
    font-family: 'Courier New', monospace;
}

.y2k-tooltip.active {
    display: block;
}

/* ==========================================================================
   CONFETTI
   ========================================================================== */

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    pointer-events: none;
    z-index: 99997;
}

/* ==========================================================================
   SECRET WEBMASTER SECTION EASTER EGG
   ========================================================================== */

.secret-section {
    display: none;
    background: #000000;
    color: #00ff00;
    padding: 20px;
    margin: 20px 0;
    border: 2px solid #00ff00;
    font-size: 11px;
    line-height: 1.8;
}

.secret-section.active {
    display: block;
    animation: fadeIn 0.5s ease;
}

.secret-section h3 {
    color: #00ff00;
    margin-bottom: 15px;
    font-size: 14px;
}

/* ==========================================================================
   VIDEO TV ICON
   ========================================================================== */

.video-icon {
    display: inline-block;
    margin-left: 6px;
    cursor: pointer;
    font-size: 12px;
    vertical-align: middle;
    transition: transform 0.2s ease;
}

.video-icon:hover {
    transform: scale(1.3);
    animation: tvWiggle 0.3s ease;
}

/* ==========================================================================
   RETRO TV VIDEO MODAL
   ========================================================================== */

.tv-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 99999;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    animation: fadeIn 0.3s ease;
}

.tv-modal-overlay.active {
    display: flex;
}

.retro-tv {
    position: relative;
    animation: tvTurnOn 0.5s ease;
}

.tv-antenna {
    position: relative;
    height: 60px;
    display: flex;
    justify-content: center;
    align-items: flex-end;
}

.antenna-left,
.antenna-right {
    width: 4px;
    height: 50px;
    background: linear-gradient(to bottom, #666, #888, #666);
    border-radius: 2px;
    position: absolute;
    bottom: 0;
}

.antenna-left {
    transform: rotate(-20deg);
    left: calc(50% - 40px);
}

.antenna-right {
    transform: rotate(20deg);
    right: calc(50% - 40px);
}

.antenna-left::before,
.antenna-right::before {
    content: '';
    position: absolute;
    top: -8px;
    left: 50%;
    transform: translateX(-50%);
    width: 10px;
    height: 10px;
    background: #444;
    border-radius: 50%;
}

.antenna-base {
    width: 30px;
    height: 15px;
    background: linear-gradient(to bottom, #555, #333);
    border-radius: 5px 5px 0 0;
    position: absolute;
    bottom: 0;
}

.tv-body {
    background: linear-gradient(145deg, #8B4513 0%, #654321 50%, #4a3520 100%);
    border-radius: 20px;
    padding: 25px;
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.8),
        inset 0 2px 0 rgba(255, 255, 255, 0.1),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    display: flex;
    gap: 20px;
}

.tv-screen-container {
    position: relative;
    background: #1a1a1a;
    border-radius: 20px;
    padding: 15px;
    box-shadow:
        inset 0 0 30px rgba(0, 0, 0, 0.8),
        inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.tv-screen {
    width: 480px;
    height: 270px;
    background: #000;
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.tv-screen iframe {
    width: 100%;
    height: 100%;
    position: relative;
    z-index: 2;
}

.tv-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-radial-gradient(
        circle at 50% 50%,
        transparent 0,
        rgba(255, 255, 255, 0.03) 1px,
        transparent 2px
    );
    opacity: 0.5;
    z-index: 1;
    pointer-events: none;
    animation: staticNoise 0.1s infinite;
}

.tv-screen-glare {
    position: absolute;
    top: 15px;
    left: 15px;
    right: 15px;
    bottom: 15px;
    border-radius: 15px;
    background: linear-gradient(
        135deg,
        rgba(255, 255, 255, 0.1) 0%,
        transparent 50%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 10;
}

.tv-controls {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    width: 80px;
}

.tv-brand {
    font-family: 'Courier New', monospace;
    font-size: 9px;
    color: #c0a060;
    text-align: center;
    letter-spacing: 1px;
    font-weight: bold;
    text-shadow: 1px 1px 0 rgba(0, 0, 0, 0.5);
}

.tv-knobs {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.tv-knob {
    width: 40px;
    height: 40px;
    background: linear-gradient(145deg, #444, #222);
    border-radius: 50%;
    box-shadow:
        0 2px 5px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    position: relative;
}

.tv-knob::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 3px;
    height: 12px;
    background: #888;
    transform: translate(-50%, -80%);
    border-radius: 2px;
}

.tv-speaker {
    display: flex;
    flex-direction: column;
    gap: 4px;
    padding: 10px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 5px;
}

.speaker-line {
    width: 40px;
    height: 3px;
    background: linear-gradient(to bottom, #333, #444);
    border-radius: 2px;
}

.tv-power-btn {
    margin-top: 20px;
    padding: 10px 25px;
    background: linear-gradient(145deg, #cc0000, #990000);
    border: none;
    border-radius: 5px;
    color: #fff;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: bold;
    cursor: pointer;
    box-shadow:
        0 4px 10px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 8px;
}

.tv-power-btn:hover {
    background: linear-gradient(145deg, #ff0000, #cc0000);
    transform: translateY(-2px);
}

.tv-power-btn:active {
    transform: translateY(0);
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.5);
}

.power-icon {
    font-size: 14px;
}

.tv-hint {
    margin-top: 15px;
    color: #666;
    font-size: 11px;
    font-family: 'Courier New', monospace;
}

/* ==========================================================================
   ANIMATIONS
   ========================================================================== */

@keyframes tvWiggle {
    0%, 100% { transform: scale(1.3) rotate(0deg); }
    25% { transform: scale(1.3) rotate(-5deg); }
    75% { transform: scale(1.3) rotate(5deg); }
}

@keyframes tvTurnOn {
    0% {
        transform: scale(0.8);
        opacity: 0;
    }
    50% {
        transform: scale(1.02);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes staticNoise {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

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

@keyframes bounce {
    from { transform: translateY(0); }
    to { transform: translateY(-5px); }
}

@keyframes dance {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-10px) rotate(-10deg); }
    50% { transform: translateY(0) rotate(0deg); }
    75% { transform: translateY(-10px) rotate(10deg); }
}

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

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

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

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

@keyframes aolBounce {
    0% { transform: translate(-50%, -50%) scale(0.5); }
    50% { transform: translate(-50%, -50%) scale(1.1); }
    100% { transform: translate(-50%, -50%) scale(1); }
}

@keyframes babyDance {
    0%, 100% { transform: translateY(0) rotate(-5deg); }
    50% { transform: translateY(-20px) rotate(5deg); }
}

@keyframes rainbow {
    0% { color: #ff0000; }
    16% { color: #ff8800; }
    33% { color: #ffff00; }
    50% { color: #00ff00; }
    66% { color: #0088ff; }
    83% { color: #8800ff; }
    100% { color: #ff0000; }
}

/* ==========================================================================
   RESPONSIVE STYLES
   ========================================================================== */

@media (max-width: 600px) {
    body {
        padding: 10px;
    }

    .content {
        padding: 15px;
    }

    .logo {
        font-size: 32px;
        letter-spacing: 4px;
    }

    .modal-window {
        width: 95%;
    }

    /* Responsive TV */
    .tv-body {
        flex-direction: column;
        padding: 15px;
    }

    .tv-screen {
        width: 300px;
        height: 169px;
    }

    .tv-controls {
        flex-direction: row;
        width: 100%;
        padding-top: 10px;
    }

    .tv-knobs {
        flex-direction: row;
    }

    .tv-knob {
        width: 30px;
        height: 30px;
    }

    .tv-speaker {
        padding: 5px;
    }

    .speaker-line {
        width: 25px;
    }

    .tv-antenna {
        height: 40px;
    }

    .antenna-left,
    .antenna-right {
        height: 35px;
    }
}

/* ==========================================================================
   PRINT STYLES
   ========================================================================== */

@media print {
    body {
        background: #ffffff;
    }

    .window {
        box-shadow: none;
        border: 1px solid #000000;
    }

    .modal-overlay,
    .bsod-overlay,
    .aol-popup,
    .dancing-baby,
    .tv-modal-overlay {
        display: none !important;
    }

    .video-icon {
        display: none;
    }
}
