/* ------------------------------
   GLOBAL RESET & BASE
------------------------------ */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: Arial, Helvetica, sans-serif;
    background: #111;
    color: #eee;
    line-height: 1.6;
    padding-top: 80px; /* prevents nav overlap */
}
/* ------------------------------
   RED → BLACK ANIMATED BACKGROUND
------------------------------ */
body {
    background: linear-gradient(180deg, #300 0%, #000 100%);
    background-size: 400% 400%;
    animation: redFade 12s ease-in-out infinite;
}

@keyframes redFade {
    0%   { background-position: 0% 0%; }
    50%  { background-position: 0% 100%; }
    100% { background-position: 0% 0%; }
}

/* ------------------------------
   NAVIGATION
------------------------------ */
.floating-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(0,0,0,0.85);
    padding: 10px 20px;
    display: flex;
    align-items: center;
    gap: 20px;
    z-index: 9999;
    backdrop-filter: blur(6px);
}

.floating-nav a {
    color: #f44;
    text-decoration: none;
    font-weight: bold;
    transition: 0.2s;
}

.floating-nav a:hover {
    color: #fff;
}

.nav-logo {
    height: 30px;
    width: auto;
}

/* ------------------------------
   HERO IMAGE (PERMANENT)
------------------------------ */
.hero-image {
    width: 100%;
    display: flex;
    justify-content: center;
    margin-top: 20px;
}

.hero-image img {
    width: 100%;
    max-width: 500px;
    height: auto;
    filter: drop-shadow(0 0 20px #f00);
    animation: fadeIn 1s ease-out;
}

/* ------------------------------
   PAGE CONTENT AREA
------------------------------ */
#content {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* ------------------------------
   PAGE SECTIONS
------------------------------ */
.page-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px;
    border-radius: 10px;
    backdrop-filter: blur(4px);
    box-shadow: 0 0 20px rgba(255,0,0,0.2);
}

.page-section h1 {
    margin-bottom: 20px;
    color: #ff4444;
    text-shadow: 0 0 10px #f00;
}

/* ------------------------------
   FOOTER
------------------------------ */
footer {
    text-align: center;
    margin-top: 40px;
    padding: 20px;
    color: #aaa;
    font-size: 0.9rem;
}

/* ------------------------------
   ANIMATIONS
------------------------------ */
@keyframes fadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* ------------------------------
   MOBILE FIXES
------------------------------ */
@media (max-width: 600px) {
    .floating-nav {
        flex-wrap: wrap;
        gap: 10px;
        justify-content: center;
    }

    /* Increase nav font so it wraps cleanly into 2 lines */
    .floating-nav a {
        font-size: 0.9rem;
        line-height: 0.9;
    }

    #content {
        margin-top: 20px;
        padding: 15px;
    }

    .hero-image img {
        max-width: 350px;
    }
}

.nav-logo {
    display: none;
}


/* mobile overflow fix*/

html, body {
    overflow-x: hidden;
}



body {
       
      background-color: #000;
}
html {
       height: -webkit-fill-available;
}

body {
       height: -webkit-fill-available;
}
