@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&family=Outfit:wght@300;400;600;800&display=swap');

:root {
    --primary: #800000;
    --primary-dark: #4a0000;
    --primary-light: #a52a2a;
    --accent: #ffffff;
    --text-main: #ffffff;
    --text-muted: rgba(255, 255, 255, 0.7);
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
    -webkit-tap-highlight-color: transparent;
}

html {
    font-size: 14px; /* Slightly smaller base for phone */
    scroll-behavior: smooth;
}

body {
    font-family: 'Plus Jakarta Sans', sans-serif;
    background-color: var(--primary-dark);
    color: var(--text-main);
    overflow-x: hidden;
    line-height: 1.5;
    /* Limit body width to phone-like on desktop */
    max-width: 480px;
    margin: 0 auto;
    border-left: 1px solid rgba(255,255,255,0.1);
    border-right: 1px solid rgba(255,255,255,0.1);
    min-height: 100vh;
    box-shadow: 0 0 100px rgba(0,0,0,0.5);
}

.bg-vibe {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at 20% 20%, var(--primary) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, var(--primary-light) 0%, transparent 50%);
    opacity: 0.8;
}

.container {
    width: 100%;
    padding: 0 1.25rem;
}

/* Compact Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100%;
    max-width: 480px;
    padding: 0.75rem 0;
    z-index: 1000;
    background: rgba(74, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Outfit', sans-serif;
    font-size: 1.1rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    text-transform: uppercase;
}

.nav-links {
    display: flex;
    gap: 1rem;
    list-style: none;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 700;
    font-size: 0.75rem;
    text-transform: uppercase;
}

/* Mobile-First Hero */
.hero {
    padding: 6rem 0 3rem;
    text-align: center;
}

.hero h1 {
    font-family: 'Outfit', sans-serif;
    font-size: 3rem;
    font-weight: 800;
    line-height: 1;
    letter-spacing: -0.04em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.hero .badge {
    display: inline-block;
    background: var(--text-main);
    color: var(--primary);
    padding: 0.4rem 1rem;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.7rem;
    letter-spacing: 1px;
    margin-bottom: 1rem;
}

.hero .subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
}

/* Big Touch-Friendly Buttons */
.btn {
    display: block;
    width: 100%;
    padding: 1.25rem;
    border-radius: var(--radius-md);
    font-weight: 800;
    text-decoration: none;
    font-size: 1rem;
    text-align: center;
    border: none;
    cursor: pointer;
    margin-bottom: 1rem;
}

.btn-primary {
    background: var(--accent);
    color: var(--primary);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-main);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* Phone-Sized Cards */
.glass-card {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    margin-bottom: 1.5rem;
}

.section-title {
    font-family: 'Outfit', sans-serif;
    font-size: 1.75rem;
    font-weight: 800;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    text-align: center;
}

/* Forms for Thumbs */
.form-group {
    margin-bottom: 1.25rem;
}

.form-group label {
    display: block;
    font-size: 0.75rem;
    font-weight: 800;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    color: var(--text-muted);
}

input, textarea {
    width: 100%;
    padding: 1.1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 0.75rem;
    color: var(--text-main);
    font-size: 1rem;
}

/* Photo Adjustment */
.photo-frame {
    width: 260px;
    height: 320px;
    margin: 0 auto 2.5rem auto;
    position: relative;
    border: 6px solid #fff;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}

/* List/Table Optimization */
.data-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 0.5rem;
}

.data-table td {
    padding: 1rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 0.75rem;
}

.grid {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* Footer */
.footer {
    padding: 3rem 0;
    text-align: center;
    font-size: 0.8rem;
    opacity: 0.6;
}

@media (min-width: 481px) {
    /* Center the phone view on desktop */
    html {
        background-color: #000;
    }
}

/* Fixed Photo Size for Mobile */
.photo-frame {
    width: 260px;
    height: 320px;
    margin: 0 auto 2.5rem auto;
    position: relative;
    border: 6px solid #fff;
    border-radius: 2.5rem;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.photo-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
}
