/* Font loaded via <link> in HTML for Firefox compatibility */

/* ===== VARIABLES ===== */
:root {
    --gold: #c9a84c;
    --gold-light: #e6cc80;
    --gold-dark: #8a6d2b;
    --bg-dark: #060a10;
    --bg-section: #0a0f1a;
    --text-light: #e8e0d0;
    --text-muted: #9a8e7a;
    --border-gold: rgba(201,168,76,0.25);
    --card-bg: linear-gradient(160deg, rgba(20,18,12,0.9), rgba(10,10,8,0.95));
    --transition: 0.3s ease;
}

/* ===== PAGE LOADER ===== */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 10000;
    background: #060a10;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.4s ease;
}

#page-loader img {
    animation: pulse-loader 1.5s ease-in-out infinite;
    filter: drop-shadow(0 0 20px rgba(201,168,76,0.4));
}

#page-loader.loaded {
    opacity: 0;
    pointer-events: none;
}

@keyframes pulse-loader {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.08); opacity: 1; }
}

/* ===== BASE ===== */
* { scroll-behavior: smooth; }

body {
    font-family: 'Raleway', sans-serif;
    background: var(--bg-dark);
    color: var(--text-light);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

h1, h2, h5, h6, .navbar-brand span, .btn-gold, .btn-outline-gold {
    font-family: 'Cinzel', serif;
}

::selection { background: rgba(201,168,76,0.3); color: #fff; }

/* ===== SKIP LINK ===== */
.skip-link {
    position: absolute;
    top: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--gold);
    color: #0a0a0a;
    padding: 8px 20px;
    border-radius: 0 0 6px 6px;
    z-index: 9999;
    font-weight: 600;
    font-size: 0.85rem;
    transition: top var(--transition);
}
.skip-link:focus {
    top: 0;
    color: #0a0a0a;
}

/* ===== FOCUS VISIBLE ===== */
*:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
}

button:focus-visible, a:focus-visible, .btn:focus-visible {
    outline: 2px solid var(--gold);
    outline-offset: 3px;
    box-shadow: 0 0 12px rgba(201,168,76,0.4);
}

/* ===== STARFIELD ===== */
#starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0;
    pointer-events: none;
}

nav, section, footer, .section-sep { position: relative; z-index: 1; }

/* ===== SECTION SEPARATORS ===== */
.section-sep {
    height: 40px;
    background: linear-gradient(
        135deg,
        transparent 33%,
        rgba(201,168,76,0.06) 33%,
        rgba(201,168,76,0.06) 66%,
        transparent 66%
    );
    position: relative;
}
.section-sep::after {
    content: '';
    position: absolute;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 6px;
    height: 6px;
    background: var(--gold-dark);
    border-radius: 50%;
    opacity: 0.5;
}

/* ===== NAVBAR ===== */
.navbar-eve {
    position: sticky;
    top: 0;
    z-index: 100;
    background: rgba(6,10,16,0.6);
    border-bottom: 1px solid transparent;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    padding: 10px 0;
    transition: all var(--transition);
}
.navbar-eve.scrolled {
    background: rgba(6,10,16,0.97);
    border-bottom-color: var(--border-gold);
    padding: 6px 0;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
}

.navbar-brand {
    color: var(--gold-light);
    letter-spacing: 3px;
    text-transform: uppercase;
    text-decoration: none;
    font-size: 1.1rem;
    font-weight: 600;
}
.navbar-brand:hover { color: #fff; }

.navbar-logo {
    height: 38px; width: 38px;
    object-fit: contain;
    filter: drop-shadow(0 0 8px rgba(201,168,76,0.5));
    transition: all var(--transition);
}
.navbar-eve.scrolled .navbar-logo { height: 30px; width: 30px; }

/* ===== HAMBURGER ===== */
.navbar-toggler {
    border: 1px solid rgba(201,168,76,0.4);
    padding: 6px 10px;
    background: transparent;
    display: flex;
    flex-direction: column;
    gap: 4px;
    cursor: pointer;
    transition: all var(--transition);
}
.navbar-toggler:hover { border-color: var(--gold); }
.navbar-toggler:focus { box-shadow: 0 0 10px rgba(201,168,76,0.3); }

.navbar-toggler-bar {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--gold);
    border-radius: 2px;
    transition: all var(--transition);
}

