* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* Hide ALL scrollbars */

html,
body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    background: #020617;
    color: #e5e7eb;
    display: flex;
    flex-direction: column;
}


/* === LOADING SCREEN === */

.loader-screen {
    position: fixed;
    inset: 0;
    background: radial-gradient(circle at 10% 0%, #1f2937 0, transparent 55%), radial-gradient(circle at 90% 100%, #111827 0, #020617 60%);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1.3rem;
    z-index: 9999;
    transition: opacity 5.0s ease;
}

.loader-screen.hidden {
    opacity: 0;
    pointer-events: none;
}


/* Orbiting logo animation */

.loader-orbit {
    position: relative;
    width: 120px;
    height: 120px;
}

.loader-orbit-ring {
    position: absolute;
    inset: 0;
    border-radius: 999px;
    background: conic-gradient( from 180deg, #f97316, #fb923c, #f97316, #ea580c, #f97316);
    filter: blur(1px);
    animation: spin 2.2s linear infinite;
}

.loader-orbit-core {
    position: absolute;
    inset: 10px;
    border-radius: 999px;
    overflow: hidden;
    background: #020617;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.9);
}

.loader-logo {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* Loading bar */

.loader-bar {
    width: 240px;
    max-width: 75vw;
    height: 8px;
    border-radius: 999px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(148, 163, 184, 0.8);
    overflow: hidden;
    box-shadow: 0 14px 35px rgba(15, 23, 42, 0.9);
}

.loader-bar-fill {
    width: 0%;
    height: 100%;
    border-radius: inherit;
    background: linear-gradient(90deg, #fb923c, #f97316, #ea580c, #f97316);
    animation: fill-bar 1.8s ease-in-out infinite;
}


/* MADE BY GAARA text animation */

.loader-text {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.35em;
    color: #d1d5db;
    display: inline-flex;
}

.loader-text span {
    animation: flicker 1.6s infinite;
}

.loader-text span:nth-child(odd) {
    animation-delay: 0.15s;
}

.loader-text span:nth-child(even) {
    animation-delay: 0.3s;
}


/* Loader keyframes */

@keyframes spin {
    to {
        transform: rotate(360deg);
    }
}

@keyframes fill-bar {
    0% {
        width: 0%;
        transform: translateX(-20%);
    }
    50% {
        width: 80%;
        transform: translateX(0%);
    }
    100% {
        width: 100%;
        transform: translateX(20%);
    }
}

@keyframes flicker {
    0%,
    70%,
    100% {
        opacity: 0.9;
        text-shadow: 0 0 6px rgba(249, 115, 22, 0.6);
    }
    20% {
        opacity: 0.4;
        text-shadow: none;
    }
    40% {
        opacity: 1;
        text-shadow: 0 0 10px rgba(249, 115, 22, 0.9);
    }
}


/* === HEADER & FOOTER === */

.site-header,
.site-footer {
    padding: 0.75rem 1.5rem;
    text-align: center;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
}

.site-footer {
    font-size: 0.8rem;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #9ca3af;
}

.site-header {
    position: relative;
}

.site-title {
    font-size: 1.3rem;
    font-weight: 700;
    letter-spacing: 0.14em;
}


/* Logo button */

.logo-button {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid #ffffff33;
    background: #000;
    padding: 0;
    cursor: pointer;
    box-shadow: 0 10px 25px rgba(15, 23, 42, 0.8);
    transition: transform 0.15s ease, box-shadow 0.15s ease, border-color 0.15s ease;
}

.logo-button:hover {
    transform: translateY(-50%) scale(1.04);
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.95);
    border-color: rgba(249, 115, 22, 0.9);
}

.logo-button:active {
    transform: translateY(-52%) scale(0.97);
}

.logo-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}


/* === SOCIAL MENU === */

.social-menu {
    position: fixed;
    top: 70px;
    right: 1rem;
    width: 230px;
    background: #020617f0;
    border: 1px solid #ffffff33;
    border-radius: 10px;
    padding: 1rem;
    opacity: 0;
    pointer-events: none;
    transform: translateY(-5px);
    transition: 0.2s ease;
    z-index: 20;
}

.social-menu.open {
    opacity: 1;
    pointer-events: auto;
    transform: translateY(0);
}

.social-title {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.16em;
    color: #9ca3af;
    margin-bottom: 0.5rem;
}

.social-menu a {
    color: #e5e7eb;
    text-decoration: none;
    display: block;
    padding: 0.35rem 0;
}

.social-menu a:hover {
    color: #fed7aa;
}


/* Overlay */

.menu-overlay {
    position: fixed;
    inset: 0;
    background: #00000088;
    opacity: 0;
    pointer-events: none;
    transition: 0.2s ease;
    z-index: 10;
}

.menu-overlay.visible {
    opacity: 1;
    pointer-events: auto;
}


/* === MAIN / IFRAME === */

.site-main {
    flex: 1;
    height: calc(100vh - 120px);
}

.embedded-site {
    width: 100%;
    height: 100%;
    border: none;
    scrollbar-width: none;
}

.embedded-site::-webkit-scrollbar {
    display: none;
}


/* Small screens */

@media (max-width: 640px) {
    .site-header,
    .site-footer {
        padding-inline: 1rem;
    }
    .site-title {
        letter-spacing: 0.1em;
        font-size: 1.1rem;
    }
    .social-menu {
        right: 0.75rem;
        width: 75%;
        max-width: 260px;
    }
}