/* ========================================
   🎛️  CONTROL PANEL
   ======================================== */
:root {
    /* --- LAYER 1: SUPER COLORFUL BACKGROUND --- */
    --bg-layer1: linear-gradient(
        135deg,
        #ff006e,   /* HOT PINK */
        #ff6b35,   /* ORANGE */
        #f7931e,   /* GOLDEN ORANGE */
        #7b2fbe,   /* DARK PURPLE */
        #00b4d8,   /* BRIGHT BLUE */
        #06d6a0,   /* MINT GREEN */
        #ff006e,   /* HOT PINK (loop back) */
        #f7931e,   /* GOLDEN ORANGE */
        #7b2fbe,   /* DARK PURPLE */
        #00b4d8    /* BRIGHT BLUE */
    );
    --bg-layer1-size: 500% 500%;
    --bg-layer1-animation-duration: 12s;

    /* --- LAYER 2: Dark Overlay --- */
    --bg-layer2: #0e161c;

    /* --- LOGO --- */
    --logo-size: 350px;
    --logo-border-radius: 40px;
    --logo-margin-bottom: -35px;

    /* --- VECTOR LINES --- */
    --line-color: rgba(255, 255, 255, 0.6);
    --line-height: 2.0px;
    --line-width: 29%;
    --line-side-width: 10px;

    /* --- TITLE --- */
    --title-font: 'Montserrat', sans-serif;
    --title-font-weight: 775;
    --title-size: clamp(1.4rem, 3vw, 1.3rem);
    --title-letter-spacing: 0.15em;

    /* --- SUBTITLE --- */
    --subtitle-font: 'Bebas Neue', sans-serif;
    --subtitle-size: clamp(1.5rem, 4vw, 2.85rem);
    --subtitle-letter-spacing: 0.05em;
    --subtitle-margin-top: 10px;

    /* --- SPACING --- */
    --gap-between-elements: 5px;
}

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

html, body {
    height: 100%;
    overflow: hidden;
}

body {
    font-family: var(--title-font);
    background: var(--bg-layer2);
}

/* ========================================
   LAYER 1: MOVING BACKGROUND
   ======================================== */
.layer-1 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-layer1);
    background-size: var(--bg-layer1-size);
    animation: moveBackground var(--bg-layer1-animation-duration) ease-in-out infinite alternate;
    z-index: 0;
}

@keyframes moveBackground {
    0% { background-position: 0% 50%; }
    100% { background-position: 100% 50%; }
}

/* ========================================
   LAYER 2: DARK OVERLAY
   ======================================== */
.layer-2 {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-layer2);
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

/* ========================================
   CONTENT
   ======================================== */
.content {
    text-align: center;
    width: 100%;
    max-width: 1200px;
    margin-top: -200px;   /* ← Moves everything (lines + text) UP */
}

/* ========================================
   ENGRAVED EFFECT
   ======================================== */
.engraved {
    background-image: var(--bg-layer1);
    background-size: var(--bg-layer1-size);
    animation: moveBackground var(--bg-layer1-animation-duration) ease-in-out infinite alternate;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ========================================
   LOGO
   ======================================== */
.logo-wrapper {
    margin-bottom: var(--logo-margin-bottom);
    display: inline-block;
}

.logo-engraved {
    width: var(--logo-size);
    height: var(--logo-size);
    border-radius: var(--logo-border-radius);
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
    
    /* The moving background shows through the logo shape */
    background-image: var(--bg-layer1), url('../images/logoH1main.webp');
    background-blend-mode: screen;
    animation: moveBackground var(--bg-layer1-animation-duration) ease-in-out infinite alternate;
}

/* ========================================
   VECTOR LINES
   ======================================== */
.line-top,
.line-bottom {
    width: var(--line-width);
    height: var(--line-height);
    background: var(--line-color);
    margin: 0 auto;
}

.line-top {
    margin-bottom: var(--gap-between-elements);
}

.line-bottom {
    margin-top: var(--gap-between-elements);
}

.title-row {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    margin: var(--gap-between-elements) 0;
}

.line-side {
    height: var(--line-height);
    background: var(--line-color);
    flex-shrink: 0;
    width: var(--line-side-width);
}

/* ========================================
   TITLE
   ======================================== */
.title-engraved {
    font-family: var(--title-font);
    font-weight: var(--title-font-weight);
    font-size: var(--title-size);
    letter-spacing: var(--title-letter-spacing);
    padding: 0 9px;
    white-space: nowrap;
    background-image: var(--bg-layer1);
    background-size: var(--bg-layer1-size);
    animation: moveBackground var(--bg-layer1-animation-duration) ease-in-out infinite alternate;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

/* ========================================
   SUBTITLE
   ======================================== */
.subtitle-engraved {
    font-family: var(--subtitle-font);
    font-size: var(--subtitle-size);
    letter-spacing: var(--subtitle-letter-spacing);
    margin-top: var(--subtitle-margin-top);
    background-image: var(--bg-layer1);
    background-size: var(--bg-layer1-size);
    animation: moveBackground var(--bg-layer1-animation-duration) ease-in-out infinite alternate;
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    display: inline-block;
    text-transform: uppercase;
}

/* ========================================
   RESPONSIVE
   ======================================== */
@media (max-width: 768px) {
    :root {
        --line-side-width: 20px;
        --title-size: clamp(1.8rem, 6vw, 2.8rem);
        --subtitle-size: clamp(1.2rem, 3vw, 2rem);
        --logo-size: 90px;
        --line-width: 90%;
    }
}

@media (max-width: 480px) {
    :root {
        --line-side-width: 12px;
        --title-size: clamp(1.2rem, 5vw, 1.8rem);
        --subtitle-size: clamp(1rem, 2.5vw, 1.4rem);
        --logo-size: 70px;
        --line-width: 95%;
        --logo-border-radius: 20px;
    }
}