.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(1) {
    transform: rotate(45deg) translate(4px, 4px);
}
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(2) { opacity: 0; }
.navbar-toggler[aria-expanded="true"] .navbar-toggler-bar:nth-child(3) {
    transform: rotate(-45deg) translate(4px, -4px);
}

.navbar-collapse {
    transition: all 0.4s ease;
}

/* ===== NAV LINKS ===== */
.nav-links { gap: 4px; align-items: center; }

.nav-links .nav-link {
    font-family: 'Raleway', sans-serif;
    font-size: 0.72rem;
    font-weight: 500;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    padding: 6px 10px;
    border-radius: 4px;
    transition: all var(--transition);
    text-decoration: none;
    position: relative;
}
.nav-links .nav-link::after {
    content: '';
    position: absolute;
    bottom: 2px;
    left: 50%;
    width: 0;
    height: 1px;
    background: var(--gold);
    transition: all var(--transition);
    transform: translateX(-50%);
}
.nav-links .nav-link:hover { color: var(--gold-light); }
.nav-links .nav-link:hover::after { width: 60%; }
.nav-links .nav-link.active {
    color: var(--gold-light);
    background: rgba(201,168,76,0.1);
}
.nav-links .nav-link.active::after { width: 60%; }

.navbar-right { flex-shrink: 0; }

/* ===== LANG SWITCHER ===== */
.lang-switcher { display: flex; gap: 4px; }

.lang-btn {
    font-size: 0.7rem;
    padding: 3px 10px;
    transition: all var(--transition);
    border-color: rgba(201,168,76,0.4);
    color: var(--gold-light);
}
.lang-btn:hover { border-color: var(--gold); color: #fff; }
.lang-btn.active {
    background: rgba(201,168,76,0.2);
    border-color: var(--gold);
    color: #fff;
    box-shadow: 0 0 10px rgba(201,168,76,0.3);
}

/* ===== HERO ===== */
.hero {
    position: relative;
    padding: 120px 20px 80px;
    text-align: center;
    background:
        radial-gradient(ellipse at center, rgba(201,168,76,0.08) 0%, transparent 60%),
        radial-gradient(circle at 30% 80%, rgba(201,168,76,0.05), transparent 40%);
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}
.hero-overlay {
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 60%, var(--bg-dark) 100%);
    pointer-events: none;
}
.hero-content { position: relative; }

.hero-logo {
    width: 160px; height: 160px;
    object-fit: contain;
    margin-bottom: 24px;
    filter: drop-shadow(0 0 30px rgba(201,168,76,0.4));
    opacity: 0;
    animation: logoReveal 1.2s ease forwards 0s, float 4s ease-in-out infinite 1.2s;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}
@keyframes logoReveal {
    from { opacity: 0; transform: scale(0.6); }
    to { opacity: 1; transform: scale(1); }
}

