/* ==========================================
   GLOBAL RESET & ROUNDED SANS SERIF PALETTE
   ========================================== */
:root {
    --bg-color: #0b0b0b;
    --card-bg: #141414;
    --text-primary: #ffffff;
    --text-secondary: #a0a0a0;
    
    /* Grindr Signature Orange Palette */
    --grindr-orange: #ff8a00;
    --grindr-orange-hover: #e57c00;
    --border-color: #222222;
    --input-bg: #1e1e1e;
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: "Arial Rounded MT Bold", 'Fredoka', system-ui, -apple-system, sans-serif;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* ==========================================
   TYPOGRAPHY & BRANDING
   ========================================== */
h1, h2, h3 {
    font-family: "Arial Rounded MT Bold", 'Fredoka', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.brand-header h1 {
    font-size: 2.2rem;
    color: var(--text-primary);
    text-align: center;
}

.landing-title {
    font-family: "Arial Rounded MT Bold", 'Fredoka', sans-serif;
    font-size: 2.4rem;
    color: var(--text-primary);
    margin-bottom: 8px;
    letter-spacing: 1.2px;
    animation: slideDown 0.8s ease-out;
}

.gold-divider {
    height: 5px;
    width: 50px;
    background-color: var(--grindr-orange);
    border-radius: 10px;
    margin: 16px auto 28px auto;
}

/* ==========================================
   BUTTONS & ACTIONS
   ========================================== */
.btn-gold {
    background-color: var(--grindr-orange);
    color: #ffffff;
    font-family: "Arial Rounded MT Bold", 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    border: none;
    padding: 16px 28px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.2s ease-in-out;
    text-transform: uppercase;
    letter-spacing: 1px;
    width: 100%;
}

.btn-gold:hover {
    background-color: var(--grindr-orange-hover);
    transform: translateY(-1px);
    box-shadow: 0 4px 18px rgba(255, 138, 0, 0.35);
}

.btn-install {
    background: transparent;
    border: 2px solid var(--grindr-orange);
    color: var(--grindr-orange);
    font-family: "Arial Rounded MT Bold", 'Fredoka', sans-serif;
    font-weight: 600;
    font-size: 0.95rem;
    padding: 14px 28px;
    border-radius: 30px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.2s ease-in-out;
    width: 100%;
}

.btn-install:hover {
    background-color: rgba(255, 138, 0, 0.12);
}

/* ==========================================
   LANDING PAGE COMPONENTS
   ========================================== */
.landing-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 20px;
    animation: fadeIn 1s ease-in-out;
}

.brand-logo {
    width: 120px;
    height: auto;
    margin-bottom: 24px;
    animation: pulseLogo 3s infinite ease-in-out;
}

.actions-group {
    display: flex;
    flex-direction: column;
    gap: 14px;
    width: 100%;
    max-width: 290px;
    animation: slideUp 0.8s ease-out;
}

/* ==========================================
   AUTHENTICATION CARDS & INPUTS
   ========================================== */
.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
}

.auth-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 30px;
    border: 1px solid var(--border-color);
    display: none;
}

.auth-card.active {
    display: block;
    animation: fadeIn 0.4s ease-in-out;
}

.auth-card h2 {
    font-size: 1.6rem;
    margin-bottom: 22px;
    text-align: center;
}

.input-group {
    margin-bottom: 18px;
    display: flex;
    flex-direction: column;
    text-align: left;
}

.input-group label {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    color: var(--text-secondary);
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.input-group input {
    background-color: var(--input-bg);
    border: 1px solid var(--border-color);
    border-radius: 12px;
    padding: 14px 16px;
    color: var(--text-primary);
    font-family: "Arial Rounded MT Bold", 'Fredoka', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: border-color 0.2s ease;
}

.input-group input:focus {
    border-color: var(--grindr-orange);
}

.auth-links {
    margin-top: 20px;
    text-align: center;
    font-size: 0.9rem;
}

.auth-links a {
    color: var(--grindr-orange);
    text-decoration: none;
    font-weight: 600;
}

.auth-links a:hover {
    text-decoration: underline;
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideDown {
    from { transform: translateY(-20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes slideUp {
    from { transform: translateY(20px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes pulseLogo {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255, 138, 0, 0.2)); }
    50% { transform: scale(1.05); filter: drop-shadow(0 0 12px rgba(255, 138, 0, 0.4)); }
}