/* ============================================
   LA MIDNIGHT - FOOTER CSS
   Author: Rogue RPG BB
   
   Brutalist Footer Styles
   Prefix: .lam-footer-* für Footer-spezifische Klassen
   ============================================ */

/* ============================================
   FOOTER CONTAINER
   ============================================ */

.lam-footer {
    padding: 6rem 0 3rem;
    border-top: 1px solid var(--text-dark);
    position: relative;
    margin-top: 4rem;
}

/* Background decoration */
.lam-footer::before {
    content: 'LA';
    position: absolute;
    top: 2rem;
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-display);
    font-size: clamp(8rem, 20vw, 15rem);
    line-height: 0.75;
    color: transparent;
    -webkit-text-stroke: 1px var(--text-dim);
    opacity: 0.3;
    pointer-events: none;
    z-index: 0;
}

/* Light Mode - etwas weniger sichtbar */
[data-theme="light"] .lam-footer::before {
    -webkit-text-stroke: 1px var(--text-dark);
    opacity: 0.15;
}

/* ============================================
   BRAND / LOGO
   ============================================ */

.lam-footer__brand {
    position: relative;
    z-index: 1;
    text-align: center;
    margin-bottom: 3rem;
}

.lam-footer__logo {
    display: inline-flex;
    align-items: baseline;
    gap: 0.5rem;
}

.lam-footer__logo-la {
    font-family: var(--font-display);
    font-size: clamp(3rem, 8vw, 5rem);
    color: transparent;
    -webkit-text-stroke: 1px var(--text-dim);
    line-height: 1;
}

.lam-footer__logo-mid {
    font-family: var(--font-display);
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    color: var(--accent);
    letter-spacing: 0.15em;
    line-height: 1;
}

.lam-footer__tagline {
    font-family: var(--font-mono);
    font-size: 0.55rem;
    color: var(--text-dark);
    letter-spacing: 0.25em;
    margin-top: 1rem;
    display: block;
}

/* ============================================
   NAVIGATION LINKS
   ============================================ */

.lam-footer__nav {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 2rem 3rem;
    margin-bottom: 3rem;
    padding: 0;
    list-style: none;
}

.lam-footer__nav li {
    display: inline;
}

.lam-footer__nav a {
    font-family: var(--font-mono);
    font-size: 0.6rem;
    color: var(--text-dark);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    text-decoration: none;
    transition: color 0.3s var(--ease);
    position: relative;
}

.lam-footer__nav a::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 1px;
    background: var(--accent);
    transition: width 0.3s var(--ease);
}

.lam-footer__nav a:hover {
    color: var(--accent);
}

.lam-footer__nav a:hover::after {
    width: 100%;
}

/* ============================================
   SELECTORS (Theme/Language)
   ============================================ */

.lam-footer__selectors {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 3rem;
}

.lam-footer__select-wrap {
    position: relative;
}

.lam-footer__select-wrap label {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-dark);
    letter-spacing: 0.15em;
    display: block;
    margin-bottom: 0.5rem;
    text-align: center;
}

.lam-footer__select-wrap select {
    background: var(--bg);
    color: var(--text-dim);
    border: 1px solid var(--text-dark);
    padding: 0.5rem 2rem 0.5rem 0.75rem;
    font-family: var(--font-mono);
    font-size: 0.6rem;
    letter-spacing: 0.05em;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    min-width: 120px;
    transition: all 0.3s var(--ease);
}

.lam-footer__select-wrap select:hover,
.lam-footer__select-wrap select:focus {
    border-color: var(--accent);
    outline: none;
}

/* Custom dropdown arrow */
.lam-footer__select-wrap::after {
    content: '▼';
    position: absolute;
    bottom: 0.6rem;
    right: 0.75rem;
    font-size: 0.5rem;
    color: var(--text-dark);
    pointer-events: none;
}

/* Hide Go button - auto submit */
.lam-footer__select-wrap input[type="submit"] {
    display: none;
}

/* ============================================
   CREDITS ROW
   ============================================ */

.lam-footer__credits {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem 0;
    border-top: 1px solid var(--text-dark);
    border-bottom: 1px solid var(--text-dark);
}

.lam-footer__credit {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-dark);
    letter-spacing: 0.1em;
}

.lam-footer__credit a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.lam-footer__credit a:hover {
    color: var(--accent);
}

.lam-footer__credit--highlight {
    color: var(--accent);
}

/* ============================================
   BOTTOM BAR
   ============================================ */

.lam-footer__bottom {
    position: relative;
    z-index: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem 2rem;
    padding-top: 1.5rem;
}

.lam-footer__time {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-dark);
    letter-spacing: 0.1em;
}

.lam-footer__copyright {
    font-family: var(--font-mono);
    font-size: 0.5rem;
    color: var(--text-dark);
    letter-spacing: 0.05em;
}

.lam-footer__copyright a {
    color: var(--text-dim);
    text-decoration: none;
    transition: color 0.2s;
}

.lam-footer__copyright a:hover {
    color: var(--accent);
}

/* ============================================
   DECORATIVE ELEMENTS
   ============================================ */

.lam-footer__divider {
    width: 1px;
    height: 12px;
    background: var(--text-dark);
}

.lam-footer__code {
    font-family: var(--font-mono);
    font-size: 0.45rem;
    color: var(--text-dark);
    letter-spacing: 0;
}

/* ============================================
   SOCIAL LINKS (Optional)
   ============================================ */

.lam-footer__social {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.lam-footer__social a {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    font-size: 0.9rem;
    transition: all 0.3s var(--ease);
}

.lam-footer__social a:hover {
    border-color: var(--accent);
    color: var(--accent);
}

/* ============================================
   BACK TO TOP
   ============================================ */

.lam-footer__totop {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--text-dark);
    color: var(--text-dark);
    font-size: 1rem;
    cursor: pointer;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s var(--ease);
    z-index: 100;
}

.lam-footer__totop:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.lam-footer__totop.visible {
    opacity: 1;
    visibility: visible;
}

/* ============================================
   RESPONSIVE
   ============================================ */

@media (max-width: 900px) {
    .lam-footer {
        padding: 4rem 0 2rem;
    }
    
    .lam-footer::before {
        font-size: 8rem;
        opacity: 0.2;
    }
    
    .lam-footer__nav {
        gap: 1rem 2rem;
    }
    
    .lam-footer__selectors {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    
    .lam-footer__credits {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }
    
    .lam-footer__bottom {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .lam-footer__divider {
        display: none;
    }
}

@media (max-width: 600px) {
    .lam-footer::before {
        display: none;
    }
    
    .lam-footer__logo-la {
        font-size: 2.5rem;
    }
    
    .lam-footer__logo-mid {
        font-size: 1.25rem;
    }
    
    .lam-footer__nav {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .lam-footer__nav a {
        font-size: 0.7rem;
    }
}

/* ============================================
   HIDE DEFAULT MYBB FOOTER STYLES
   ============================================ */

/* Override default #footer styles */
#footer {
    background: transparent !important;
    border: none !important;
    color: inherit !important;
}

#footer .upper,
#footer .lower {
    background: transparent !important;
    border: none !important;
}

/* Hide default bottom_links if using our nav */
#footer .bottom_links {
    display: none;
}

/* Hide default language/theme selects if using our styled ones */
#footer .language,
#footer .theme {
    display: none;
}