.hero h1 {
    font-weight: 700;
    font-size: 2.8rem;
    letter-spacing: 4px;
    text-transform: uppercase;
    background: linear-gradient(135deg, var(--gold-light), #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
    opacity: 0;
    animation: titleReveal 1.8s ease forwards 0.3s;
}
@keyframes titleReveal {
    0% { opacity: 0; letter-spacing: 15px; filter: blur(8px); }
    50% { opacity: 0.6; filter: blur(2px); }
    100% { opacity: 1; letter-spacing: 4px; filter: blur(0); }
}

.hero-motto {
    font-family: 'Cinzel', serif;
    font-style: italic;
    color: var(--gold);
    font-size: 1.1rem;
    letter-spacing: 2px;
    margin-bottom: 6px;
    opacity: 0;
    animation: fadeSlideUp 1s ease forwards 1.4s;
}
.hero-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    margin-bottom: 36px;
    opacity: 0;
    animation: fadeSlideUp 1s ease forwards 1.7s;
}
.hero-actions {
    display: flex; gap: 16px; justify-content: center; flex-wrap: wrap;
    opacity: 0;
    animation: fadeSlideUp 1s ease forwards 2s;
}
@keyframes fadeSlideUp {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ===== SCROLL INDICATOR ===== */
.scroll-indicator {
    margin-top: 50px;
    opacity: 0;
    animation: fadeSlideUp 1s ease forwards 2.5s;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: transform var(--transition);
}
.scroll-indicator:hover { transform: translateY(4px); }
.scroll-indicator:hover i { color: var(--gold-light); }
.scroll-indicator i {
    font-size: 1.6rem;
    color: var(--gold-dark);
    animation: bounce 2s ease-in-out infinite;
    transition: color var(--transition);
}
@keyframes bounce {
    0%, 100% { transform: translateY(0); opacity: 0.4; }
    50% { transform: translateY(8px); opacity: 0.8; }
}

/* ===== BUTTONS ===== */
.btn-gold {
    background: linear-gradient(135deg, var(--gold-dark), var(--gold), var(--gold-light));
    border: none;
    color: #0a0a0a;
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    box-shadow: 0 0 20px rgba(201,168,76,0.3);
    border-radius: 6px;
    padding: 10px 28px;
    transition: all var(--transition);
}
.btn-gold:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 30px rgba(201,168,76,0.5);
    transform: translateY(-2px);
    color: #0a0a0a;
}
.btn-outline-gold {
    background: transparent;
    border: 1px solid var(--gold);
    color: var(--gold-light);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    border-radius: 6px;
    padding: 10px 28px;
    transition: all var(--transition);
}
.btn-outline-gold:hover {
    background: rgba(201,168,76,0.1);
    border-color: var(--gold-light);
    color: #fff;
    box-shadow: 0 0 20px rgba(201,168,76,0.2);
    transform: translateY(-2px);
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #3b49c9);
    color: #fff; border: none;
    padding: 6px 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: 'Raleway', sans-serif;
    font-weight: 500; font-size: 0.85rem;
    box-shadow: 0 0 12px rgba(88,101,242,0.4);
    border-radius: 6px;
    transition: all var(--transition);
}
.btn-discord:hover {
    filter: brightness(1.15);
    box-shadow: 0 0 20px rgba(88,101,242,0.7);
    transform: translateY(-2px);
    color: #fff;
}

/* ===== SECTION TITLES ===== */
.section-title {
    text-align: center;
    font-size: 1.8rem; font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--gold-light);
    font-family: 'Cinzel', serif;
}
.gold-divider {
    width: 60px; height: 2px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    margin: 12px auto 0;
}

/* ===== STATS ===== */
.stats-section {
    padding: 50px 0;
    background: var(--bg-section);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}
.stat-item { display: flex; flex-direction: column; align-items: center; gap: 6px; }
.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 2.2rem; font-weight: 700;
    background: linear-gradient(135deg, var(--gold-light), #fff, var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
}
.stat-number i {
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.stat-label {
    font-size: 0.85rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--text-muted);
}

/* ===== ABOUT ===== */
.about-section {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 0%, rgba(201,168,76,0.04), transparent 50%), var(--bg-section);
}
.about-intro {
    color: var(--text-muted);
    font-size: 1rem; max-width: 700px;
    margin-left: auto; margin-right: auto;
    line-height: 1.8;
}
.about-icon {
    font-size: 2.4rem; margin-bottom: 14px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(201,168,76,0.4));
}
.about-section h5 {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    letter-spacing: 2px; text-transform: uppercase;
    font-size: 1rem; margin-bottom: 10px;
}
.about-section p {
    color: var(--text-muted);
    font-size: 0.9rem; line-height: 1.7;
    max-width: 320px; margin: 0 auto;
}

