/* --- PARENT CSS: ORIGINAL THEME --- */

:root {
    /* The Colors used in your code */
    --primary-color: #051e3e; /* Deep Navy Blue */
    --secondary-color: #ffd700; /* Gold */
    --font-main: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    --bg-light: #fdfdfd;
    --text-dark: #333;
}

/* --- GLOBAL RESET --- */
* { box-sizing: border-box; margin: 0; padding: 0; }

body { 
    font-family: var(--font-main); 
    color: var(--text-dark); 
    line-height: 1.6; 
    background: var(--bg-light); 
}

/* --- LAYOUT UTILS --- */
.container { width: 100%; max-width: 1200px; margin: auto; padding: 0 20px; }

/* --- NAVIGATION --- */
nav { 
    background: #fff; 
    padding: 15px 0; 
    box-shadow: 0 4px 20px rgba(0,0,0,0.05); 
    position: sticky; top: 0; z-index: 1000; 
}
.nav-content { display: flex; justify-content: space-between; align-items: center; }

.logo { 
    font-size: 1.4rem; 
    font-weight: 900; 
    color: var(--primary-color); 
    text-decoration: none; 
    letter-spacing: -0.5px; 
}

.nav-actions { display: flex; gap: 10px; align-items: center; }

/* --- BUTTONS --- */
/* Login Button (Outline Style) */
.btn-login {
    text-decoration: none;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    transition: all 0.3s ease;
    background: transparent;
}
.btn-login:hover { background: var(--primary-color); color: #fff; }

/* Sign Up Button (Solid Style) */
.btn-signup, .btn-tactile {
    text-decoration: none;
    background: var(--primary-color);
    color: #fff;
    padding: 8px 16px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 0.85rem;
    box-shadow: 0 4px 10px rgba(0,0,0,0.2);
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}
.btn-signup:hover { background: #03162e; transform: translateY(-2px); }

/* Dashboard Button Variants */
.btn-green { background: #28a745; }
.btn-gold { background: var(--secondary-color); color: #000; }
.btn-red { background: #dc3545; }
.btn-blue { background: #007bff; }

/* Desktop Only Links */
.desktop-link { text-decoration: none; color: #666; font-weight: 500; margin-right: 15px; }

/* --- HERO SECTION --- */
header.hero { 
    text-align: center; 
    padding: 100px 20px 120px 20px; 
    background: radial-gradient(circle at top right, #1a2a40, var(--primary-color)); 
    color: white; 
    border-radius: 0 0 40px 40px; 
    position: relative;
    overflow: hidden;
}
header.hero h1 { font-size: 3.2rem; margin-bottom: 20px; line-height: 1.1; font-weight: 800; }
header.hero p { font-size: 1.15rem; max-width: 600px; margin: 0 auto 35px auto; opacity: 0.9; }

.btn-hero { 
    display: inline-block; 
    background: var(--secondary-color); 
    color: #000; 
    padding: 18px 40px; 
    border-radius: 50px; 
    text-decoration: none; 
    font-weight: bold; 
    font-size: 1rem;
    box-shadow: 0 10px 25px rgba(255, 215, 0, 0.3);
    transition: transform 0.2s; 
}
.btn-hero:active { transform: scale(0.95); }

/* --- CARDS --- */
.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; margin: -60px 0 60px 0; position: relative; z-index: 2; }
.card, .login-card, .reg-card { 
    background: white; 
    padding: 40px; 
    border-radius: 20px; 
    box-shadow: 0 15px 40px rgba(0,0,0,0.08); 
    border-top: 6px solid var(--secondary-color); 
}
.card h3 { color: var(--primary-color); margin-bottom: 15px; font-size: 1.5rem; }

/* --- FORM ELEMENTS (For Login/Register) --- */
input, select {
    width: 100%;
    padding: 12px;
    margin-bottom: 15px;
    border: 1px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
}

/* --- FOOTER --- */
footer { background: var(--primary-color); color: white; text-align: center; padding: 50px 20px; font-size: 0.95rem; }
footer a { color: var(--secondary-color); opacity: 0.9; text-decoration: none; border-bottom: 1px dotted var(--secondary-color); }

/* --- MOBILE OPTIMIZATION --- */
@media (max-width: 768px) {
    .container { padding: 0 15px; }
    .desktop-link { display: none; }
    .nav-actions { gap: 8px; }
    .btn-login { padding: 8px 12px; font-size: 0.8rem; }
    .btn-signup { padding: 8px 12px; font-size: 0.8rem; }
    header.hero h1 { font-size: 2.4rem; }
    .grid-2 { grid-template-columns: 1fr; gap: 20px; margin-top: -40px; }
    .btn-hero { width: 100%; text-align: center; }
}
