body {
    font-family: "DepartureMono", "SCE-PS3 Rodin LATIN Regular", monospace;
    overflow: hidden;
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, 
        #0a0a0a 0%, 
        #1a1a2e 25%, 
        #16213e 50%, 
        #0f3460 75%, 
        #0a0a0a 100%);
    background-image: 
        radial-gradient(circle at 20% 20%, rgba(0, 191, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(0, 191, 255, 0.05) 0%, transparent 50%),
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 191, 255, 0.03) 2px,
            rgba(0, 191, 255, 0.03) 4px
        );
    image-rendering: pixelated;
    image-rendering: -moz-crisp-edges;
    image-rendering: crisp-edges;
}

html {
    margin: 0;
    padding: 0;
    width: 100vw;
    height: 100vh;
    overflow: hidden;
    scroll-behavior: smooth;
}

/* CSS Custom Properties for Theme Colors */
:root {
    --theme-primary: #0096ff;
    --theme-secondary: #00bfff;
    --theme-accent: #0080cc;
    --theme-text: #ffffff;
    --theme-border: #0096ff;
    --theme-glow: rgba(0, 150, 255, 0.6);
}

.main-container {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    color: #fff;
    padding: 0 20px;
}

.video-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: 0;
}

.video-container video {
    min-width: 100%;
    min-height: 100%;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    object-fit: cover;
}

.video-container:after {
    content: '';
    z-index: 1;
    height: 100%;
    width: 100%;
    top: 0;
    left: 0;
    background: rgba(0, 0, 0, 0);
    position: absolute;
}

.menu-container {
    position: absolute;
    top: 25vh;
    left: 30vw;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 2;
}

.menu-item {
    position: relative;
    display: flex;
    flex-direction: column;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;
    justify-content: center;
    width: 170px;
    height: 600px;
    transition: transform 0.60s cubic-bezier(0.22, 1, 0.36, 1);
}