/* ===== ACTIVITIES ===== */
.activities-section { padding: 80px 0; background: var(--bg-dark); }
.activity-item {
    padding: 24px 16px;
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    background: var(--card-bg);
    transition: all var(--transition);
    height: 100%;
}
.activity-item:hover {
    transform: translateY(-4px);
    box-shadow: 0 0 25px rgba(201,168,76,0.12);
    border-color: rgba(201,168,76,0.45);
}
.activity-icon {
    font-size: 2rem; margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
.activity-item h6 {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    letter-spacing: 1px; text-transform: uppercase;
    font-size: 0.85rem; margin-bottom: 6px;
}
.activity-item p { color: var(--text-muted); font-size: 0.8rem; margin-bottom: 0; }

/* ===== HONOR CODE ===== */
.honor-section {
    padding: 80px 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.05) 0%, transparent 50%), var(--bg-section);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}
.honor-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 12px;
    max-width: 800px;
    margin: 0 auto;
}
.honor-item {
    display: flex; align-items: center; gap: 16px;
    padding: 14px 20px;
    border: 1px solid rgba(201,168,76,0.15);
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(20,18,12,0.5), rgba(10,10,8,0.7));
    transition: all var(--transition);
}
.honor-item:hover {
    border-color: rgba(201,168,76,0.4);
    box-shadow: 0 0 20px rgba(201,168,76,0.08);
    background: linear-gradient(135deg, rgba(30,26,18,0.6), rgba(15,14,10,0.8));
}
.honor-number {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem; font-weight: 700;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    min-width: 36px; text-align: center; flex-shrink: 0;
}
.honor-item p {
    margin: 0;
    color: var(--text-light);
    font-size: 0.9rem; font-style: italic;
    letter-spacing: 0.5px;
}

/* ===== LEADERSHIP ===== */
.leadership-section {
    padding: 80px 0;
    background: radial-gradient(circle at 50% 0%, rgba(201,168,76,0.04), transparent 50%), var(--bg-dark);
}
.leader-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    border-radius: 12px;
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    backdrop-filter: blur(6px);
    display: flex; flex-direction: column;
}
.leader-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(201,168,76,0.15);
    border-color: rgba(201,168,76,0.5);
}

.leader-portrait {
    width: 80px; height: 80px;
    border-radius: 50%;
    border: 2px solid var(--border-gold);
    object-fit: cover;
    margin: 0 auto 14px;
    filter: drop-shadow(0 0 10px rgba(201,168,76,0.3));
    background: rgba(201,168,76,0.05);
    transition: all var(--transition);
}
.leader-card:hover .leader-portrait {
    border-color: var(--gold);
    filter: drop-shadow(0 0 16px rgba(201,168,76,0.5));
}

.leader-card h5 {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    letter-spacing: 1px; font-size: 1rem; margin-bottom: 4px;
}
.leader-role {
    display: inline-block;
    font-size: 0.7rem;
    font-family: 'Raleway', sans-serif;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    background: linear-gradient(135deg, var(--gold-dark), var(--gold));
    color: #0a0a0a;
    padding: 3px 12px; border-radius: 4px;
    font-weight: 600; margin-bottom: 12px;
}
.leader-desc {
    color: var(--text-muted);
    font-size: 0.85rem; line-height: 1.6; margin-bottom: 0;
}

/* ===== SERVICES ===== */
.services-section { padding: 80px 0; background: var(--bg-section); }

