* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}


/* HERO BANNER */
.hero-section {
    
    isolation: isolate;
    position: relative;
    width: 100%;
    min-height: 100vh;
    
    display: flex;
    flex-direction: column;
    padding: 0 5%;
    overflow: visible; 
    
    z-index: 1;
}

/* VISUAL CANVAS */
.hero-fixed-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    display: flex;
    flex-direction: column;
    padding: 0 5%;
    box-sizing: border-box;
    overflow: hidden;
}


.hero-bg-wrapper {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: 
     linear-gradient(
        rgba(166, 206, 228, 0.9) 0%,     
        rgba(231, 210, 162, 0.6) 25%,    
        rgba(231, 210, 162, 0) 50%,     
        rgba(231, 210, 162, 0) 100%
    ),
    linear-gradient(
            to right,
            rgba(231, 210, 162, 0.79) 0%,    
            rgba(231, 210, 162, 0.6) 25%,    
            rgba(231, 210, 162, 0) 60%       
        ),
   
    url('/static/images/layout/bg_city.png') no-repeat center center;
    
    background-size: cover;
    
}

/* NAVIGATION BAR */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 30px 0;
    width: 100%;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    height: 70px;
    width: auto;
}


.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    gap: 35px;
    font-family: "Almendra", serif;
    font-weight: 700;
    font-style: normal;
    
}

.nav-links a {
    text-decoration: none;
    color: var(--dark);
    font-weight: bold;
    font-size: 1rem;
    letter-spacing: 1px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    
}

.nav-links a:hover, 
.nav-links a.active {
    color: var(--light); 
}

.nav-links a.active::after,
.nav-links a:hover::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 2px;
    background-color: var(--light);
}

.nav-login-item {
    display: inline-flex;
    align-items: center;  
    justify-content: center;
    height: 100%;    
}

/* LOGIN LINK ANCHOR  */
.custom-game-btn.nav-login-btn {
    display: inline-flex;
    position: relative;
    max-width: 120px;
    width: 100%;

    height: max-content; 
    align-self: center;

    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), filter 0.15s ease;
    filter: drop-shadow(0px 6px 10px  rgba(95, 32, 7, 0.35));
}

a.nav-login-btn::after, a.nav-login-btn:hover::after, a.nav-login-item:active::after  {
    content: none !important;
    display: none !important;
}

/* TEXT & ICON CENTERING CANVAS */
.nav-login-btn .btn-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    align-items: center; 
    justify-content: center; 
    gap: 6px;
    
    padding: 0 10px;
    box-sizing: border-box;
}

.nav-login-btn .btn-text-label {
    font-size: 0.85rem; 
    line-height: 1;
    margin: 0;
    padding-bottom: 0.2rem;
    display: inline-block;
}

.nav-login-btn .btn-icon-marker {
    font-size: 0.95rem;
    line-height: 1;
    margin: 0;
    padding-bottom: 0.2rem;
}
/* HOVER ACTIONS ON THE NAV ITEM */
.custom-game-btn.nav-login-btn:hover {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0px 12px 18px  rgba(95, 32, 7, 0.45)) brightness(1.1);
}

.custom-game-btn.nav-login-btn:active {
    transform: translateY(-1px) scale(0.98);
    filter: drop-shadow(0px 3px 6px  rgba(95, 32, 7, 0.4)) brightness(0.95);
}

/* HERO CONTENT */
.hero-container {
    z-index: 1;
    flex: 1;
    display: flex;
    align-items: center;
    padding-bottom: 80px;
}


/* TEXT CONTAINER CARD */
.hero-content {

    z-index: 2;
    padding: 40px; 
    
    max-width: 560px; 
    width: 100%; 
    box-sizing: border-box; 
    
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    text-align: left;
    
}

.hero-title {
    font-size: 3.3rem;
    line-height: 1.1;
    color: var(--dark);
    letter-spacing: 1px;
    margin-bottom: 20px;
    width: 100%;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.hero-divider {
    width: 150px;       
    height: 20px;       
    margin-bottom: 20px;
    
    background-image: url('/static/images/layout/divider.png');
    background-size: contain;
    background-repeat: no-repeat;
    background-position: left center;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--dark);
    margin-bottom: 35px;
    font-weight: 400;
    -webkit-text-stroke: 0.5px var(--dark);
}

/* GAME BUTTON */
.custom-game-btn {
    display: inline-flex; 
    position: relative;
    text-decoration: none;
    cursor: pointer;
    
    max-width: 280px; 
    width: 100%;

    transition: transform 0.15s cubic-bezier(0.25, 1, 0.5, 1), filter 0.15s ease;
    filter: drop-shadow(0px 6px 10px  rgba(95, 32, 7, 0.35));
}

.btn-bg-asset {
    width: 100%;
    height: auto;
    display: block;
}

/* TEXT OVERLAY CANVAS */
.btn-content-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    
    padding: 0 40px; 
    box-sizing: border-box;
}

/* GAME TYPOGRAPHY */
.btn-text-label {
    color: var(--accent);
    font-weight: 900;
    font-size: 1.2rem;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    text-shadow: 0px 2px 4px rgba(95, 32, 7, 0.5); 
}

.btn-icon-marker {
    color: var(--accent);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    text-shadow: 0px 2px 4px  rgba(95, 32, 7, 0.5);
}

/* HOVER EFFECTS */
.custom-game-btn:hover {
    transform: translateY(-5px) scale(1.02);
    filter: drop-shadow(0px 12px 18px  rgba(95, 32, 7, 0.45)) brightness(1.1);
}

.custom-game-btn:active {
    transform: translateY(-1px) scale(0.98);
    filter: drop-shadow(0px 3px 6px  rgba(95, 32, 7, 0.4)) brightness(0.95);
}

/* ==========================================================================
   MOBILE HERO LAYOUT ADAPTER
   ========================================================================== */
@media (max-width: 992px) {
    .hero-section {
        background-position: 35% center;
    }
    .hero-title {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {

    h2{
         font-size: 1.1rem !important;
    }

    p {
        font-size: 13px !important;
    }

    .nav-links{
        gap: 15px;
    }

    .btn-text-label{
        font-size: 1rem;
        letter-spacing: 0.8px;
    }

    .navbar {
        flex-direction: column;
        gap: 20px;
    }
    .hero-container {
        justify-content: center;
        text-align: center;
    }
    .hero-content {
        max-width: 100%;
    }
    .hero-bg-wrapper {
    background: 
     linear-gradient(
        rgba(166, 206, 228, 0.65) 0%,   
        rgba(231, 210, 162, 0.4) 25%,    
        rgba(231, 210, 162, 0) 50%,     
        rgba(231, 210, 162, 0) 100%
    ),
    linear-gradient(
            to right,
            rgba(231, 210, 162, 0.888) 0%,  
            rgba(231, 210, 162, 0.79) 60%,   
            rgba(231, 210, 162, 0) 100%      
        ),
   
    url('/static/images/layout/city.png') no-repeat center center;
    
    background-size: cover;
    }

}