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

:root {
    --primary: #4f46e5;
    --primary-hover: #4338ca;
    --primary-light: #eef2ff;
    --primary-soft: #c7d2fe;
    --secondary: #0ea5e9;
    --secondary-light: #e0f2fe;
    --accent: #8b5cf6;
    --white: #ffffff;
    --bg: #f8fafc;
    --bg-alt: #f1f5f9;
    --card: #ffffff;
    --border: #e2e8f0;
    --border-light: #f1f5f9;
    --text: #1e293b;
    --text-secondary: #64748b;
    --text-muted: #94a3b8;
    --success: #10b981;
    --success-bg: #ecfdf5;
    --success-border: #a7f3d0;
    --error: #ef4444;
    --error-bg: #fef2f2;
    --error-border: #fecaca;
    --warning: #f59e0b;
    --radius: 16px;
    --radius-md: 12px;
    --radius-sm: 8px;
    --shadow-xs: 0 1px 2px rgba(0,0,0,0.04);
    --shadow-sm: 0 1px 3px rgba(0,0,0,0.06), 0 1px 2px rgba(0,0,0,0.04);
    --shadow: 0 4px 6px -1px rgba(0,0,0,0.07), 0 2px 4px -2px rgba(0,0,0,0.05);
    --shadow-md: 0 10px 15px -3px rgba(0,0,0,0.08), 0 4px 6px -4px rgba(0,0,0,0.04);
    --shadow-lg: 0 20px 25px -5px rgba(0,0,0,0.08), 0 8px 10px -6px rgba(0,0,0,0.04);
    --font: 'Inter', 'Segoe UI', -apple-system, BlinkMacSystemFont, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-fast: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-spring: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

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

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

@keyframes scaleIn {
    from { opacity: 0; transform: scale(0.95); }
    to { opacity: 1; transform: scale(1); }
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a {
    color: var(--primary);
    text-decoration: none;
    transition: var(--transition-fast);
}

a:hover {
    color: var(--primary-hover);
}

img {
    max-width: 100%;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    background: rgba(255, 255, 255, 0.92);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 1000;
    animation: slideDown 0.5s ease;
}

.navbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 68px;
}

.navbar-brand {
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary);
    letter-spacing: -0.5px;
    transition: var(--transition);
}

.navbar-brand:hover {
    color: var(--primary-hover);
    transform: scale(1.02);
}

.navbar-menu {
    list-style: none;
    display: flex;
    align-items: center;
    gap: 4px;
}

.navbar-menu li a {
    color: var(--text-secondary);
    padding: 8px 18px;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    display: inline-flex;
    align-items: center;
}

.navbar-menu li a:hover {
    color: var(--primary);
    background: var(--primary-light);
}

.navbar-menu li a.btn {
    padding: 7px 16px;
    font-size: 0.82rem;
    border-radius: 8px;
}

.navbar-menu li a.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
}

.navbar-menu li a.btn-outline:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 8px;
    border-radius: var(--radius-sm);
    transition: var(--transition);
}

.navbar-toggle:hover {
    background: var(--bg-alt);
}

.navbar-toggle span {
    display: block;
    width: 22px;
    height: 2px;
    background: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 10px 24px;
    border: none;
    border-radius: var(--radius-sm);
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    line-height: 1.5;
    font-family: var(--font);
    position: relative;
    overflow: hidden;
}

.btn::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), transparent);
    opacity: 0;
    transition: var(--transition-fast);
}

.btn:hover::after {
    opacity: 1;
}

.btn-primary {
    background: var(--primary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(79, 70, 229, 0.25);
}

.btn-primary:hover {
    background: var(--primary-hover);
    color: var(--white);
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(79, 70, 229, 0.3);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: var(--secondary);
    color: var(--white);
    box-shadow: 0 2px 8px rgba(14, 165, 233, 0.25);
}

.btn-secondary:disabled {
    background: #9ca3af;
    color: var(--white);
    box-shadow: none;
    cursor: not-allowed;
    opacity: 1;
    transform: none;
}

.btn-secondary:hover {
    transform: translateY(-2px);
    color: var(--white);
    box-shadow: 0 8px 20px rgba(14, 165, 233, 0.3);
}

.btn-outline {
    background: transparent;
    border: 1.5px solid var(--border);
    color: var(--text);
}

.btn-outline:hover {
    border-color: var(--primary);
    color: var(--primary);
    background: var(--primary-light);
    transform: translateY(-2px);
}

.btn-danger {
    background: var(--error);
    color: var(--white);
}

.btn-danger:hover {
    opacity: 0.9;
    color: var(--white);
    transform: translateY(-1px);
}

.btn-ghost {
    background: transparent;
    color: var(--text-secondary);
    padding: 8px 16px;
}

.btn-ghost:hover {
    background: var(--bg-alt);
    color: var(--text);
}

.btn-sm {
    padding: 6px 14px;
    font-size: 0.8rem;
    border-radius: 6px;
}

.btn-lg {
    padding: 14px 32px;
    font-size: 1rem;
    border-radius: var(--radius-md);
}

.btn-block {
    width: 100%;
}

.hero {
    text-align: center;
    padding: 80px 0 60px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(180deg, var(--primary-light) 0%, var(--bg) 100%);
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 50%, rgba(79,70,229,0.06) 0%, transparent 50%),
                radial-gradient(circle at 70% 50%, rgba(14,165,233,0.05) 0%, transparent 50%);
    animation: gradientMove 15s ease infinite;
    background-size: 200% 200%;
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 6px 16px;
    background: var(--white);
    border: 1px solid var(--border);
    border-radius: 50px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--primary);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease both;
    box-shadow: var(--shadow-xs);
}