.eve-card {
    background: var(--card-bg);
    border: 1px solid var(--border-gold);
    box-shadow: 0 0 20px rgba(201,168,76,0.06);
    transition: transform var(--transition), box-shadow var(--transition), border-color var(--transition);
    color: var(--text-light);
    border-radius: 12px;
    backdrop-filter: blur(6px);
    display: flex; flex-direction: column;
}
.eve-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 0 40px rgba(201,168,76,0.15);
    border-color: rgba(201,168,76,0.5);
}
.card-icon {
    font-size: 2.2rem; margin-bottom: 12px;
    background: linear-gradient(135deg, var(--gold), var(--gold-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 6px rgba(201,168,76,0.4));
}
.eve-card h5 { font-family: 'Cinzel', serif; }
.eve-card p { color: var(--text-muted); font-size: 0.9rem; }

/* ===== RECRUIT ===== */
.recruit-section {
    padding: 80px 0;
    background: radial-gradient(ellipse at center, rgba(201,168,76,0.06) 0%, transparent 50%), var(--bg-dark);
    border-top: 1px solid var(--border-gold);
    border-bottom: 1px solid var(--border-gold);
}
.recruit-text {
    color: var(--text-muted);
    font-size: 1.05rem; max-width: 600px;
    margin-left: auto; margin-right: auto;
    line-height: 1.8;
}

/* ===== SCROLL TO TOP ===== */
.scroll-top {
    position: fixed; bottom: 30px; right: 30px;
    z-index: 99;
    width: 44px; height: 44px;
    border: 1px solid var(--border-gold);
    border-radius: 50%;
    background: rgba(6,10,16,0.9);
    color: var(--gold);
    font-size: 1.2rem;
    cursor: pointer;
    opacity: 0; visibility: hidden;
    transform: translateY(10px);
    transition: all var(--transition);
    backdrop-filter: blur(8px);
    display: flex; align-items: center; justify-content: center;
}
.scroll-top.visible {
    opacity: 1; visibility: visible;
    transform: translateY(0);
}
.scroll-top:hover {
    background: rgba(201,168,76,0.15);
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(201,168,76,0.3);
    color: var(--gold-light);
}

/* ===== FOOTER ===== */
footer {
    margin-top: auto;
    padding: 30px 0;
    background: linear-gradient(180deg, rgba(10,15,26,0.8), rgba(0,0,0,0.95));
    text-align: center;
    font-size: 0.82rem;
    border-top: 1px solid var(--border-gold);
    color: var(--text-muted);
}
.footer-container { display: flex; flex-direction: column; align-items: center; gap: 8px; }
.footer-logo { width: 40px; height: 40px; object-fit: contain; margin-bottom: 6px; opacity: 0.7; }
.footer-separator { width: 50px; border: 1px solid var(--gold-dark); margin: 4px 0; opacity: 0.5; }

/* ===== FOOTER YIAC (unified 3-column) ===== */
.footer-yiac {
    padding: 50px 0 24px;
}
.footer-yiac .footer-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    text-align: left;
    max-width: 1000px;
    margin: 0 auto;
}
.footer-yiac .footer-col h6 {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    letter-spacing: 2px;
    text-transform: uppercase;
    font-size: 0.8rem;
    margin-bottom: 14px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(201,168,76,0.15);
}
.footer-yiac .footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 12px;
}
.footer-yiac .footer-brand img {
    width: 42px; height: 42px;
    object-fit: contain;
    opacity: 0.85;
    filter: drop-shadow(0 0 8px rgba(201,168,76,0.3));
}
.footer-yiac .footer-brand-name {
    font-family: 'Cinzel', serif;
    color: var(--gold-light);
    font-size: 0.95rem;
    letter-spacing: 2px;
    text-transform: uppercase;
    font-weight: 600;
}
.footer-yiac .footer-baseline {
    color: var(--text-muted);
    font-size: 0.82rem;
    line-height: 1.6;
    margin: 0 0 6px;
}
.footer-yiac .footer-copy {
    color: var(--text-muted);
    font-size: 0.78rem;
    line-height: 1.5;
    margin: 0;
}
.footer-yiac ul.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}
.footer-yiac ul.footer-links li {
    margin-bottom: 8px;
    font-size: 0.85rem;
}
.footer-yiac ul.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: color var(--transition), text-shadow var(--transition);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}
.footer-yiac ul.footer-links a:hover {
    color: var(--gold-light);
    text-shadow: 0 0 6px rgba(201,168,76,0.4);
}
.footer-yiac ul.footer-links a i {
    font-size: 0.75rem;
    opacity: 0.7;
}
.footer-yiac .footer-bottom {
    max-width: 1000px;
    margin: 32px auto 0;
    padding-top: 18px;
    border-top: 1px solid rgba(201,168,76,0.12);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.78rem;
}
.footer-yiac .footer-bottom a { color: var(--gold-light); }
.footer-yiac .footer-bottom .footer-sep-dot { margin: 0 6px; opacity: 0.5; }

