/* Desktop-specific styles for cybreco */
/* Base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 75%;
}

body {
    background-color: #000;
    font-family: 'Courier New', monospace;
    overflow-x: hidden;
    min-height: 100vh;
    position: relative;
    /* Optional: scale everything for legacy browsers */
    /* transform: scale(0.75); transform-origin: top left; */
}

.container {
    position: relative;
    width: 100%;
    height: 100vh;
    font-size: 1rem;
}

/* Central horizontal line */
.horizon-line {
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 2px;
    background-color: #fff;
    z-index: 10;
}

/* Abstract background elements */
.abstract-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
}

.colon {
    position: absolute;
    color: #333;
    font-size: 36px;
    font-weight: bold;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
}

.circle {
    position: absolute;
    border: 2px solid #333;
    border-radius: 50%;
}

/* Content boxes anchored to the line */
.content-box {
    position: absolute;
    width: 90px;
    height: 90px;
    background-color: #222;
    border: 1px solid #444;
    z-index: 5;
    transition: all 0.3s ease;
    cursor: pointer;
    pointer-events: auto;
}

.content-box:hover {
    border-color: #666;
    background-color: #333;
}

.content-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: contrast(1.2) brightness(0.9);
    border: none;
    font-size: 1rem;
}

.content-box.placeholder {
    background-color: #111;
    border: 2px dashed #333;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #666;
    font-size: 12px;
    text-align: center;
}

/* Boxes above the line - bottom edge touches the line */
.above-line {
    top: calc(50% - 122px); /* 120px box height + 2px line height */
}

/* Boxes below the line - top edge touches the line */
.below-line {
    top: calc(50% + 2px); /* Start right after the 2px line */
}

/* Text elements */
.text-element {
    position: absolute;
    color: #999;
    font-size: 10px;
    z-index: 5;
    transform: rotate(-5deg);
}

.title-text {
    position: absolute;
    color: #fff;
    font-size: 18px;
    z-index: 15;
    left: 50px;
    top: 45%;
    transform: translateY(-50%);
    letter-spacing: 3px;
}

/* Horizontal positioning for boxes */
.box-1 { left: 15%; }
.box-2 { left: 35%; }
.box-3 { left: 55%; }
.box-4 { left: 75%; }

/* Abstract element positioning */
.colon-1 { top: 20%; left: 25%; }
.colon-2 { bottom: 20%; right: 30%; }

.dot-1 { top: 25%; left: 60%; }
.dot-2 { top: 65%; left: 20%; }
.dot-3 { bottom: 30%; left: 70%; }

.circle-1 { 
    top: 30%; 
    right: 20%; 
    width: 30px; 
    height: 30px; 
}

.circle-2 { 
    bottom: 35%; 
    left: 40%; 
    width: 20px; 
    height: 20px; 
}

.text-1 { top: 70%; left: 10%; }
.text-2 { top: 25%; right: 10%; }

/* Tooltip styles */
.tooltip {
    position: fixed;
    pointer-events: none;
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    padding: 4px 10px;
    font-family: 'Dogica', monospace;
    font-size: 10px;
    letter-spacing: 0;
    /* Remove all smoothing/aliasing */
    font-smooth: auto;
    -webkit-font-smoothing: auto;
    -moz-osx-font-smoothing: auto;
    text-rendering: auto;
    z-index: 1000;
    border-radius: 2px;
}

.center-bg-image {
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
    pointer-events: none;
    opacity: 1;
    width: 225px;
    max-width: 45vw;
    height: auto;
}

.center-bg-image.center-bg-image-front {
    z-index: 20;
    pointer-events: none;
}

.content-box.above-line {
    top: calc(50% - 90px); /* 90px box height */
}

.content-box.below-line {
    top: 50%;
}

.boxes-track {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(.4,1.6,.6,1);
    z-index: 5;
    pointer-events: none;
}

.games-track {
    position: absolute;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    will-change: transform;
    transition: transform 0.3s cubic-bezier(.4,1.6,.6,1);
    z-index: 5;
    pointer-events: none;
}

@font-face {
    font-family: 'Dogica';
    src: url('../font/dogica.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

.bit-symbol {
    position: absolute;
    font-family: 'Dogica', monospace;
    font-size: 10px;
    color: #888;
    opacity: 0.35;
    pointer-events: none;
    z-index: 2;
    user-select: none;
}

.box-number {
    position: absolute;
    width: 13px;
    height: 13px;
    background: #000;
    color: #fff;
    border: 1px solid #fff;
    font-family: 'Dogica', monospace;
    font-size: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    pointer-events: none;
    user-select: none;
    box-sizing: border-box;
}

.box-description {
    position: absolute;
    background: rgba(0,0,0,0.85);
    color: #fff;
    font-family: 'Dogica', monospace;
    font-size: 8px;
    padding: 3px 12px;
    border-radius: 3px;
    max-width: 220px;
    min-width: 120px;
    white-space: normal;
    word-break: break-word;
    pointer-events: none;
    z-index: 12;
    box-shadow: 0 1px 2px rgba(0,0,0,0.2);
    opacity: 0;
    transition: opacity 0.15s;
    line-height: 1.7;
    letter-spacing: 0.02em;
}

.content-box:hover .box-description {
    opacity: 0.95;
}

/* Hide mobile container on desktop */
.mobile-container {
    display: none;
}