.hero-badge-dot {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--success);
    animation: pulse 2s ease infinite;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    letter-spacing: -1.5px;
    margin-bottom: 20px;
    color: var(--text);
    line-height: 1.15;
    animation: fadeInUp 0.6s ease 0.1s both;
}

.hero-title span {
    background: linear-gradient(135deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 520px;
    margin: 0 auto 36px;
    line-height: 1.7;
    animation: fadeInUp 0.6s ease 0.2s both;
}

.hero-actions {
    display: flex;
    gap: 12px;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 12px;
    color: var(--text);
    letter-spacing: -0.5px;
}

.section-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 1.05rem;
    margin-bottom: 48px;
    max-width: 500px;
    margin-left: auto;
    margin-right: auto;
}

.features {
    padding: 80px 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.feature-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px 24px;
    text-align: center;
    transition: var(--transition);
    animation: fadeInUp 0.5s ease both;
    position: relative;
    overflow: hidden;
}

.feature-card:nth-child(1) { animation-delay: 0.1s; }
.feature-card:nth-child(2) { animation-delay: 0.2s; }
.feature-card:nth-child(3) { animation-delay: 0.3s; }
.feature-card:nth-child(4) { animation-delay: 0.4s; }

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    transform: scaleX(0);
    transition: transform 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    transform-origin: left;
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.feature-card:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-lg);
    border-color: transparent;
}

.feature-icon {
    width: 56px;
    height: 56px;
    border-radius: var(--radius-md);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    margin-bottom: 18px;
    background: var(--primary-light);
    color: var(--primary);
    transition: var(--transition);
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
    background: var(--primary);
    color: var(--white);
}

.feature-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.feature-card p {
    color: var(--text-secondary);
    font-size: 0.88rem;
    line-height: 1.6;
}

.how-it-works {
    padding: 80px 0;
    background: var(--white);
    border-top: 1px solid var(--border-light);
    border-bottom: 1px solid var(--border-light);
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 32px;
    position: relative;
}

.steps-grid::before {
    content: '';
    position: absolute;
    top: 36px;
    left: 20%;
    right: 20%;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-soft), var(--secondary-light));
    z-index: 0;
}

.step-card {
    text-align: center;
    padding: 0 16px;
    position: relative;
    z-index: 1;
    animation: fadeInUp 0.5s ease both;
}

.step-card:nth-child(1) { animation-delay: 0.2s; }
.step-card:nth-child(2) { animation-delay: 0.4s; }
.step-card:nth-child(3) { animation-delay: 0.6s; }

.step-number {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--white);
    border: 3px solid var(--primary-soft);
    color: var(--primary);
    font-size: 1.5rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    transition: var(--transition);
    box-shadow: var(--shadow-sm);
}

.step-card:hover .step-number {
    background: var(--primary);
    color: var(--white);
    border-color: var(--primary);
    transform: scale(1.1);
    box-shadow: 0 8px 24px rgba(79, 70, 229, 0.3);
}

.step-card h3 {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text);
}

.step-card p {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.main-content {
    flex: 1;
    padding-bottom: 0;
}

.footer {
    background: var(--white);
    border-top: 1px solid var(--border);
    padding: 28px 0;
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-top: 60px;
}

.auth-body {
    background: var(--bg);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 24px;
}

.auth-wrapper {
    width: 100%;
    max-width: 440px;
    animation: scaleIn 0.4s ease;
}

.auth-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 44px 40px;
    box-shadow: var(--shadow-md);
}

.auth-logo {
    text-align: center;
    margin-bottom: 8px;
}

