:root {
    --background-color: #1e1e1e;
    --text-color: #ebe4d6;
    --primary-color: #ebaf78;
    --secondary-color: #a47764;
    --tertiary-color: #be795c;
    --border-color: #d9d9d9;
    --border-radius: 50px;
    --blur-color: #00000078;
    --blur-size: 20px;
    --bubble-color: #f8b8843e;
    --gradient-color: rgb(233, 171, 113);
    --footer-height: 200px;
}

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

body {
    background-color: var(--background-color);
    color: var(--text-color);
    font-family: "all-round-gothic", sans-serif;
    font-weight: 400;
    font-style: normal;
    overflow-x: hidden;
    scroll-behavior: smooth;
}

.background_color {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    z-index: -2;
    background: radial-gradient(ellipse at center, #1a1a1a 0%, var(--background-color) 70%);
}
.noise::before {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    content: "";
    opacity: 0.025;
    z-index: 10000;
    pointer-events: none;
    background: url(../assets/img/noise.gif);
}

.contrast_overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    mix-blend-mode: overlay;
    background-color: #000000;
    opacity: 0.2;
    pointer-events: none;
}

html::-webkit-scrollbar {
    width: 8px;
    background: var(--background-color);
}

html::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    border-radius: 8px;
}

html::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--primary-color) 20%, var(--tertiary-color) 100%);
}

/* █▀▀ █ █ █▀█ █▀ █▀█ █▀█ */
/* █▄▄ █▄█ █▀▄ ▄█ █▄█ █▀▄ */

.cursor {
    pointer-events: none;
    position: fixed;
    display: none;
    border-radius: 0;
    mix-blend-mode: normal;
    z-index: 99999;
    mix-blend-mode: screen;
    width: 30px;
    height: 30px;
    top: 0;
    left: 0;
    scale: 0.905;
}

.circle {
    pointer-events: none;
    transition: none;
    position: absolute;
    display: block;
    width: 30px;
    height: 30px;
    border-radius: 20px !important;
    background-color: var(--primary-color) !important;
}

.scaled {
    transform: scale(1.5) !important;
}

*::hover {
    cursor: none !important;
}

::selection {
    background-color: var(--primary-color);
    color: var(--background-color);
}

/* LOADER */
.loadeur {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background-color: var(--background-color);
    z-index: 100000;
    transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 2.2);
}

.loadeur_content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-direction: column;
    gap: 30px;
}

.loadeur_logo {
    width: 180px;
    height: 180px;
    cursor: pointer;
    filter: drop-shadow(0 0 30px var(--primary-color));
    animation: logoGlow 2s ease-in-out infinite alternate;
}

@keyframes logoGlow {
    from { filter: drop-shadow(0 0 20px var(--primary-color)); }
    to { filter: drop-shadow(0 0 40px var(--primary-color)); }
}

.loadeur_content_text h1 {
    font-size: 80px;
    font-weight: 700;
    letter-spacing: 8px;
    text-align: center;
    color: var(--text-color);
}

@media (max-width: 800px) {
    footer {
        height: 230px !important;
        top: 900px !important;
    }
    .loadeur_content_text h1 {
        font-size: clamp(60px, 10vw, 90px);
        font-weight: 700;
        letter-spacing: clamp(4px, 1.2vw, 8px);
    }
    .loadeur_logo {
        width: 120px;
        height: 120px;
    }
}


.open_loadeur {
    transform: translateY(-100%);
}

/* HEADER */
.logo_head {
    width: 50px;
    height: 50px;
    position: fixed;
    top: 20px;
    left: 20px;
    z-index: 10000;
    filter: drop-shadow(0 0 20px var(--primary-color));
    cursor: pointer;
}

.logo_head:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 25px var(--primary-color));
}
.nametag {
    position: absolute;
    top: 35px;
    right: 38px;
    z-index: 1000;
    font-size: 23px;
    font-weight: 600;
    color: var(--text-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

.nametag .firstball,
.nametag .secondball {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--secondary-color);
    position: absolute;
    aspect-ratio: 1/1;
    z-index: 1000;
}

.nametag .firstball {
    left: 12px;
}

.nametag .secondball {
    right: 12px;
}

.nametag p {
    z-index: 1000;
}

.nametag {
    transition: all 0.3s ease;
}

.nametag:hover {
    filter: contrast(1.2);
    transform: scale(1.05);
}

.back_button {
    position: fixed;
    top: 30px;
    left: 80px;
    z-index: 11000;
    display: flex;
    align-items: center;
}

.back_button a {
    display: inline-block;
    padding: 8px 14px;
    border: 1px solid var(--primary-color);
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.4);
    color: var(--text-color);
    text-decoration: none;
    font-size: 14px;
    backdrop-filter: blur(6px);
    transition: all 0.2s ease;
    align-items: center;
}

.back_button a:hover {
    background: rgba(235, 175, 120, 0.2);
    border-color: var(--tertiary-color);
}

/* HERO SECTION */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 100px 20px 50px;
}

