/* =========================================
   Style.css — uses colors from colors.css
   ========================================= */

/* =========================================
   2. BASE STYLES & BACKGROUND
   ========================================= */
body {
    margin: 0;
    padding: 0;
    background-color: var(--bg-dark);
    background: url('assets/homebg.png') no-repeat center center fixed;
    background-size: cover;
    color: white;
    font-family: 'Orbitron', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    overflow: hidden;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, transparent 20%, black 120%);
    pointer-events: none;
    z-index: -1;
}

/* =========================================
   3. MAIN INTERFACE (Master Container)
   ========================================= */
.interface-wrap {
    width: 1891px;
    height: 1024px;
    border: 2px solid var(--brass-dark);
    position: relative;
    display: flex;
    transform-origin: top left;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.9);
    box-sizing: border-box;
    /* Scale applied by JS — always looks same on any resolution (like YouTube) */
}

/* Index: Figma layout — centered logo + nav, profile/FAQ in corners */
.index-layout {
    background: transparent;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

/* Remove the box/border/shadow on the index page so elements float freely */
.interface-wrap.index-layout {
    border: none;
    box-shadow: none;
}

.index-profile {
    position: absolute;
    top: 40px;
    left: 40px;
    z-index: 10;
}
.index-profile img {
    width: 60px;
    height: 60px;
    border: 2px solid var(--brass-dark);
    border-radius: 50%;
    object-fit: cover;
}

/* FIX: Side-by-Side Layout for FAQ */
.faq-page-layout {
    background: rgba(255, 255, 255, 0); 
    flex-direction: row;
    justify-content: flex-start;
    align-items: center;
    padding: 0 100px;
}

/* =========================================
   4. INDEX PANEL COMPONENTS
   ========================================= */
.panel-main {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.hero-container {
    width: 700px;
    margin-bottom: 120px;
    display: flex;
    justify-content: center;
}

.hero-container img {
    width: 100%;
    filter: drop-shadow(0 0 35px var(--brass-mid));
}

.nav-menu {
    display: flex;
    flex-direction: row;
    gap: 50px;
}

.nav-link {
    all: unset;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--deep-wood);
    background: var(--brass-grad);
    padding: 20px 60px;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    text-align: center;
    box-shadow: 0 6px 0px var(--brown-mid);
}

.nav-link:hover {
    transform: translateY(-5px);
    filter: brightness(1.1);
    box-shadow: 0 10px 20px rgba(243, 231, 172, 0.5);
}

/* Corner Icons (Side Panel) */
.panel-side {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: flex-end;
    padding: 50px;
    box-sizing: border-box;
    pointer-events: none;
}

.faq-button {
    pointer-events: auto;
    cursor: pointer;
    transition: transform 0.3s ease, filter 0.3s ease;
}

.faq-button img {
    width: 65px;
    height: auto;
}

.faq-button:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 15px var(--brass-mid));
}

/* =========================================
   5. FAQ PAGE SPECIFIC COMPONENTS
   ========================================= */
.panel-left {
    flex: 1;
    display: flex;
    justify-content: center;
}

.hero-container-faq {
    width: 600px;
    transition: 0.3s ease;
    cursor: pointer;
}

.hero-container-faq:hover {
    filter: drop-shadow(0 0 30px var(--brass-mid));
    transform: scale(1.02);
}

.hero-container-faq img {
    width: 100%;
}

.panel-center {
    flex: 1.2;
    display: flex;
    justify-content: center;
}

.massive-line-text {
    width: 824px;
}

.faq-header-container {
    width: 802.587px;
    height: 63px;
    margin-bottom: 15px;
}

.faq-header-img {
    width: 100%;
    height: 100%;
    border-radius: 3px;
    object-fit: cover;
}

.faq-main-container {
    display: flex;
    width: 857px;
    padding: 12px 16px 0 17px;
    justify-content: center;
    align-items: center;
    background: rgba(43, 21, 0, 0.25);
    border-radius: 4px;
    box-sizing: border-box;
}

.faq-scroll-area {
    width: 100%;
    max-height: 600px;
    overflow-y: auto;
    padding-right: 25px;
}

/* Charter Typography */
.faq-q {
    color: #FFF;
    font-family: 'Charter', serif;
    font-size: 25px;
    font-style: italic;
    font-weight: 700;
    margin-bottom: 10px;
}

.faq-a {
    color: #FFF;
    font-family: 'Charter', serif;
    font-size: 20px;
    font-weight: 400;
    line-height: 1.6;
    margin-bottom: 45px;
    opacity: 0.9;
}

/* Scrollbar */
.faq-scroll-area::-webkit-scrollbar { width: 4px; }
.faq-scroll-area::-webkit-scrollbar-thumb { background: var(--brass-dark); }

/* =========================================
   6. MISC & POPUPS
   ========================================= */
.shout-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 100;
}