.auth-logo a {
    font-size: 1.6rem;
    font-weight: 800;
    color: var(--primary);
}

.auth-subtitle {
    text-align: center;
    color: var(--text-secondary);
    font-size: 0.92rem;
    margin-bottom: 32px;
}

.auth-title {
    font-size: 1.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 8px;
    color: var(--text);
}

.auth-form .form-group {
    margin-bottom: 20px;
}

.auth-footer-text {
    text-align: center;
    margin-top: 24px;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.auth-footer-text a {
    color: var(--primary);
    font-weight: 600;
}

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

.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text-secondary);
    margin-bottom: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input[type="text"],
.form-group input[type="email"],
.form-group input[type="password"],
.form-group input[type="number"],
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font);
    transition: var(--transition);
    outline: none;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background: var(--white);
}

.form-group input::placeholder {
    color: var(--text-muted);
}

.form-check {
    display: flex;
    align-items: center;
}

.checkbox-label {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
    transition: var(--transition-fast);
}

.checkbox-label:hover {
    color: var(--text);
}

.checkbox-label input[type="checkbox"] {
    width: 18px;
    height: 18px;
    accent-color: var(--primary);
    cursor: pointer;
    border-radius: 4px;
}

.input-lg {
    font-size: 1.1rem !important;
    padding: 14px 18px !important;
    letter-spacing: 3px;
    font-weight: 600;
    text-align: center;
}

.alert-container {
    padding-top: 20px;
}

.alert {
    padding: 14px 20px;
    border-radius: var(--radius-sm);
    margin-bottom: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    animation: slideDown 0.4s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.alert-success {
    background: var(--success-bg);
    border: 1px solid var(--success-border);
    color: #065f46;
}

.alert-error {
    background: var(--error-bg);
    border: 1px solid var(--error-border);
    color: #991b1b;
}

.dashboard-header {
    padding: 36px 0 28px;
    animation: fadeIn 0.5s ease;
}

.dashboard-header h1 {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text);
}

.dashboard-header p {
    color: var(--text-secondary);
    margin-top: 4px;
}

.mt-4 {
    margin-top: 24px;
}

.guard-form {
    display: inline;
}

.copyable {
    cursor: pointer;
    position: relative;
    padding: 2px 8px;
    border-radius: 4px;
    transition: var(--transition-fast);
}

.copyable:hover {
    background: var(--primary-light);
    color: var(--primary);
}

.password-hidden {
    font-family: monospace;
    letter-spacing: 3px;
    color: var(--text-muted);
}

.dash-welcome {
    padding: 40px 0 12px;
    animation: fadeIn 0.5s ease;
}

.dash-welcome h1 {
    font-size: 1.7rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.dash-welcome h1 span {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.dash-welcome p {
    color: var(--text-secondary);
    margin-top: 6px;
    font-size: 0.95rem;
}

.dash-redeem-section {
    padding: 20px 0 32px;
}

.dash-card {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 32px;
    animation: fadeInUp 0.5s ease both;
}

.dash-card-highlight {
    background: linear-gradient(135deg, #f8faff 0%, #f0f4ff 100%);
    border: 1.5px solid var(--primary-soft);
    text-align: center;
}

.dash-card-icon {
    font-size: 2.4rem;
    margin-bottom: 8px;
}

.dash-card h2 {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 18px;
}

.dash-redeem-form {
    max-width: 540px;
    margin: 0 auto;
}

.dash-input-group {
    display: flex;
    gap: 10px;
    align-items: stretch;
}

.dash-input {
    flex: 1;
    padding: 14px 18px;
    font-size: 1.05rem;
    font-family: 'Consolas', monospace;
    letter-spacing: 2px;
    text-align: center;
    font-weight: 600;
    background: var(--white);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    outline: none;
    transition: var(--transition);
}

.dash-input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
}

.dash-input::placeholder {
    color: var(--text-muted);
    letter-spacing: 2px;
    font-weight: 400;
}

.dash-section {
    padding-bottom: 48px;
}

.dash-section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 20px;
}

.dash-section-header h2 {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--text);
}

.dash-badge {
    background: var(--primary-light);
    color: var(--primary);
    font-size: 0.78rem;
    font-weight: 600;
    padding: 4px 14px;
    border-radius: 100px;
}

