* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Trebuchet MS', 'Lucida Grande', 'Lucida Sans Unicode', 'Lucida Sans', Tahoma, sans-serif;
    /* Windows XP retro wallpaper */
    background: 
        linear-gradient(135deg, #0C4B33 0%, #054A91 25%, #2D1B69 50%, #8B0000 75%, #0C4B33 100%),
        radial-gradient(circle at 30% 20%, rgba(255,255,255,0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 80%, rgba(255,255,255,0.05) 0%, transparent 50%);
    background-size: 400% 400%, 100% 100%, 100% 100%;
    animation: gradientShift 20s ease infinite;
    min-height: 100vh;
    padding: 200px 100px 60px 40px; /* SHIFTED LEFT and MORE DOWN */
    position: relative;
    overflow-x: hidden;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Floating Newspaper Header - No Box */
/* Floating Newspaper Header - No Box */
.floating-header {
    position: absolute;
    top: 190px; /* Moved further down */
    right: 600px; /* SHIFTED TO OPPOSITE SIDE (RIGHT) */
    z-index: 10;
}

.floating-header h1 {
    font-family: 'Playfair Display', Georgia, serif;
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(90deg, #F5DEB3, #DAA520, #B8860B);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 
        2px 2px 0 #654321,
        4px 4px 0 rgba(255,255,255,0.2);
    letter-spacing: 2px;
    text-transform: uppercase;
    transform: translateX(-20px); /* Adjusted for right side */
    opacity: 0.95;
    writing-mode: horizontal-tb; /* Ensure proper text direction */
}




/* Clean Upwards Rocket Launch */
.heading-wrapper {
    display: flex;
    align-items: center;
    position: relative;
    overflow: visible !important;
}

.word {
    display: inline-block;
    transition: all 0.5s ease-out !important;
}

.floating-header:hover .left-words {
    transform: translateX(-8px) !important; /* Subtle move */
}

.floating-header:hover .right-words {
    transform: translateX(8px) !important;
}

.rocket-space {
    width: 32px;
    height: 32px;
    display: inline-block;
    flex-shrink: 0;
}

.rocket-container {
    position: absolute;
    left: 50%;
    top: -20px;
    width: 32px;
    height: 32px;
    transform: translateX(-50%);
    pointer-events: none;
}

.rocket {
    position: absolute;
    font-size: 1.4rem;
    left: 50% !important;
    top: 120%; /* Start position */
    transform: translateX(-50%) !important;
    opacity: 0 !important;
    visibility: hidden !important;
    transition: all 0.01s !important;
}

/* CLEAN UPWARDS LAUNCH */
.floating-header:hover .rocket {
    opacity: 1 !important;
    visibility: visible !important;
    animation: cleanRocketLaunch 1.2s ease-out forwards !important;
}

/* PERFECT 45° LINEAR PATH */
@keyframes cleanRocketLaunch {
    0% {
        top: 110%;
        left: 50%;
        transform: translateX(-50%) scale(0.9);
        opacity: 0;
    }
    10% {
        top: 95%;
        left: 52.5%;
        opacity: 1;
    }
    25% {
        top: 75%;
        left: 57.5%;
        transform: translateX(-50%) scale(1.1);
        filter: drop-shadow(0 0 12px rgba(0,255,255,0.8));
    }
    50% {
        top: 50%;
        left: 65%;
        transform: translateX(-50%) scale(1.15);
        filter: drop-shadow(0 0 18px rgba(255,255,0,0.9));
    }
    75% {
        top: 25%;
        left: 72.5%;
        transform: translateX(-50%) scale(1.08);
    }
    90% {
        top: 10%;
        left: 77.5%;
        opacity: 0.8;
    }
    100% {
        top: -20%;
        left: 85%;
        transform: translateX(-50%) scale(1);
        opacity: 0;
    }
}

.floating-header:hover::after {
    content: '🔥';
    position: absolute;
    animation: exhaust45Linear 1.2s ease-out forwards;
    z-index: 5;
    font-size: 0.9rem;
    opacity: 0;
}

@keyframes exhaust45Linear {
    0% {
        left: 50%;
        top: 88%;
        transform: translateX(-50%) scale(0.4);
        opacity: 0;
    }
    20% {
        left: 55%;
        top: 78%;
        transform: translateX(-50%) scale(1.2);
        opacity: 1;
    }
    50% {
        left: 62.5%;
        top: 58%;
        transform: translateX(-50%) scale(1.6);
        opacity: 0.8;
    }
    80% {
        left: 70%;
        top: 32%;
        transform: translateX(-50%) scale(2);
        opacity: 0.5;
    }
    100% {
        left: 77.5%;
        top: 15%;
        transform: translateX(-50%) scale(2.5);
        opacity: 0;
    }
}





/* Windows XP Firefox/Yahoo Window */
.window-container {
    width: 380px;
    height: 320px;
    background: #C0C0C0;
    border: 2px outset #DFDFDF;
    box-shadow: 
        4px 4px 20px rgba(0,0,0,0.4),
        inset -1px -1px 0 #808080,
        inset 1px 1px 0 #FFFFFF;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    margin-right: 400px;
    margin-top: 20px; /* Reduced gap */
    top: -10px; /* Perfect position below profile+heading */
    right: -650px; /* FORCED FAR RIGHT */
    z-index: 5;
}

/* HOVER: Active Window Effect */
.window-container:hover {
    transform: translateX(8px) scale(1.02) !important;
    box-shadow: 
        0 12px 35px rgba(0,0,0,0.6),
        0 0 0 2px #000080,
        inset -2px -2px 0 #606060,
        inset 2px 2px 0 #FFFFFF !important;
    border-color: #000080 !important;
}

/* FOCUS: When tab active */
.window-container:focus-within {
    box-shadow: 
        0 8px 25px rgba(0,136,208,0.6),
        0 0 0 3px rgba(0,120,215,0.5),
        inset -1px -1px 0 #404040,
        inset 1px 1px 0 #FFFFFF;
}

/* Enhanced Title Bar Hover */
.window-header:hover {
    background: linear-gradient(90deg, #0000FF 0%, #4169E1 50%, #ADD8E6 100%) !important;
}

/* Tab Hover Enhancement */
.tab:hover {
    background: linear-gradient(180deg, #FFFFFF 0%, #F0F0F0 100%) !important;
    color: #0000FF !important;
    transform: translateY(-1px) !important;
}

/* Control Buttons Enhanced Interaction */
.control {
    transition: all 0.15s ease !important;
}

.control:hover {
    background: linear-gradient(145deg, #FFFFFF, #E0E0E0) !important;
    transform: translateY(-1px) scale(1.1) !important;
    box-shadow: 0 3px 8px rgba(0,0,0,0.4) !important;
}

.close:hover {
    background: linear-gradient(145deg, #FF4444, #CC0000) !important;
    color: white !important;
    animation: pulse 0.3s ease !important;
}

@keyframes pulse {
    0%, 100% { transform: translateY(-1px) scale(1.1); }
    50% { transform: translateY(-3px) scale(1.15); }
}

/* Content Glow on Hover */
.window-content:hover {
    background: linear-gradient(180deg, #FEFEFE 0%, #F8F8F8 100%) !important;
}

/* Active Tab Glow */
.tab.active {
    box-shadow: 
        inset 0 -3px 0 #000080,
        0 2px 4px rgba(0,0,0,0.2) !important;
}

/* XP Title Bar */
.window-header {
    background: linear-gradient(90deg, #000080 0%, #1084D0 50%, #FFFFFF 100%);
    height: 28px;
    padding: 0 8px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font: 11px 'MS Shell Dlg 2', Verdana, sans-serif;
    color: white;
    text-shadow: 0 1px 1px rgba(0,0,0,0.5);
    border-bottom: 2px solid #000080;
}

.window-title {
    font-weight: 700;
    letter-spacing: 0.5px;
}

.window-controls {
    display: flex;
    gap: 2px;
}

.control {
    width: 22px;
    height: 16px;
    border: 1px outset #C0C0C0;
    background: linear-gradient(145deg, #F0F0F0, #D0D0D0);
    font-size: 10px;
    font-weight: bold;
    cursor: pointer;
    color: #000080;
    transition: all 0.1s ease;
    margin-right: -1px;
}

.control:hover {
    background: linear-gradient(145deg, #E8E8E8, #B8B8B8);
    border-color: #A0A0A0 #707070 #707070 #A0A0A0;
    transform: translateY(-1px);
}

.close:hover {
    background: linear-gradient(145deg, #FF6B6B, #EE5A52);
    color: white;
    border-color: #CC0000;
}

/* XP Style Tabs */
.window-tabs {
    height: 24px;
    background: linear-gradient(90deg, #E0E0E0 0%, #F0F0F0 100%);
    border-bottom: 1px solid #A0A0A0;
    display: flex;
    font: 11px 'MS Shell Dlg 2', Tahoma, sans-serif;
}

.tab {
    flex: 1;
    background: linear-gradient(180deg, #F8F8F8 0%, #E8E8E8 100%);
    border: 1px solid #D0D0D0;
    border-bottom: none;
    padding: 4px 8px;
    color: #000080;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.2s ease;
    position: relative;
    top: 1px;
}

.tab:not(:first-child) {
    border-left: none;
}

.tab:hover {
    background: linear-gradient(180deg, #FAFAFA 0%, #F0F0F0 100%);
    color: #000066;
}

.tab.active {
    background: white;
    color: #000080;
    font-weight: 700;
    border-bottom: 1px solid white;
    top: 0;
    box-shadow: inset 0 -1px 0 #A0A0A0;
}

/* Window Content */
.window-content {
    height: calc(100% - 52px);
    padding: 12px;
    background: white;
    border-top: 1px solid #D0D0D0;
    overflow: auto;
    font: 12px/1.5 'MS Shell Dlg 2', Tahoma, sans-serif;
    color: #000080;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.window-content p {
    margin-bottom: 8px;
    color: #000080;
}

.window-content strong {
    color: #C00000;
}

.window-content em {
    color: #008000;
    font-style: italic;
}

/* Responsive */
@media (max-width: 500px) {
    body {
        padding: 80px 30px 30px 60px;
    }
    
    .floating-header h1 {
        font-size: 1.8rem;
    }
    
    .window-container {
        width: 340px;
        height: 280px;
    }
}

/* Passport Photograph Style - Perfect Square */
.passport-photo {
    position: absolute !important;
    top: 135px !important;
    right: 875px !important; /* LEFT of heading, RIGHT side of screen */
    width: 158px !important;
    height: 177px !important; /* Passport photo proportions (35mm x 45mm scaled) */
    border: 3px solid white !important;
    border-radius: 3px !important; /* Minimal rounding */
    transform: rotate(-5deg) !important; /* ANTICLOCKWISE TILT */
    box-shadow: 
        4px 4px 16px rgba(0,0,0,0.6),
        0 0 0 1px #D4AF37,
        inset 0 1px 3px rgba(255,255,255,0.9);
    overflow: hidden !important;
    z-index: 25 !important;
    background: #F9F9F9; /* Passport paper white */
    padding: 2px;
}

.passport-photo img {
    width: 100% !important;
    height: 100% !important;
    object-fit: cover !important;
    object-position: center top !important; /* Face focused */
    border-radius: 1px !important;
    display: block !important;
}

.passport-photo:hover {
    transform: rotate(352deg) translateY(-3px) scale(1.03) !important; /* Subtle correction on hover */
    box-shadow: 
        0 12px 30px rgba(212,175,55,0.6),
        0 0 0 2px #DAA520,
        6px 6px 25px rgba(0,0,0,0.7),
        inset 0 2px 6px rgba(255,255,255,1) !important;
    border-color: ##FFD700 !important; /* Gold border on hover */
    animation: spinGlow 0.6s ease-out !important;
}

@keyframes spinGlow {
    0% {
        transform: rotate(-8deg) scale(1);
        box-shadow: 4px 4px 16px rgba(0,0,0,0.6);
    }
    50% {
        transform: rotate(180deg) scale(1.04);
        box-shadow: 
            0 8px 25px rgba(212,175,55,0.8),
            0 0 20px rgba(218,165,32,0.6);
    }
    100% {
        transform: rotate(352deg) translateY(-6px) scale(1.08);
        box-shadow: 
            0 12px 30px rgba(212,175,55,0.6),
            0 0 0 2px #DAA520;
    }
}

/* Return animation when mouse leaves */
.passport-photo:not(:hover) {
    transition: all 0.8s ease-out !important;
}

.floating-header {
    position: absolute;
    top: 160px;
    right:490px; /* Adjusted for passport photo width */
    z-index: 20;
}

/* Details Box - Overlaps Photo Bottom */
.details-box {
    position: absolute !important;
    top: 315px !important; /* Overlaps bottom of tilted photo */
    right: 870px !important;
    width: 155px !important;
    min-height: 85px !important;
    background: #FAFAFA !important;
    border: 5px solid white !important;
    border-radius: 4px !important;
    padding: 8px 6px !important;
    box-shadow: 
        3px 3px 12px rgba(0,0,0,0.5),
        inset 0 1px 2px rgba(255,255,255,0.95),
        0 0 0 1px #D4AF37;
    font: 10px 'Courier New', monospace !important;
    color: #333 !important;
    line-height: 1.3 !important;
    z-index: 22 !important;
    overflow: hidden !important;
}

.detail-line {
    margin-bottom: 2px !important;
    word-break: break-word !important;
}

.detail-line:last-child {
    margin-bottom: 0 !important;
}

.details-box strong {
    color: #8B4513 !important;
    font-weight: 700 !important;
}

.details-box:hover {
    transform:translateY(-1px) !important;
    box-shadow: 
        4px 4px 16px rgba(0,0,0,0.6),
        inset 0 1px 2px rgba(255,255,255,1);
}



.window-container {
    position: absolute;
    top: 190px; /* Adjusted for details box */
    right: 60px;
    /* rest of styles same */
}


/* MP3 Player - Top Right Corner */
.mp3-player {
    position: absolute !important;
    top: 20px !important;
    right: 20px !important; /* EXTREME TOP RIGHT */
    width: 260px !important;
    height: 140px !important;
    background: linear-gradient(145deg, #C0C0C0 0%, #A8A8A8 100%);
    border: 2px outset #D4D0C8;
    border-radius: 6px;
    box-shadow: 
        4px 4px 20px rgba(0,0,0,0.5),
        inset -1px -1px 0 #707070,
        inset 1px 1px 0 #FFFFFF;
    overflow: hidden;
    font-family: 'MS Shell Dlg 2', Tahoma, sans-serif;
    z-index: 30 !important;
    cursor: default;
    transition: all 0.3s ease !important;
}

.mp3-player:hover {
    transform: translateY(-4px) !important;
    box-shadow: 
        0 8px 25px rgba(0,0,0,0.6),
        inset -1px -1px 0 #505050;
}

/* XP Title Bar */
.mp3-header {
    background: linear-gradient(90deg, #000080 0%, #1084D0 70%, #C0C0C0 100%);
    height: 22px;
    padding: 0 6px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 10px;
    color: white;
    font-weight: 700;
    text-shadow: 0 1px 1px rgba(0,0,0,0.8);
    border-bottom: 1px solid #000084;
}

.mp3-title {
    letter-spacing: 0.5px;
}

/* Display Area */
.mp3-display {
    padding: 8px 10px 6px;
    height: 60px;
    background: linear-gradient(180deg, #F0F0F0 0%, #E8E8E8 100%);
    border-bottom: 1px groove #B0B0B0;
}

.track-title {
    font-size: 11px;
    font-weight: 600;
    color: #000080;
    margin-bottom: 2px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: 9px;
    color: #404040;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.progress-bar {
    height: 4px;
    background: #D0D0D0;
    border: 1px inset #E0E0E0;
    border-radius: 2px;
    margin: 4px 0 2px;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #FF6B35, #F7931E);
    width: 38%;
    border-radius: 1px;
    box-shadow: inset 1px 0 0 rgba(255,255,255,0.5);
    animation: progressMove 3s ease-in-out infinite;
}

@keyframes progressMove {
    0%, 100% { width: 38%; }
    50% { width: 72%; }
}

.time-display {
    font-size: 9px;
    color: #606060;
    display: flex;
    justify-content: space-between;
    font-family: 'Courier New', monospace;
}

/* Control Buttons */
.mp3-buttons {
    padding: 4px 8px 6px;
    display: flex;
    gap: 6px;
    justify-content: center;
    align-items: center;
    background: linear-gradient(180deg, #E0E0E0 0%, #D0D0D0 100%);
}

.play-btn, .prev-btn, .next-btn, .volume-btn {
    width: 24px;
    height: 24px;
    border: 1px outset #E8E8E8;
    background: linear-gradient(145deg, #F8F8F8, #D8D8D8);
    border-radius: 3px;
    font-size: 11px;
    cursor: pointer;
    transition: all 0.2s ease;
    color: #000080;
    font-weight: bold;
}

.play-btn {
    width: 28px;
    height: 28px;
    font-size: 13px;
    background: linear-gradient(145deg, #00A000, #008000);
    color: white;
    border-color: #00C000 #008000 #008000 #00C000;
}

.play-btn:hover {
    background: linear-gradient(145deg, #00C000, #00A000);
    transform: scale(1.05);
    box-shadow: 0 3px 8px rgba(0,160,0,0.4);
}

.prev-btn:hover, .next-btn:hover, .volume-btn:hover {
    background: linear-gradient(145deg, #E8E8E8, #C8C8C8);
    transform: translateY(-1px);
    box-shadow: 0 2px 6px rgba(0,0,0,0.3);
}

/* Button Press Effect */
.mp3-buttons button:active {
    border: 1px inset #C8C8C8;
    transform: translateY(1px);
}

/* MP3 Controls */
.mp3-btn {
    width: 18px;
    height: 16px;
    border: 1px outset #C0C0C0;
    background: linear-gradient(145deg, #F0F0F0, #D0D0D0);
    font-size: 9px;
    font-weight: bold;
    color: #000080;
    cursor: pointer;
    margin-left: 2px;
}

.mp3-btn:hover {
    background: linear-gradient(145deg, #E8E8E8, #B8B8B8);
}



/* Magazine Border + Footer for Main Page */
.magazine-border {
    position: fixed;
    bottom: 10;
    left: 0;
    right: 0;
    z-index: 5;
    pointer-events: none;
}

.border-container {
    height: 40px;
}

.house-border {
    width: 100%;
    height: 100%;
    display: block;
}

/* Main Footer */
.main-footer {
    position: fixed;
    bottom: 90px;
    left: 0;
    right: 0;
    z-index: 10;
    background: linear-gradient(180deg, 
        rgba(139,69,19,0.98) 0%, 
        rgba(184,134,11,0.98) 50%, 
        rgba(139,69,19,0.98) 100%);
    backdrop-filter: blur(15px);
    border-top: 4px solid #D4AF37;
    box-shadow: 0 -6px 30px rgba(0,0,0,0.4);
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px 40px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 30px;
}

.footer-left {
    min-width: 200px;
}

.live-date {
    font-family: 'Playfair Display', serif;
    font-size: 14px;
    color: #FFF8DC;
    font-weight: 500;
    margin-bottom: 4px;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.8);
}

.live-time {
    font-size: 22px;
    font-weight: 700;
    color: #FFFFFF;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.9);
    font-family: 'Courier New', monospace;
}

.footer-center {
    flex: 1;
    text-align: center;
}

.footer-center blockquote {
    margin: 0;
    font-size: 16px;
    font-style: italic;
    color: #FFF8DC;
    position: relative;
    padding: 0 30px;
    font-family: 'Playfair Display', serif;
}

.footer-center blockquote::before,
.footer-center blockquote::after {
    content: '"';
    position: absolute;
    font-size: 36px;
    color: #D4AF37;
    font-family: serif;
    top: -8px;
}

.footer-center blockquote::before { left: 0; }
.footer-center blockquote::after { right: 0; }

#createDate {
    color: #DAA520;
    font-weight: 600;
}

.footer-right {
    text-align: right;
    min-width: 150px;
}

.love-note {
    font-size: 13px;
    color: #F4E4BC;
    font-style: italic;
    font-family: 'Inter', sans-serif;
}

/* Responsive */
@media (max-width: 768px) {
    .footer-content {
        flex-direction: column;
        gap: 15px;
        padding: 20px;
    }
    
    .live-time {
        font-size: 20px;
    }
    
    .footer-center blockquote {
        font-size: 14px;
        padding: 0 20px;
    }
}