.mirage-container {
    max-width: 1000px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    justify-content: center;
    margin: 0 auto;
}

.mirage-title h1 {
    font-size: 90px;
    font-weight: 900;
    line-height: 0.9;
    color: var(--primary-color);
    margin-bottom: 20px;
}

.subtitle {
    font-size: 24px;
    color: var(--accent-color);
    font-weight: 300;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* RADAR INTERFACE */
.radar-interface {
    position: relative;
    width: 400px;
    height: auto;
    background: rgba(10, 10, 10, 0.95);
    border: 2px solid var(--primary-color);
    border-radius: 20px;
    backdrop-filter: blur(15px);
    box-shadow: 
        0 0 60px rgba(235, 175, 120, 0.2),
        inset 0 0 60px rgba(0, 0, 0, 0.6);
    overflow: hidden;
    justify-self: center;
}

.radar-container {
    position: relative;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 40px;
}

.radar-circle {
    position: relative;
    width: 300px;
    height: 300px;
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    background: radial-gradient(circle, rgba(235, 175, 120, 0.05) 0%, transparent 70%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
}

.radar-rings {
    position: absolute;
    width: 100%;
    height: 100%;
}

.ring {
    position: absolute;
    border: 1px solid var(--primary-color);
    border-radius: 50%;
    opacity: 0.3;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.ring:nth-child(1) {
    width: 25%;
    height: 25%;
}

.ring:nth-child(2) {
    width: 50%;
    height: 50%;
}

.ring:nth-child(3) {
    width: 75%;
    height: 75%;
}

.ring:nth-child(4) {
    width: 100%;
    height: 100%;
}

.radar-sweep {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    background: conic-gradient(
        transparent 0deg,
        transparent 300deg,
        rgba(235, 175, 120, 0.1) 320deg,
        rgba(235, 175, 120, 0.3) 340deg,
        #ebb07894 350deg,
        var(--primary-color) 360deg,
        transparent 10deg
    );
    border-radius: 50%;
    transform-origin: center;
    animation: radarSweep 3s linear infinite;
    mask: radial-gradient(circle, transparent 20px, black 20px);
}

@keyframes radarSweep {
    0% { transform: translate(-50%, -50%) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

.radar-dots {
    position: absolute;
    width: 100%;
    height: 100%;
}

.dot {
    position: absolute;
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: dotPulse 3s ease-in-out infinite;
}

.dot.target {
    background: var(--tertiary-color);
    box-shadow: 0 0 15px var(--tertiary-color);
    top: 30%;
    right: 25%;
}

.dot.friendly {
    background: var(--primary-color);
    box-shadow: 0 0 15px var(--primary-color);
    bottom: 20%;
    left: 40%;
    animation-delay: 1s;
}

.dot.unknown {
    background: var(--secondary-color);
    box-shadow: 0 0 15px var(--secondary-color);
    top: 60%;
    left: 20%;
    animation-delay: 2s;
}

@keyframes dotPulse {
    0%, 70% { 
        opacity: 1;
        transform: scale(1);
    }
    85% { 
        opacity: 0.3;
        transform: scale(1.5);
    }
    100% { 
        opacity: 1;
        transform: scale(1);
    }
}

.radar-display {
    display: flex;
    flex-direction: column;
    gap: 12px;
    width: 100%;
}

.display-line {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-family: 'Courier New', monospace;
    font-size: 14px;
    font-weight: 500;
    padding: 8px 15px;
    background: rgba(235, 175, 120, 0.05);
    border: 1px solid var(--primary-color);
    border-radius: 8px;
}

.display-line .label {
    color: var(--text-color);
    opacity: 0.9;
    font-weight: 600;
}

.display-line .value {
    color: var(--primary-color);
    text-shadow: 0 0 8px var(--primary-color);
    font-weight: 700;
}

.status-active {
    color: var(--tertiary-color) !important;
    text-shadow: 0 0 8px var(--tertiary-color) !important;
    animation: statusPulse 2s ease-in-out infinite;
}

@keyframes statusPulse {
    0%, 60% { opacity: 1; }
    80%, 100% { opacity: 0.6; }
}

/* INFO PANEL */
.info-panel {
    padding: 80px 20px;
    background: linear-gradient(135deg, rgba(235, 175, 120, 0.05) 0%, rgba(0, 0, 0, 0.3) 100%);
    backdrop-filter: blur(10px);
}

.panel-content {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.panel-content h2 {
    font-size: 48px;
    font-weight: 700;
    color: var(--primary-color);
    margin-bottom: 30px;
    letter-spacing: 2px;
}

.panel-content p {
    font-size: 18px;
    line-height: 1.6;
    color: var(--text-color);
    margin-bottom: 50px;
    opacity: 0.9;
}

.technical-specs {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.spec-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 30px 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--primary-color);
    border-radius: var(--border-radius);
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.spec-item:hover {
    transform: translateY(-5px);
    border-color: var(--accent-color);
    box-shadow: 0 10px 30px rgba(235, 175, 120, 0.2);
}

.spec-label {
    font-size: 14px;
    color: var(--text-color);
    opacity: 0.8;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.spec-value {
    font-size: 24px;
    font-weight: 700;
    color: var(--accent-color);
    text-shadow: 0 0 10px var(--accent-color);
}

/* FOOTER */
footer {
    position: absolute;
    top: calc(100vh);
    left: 0;
    width: calc(100% - 2px);
    padding: 0px;
    margin: 0px;
    height: var(--footer-height);
    background: rgba(0, 0, 0, 0.47);
    mix-blend-mode: screen;
    filter: contrast(1.1);
    border: 1px solid #ffffff;
    border-bottom: none;
    box-shadow: 0px 0px 59.1px rgba(215, 141, 102, 0.32);
    backdrop-filter: blur(10px);
    z-index: 10000;
    border-radius: var(--border-radius) var(--border-radius) 0px 0px;
    overflow: hidden;
}

.title_footer_container {
    position: absolute;
    top: 25px;
    left: 25px;
    z-index: 10000;
    width: 145px;
    height: 60px;
}

.footer_title {
    font-size: 50px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    position: absolute;
    top: -15px;
    left: 0px;
}

.footer_subtitle {
    font-size: 20px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    position: absolute;
    bottom: -5px;
    right: 0px;
}

.footer_links {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translate(-50%, 0);
    width: calc(100% - 200px);
    max-width: 760px;
    height: calc(100% - 50px);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    box-sizing: border-box;
}

.footer_links .box_link {
    flex: 1 1 0;
    max-width: 300px;
    min-width: 0;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin: 0 10px;
    box-sizing: border-box;
    position: relative;
}

.footer_links .box_link h3 {
    width: 100%;
    box-sizing: border-box;
    font-size: 27px;
    font-weight: 600;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
}

.footer_links .box_link a {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    margin-left: 15px;
    text-decoration: none;
    font-style: italic;
}

.footer_links .box_link hr {
    height: 100%;
    background-color: var(--text-color);
    margin: 10px 0;
    width: 2px;
    position: absolute;
    top: 30px;
    left: 5px;
}

.footer_links .box_link .links {
    position: absolute;
    top: 38px;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-around;
}

.logo_footer img {
    position: absolute;
    top: 25px;
    right: 25px;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.footer_bottom {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 20px;
    font-size: 12px;
    font-weight: 400;
    line-height: 1.5;
    color: var(--text-color);
    margin: 0;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}

/* RESPONSIVE */
@media (max-width: 968px) {
    .mirage-container {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .mirage-title h1 {
        font-size: 80px;
    }
    
    .radar-interface {
        width: 400px;
        margin: 0 auto;
    }
}

@media (max-width: 768px) {
    .mirage-title h1 {
        font-size: 60px;
    }
    
    .radar-interface {
        width: 350px;
    }
    
    .panel-content h2 {
        font-size: 36px;
    }
    
    .technical-specs {
        grid-template-columns: 1fr;
    }
    
    footer {
        height: auto;
        min-height: 200px;
    }
    
    .title_footer_container {
        height: 45px;
        width: 105px;
        left: 50%;
        top: 10px;
        transform: translateX(-50%);
    }
    
    .footer_title {
        top: -10px;
        font-size: 35px;
    }
    
    .footer_subtitle {
        font-size: 15px;
    }
    
    .logo_footer img {
        width: 30px;
        height: 30px;
    }
    
    .footer_links {
        position: absolute;
        top: 50px;
        left: 50%;
        transform: translate(-50%, 0);
        width: calc(100% - 20px);
        max-width: 760px;
        height: calc(100% - 85px);
        display: flex;
        justify-content: space-between;
        align-items: center;
        padding: 20px;
        box-sizing: border-box;
    }

    .footer_links .box_link h3 {
        font-size: 20px;
        font-weight: 600;
        line-height: 1.5;
        color: var(--text-color);
        margin: 0;
    }

    .footer_links .box_link a {
        font-size: 14px;
        font-weight: 400;
        line-height: 1.5;
        color: var(--text-color);
        margin: 0;
        margin-left: 15px;
        text-decoration: none;
        font-style: italic;
    }

    .footer_links .box_link hr {
        height: 100%;
        background-color: var(--text-color);
        margin: 10px 0;
        width: 2px;
        position: absolute;
        top: 15px;
        left: 5px;
    }

    .footer_links .box_link .links {
        position: absolute;
        top: 23px;
        left: 0;
        width: 100%;
        height: 100%;
        display: flex;
        flex-direction: column;
        align-items: flex-start;
        justify-content: space-around;
    }
}

@media (max-width: 480px) {
    .hero-section {
        padding: 120px 15px 30px;
    }
    
    .mirage-title h1 {
        font-size: 48px;
    }
    
    .subtitle {
        font-size: 18px;
    }
    
    .radar-interface {
        width: 300px;
    }
    
    .back_button {
        left: 20px;
        top: 80px;
    }
}