.dash-deliveries {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dash-delivery {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.45s ease both;
    box-shadow: var(--shadow-xs);
}

.dash-delivery:hover {
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

.dash-delivery-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: linear-gradient(135deg, #f8faff 0%, #faf8ff 100%);
    border-bottom: 1px solid var(--border-light);
}

.dash-delivery-title {
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--text);
    display: flex;
    align-items: center;
    gap: 10px;
}

.dash-delivery-title::before {
    content: '';
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    flex-shrink: 0;
}

.dash-delivery-date {
    font-size: 0.8rem;
    color: var(--text-muted);
    font-weight: 500;
}

.dash-delivery-body {
    padding: 20px 24px;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.dash-delivery-credentials {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.dash-field {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.dash-field-label {
    font-size: 0.72rem;
    color: var(--text-muted);
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.6px;
}

.dash-field-value-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.dash-field-value {
    font-size: 0.92rem;
    color: var(--text);
    font-weight: 600;
    padding: 6px 12px;
    background: var(--bg);
    border: 1px solid var(--border-light);
    border-radius: 6px;
    font-family: 'Consolas', 'Courier New', monospace;
    letter-spacing: 0.5px;
    transition: var(--transition-fast);
}

.dash-field-value.copyable:hover {
    background: var(--primary-light);
    border-color: var(--primary-soft);
    color: var(--primary);
}

.dash-guard-code {
    background: var(--primary-light) !important;
    color: var(--primary) !important;
    font-weight: 700;
    font-size: 1.1rem;
    letter-spacing: 3px;
    border-color: var(--primary-soft) !important;
}

.btn-icon {
    width: 34px;
    height: 34px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: var(--bg);
    border: 1px solid var(--border);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: var(--transition-fast);
    flex-shrink: 0;
}

.btn-icon:hover {
    background: var(--primary-light);
    border-color: var(--primary-soft);
    color: var(--primary);
}

.dash-delivery-actions {
    display: flex;
    flex-direction: column;
    gap: 8px;
    flex-shrink: 0;
    align-self: center;
}

.dash-video-btn {
    white-space: nowrap;
}

.dash-instructions {
    padding: 16px 24px 20px;
    background: var(--bg);
    border-top: 1px solid var(--border-light);
}

.dash-instructions-title {
    font-size: 0.82rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.dash-instructions-list {
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.dash-instructions-list li {
    font-size: 0.85rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

.dash-instructions-list li strong {
    color: var(--text);
    font-weight: 600;
}

.text-muted {
    color: var(--text-muted);
}

.page-header {
    padding: 48px 0 36px;
    text-align: center;
    animation: fadeIn 0.5s ease;
}

.page-header h1 {
    font-size: 2.2rem;
    font-weight: 800;
    color: var(--text);
    letter-spacing: -0.5px;
}

.page-header p {
    color: var(--text-secondary);
    margin-top: 8px;
    font-size: 1.05rem;
}

.faq-list {
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding-bottom: 60px;
}

.faq-item {
    background: var(--card);
    border: 1px solid var(--border);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
    animation: fadeInUp 0.4s ease both;
}

.faq-item:nth-child(1) { animation-delay: 0.05s; }
.faq-item:nth-child(2) { animation-delay: 0.1s; }
.faq-item:nth-child(3) { animation-delay: 0.15s; }
.faq-item:nth-child(4) { animation-delay: 0.2s; }
.faq-item:nth-child(5) { animation-delay: 0.25s; }
.faq-item:nth-child(6) { animation-delay: 0.3s; }
.faq-item:nth-child(7) { animation-delay: 0.35s; }
.faq-item:nth-child(8) { animation-delay: 0.4s; }

.faq-item:hover {
    border-color: var(--primary-soft);
    box-shadow: var(--shadow-sm);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 18px 24px;
    background: none;
    border: none;
    color: var(--text);
    font-size: 0.98rem;
    font-weight: 600;
    font-family: var(--font);
    cursor: pointer;
    text-align: left;
    transition: var(--transition);
}

.faq-question:hover {
    background: var(--bg);
}

.faq-arrow {
    font-size: 0.7rem;
    transition: transform 0.3s ease;
    color: var(--text-muted);
    flex-shrink: 0;
}

.faq-item.active .faq-arrow {
    transform: rotate(180deg);
    color: var(--primary);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-answer p {
    padding: 0 24px 10px;
    color: var(--text-secondary);
    font-size: 0.92rem;
    line-height: 1.7;
}

.faq-item.active .faq-answer {
    max-height: 300px;
}

.form-select {
    width: 100%;
    padding: 12px 16px;
    background: var(--bg);
    border: 1.5px solid var(--border);
    border-radius: var(--radius-sm);
    color: var(--text);
    font-size: 0.95rem;
    font-family: var(--font);
    outline: none;
    transition: var(--transition);
    cursor: pointer;
    appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%2364748b' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    padding-right: 36px;
}

.form-select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.1);
    background-color: var(--white);
}

.error-page {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 24px;
    background: var(--bg);
}

.error-code {
    font-size: 8rem;
    font-weight: 900;
    color: var(--primary);
    line-height: 1;
    margin-bottom: 16px;
    opacity: 0.3;
}

.error-text {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.toast-notification {
    animation: slideDown 0.3s ease;
}

@media (max-width: 1024px) {
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar-toggle {
        display: flex;
    }

    .navbar-menu {
        display: none;
        position: absolute;
        top: 68px;
        left: 0;
        right: 0;
        background: var(--white);
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        padding: 12px;
        gap: 2px;
        box-shadow: var(--shadow-md);
        animation: slideDown 0.3s ease;
    }

    .navbar-menu.active {
        display: flex;
    }

    .navbar-menu li a {
        display: block;
        padding: 12px 16px;
        border-radius: var(--radius-sm);
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .hero-subtitle {
        font-size: 1rem;
    }

    .hero {
        padding: 56px 0 48px;
    }

    .features,
    .how-it-works {
        padding: 56px 0;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .steps-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .steps-grid::before {
        display: none;
    }

    .auth-card {
        padding: 28px 24px;
    }

    .dash-input-group {
        flex-direction: column;
    }

    .dash-delivery-body {
        flex-direction: column;
    }

    .dash-delivery-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 4px;
    }

    .dash-delivery-actions {
        flex-direction: row;
        width: 100%;
    }

    .dash-delivery-actions .btn {
        flex: 1;
    }

    .container {
        padding: 0 16px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 1.7rem;
        letter-spacing: -0.5px;
    }

    .hero-actions {
        flex-direction: column;
        align-items: stretch;
    }

    .btn-lg {
        width: 100%;
    }

    .dash-welcome h1 {
        font-size: 1.3rem;
    }

    .dash-card {
        padding: 20px 16px;
    }

    .dash-delivery-body {
        padding: 16px;
    }

    .dash-instructions {
        padding: 14px 16px 18px;
    }

    .page-header h1 {
        font-size: 1.6rem;
    }
}

.game-selection-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 16px;
    margin-bottom: 28px;
}

.game-selection-card {
    cursor: pointer;
    animation: fadeInUp 0.4s ease both;
}

.game-selection-card input[type="radio"] {
    display: none;
}

.game-selection-inner {
    background: var(--card);
    border: 2px solid var(--border);
    border-radius: var(--radius-md);
    padding: 24px 20px;
    text-align: center;
    transition: var(--transition);
}

.game-selection-card input[type="radio"]:checked + .game-selection-inner {
    border-color: var(--primary);
    background: var(--primary-light);
    box-shadow: 0 0 0 4px rgba(79, 70, 229, 0.12);
}

.game-selection-inner:hover {
    border-color: var(--primary-soft);
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.game-selection-platform {
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 6px;
}

.game-selection-name {
    font-size: 1rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 6px;
}

.platform-badge {
    display: inline-block;
    font-size: 0.7rem;
    font-weight: 700;
    color: var(--primary);
    background: var(--primary-light);
    padding: 2px 10px;
    border-radius: 100px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: 8px;
    vertical-align: middle;
}

.game-selection-actions {
    display: flex;
    gap: 12px;
    align-items: center;
}

.dash-accounts-row {
    display: flex;
    gap: 24px;
}

.dash-accounts-dual .dash-account-col {
    flex: 1;
    min-width: 0;
}

.dash-accounts-dual .dash-account-col:first-child {
    padding-right: 24px;
    border-right: 1px solid var(--border);
}

.dash-account-col {
    display: flex;
    flex-direction: column;
}

.dash-account-title {
    margin-bottom: 12px;
}

.dash-account-col .dash-video-btn {
    margin-top: 12px;
    align-self: flex-start;
}

.dash-instructions-row {
    display: flex;
    gap: 24px;
    padding: 16px 24px 20px;
    border-top: 1px solid var(--border);
}

.dash-instructions-dual .dash-instructions {
    flex: 1;
    min-width: 0;
}

@media (max-width: 768px) {
    .dash-accounts-row {
        flex-direction: column;
        gap: 16px;
    }

    .dash-accounts-dual .dash-account-col:first-child {
        padding-right: 0;
        border-right: none;
        padding-bottom: 16px;
        border-bottom: 1px dashed var(--border);
    }

    .dash-instructions-row {
        flex-direction: column;
        gap: 16px;
    }
}

@media (max-width: 480px) {
    .game-selection-grid {
        grid-template-columns: 1fr;
    }

    .game-selection-actions {
        flex-direction: column;
    }

    .game-selection-actions .btn {
        width: 100%;
    }
}