.sub-menu-item-container {
    position: absolute;
    display: none;
    left: 10%;
    top: 40%;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.menu-item-header {
    position: absolute;
    top: 10%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.menu-item-icon {
    width: 100px;
    height: 100px;
    opacity: 0.5;
    transition: transform 0.45s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.3s ease-out;
    animation-play-state: paused;
}

/* Education icon sizing/tint (gradcap) */
.menu-item-icon[src*="assets/icons/gradcap.png"] {
    width: 80px;
    height: 80px;
    opacity: 0.8;
    filter: brightness(0) invert(1);
}

.menu-item-description {
    display: none;
}

.sub-menu-item {
    display: flex;
    flex-grow: 0;
    flex-shrink: 0;
    align-items: center;    
    width: 400px;
    height: 120px;
    margin: 5px;
    transition: transform 0.50s cubic-bezier(0.22, 1, 0.36, 1);
}

.sub-menu-item-icon {
    display: flex;
    width: 120px;
    height: 120px;
    opacity: 0.5;
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

/* Container to hold user icon and star badge */
.sub-menu-item-icon-container {
    position: relative;
    display: inline-block;
}

/* Gold star badge for newly created user */
.sub-menu-item .new-user-star {
    position: absolute;
    top: -6px;
    right: -6px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
    transform: scale(0.8);
    opacity: 0;
    z-index: 5;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.new-user-star.show {
    transform: scale(1);
    opacity: 1;
}

.sub-menu-item-header {
    animation-play-state: paused;
    opacity: 0.5;
    margin-left: 50px;
}

/* Custom sizing for social media icons */
.sub-menu-item-icon[src*="resume.png"],
.sub-menu-item-icon[src*="linkedin.png"],
.sub-menu-item-icon[src*="Github.png"]{
    width: 60px;
    height: 60px;
    padding: 30px;
}
.sub-menu-item-icon[src*="youtube.png"]{
    width: 60px;
    height: 40px;
    padding: 30px;
}

/* Custom sizing for xVector logo */
.sub-menu-item-icon[src*="xv-bw.png"]{
    width: 70px;
    height: 70px;
    padding: 25px;
}

/* Custom styling for About Me favicon icon */
.menu-item-icon[src*="assets/icons/favicon.png"] {
    width: 70px;
    height: 70px;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    transition: all 0.3s ease;
}

/* Specific positioning for About Me menu item to align with others */
.menu-item:nth-child(2) .menu-item-header {
    top: 12%;
}

/* Fix text positioning for About Me to match other menu items */
.menu-item:nth-child(2) .menu-item-description {
    margin-top: 15px;
}


/* Active Menu Item */

.active-menu-item .menu-item-icon {
    opacity: 1;
    transform: scale(1.2);
}

.active-menu-item .menu-item-description {
    display: block;
}

.active-menu-item .sub-menu-item-container {
    display: flex;
}
/* END - Active Menu Item*/

/* Active Sub Menu Item */

.active-sub-menu-item .sub-menu-item-icon {
    opacity: 1;
    transform: scale(1.5);
}

.active-sub-menu-item .sub-menu-item-header{
    animation: signal 2s infinite;
    animation-timing-function: linear;
    animation-iteration-count: infinite;
    animation-play-state: running;
    opacity: 1;
}
/* END - Active Sub Menu Item*/

/* STATUS BAR */

.status-bar {
    display: none;
    position: fixed;
    width: 100%;
    color: white;
    padding: 0;
    margin: 0;
    z-index:1;
}

.bg-status {
    background-color: black;
    opacity: 0.4;
}

/* END - STATUS BAR */

/* NAVIGATION LEGEND */

.navigation-legend {
    position: fixed;
    top: 20px; /* Position at top right */
    right: 20px;
    display: flex;
    flex-direction: column;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    z-index: 10;
    font-family: "SCE-PS3 Rodin LATIN Regular";
    color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
    gap: 10px;
}

.back-to-intro-btn {
    position: fixed;
    right: 16px;
    bottom: 16px;
    background: rgba(0, 0, 0, 0.6);
    color: #fff;
    border: 1px solid var(--theme-border, #0096ff);
    border-radius: 4px;
    padding: 8px 12px;
    font-family: "SCE-PS3 Rodin LATIN Regular";
    font-size: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-intro-btn:hover {
    background: rgba(0, 150, 255, 0.2);
    border-color: #fff;
}

.navigation-legend:hover {
    opacity: 1;
}

.legend-top-left {
    display: flex;
    align-items: center;
    justify-content: flex-start;
}

.clock-icon {
    width: 28px;
    height: 28px;
    margin-right: 8px;
    opacity: 0.7;
}

.date-time {
    font-size: 14px;
    font-weight: normal;
}

.legend-bottom {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.legend-text {
    display: flex;
    flex-direction: row;
    gap: 15px;
    flex-wrap: wrap;
}

/* Scrolling Marquee */
.scrolling-marquee {
    margin-top: 8px;
    width: 100%;
    overflow: hidden;
    white-space: nowrap;
    position: relative;
    height: 20px;
}

.marquee-text {
    display: inline-block;
    font-size: 11px;
    color: var(--theme-text, #fff);
    opacity: 0.8;
    animation: marquee-scroll 15s linear infinite;
    padding-left: 100%;
}

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

.legend-line {
    font-size: 12px;
    line-height: 1.2;
    white-space: nowrap;
    display: flex;
    align-items: center;
    gap: 6px;
}

.nav-icon {
    width: 36px;
    height: 36px;
    opacity: 0.8;
    filter: brightness(0) invert(1);
    transition: opacity 0.3s ease;
}

.nav-icon[src*="keys.png"] {
    width: 80px;
    height: 60px;
    transform: translateY(4px);
}

.legend-line:hover .nav-icon {
    opacity: 1;
}

/* END - NAVIGATION LEGEND */

/* GAME CHECKLIST */

.game-checklist {
    position: fixed;
    top: 20px; /* Position at top left */
    left: 20px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 10px 15px;
    border-radius: 8px;
    border: 2px solid var(--theme-border, #0096ff);
    z-index: 10;
    font-family: "SCE-PS3 Rodin LATIN Regular";
    color: #fff;
    opacity: 0.5;
    transition: opacity 0.3s ease;
}

.game-checklist:hover {
    opacity: 1;
}

.checklist-header {
    display: flex;
    align-items: center;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--theme-border, #0096ff);
}

.checklist-icon {
    width: 20px;
    height: 20px;
    margin-right: 8px;
    opacity: 0.7;
}

.checklist-title {
    font-size: 12px;
    font-weight: bold;
    color: var(--theme-primary, #0096ff);
    text-shadow: 0 0 5px var(--theme-glow, rgba(0, 150, 255, 0.6));
    letter-spacing: 1px;
    flex: 1;
}

.checklist-reset-btn {
    background: none;
    border: 1px solid var(--theme-border, #0096ff);
    color: var(--theme-primary, #0096ff);
    font-size: 14px;
    width: 20px;
    height: 20px;
    border-radius: 3px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    margin-left: 8px;
}

.checklist-reset-btn:hover {
    background-color: rgba(0, 150, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 8px rgba(0, 150, 255, 0.4);
}

.checklist-items {
    display: flex;
    gap: 15px;
}

.checklist-column {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.checklist-item {
    display: flex;
    align-items: center;
    padding: 3px;
    border-radius: 4px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.checklist-item:hover {
    background-color: rgba(0, 150, 255, 0.1);
}

.checklist-checkbox {
    width: 14px;
    height: 14px;
    border: 2px solid var(--theme-border, #0096ff);
    border-radius: 3px;
    margin-right: 8px;
    position: relative;
    transition: all 0.3s ease;
    background-color: transparent;
    flex-shrink: 0;
}

.checklist-item.completed .checklist-checkbox {
    background-color: var(--theme-primary, #0096ff);
    box-shadow: 0 0 8px var(--theme-glow, rgba(0, 150, 255, 0.6));
}

.checklist-item.completed .checklist-checkbox::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
    font-size: 10px;
}

.checklist-text {
    font-size: 11px;
    opacity: 0.8;
    transition: opacity 0.3s ease;
    line-height: 1.2;
    white-space: nowrap;
}

.checklist-item.completed .checklist-text {
    opacity: 1;
    color: var(--theme-primary, #0096ff);
    text-shadow: 0 0 5px var(--theme-glow, rgba(0, 150, 255, 0.4));
}

.city-guess-input {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--theme-border, #0096ff);
    color: var(--theme-text, #fff);
    font-family: "SCE-PS3 Rodin LATIN Regular";
    font-size: 10px;
    padding: 2px 6px;
    margin-left: 8px;
    width: 120px;
    border-radius: 2px;
    transition: all 0.3s ease;
}

.city-guess-input:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 8px rgba(0, 150, 255, 0.4);
    background-color: rgba(0, 150, 255, 0.1);
}

.city-guess-input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    font-size: 9px;
}

/* Achievement Tooltips */
.checklist-item[title] {
    position: relative;
    cursor: help;
}

.checklist-item[title]:hover::after {
    content: attr(title);
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: #00bfff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 10px;
    white-space: nowrap;
    z-index: 1000;
    border: 1px solid #00bfff;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    max-width: 200px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
}

.checklist-item[title]:hover::before {
    content: '';
    position: absolute;
    bottom: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 5px solid transparent;
    border-top-color: #00bfff;
    z-index: 1000;
    margin-bottom: -5px;
}

/* Right-positioned tooltips for specific achievements */
.checklist-item[data-task="social-butterfly"]:hover::after,
.checklist-item[data-task="corgi-hunter"]:hover::after,
.checklist-item[data-task="konami-master"]:hover::after {
    content: attr(title);
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    background-color: rgba(0, 0, 0, 0.9);
    color: #00bfff;
    padding: 12px 16px;
    border-radius: 4px;
    font-size: 10px;
    z-index: 1000;
    border: 1px solid #00bfff;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    max-width: 250px;
    min-width: 150px;
    min-height: 60px;
    white-space: normal;
    text-align: left;
    line-height: 1.4;
    margin-left: 10px;
    word-wrap: break-word;
    overflow-wrap: break-word;
    display: flex;
    align-items: center;
}

.checklist-item[data-task="social-butterfly"]:hover::before,
.checklist-item[data-task="corgi-hunter"]:hover::before,
.checklist-item[data-task="konami-master"]:hover::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 100%;
    transform: translateY(-50%);
    border: 5px solid transparent;
    border-right-color: #00bfff;
    z-index: 1000;
    margin-left: 5px;
}

/* Hidden Corgi Hunt */
.hidden-corgi {
    position: absolute;
    width: 30px;
    height: 30px;
    opacity: 0.15;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    border-radius: 50%;
    object-fit: cover;
}

.hidden-corgi:hover {
    opacity: 0.8;
    transform: scale(1.5);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.hidden-corgi.found {
    opacity: 1;
    transform: scale(1.2);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.8);
    animation: corgiFound 0.5s ease-in-out;
}

@keyframes corgiFound {
    0% { transform: scale(1); }
    50% { transform: scale(1.5); }
    100% { transform: scale(1.2); }
}

/* Position corgi in different sections */
.menu-item-header .hidden-corgi {
    top: 5px;
    right: 5px;
    width: 25px;
    height: 25px;
}

.navigation-legend .hidden-corgi {
    position: absolute;
    top: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
}

/* END - GAME CHECKLIST */

/* MUSIC VIDEO CONTAINER */
.music-video-container {
    position: absolute;
    left: 100%;
    top: -50px;
    width: 276px;
    height: 170px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--theme-border, #0096ff);
    border-radius: 8px;
    padding: 12px;
    margin-left: 20px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 
        0 0 20px rgba(0, 150, 255, 0.4),
        inset 0 0 20px rgba(0, 150, 255, 0.1);
    font-family: "SCE-PS3 Rodin LATIN Regular";
}

.music-video-container.show {
    display: flex;
}

.music-video-scroll {
    position: relative;
    width: 276px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    border: 1px solid var(--theme-border, #0096ff);
}

.music-video-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.music-video-item {
    width: 276px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
}

.music-video-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
}

.music-video-item.active {
    border: 2px solid var(--theme-primary, #0096ff);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.8);
}

.music-video-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.music-video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 8px;
}

.music-video-play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.music-video-item:hover .music-video-play-icon {
    opacity: 1;
}

.music-video-title-overlay {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}


.music-video-info {
    margin-top: 6px;
    text-align: center;
}

.music-video-title {
    color: var(--theme-primary, #0096ff);
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.4);
    margin-bottom: 4px;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}


.music-video-instruction {
    color: var(--theme-primary, #0096ff);
    font-size: 10px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.6);
    margin-top: 3px;
    opacity: 0.9;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 0.9; }
    50% { opacity: 0.6; }
}

/* Auto-scroll animation */
.music-video-scroll.auto-scroll .music-video-track {
    animation: musicVideoScroll 5s linear infinite;
}

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

/* Pause animation on hover */
.music-video-scroll:hover .music-video-track {
    animation-play-state: paused;
}

/* END - MUSIC VIDEO CONTAINER */

/* FOOD CONTAINER */
.food-container {
    position: absolute;
    left: 100%;
    top: -50px;
    width: 276px;
    height: 170px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--theme-border, #0096ff);
    border-radius: 8px;
    padding: 12px;
    margin-left: 20px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 
        0 0 20px rgba(0, 150, 255, 0.4),
        inset 0 0 20px rgba(0, 150, 255, 0.1);
    font-family: "SCE-PS3 Rodin LATIN Regular";
}

/* HOBBIES CONTAINER */
.hobbies-container {
    position: absolute;
    left: 100%;
    top: -50px;
    width: 276px;
    height: 170px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--theme-border, #0096ff);
    border-radius: 8px;
    padding: 12px;
    margin-left: 20px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 
        0 0 20px rgba(0, 150, 255, 0.4),
        inset 0 0 20px rgba(0, 150, 255, 0.1);
    font-family: "SCE-PS3 Rodin LATIN Regular";
}

.hobbies-container.show {
    display: flex;
}

.hobbies-scroll {
    position: relative;
    width: 276px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    border: 1px solid var(--theme-border, #0096ff);
}

.hobbies-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.hobby-item {
    width: 276px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
}

.hobby-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
}

.hobby-item.active {
    border: 2px solid var(--theme-primary, #0096ff);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.8);
}

.hobby-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.hobby-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 8px;
}

.hobby-visit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hobby-item:hover .hobby-visit-icon {
    opacity: 1;
}

.hobbies-title-overlay {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hobbies-info {
    margin-top: 6px;
    text-align: center;
}

.hobbies-title {
    color: var(--theme-primary, #0096ff);
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.4);
    margin-bottom: 4px;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.hobbies-instruction {
    color: var(--theme-primary, #0096ff);
    font-size: 10px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.6);
    margin-top: 3px;
    opacity: 0.9;
    animation: pulse 2s infinite;
}

.hobbies-scroll.auto-scroll .hobbies-track {
    animation: hobbiesScroll 5s linear infinite;
}

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

/* END - HOBBIES CONTAINER */
.food-container.show {
    display: flex;
}

.food-scroll {
    position: relative;
    width: 276px;
    height: 120px;
    overflow: hidden;
    border-radius: 4px;
    background: #000;
    border: 1px solid var(--theme-border, #0096ff);
}

.food-track {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    display: flex;
    transition: transform 0.5s ease-in-out;
}

.food-item {
    width: 276px;
    height: 120px;
    flex-shrink: 0;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border-radius: 4px;
    overflow: hidden;
    box-sizing: border-box;
}

.food-item:hover {
    transform: scale(1.02);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.6);
}

.food-item.active {
    border: 2px solid var(--theme-primary, #0096ff);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.8);
}

.food-thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 4px;
    display: block;
}

.food-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        to bottom,
        transparent 0%,
        transparent 60%,
        rgba(0, 0, 0, 0.8) 100%
    );
    display: flex;
    align-items: flex-end;
    padding: 8px;
}

.food-visit-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: rgba(0, 0, 0, 0.7);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.food-item:hover .food-visit-icon {
    opacity: 1;
}

.food-title-overlay {
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 0, 0, 0.8);
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.food-info {
    margin-top: 6px;
    text-align: center;
}

.food-title {
    color: var(--theme-primary, #0096ff);
    font-size: 12px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.4);
    margin-bottom: 4px;
    line-height: 1.2;
    max-height: 2.4em;
    overflow: hidden;
    text-overflow: ellipsis;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.food-instruction {
    color: var(--theme-primary, #0096ff);
    font-size: 10px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.6);
    margin-top: 3px;
    opacity: 0.9;
    animation: pulse 2s infinite;
}

/* Auto-scroll animation */
.food-scroll.auto-scroll .food-track {
    animation: foodScroll 5s linear infinite;
}

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

/* Pause animation on hover */
.food-scroll:hover .food-track {
    animation-play-state: paused;
}

/* END - FOOD CONTAINER */

/* EXPERIENCE CONTAINER */
.experience-container {
    position: absolute;
    left: 100%;
    top: -50px;
    width: 340px;
    max-height: 260px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--theme-border, #0096ff);
    border-radius: 8px;
    padding: 12px;
    margin-left: 20px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow:
        0 0 20px rgba(0, 150, 255, 0.4),
        inset 0 0 20px rgba(0, 150, 255, 0.1);
    font-family: "SCE-PS3 Rodin LATIN Regular";
    overflow: hidden;
}

.experience-container.show {
    display: flex;
}

.connect-container {
    position: absolute;
    left: 100%;
    top: -100px;
    width: 320px;
    background: rgba(0, 0, 0, 0.9);
    border: 2px solid var(--theme-border, #0096ff);
    border-radius: 8px;
    padding: 12px;
    margin-left: -32px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 
        0 0 20px rgba(0, 150, 255, 0.4),
        inset 0 0 20px rgba(0, 150, 255, 0.1);
    font-family: "SCE-PS3 Rodin LATIN Regular";
}

.connect-container.show {
    display: flex;
}

.connect-header {
    color: var(--theme-primary, #0096ff);
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.6);
    margin-bottom: 8px;
}

.connect-form .form-row {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 10px;
}

.connect-form label {
    color: var(--theme-primary, #0096ff);
    font-size: 12px;
    font-weight: bold;
}

.connect-form input,
.connect-form textarea {
    background-color: rgba(0, 0, 0, 0.6);
    border: 1px solid var(--theme-border, #0096ff);
    color: var(--theme-text, #fff);
    font-family: "SCE-PS3 Rodin LATIN Regular";
    font-size: 12px;
    padding: 8px;
    border-radius: 4px;
    transition: all 0.2s ease;
}

.connect-form input:focus,
.connect-form textarea:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 8px rgba(0, 150, 255, 0.4);
    background-color: rgba(0, 150, 255, 0.1);
}

.connect-form textarea {
    resize: vertical;
    min-height: 80px;
    max-height: 200px;
}

.connect-form .form-actions {
    display: flex;
    justify-content: flex-end;
    gap: 10px;
}

.connect-form button {
    padding: 8px 14px;
    border: 1px solid var(--theme-border, #0096ff);
    background-color: transparent;
    color: var(--theme-primary, #0096ff);
    font-family: "SCE-PS3 Rodin LATIN Regular";
    font-size: 12px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.2s ease;
    border-radius: 4px;
}

.connect-form button#connect-send:hover {
    background-color: rgba(0, 150, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 10px rgba(0, 150, 255, 0.4);
}

.connect-form button#connect-cancel:hover {
    background-color: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #fff;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.4);
}

.connect-status {
    margin-top: 6px;
    font-size: 11px;
    color: #00bfff;
    min-height: 14px;
}

.experience-title {
    color: var(--theme-primary, #0096ff);
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.6);
    margin-bottom: 6px;
}

.experience-body {
    font-size: 11px;
    color: #ffffff;
    line-height: 1.5;
    opacity: 0.95;
    overflow-y: auto;
    border-top: 1px solid var(--theme-border, #0096ff);
    padding-top: 8px;
}

.experience-body p {
    margin: 0 0 8px 0;
}

.experience-subtitle {
    color: var(--theme-primary, #0096ff);
    font-weight: bold;
    margin-top: 8px;
    margin-bottom: 6px;
}

.experience-list {
    margin: 0;
    padding-left: 18px;
}

.experience-list li {
    margin-bottom: 6px;
}
/* END - EXPERIENCE CONTAINER */

/* CREATE USER MODAL */

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background-color: rgba(0, 0, 0, 0.8);
    display: none;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    backdrop-filter: blur(4px);
    overflow: hidden;
}

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

.modal-content {
    background-color: rgba(0, 0, 0, 0.9);
    border: 2px solid #0096ff;
    border-radius: 0;
    padding: 0;
    max-width: 500px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 
        0 0 30px rgba(0, 150, 255, 0.4),
        inset 0 0 30px rgba(0, 100, 255, 0.1);
    font-family: "SCE-PS3 Rodin LATIN Regular";
    color: #fff;
    position: relative;
}

/* Theme modal specific sizing */
#theme-modal .modal-content {
    max-width: 800px;
    width: 95%;
    max-height: 85vh;
}

.modal-content::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 4px,
            rgba(0, 150, 255, 0.03) 4px,
            rgba(0, 150, 255, 0.03) 8px
        );
    pointer-events: none;
}

.modal-header {
    display: flex;
    align-items: center;
    padding: 20px;
    border-bottom: 2px solid #0096ff;
    background-color: rgba(0, 150, 255, 0.1);
    position: relative;
    z-index: 1;
}

.modal-icon {
    width: 32px;
    height: 32px;
    margin-right: 15px;
    opacity: 0.8;
}

.modal-title {
    font-size: 18px;
    font-weight: bold;
    color: #0096ff;
    text-shadow: 0 0 8px rgba(0, 150, 255, 0.6);
    letter-spacing: 1px;
    flex: 1;
}

.modal-close {
    background: none;
    border: none;
    color: #0096ff;
    font-size: 24px;
    cursor: pointer;
    padding: 0;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.modal-close:hover {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 150, 255, 0.8);
    transform: scale(1.1);
}

.modal-body {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #0096ff;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 150, 255, 0.4);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: rgba(0, 0, 0, 0.6);
    border: 2px solid #0096ff;
    border-radius: 0;
    color: #fff;
    font-family: "SCE-PS3 Rodin LATIN Regular";
    font-size: 14px;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #fff;
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
    background-color: rgba(0, 150, 255, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.modal-footer {
    padding: 20px;
    display: flex;
    justify-content: flex-end;
    gap: 15px;
    border-top: 2px solid #0096ff;
    background-color: rgba(0, 150, 255, 0.05);
    position: relative;
    z-index: 1;
}

.btn-cancel,
.btn-create {
    padding: 12px 24px;
    border: 2px solid #0096ff;
    background-color: transparent;
    color: #0096ff;
    font-family: "SCE-PS3 Rodin LATIN Regular";
    font-size: 14px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-cancel:hover {
    background-color: rgba(255, 0, 0, 0.2);
    border-color: #ff0000;
    color: #fff;
    box-shadow: 0 0 15px rgba(255, 0, 0, 0.4);
}

.btn-create:hover {
    background-color: rgba(0, 150, 255, 0.2);
    color: #fff;
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
}

.btn-create:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-create:disabled:hover {
    background-color: transparent;
    box-shadow: none;
}

/* Icon Selection Grid */
.icon-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(60px, 1fr));
    gap: 10px;
    max-height: 200px;
    overflow-y: auto;
    padding: 10px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid #0096ff;
    border-radius: 0;
    margin-top: 8px;
}

.icon-selection-grid::-webkit-scrollbar {
    width: 8px;
}

.icon-selection-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.icon-selection-grid::-webkit-scrollbar-thumb {
    background: #0096ff;
    border-radius: 0;
}

.icon-selection-grid::-webkit-scrollbar-thumb:hover {
    background: #00aaff;
}

.icon-option {
    width: 60px;
    height: 60px;
    border: 2px solid #0096ff;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.icon-option:hover {
    border-color: #fff;
    background-color: rgba(0, 150, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
    transform: scale(1.05);
}

.icon-option.selected {
    border-color: #fff;
    background-color: rgba(0, 150, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
    transform: scale(1.1);
}

.icon-option img {
    width: 40px;
    height: 40px;
    object-fit: contain;
    filter: contrast(1.1) brightness(0.9);
    transition: all 0.3s ease;
}

.icon-option:hover img {
    filter: contrast(1.2) brightness(1.1);
}

.icon-option.selected img {
    filter: contrast(1.3) brightness(1.2);
}

.icon-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 150, 255, 0.1) 2px,
            rgba(0, 150, 255, 0.1) 4px
        );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.icon-option:hover::before,
.icon-option.selected::before {
    opacity: 1;
}

/* Language Selection Grid */
.language-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
    gap: 10px;
    padding: 15px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid #0096ff;
    border-radius: 0;
    margin-top: 0;
}

.language-option {
    width: 90px;
    height: 60px;
    border: 2px solid #0096ff;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 8px;
}

.language-option:hover {
    border-color: #fff;
    background-color: rgba(0, 150, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
    transform: scale(1.05);
}

.language-option.selected {
    border-color: #fff;
    background-color: rgba(0, 150, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
    transform: scale(1.1);
}

.language-flag {
    font-size: 18px;
    margin-bottom: 3px;
}

.language-name {
    font-size: 10px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
}

.language-option:hover .language-name {
    color: #00bfff;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}

.language-option.selected .language-name {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.language-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 150, 255, 0.1) 2px,
            rgba(0, 150, 255, 0.1) 4px
        );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.language-option:hover::before,
.language-option.selected::before {
    opacity: 1;
}

/* Theme Selection Grid */
.theme-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
    gap: 15px;
    padding: 20px;
    background-color: rgba(0, 0, 0, 0.3);
    border: 2px solid #0096ff;
    border-radius: 0;
    margin-top: 0;
    max-height: 500px;
    overflow-y: auto;
}

.theme-option {
    width: 140px;
    height: 100px;
    border: 2px solid #0096ff;
    background-color: rgba(0, 0, 0, 0.6);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    text-align: center;
    padding: 10px;
    border-radius: 4px;
}

.theme-option:hover {
    border-color: #fff;
    background-color: rgba(0, 150, 255, 0.2);
    box-shadow: 0 0 15px rgba(0, 150, 255, 0.4);
    transform: scale(1.05);
}

.theme-option.selected {
    border-color: #fff;
    background-color: rgba(0, 150, 255, 0.3);
    box-shadow: 0 0 20px rgba(0, 150, 255, 0.6);
    transform: scale(1.1);
}

.theme-preview {
    width: 80px;
    height: 50px;
    object-fit: cover;
    border-radius: 2px;
    margin-bottom: 5px;
    border: 1px solid rgba(0, 150, 255, 0.3);
}

.theme-name {
    font-size: 10px;
    color: #fff;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    text-transform: capitalize;
}

.theme-option:hover .theme-name {
    color: #00bfff;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}

.theme-option.selected .theme-name {
    color: #fff;
    text-shadow: 0 0 10px rgba(0, 191, 255, 0.8);
}

.theme-option::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 2px,
            rgba(0, 150, 255, 0.1) 2px,
            rgba(0, 150, 255, 0.1) 4px
        );
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.theme-option:hover::before,
.theme-option.selected::before {
    opacity: 1;
}

/* Theme selection grid scrollbar */
.theme-selection-grid::-webkit-scrollbar {
    width: 8px;
}

.theme-selection-grid::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
}

.theme-selection-grid::-webkit-scrollbar-thumb {
    background: #0096ff;
    border-radius: 0;
}

.theme-selection-grid::-webkit-scrollbar-thumb:hover {
    background: #00aaff;
}

/* END - CREATE USER MODAL */



@keyframes signal {
    0% {
        text-shadow: 0px 0px 20px rgba(255, 255, 255, 0), 0px 0px 20px rgba(255, 255, 255, 0), 0px 0px 20px rgba(255, 255, 255, 0);
    }

    25% {
        text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5), 0px 0px 20px rgba(255, 255, 255, 0.5), 0px 0px 20px rgba(255, 255, 255, 0.5);
    }

    50% {
        text-shadow: 0px 0px 20px rgba(255, 255, 255, 1), 0px 0px 20px rgba(255, 255, 255, 1), 0px 0px 20px rgba(255, 255, 255, 1);
    }

    75% {
        text-shadow: 0px 0px 20px rgba(255, 255, 255, 0.5), 0px 0px 20px rgba(255, 255, 255, 0.5), 0px 0px 20px rgba(255, 255, 255, 0.5);
    }

    100% {
        text-shadow: 0px 0px 20px rgba(255, 255, 255, 0), 0px 0px 20px rgba(255, 255, 255, 0), 0px 0px 20px rgba(255, 255, 255, 0);
    }
}

/* DepartureMono Font */
@font-face {
    font-family: 'DepartureMono';
    src: url('../fonts/DepartureMono-Regular.woff2') format('woff2'),
         url('../fonts/DepartureMono-Regular.woff') format('woff'),
         url('../fonts/DepartureMono-Regular.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
    font-display: swap;
}

/* Font loading test - if DepartureMono loads, this will be invisible */
.loading-banner.departure-mono-loaded .font-test {
    visibility: hidden;
}

/* Fallback for when DepartureMono doesn't load */
.font-test::after {
    content: "Font not loaded - using fallback";
    color: #ff0000;
    font-size: 12px;
    position: absolute;
    top: 10px;
    right: 10px;
}

/* Loading Banner Styles - Watch Dogs 2 Style */
.loading-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #000000;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    font-family: 'DepartureMono', 'Courier New', monospace;
    color: #ffffff;
    opacity: 1;
    transition: opacity 0.5s ease-out;
    overflow: hidden;
}

/* Video Background */
.banner-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
}

/* Video Overlay */
.banner-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.loading-banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        );
    pointer-events: none;
}

.loading-banner.hidden {
    opacity: 0;
    pointer-events: none;
}

.banner-content {
    max-width: 90vw;
    max-height: 90vh;
    padding: 0;
    display: flex;
    flex-direction: column;
    gap: 0;
    align-items: flex-start;
    background: linear-gradient(135deg, 
        #0a0a0a 0%, 
        #1a1a2e 25%, 
        #16213e 50%, 
        #0f3460 75%, 
        #0a0a0a 100%);
    border: 2px solid #00bfff;
    border-radius: 8px;
    box-shadow: 
        0 0 30px rgba(0, 191, 255, 0.3),
        inset 0 0 30px rgba(0, 191, 255, 0.1),
        0 0 60px rgba(0, 0, 0, 0.8);
    position: relative;
    z-index: 3;
    overflow: hidden;
    font-family: "DepartureMono", "MS Sans Serif", monospace;
}

/* Cyberpunk Title Bar */
.banner-title-bar {
    width: 100%;
    height: 32px;
    background: linear-gradient(90deg, 
        #000000 0%, 
        #1a1a2e 25%, 
        #16213e 50%, 
        #0f3460 75%, 
        #000000 100%);
    color: #00bfff;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 12px;
    font-size: 12px;
    font-weight: bold;
    border-bottom: 1px solid #00bfff;
    font-family: "DepartureMono", monospace;
    text-shadow: 0 0 8px rgba(0, 191, 255, 0.6);
}

.banner-title-text {
    display: flex;
    align-items: center;
    gap: 4px;
}

.banner-title-icon {
    width: 16px;
    height: 16px;
    background: #c0c0c0;
    border: 1px inset #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
}

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

.banner-window-control {
    width: 16px;
    height: 14px;
    background: #c0c0c0;
    border: 1px outset #c0c0c0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10px;
    cursor: pointer;
}

.banner-window-control:hover {
    background: #d0d0d0;
}

.banner-window-control:active {
    border: 1px inset #c0c0c0;
}

.banner-content::before {
    content: '';
    position: absolute;
    top: 32px;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            45deg,
            transparent,
            transparent 8px,
            rgba(0, 191, 255, 0.02) 8px,
            rgba(0, 191, 255, 0.02) 16px
        ),
        repeating-linear-gradient(
            -45deg,
            transparent,
            transparent 12px,
            rgba(0, 191, 255, 0.01) 12px,
            rgba(0, 191, 255, 0.01) 24px
        );
    pointer-events: none;
    opacity: 0.6;
}

/* Content Area */
.banner-content-area {
    padding: 30px;
    display: flex;
    gap: 40px;
    align-items: flex-start;
    background: linear-gradient(135deg, 
        rgba(0, 0, 0, 0.8) 0%, 
        rgba(26, 26, 46, 0.6) 25%, 
        rgba(22, 33, 62, 0.4) 50%, 
        rgba(15, 52, 96, 0.6) 75%, 
        rgba(0, 0, 0, 0.8) 100%);
    flex: 1;
    overflow-y: auto;
    position: relative;
}

/* Profile Photo Section */
.profile-photo-section {
    flex-shrink: 0;
    width: 200px;
}

.profile-photo-container {
    width: 200px;
    height: 200px;
    border: 2px solid #00bfff;
    position: relative;
    overflow: visible; /* allow tooltip to render outside bounds */
    z-index: 10001; /* ensure on top within banner */
    box-shadow: 
        0 0 20px rgba(0, 191, 255, 0.4),
        inset 0 0 20px rgba(0, 191, 255, 0.1),
        0 0 40px rgba(0, 0, 0, 0.6);
    border-radius: 4px;
}

.profile-photo {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    filter: contrast(1.1) brightness(0.9);
}

/* Hover tooltip on profile, matching checklist hint style */
.profile-photo-container[data-tooltip] {
    position: relative;
    cursor: help;
    width: 200px;
    height: 200px;
}

.profile-photo-container[data-tooltip]:hover::after {
    content: attr(data-tooltip);
    position: absolute;
    top: calc(100% + 6px);
    left: 0;
    right: 0;
    width: 100%;
    box-sizing: border-box;
    transform: none;
    background-color: rgba(0, 0, 0, 0.9);
    color: #00bfff;
    padding: 8px 12px;
    border-radius: 4px;
    font-size: 11px;
    white-space: nowrap;
    z-index: 10002;
    border: 1px solid #00bfff;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.3);
    max-width: 300px;
    white-space: normal;
    text-align: center;
    line-height: 1.3;
    animation: none;
    transition: none;
}

.profile-photo-container[data-tooltip]:hover::before {
    content: '';
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    border: 6px solid transparent;
    border-top-color: #00bfff;
    z-index: 10002;
    margin-top: 0;
    animation: none;
    transition: none;
}

.dither-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        repeating-linear-gradient(
            0deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        repeating-linear-gradient(
            90deg,
            transparent,
            transparent 2px,
            rgba(255, 255, 255, 0.02) 2px,
            rgba(255, 255, 255, 0.02) 4px
        ),
        radial-gradient(
            circle at 30% 30%,
            rgba(0, 150, 255, 0.1) 0%,
            transparent 50%
        ),
        radial-gradient(
            circle at 70% 70%,
            rgba(0, 150, 255, 0.05) 0%,
            transparent 50%
        );
    pointer-events: none;
}

/* Text Content Section */
.text-content-section {
    flex: 1;
    min-width: 0;
}

.terminal-header {
    margin-bottom: 30px;
    border-bottom: 2px solid #00bfff;
    padding-bottom: 20px;
    position: relative;
    z-index: 1;
}

.terminal-header::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, #00bfff, transparent);
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

.terminal-title {
    font-size: 36px;
    font-weight: bold;
    color: #00bfff;
    text-shadow: 
        0 0 10px rgba(0, 191, 255, 0.8),
        0 0 20px rgba(0, 191, 255, 0.4),
        0 0 30px rgba(0, 191, 255, 0.2);
    margin-bottom: 12px;
    letter-spacing: 3px;
    text-transform: uppercase;
    font-family: "DepartureMono", monospace;
    filter: contrast(1.3);
}

.terminal-subtitle {
    font-size: 18px;
    color: #ffffff;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
    text-shadow: 
        0 0 8px rgba(255, 255, 255, 0.4),
        0 0 16px rgba(0, 191, 255, 0.2);
    font-family: "DepartureMono", monospace;
}

.profile-section {
    margin-bottom: 25px;
    text-align: left;
    position: relative;
    z-index: 1;
}

.profile-text {
    font-size: 16px;
    line-height: 1.8;
    color: #ffffff;
    text-shadow: 0 0 5px rgba(255, 255, 255, 0.3);
    font-family: "DepartureMono", monospace;
    letter-spacing: 0.5px;
}

.profile-text p {
    margin-bottom: 18px;
    opacity: 0.9;
    letter-spacing: 0.5px;
}

.profile-text p:first-child {
    color: #00bfff;
    font-weight: bold;
    text-shadow: 
        0 0 8px rgba(0, 191, 255, 0.6),
        0 0 16px rgba(0, 191, 255, 0.3);
    font-size: 18px;
}

.continue-prompt {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    font-size: 18px;
    color: #00bfff;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 
        0 0 10px rgba(0, 191, 255, 0.8),
        0 0 20px rgba(0, 191, 255, 0.4);
    position: relative;
    z-index: 1;
    margin-left: 0;
    font-family: "DepartureMono", monospace;
}

.blinking-cursor {
    animation: blink 1s infinite;
    color: #00bfff;
    font-size: 20px;
    text-shadow: 
        0 0 12px rgba(0, 191, 255, 0.8),
        0 0 24px rgba(0, 191, 255, 0.4);
    font-family: "DepartureMono", monospace;
}

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

/* Retro Taskbar */
.retro-taskbar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 30px;
    background: linear-gradient(180deg, #c0c0c0, #808080);
    border-top: 1px solid #ffffff;
    display: none !important; /* Hidden as requested - using !important to ensure it stays hidden */
    align-items: center;
    padding: 0 4px;
    z-index: -1; /* Move behind everything */
    font-family: "MS Sans Serif", sans-serif;
    font-size: 11px;
    visibility: hidden;
    opacity: 0;
}

.taskbar-start-button {
    height: 22px;
    background: linear-gradient(180deg, #c0c0c0, #808080);
    border: 1px outset #c0c0c0;
    padding: 0 8px;
    display: flex;
    align-items: center;
    gap: 4px;
    cursor: pointer;
    font-weight: bold;
}

.taskbar-start-button:hover {
    background: linear-gradient(180deg, #d0d0d0, #909090);
}

.taskbar-start-button:active {
    border: 1px inset #c0c0c0;
}

.taskbar-time {
    margin-left: auto;
    padding: 0 8px;
    background: #c0c0c0;
    border: 1px inset #c0c0c0;
    height: 20px;
    display: flex;
    align-items: center;
    font-weight: bold;
}

/* CRT Scanline Effect */
.crt-effect {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
    z-index: 999;
    animation: scanlines 0.1s linear infinite;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Watch Dogs 2 Glitch Effects */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
    100% { transform: translate(0); }
}

.terminal-title:hover {
    animation: glitch 0.3s ease-in-out;
}

/* Subtle scan lines effect */
.loading-banner::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        transparent 50%,
        rgba(0, 150, 255, 0.03) 50%
    );
    background-size: 100% 4px;
    animation: scanlines 0.1s linear infinite;
    pointer-events: none;
}

@keyframes scanlines {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

/* Hide main content initially */
#main-content {
    display: none;
}

/* PS screen ease-in entrance */
@keyframes psScreenEaseIn {
    0% {
        opacity: 0;
        transform: translateY(12px) scale(0.98);
        filter: blur(6px);
    }
    60% {
        opacity: 1;
        transform: translateY(0) scale(1.0);
        filter: blur(0px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1.0);
        filter: blur(0);
    }
}

#main-content.show {
    display: flex;
    animation: psScreenEaseIn 600ms cubic-bezier(0.22, 1, 0.36, 1) both;
}

/* (Reverted) Removed transition panels and loader styles */

/* Page Transition Overlay (Panels + Loader) */
.page-transition {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 100000;
    opacity: 0;
    transition: opacity 0.2s ease-out;
}

.page-transition.is-active {
    pointer-events: auto;
    opacity: 1;
}

.transition-panel {
    position: fixed;
    left: 0;
    width: 100%;
    height: 50vh;
    background: #0e1a2b;
    transform: translateY(0);
    will-change: transform;
    z-index: 100001;
}

.transition-panel--top {
    top: 0;
    transform: translateY(-100%);
}

.transition-panel--bottom {
    bottom: 0;
    transform: translateY(100%);
}

/* Loader centered between panels */
.loader {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 72px;
    height: 50px;
    text-align: center;
    font-size: 10px;
    z-index: 100002;
    opacity: 0;
    display: flex;
    align-items: stretch;
    justify-content: center;
    gap: 2px;
    flex-wrap: nowrap;
}

.loader > div {
    height: 100%;
    width: 8px;
    flex: 0 0 8px;
    transform-origin: center;
    animation: loaderBar 0.8s infinite ease-in-out;
}

/* Dark blue to light blue ordered bars */
.loader .bar1 { background-color: #0b3d91; animation-delay: -0.8s; }
.loader .bar2 { background-color: #0e5ba8; animation-delay: -0.7s; }
.loader .bar3 { background-color: #1377bf; animation-delay: -0.6s; }
.loader .bar4 { background-color: #1a94d6; animation-delay: -0.5s; }
.loader .bar5 { background-color: #22b2ed; animation-delay: -0.4s; }
.loader .bar6 { background-color: #4cc6ff; animation-delay: -0.3s; }

@keyframes loaderBar {
    0%, 40%, 100% { transform: scaleY(0.05); }
    20% { transform: scaleY(1.0); }
}

/* Responsive Design for Banner */
@media (max-width: 768px) {
    /* Use dynamic viewport height on mobile to avoid browser UI causing zoom feel */
    html, body { height: 100dvh; }
    .banner-content {
        flex-direction: column;
        max-width: 95vw;
        max-height: 95vh;
        padding: 15px;
        gap: 15px;
    }
    
    .profile-photo-section {
        width: 100%;
        display: flex;
        justify-content: center;
    }
    
    .profile-photo-container {
        width: 150px;
        height: 150px;
    }
    
    .terminal-title {
        font-size: 22px; /* 2 * 11px for mobile */
    }
    
    .terminal-subtitle {
        font-size: 18px; /* Adjusted for mobile */
    }
    
    .profile-text {
        font-size: 18px; /* Adjusted for mobile */
    }
    
    .profile-section {
        margin-bottom: 15px;
    }
}

/* Mobile zoom-out adjustments (intro and main) */
@media (max-width: 768px) {
    /* Intro banner: reduce perceived zoom further */
    .banner-content { max-width: 88vw; max-height: 88vh; }
    .banner-content-area { padding: 12px; gap: 12px; }
    .profile-photo-container { width: 120px; height: 120px; }
    .terminal-title { font-size: 18px; letter-spacing: 1.6px; }
    .terminal-subtitle { font-size: 13px; letter-spacing: 1px; }
    .profile-text { font-size: 13px; line-height: 1.55; }
    .continue-prompt { font-size: 13px; }
    .blinking-cursor { font-size: 15px; }

    /* Main page: center and shrink menu footprint */
    .main-container { align-items: flex-start; padding-top: 10vh; }
    .video-container video { max-height: 45vh; object-fit: cover; }
    .menu-container {
        position: relative;
        top: 0;
        left: 0;
        margin: 0 auto;
        width: min(86vw, 580px);
        transform: none;
        padding: 0 4px;
    }
    .menu-item { width: 120px; height: 420px; }
    .menu-item .menu-item-icon { width: 32px; height: 32px; }
    .menu-item-description { font-size: 13px; }
    .sub-menu-item { width: 260px; height: 90px; margin: 4px; }
    .sub-menu-item .sub-menu-item-icon { width: 24px; height: 24px; }
    .sub-menu-item-header { font-size: 12px; margin-left: 16px; }

    /* Reduce active zoom effects on mobile */
    .active-menu-item .menu-item-icon { transform: scale(1.08); }
    .active-sub-menu-item .sub-menu-item-icon { transform: scale(1.25); }
}

@media (max-width: 360px) {
    .profile-photo-container { width: 110px; height: 110px; }
    .terminal-title { font-size: 16px; }
    .terminal-subtitle { font-size: 12px; }
    .profile-text { font-size: 12.5px; }
    .continue-prompt { font-size: 12.5px; }
    .menu-container { width: min(90vw, 520px); }
    .menu-item { width: 110px; height: 380px; }
    .menu-item .menu-item-icon { width: 28px; height: 28px; }
    .sub-menu-item { width: 240px; height: 84px; }
    .sub-menu-item .sub-menu-item-icon { width: 22px; height: 22px; }
    .menu-item-description { font-size: 12px; }
    .sub-menu-item-header { font-size: 11.5px; margin-left: 14px; }
    .active-menu-item .menu-item-icon { transform: scale(1.06); }
    .active-sub-menu-item .sub-menu-item-icon { transform: scale(1.2); }
}

/* Landscape phones: compress further to fit horiz space */
@media (orientation: landscape) and (max-width: 900px) and (hover: none) and (pointer: coarse) {
    .video-container video { max-height: 42vh; }
    .menu-container { width: min(86vw, 560px); padding: 0 2px; }
    .menu-item { width: 110px; height: 360px; }
    .sub-menu-item { width: 220px; height: 78px; }
}

/* Trophy Notification Animation */

.trophy-notification {
    position: fixed;
    top: 20px;
    right: 20px;
    width: 380px;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    border: 2px solid #ffd700;
    border-radius: 12px;
    padding: 20px;
    box-shadow: 0 8px 32px rgba(255, 215, 0, 0.3);
    z-index: 10000;
    font-family: 'DepartureMono', monospace;
    transform: translateX(420px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
    transition: transform 0.6s cubic-bezier(0.34, 1.56, 0.64, 1), opacity 0.3s ease-in-out;
}

.trophy-notification.show {
    transform: translateX(0);
    opacity: 1;
    pointer-events: auto;
    visibility: visible;
}

.trophy-notification.hide {
    transform: translateX(420px);
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.trophy-header {
    display: flex;
    align-items: center;
    margin-bottom: 12px;
}

.trophy-icon {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 16px;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(255, 215, 0, 0.4);
}

.trophy-title {
    color: #ffd700;
    font-size: 18px;
    font-weight: bold;
    margin: 0;
}

.trophy-subtitle {
    color: #ffffff;
    font-size: 14px;
    margin: 0;
    opacity: 0.9;
}

.trophy-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 14px;
    z-index: -1;
    opacity: 0;
    animation: trophyGlow 2s ease-in-out infinite;
}

@keyframes trophyGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.7; }
}

/* Profile Trophy Badge */
.profile-trophy-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.5);
    z-index: 10;
    opacity: 0;
    transform: scale(0);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.profile-trophy-badge.show {
    opacity: 1;
    transform: scale(1);
}

.profile-trophy-badge::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #ffd700, #ffed4e, #ffd700);
    border-radius: 50%;
    z-index: -1;
    animation: badgeGlow 2s ease-in-out infinite;
}

@keyframes badgeGlow {
    0%, 100% { opacity: 0.4; }
    50% { opacity: 0.8; }
}