/* --- 1. FONTS & VARIABLES --- */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;600&family=Rajdhani:wght@500;700;800&display=swap');

:root {
    --bg-deep: #050505;
    --bg-panel: rgba(20, 20, 25, 0.95);
    --primary: #FF9933;       
    --accent: #ff1a1a;        
    --yellow-hover: #FFD700;  
    --success: #00ff41;       
    --text-main: #ffffff;
    --text-muted: #888888;
    --glass: rgba(255, 255, 255, 0.05);
    --border: 1px solid rgba(255, 255, 255, 0.1);
    --skew-shape: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px);
    --font-head: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
}

/* --- 2. RESET & BASE --- */
* { box-sizing: border-box; margin: 0; padding: 0; outline: none; }

body {
    background-color: var(--bg-deep);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

h1, h2, h3, h4 { font-family: var(--font-head); text-transform: uppercase; font-weight: 800; }
a { text-decoration: none; color: inherit; transition: 0.3s; }
ul { list-style: none; }

/* --- 3. COMPONENTS --- */
.container { max-width: 1600px; margin: 0 auto; padding: 0 20px; position: relative; z-index: 2; }

/* GLOBAL BUTTON (Normal Size) */
.btn-mega {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 15px 40px;
    background: var(--primary);
    color: #000;
    font-family: var(--font-head);
    font-weight: 800;
    font-size: 1.2rem;
    text-transform: uppercase;
    clip-path: var(--skew-shape);
    border: none;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-mega:hover {
    background: var(--yellow-hover);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
    color: #000;
}

/* --- 4. HEADER / NAVBAR --- */
header {
    position: fixed;
    top: 0; left: 0; width: 100%;
    z-index: 1000;
    background: rgba(5, 5, 5, 0.95);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    height: 80px;
    display: flex;
    align-items: center;
}

.nav-container {
    display: flex; 
    justify-content: space-between; 
    align-items: center; 
    width: 100%;
    padding: 0 40px;
}

.logo { font-size: 2rem; font-family: var(--font-head); letter-spacing: 2px; color: #fff; }
.logo span { color: var(--accent); }

.nav-links { display: flex; gap: 40px; }
.nav-links a { 
    font-family: var(--font-head); 
    font-weight: 700; 
    font-size: 1.1rem; 
    color: #ccc; 
    letter-spacing: 1px;
}
.nav-links a:hover, .nav-links a.active { color: var(--primary); }

.header-actions { display: flex; align-items: center; gap: 25px; }

/* --- !!! LOGIN BUTTON FIX (THE BUTTON KILLER) !!! --- */
header .btn-mega {
    height: 34px !important;        /* Forcing thin height */
    min-height: 34px !important;    
    max-height: 34px !important;
    padding: 0 25px !important;     /* Remove vertical padding completely */
    font-size: 0.9rem !important;   /* Smaller text */
    line-height: 34px !important;   /* Center text vertically */
    display: flex !important;
    align-items: center !important;
    margin: 0 !important;
}

/* NAVBAR STATUS WIDGET */
#headerStatus {
    display: flex;
    flex-direction: column;
    align-items: flex-end; 
    justify-content: center;
    text-align: right;
    line-height: 1.2;
}

/* --- 5. HERO & SECTIONS --- */
main#app-content {
    flex: 1; 
    padding-top: 80px; 
}

.glass-panel {
    background: var(--glass);
    border: var(--border);
    backdrop-filter: blur(10px);
    padding: 30px;
    clip-path: var(--skew-shape);
}

/* --- 6. FOOTER --- */
footer {
    position: relative;
    z-index: 10; 
    border-top: 1px solid var(--accent);
    background: #080808;
    padding: 60px 0;
    text-align: center;
    margin-top: auto;
}

.footer-content h2 { margin-bottom: 10px; color: var(--text-muted); }
.footer-content p { color: #555; font-size: 0.9rem; }

/* --- 7. RESPONSIVE --- */
@media (max-width: 1024px) {
    .nav-links { display: none; }
    h1 { font-size: 3rem !important; }
}