/* General Styles */
body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 20px;
    background-color: #2e2b3d;
    color: #ddd;
    text-align: center;
    display: flex;
    flex-direction: column;
    height: 100vh;
    /* Full viewport height */
    overflow: hidden;
    /* Prevents unwanted scrolling */
}

/* Header - Fixed at Top */
.header {
    background-color: transparent;
    color: #fff;
    width: 100%;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1000;
    display: flex;
    flex-direction: row;
    align-items: center;
    padding: 0;
    justify-content: flex-start;
}

.header-title {
    font-weight: 600;
    flex: 1;
    text-align: center;
    padding: 0 20px;
    order: 3;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    height: 350px;
}

.title-main {
    font-family: "Trade Winds", system-ui;
    font-size: 5.9em;
    line-height: 1;
    margin-bottom: 0.2em;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-shadow: 
        3px 3px 0 #000,
        -3px -3px 0 #000,
        3px -3px 0 #000,
        -3px 3px 0 #000,
        0 0 10px #ffd700;
    background: linear-gradient(45deg, #ffffff, #ffd700);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    transform: scale(1, 1.3);
    text-rendering: optimizeLegibility;
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        text-shadow: 
            3px 3px 0 #000,
            -3px -3px 0 #000,
            3px -3px 0 #000,
            -3px 3px 0 #000,
            0 0 15px #ffd700;
    }
    to {
        text-shadow: 
            3px 3px 0 #000,
            -3px -3px 0 #000,
            3px -3px 0 #000,
            -3px 3px 0 #000,
            0 0 20px #ffd700,
            0 0 30px #ffd700;
    }
}

.title-sub {
    font-family: "Metal Mania", system-ui;
    font-size: 2.2em;
    line-height: 1;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: #131215;
    text-shadow: 
        0.5px 0.5px 0 #484747,
        -0.5px -0.5px 0 #484747,
        0.5px -0.5px 0 #484747,
        -0.5px 0.5px 0 #484747;
    transform: scale(1, 1.1);
}

h1 {
    font-weight: 600;
}

/* Banner inside header */
.banner {
    width: 350px;
    height: 350px;
    flex-shrink: 0;
    order: 1;
    margin: 0;
    padding: 0;
    position: relative;
    z-index: 2;
}

.banner img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

/* Banner Filler */
.banner-filler {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    order: 2;
    margin: 0;
    padding: 0;
    z-index: 1;
}

.banner-filler img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Main Content - Scrollable */
.main {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
    margin-top: 350px;
    margin-bottom: 80px;
}

/* Footer - Fixed at Bottom */
.footer {
    position: fixed;
    width: 100%;
    bottom: 40px;
    /* Adjusted to prevent overlap */
    background-color: #3c3748;
    display: flex;
    justify-content: center;
    gap: 15px;
    padding: 15px;
    flex-wrap: wrap;
}

/* Footer Buttons */
.menu-button {
    text-decoration: none;
    color: #ddd;
    background: #4a4458;
    padding: 10px 20px;
    border-radius: 5px;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.6);
    transition: background 0.3s;
}

.menu-button:hover {
    background: #5a5068;
}

/* Footer Details */
.footer-details {
    position: fixed;
    width: 100%;
    bottom: 0;
    padding: 10px;
    font-size: 14px;
    color: #bbb;
    background-color: #2e2b3d;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 768px) {
    .header {
        font-size: 20px;
        padding: 10px;
        flex-direction: column;
        justify-content: center;
    }

    .banner {
        width: 150px;
        height: 45px;
        margin: 0;
        padding: 0;
        order: 1;
    }

    .banner-filler {
        width: 100%;
        height: 100%;
        order: 2;
        margin: 0;
        padding: 0;
    }

    .header-title {
        height: 45px;
    }

    .title-main {
        font-size: 1.8em;
        margin-bottom: 0.1em;
        transform: scale(1, 1.2);
    }

    .title-sub {
        font-size: 1em;
        transform: scale(1, 1.05);
        letter-spacing: 0.05em;
    }

    .main {
        margin-top: 120px;
        margin-bottom: 100px;
    }

    .footer {
        flex-direction: column;
        align-items: center;
        bottom: 50px;
        /* Prevents button overlap */
    }

    .menu-button {
        width: 80%;
        text-align: center;
        padding: 12px;
    }
}