@media (max-width: 768px) {
    .footer-yiac .footer-grid { grid-template-columns: 1fr; gap: 24px; }
    .footer-yiac .footer-col h6 { text-align: center; }
    .footer-yiac .footer-brand { justify-content: center; }
    .footer-yiac ul.footer-links { text-align: center; }
    .footer-yiac ul.footer-links a { justify-content: center; }
    .footer-yiac .footer-baseline, .footer-yiac .footer-copy { text-align: center; }
}

/* ===== LINKS ===== */
a { color: var(--gold-light); text-decoration: none; transition: all var(--transition); }
a:hover { color: #fff; text-shadow: 0 0 8px rgba(201,168,76,0.5); }

/* ===== TOOLTIPS ===== */
.tooltip .tooltip-inner {
    background: rgba(10,10,8,0.95);
    border: 1px solid var(--border-gold);
    color: var(--text-light);
    font-family: 'Raleway', sans-serif;
    font-size: 0.8rem;
    padding: 8px 14px;
    border-radius: 6px;
    max-width: 250px;
}
.tooltip .tooltip-arrow::before { border-top-color: rgba(201,168,76,0.25); }

/* ===== FADE-IN ===== */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}
.fade-in.visible { opacity: 1; transform: translateY(0); }
.fade-delay-1 { transition-delay: 0.15s; }
.fade-delay-2 { transition-delay: 0.30s; }
.fade-delay-3 { transition-delay: 0.45s; }
.fade-delay-4 { transition-delay: 0.60s; }

/* ===== RESPONSIVE ===== */
@media (max-width: 991px) {
    .navbar-collapse {
        background: rgba(6,10,16,0.97);
        border-top: 1px solid var(--border-gold);
        margin-top: 10px;
        padding: 16px;
        border-radius: 8px;
        backdrop-filter: blur(12px);
    }
    .nav-links {
        flex-direction: column;
        gap: 2px;
        margin-bottom: 12px;
    }
    .nav-links .nav-link {
        padding: 10px 16px;
        font-size: 0.85rem;
        text-align: center;
        width: 100%;
        border-radius: 6px;
    }
    .nav-links .nav-link:hover { background: rgba(201,168,76,0.08); }
    .nav-links .nav-link::after { display: none; }
    .navbar-right { justify-content: center; width: 100%; padding-top: 8px; border-top: 1px solid rgba(201,168,76,0.15); }
}

@media (max-width: 768px) {
    .hero { padding: 80px 15px 60px; min-height: 80vh; }
    .hero-logo { width: 110px; height: 110px; }
    .hero h1 { font-size: 1.5rem; letter-spacing: 2px; }
    .hero-motto { font-size: 0.9rem; }
    .hero-subtitle { font-size: 0.8rem; }
    .section-title { font-size: 1.3rem; }
    .stat-number { font-size: 1.6rem; }
    .about-section, .activities-section, .services-section,
    .honor-section, .leadership-section, .recruit-section { padding: 50px 0; }
    .recruit-text { font-size: 0.9rem; }
    .honor-grid { grid-template-columns: 1fr; }
    .about-intro { font-size: 0.9rem; padding: 0 10px; }
    .scroll-top { bottom: 20px; right: 20px; width: 38px; height: 38px; }
    .scroll-indicator { margin-top: 30px; }
    .section-sep { height: 24px; }
    .leader-portrait { width: 64px; height: 64px; }
}

@media (max-width: 400px) {
    .hero h1 { font-size: 1.2rem; }
    .stat-number { font-size: 1.3rem; }
    .lang-btn { padding: 2px 8px; font-size: 0.65rem; }
}
