/* SoleGoes Modern Theme - Subtle Premium */
@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;500;600;700;800&display=swap');

:root {
    /* Core Colors - Zinc Palette */
    --bg-deep: #09090b; /* Zinc 950 */
    --bg-surface: #18181b; /* Zinc 900 */
    --bg-glass: rgba(24, 24, 27, 0.7);
    
    /* Text Colors */
    --text-primary: #fafafa; /* Zinc 50 */
    --text-secondary: #a1a1aa; /* Zinc 400 */
    --text-tertiary: #52525b; /* Zinc 600 */

    /* Accents - Subtle Blue/Violet */
    --primary: #6366f1; /* Indigo 500 */
    --primary-gradient: linear-gradient(135deg, #6366f1, #8b5cf6); /* Indigo to Violet */
    --accent-blue: #3b82f6;
    --accent-teal: #14b8a6;
    --accent-rose: #f43f5e;
    --accent-green: #4caf50;

    /* Borders & Lines */
    --border-subtle: rgba(255, 255, 255, 0.06);
    --border-glass: rgba(255, 255, 255, 0.1);

    /* Spacing & Radius */
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    --radius-full: 9999px;

    /* Font */
    --font-main: 'Plus Jakarta Sans', sans-serif;
}

body {
    background-color: var(--bg-deep);
    color: var(--text-primary);
    font-family: var(--font-main);
    -webkit-font-smoothing: antialiased;
    margin: 0;
    padding: 0;
    min-height: 100vh;
}

/* =========================================
   Typography
   ========================================= */
.text-gradient {
    background: var(--primary-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.text-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: block;
}

.text-label.required::after {
    content: '*';
    color: var(--accent-rose);
    margin-left: 4px;
}

.section-title {
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-tertiary);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 0.75rem;
}

/* =========================================
   Layout & Containers
   ========================================= */
.container-mobile {
    width: 100%;
    max-width: 428px;
    margin: 0 auto;
    padding: 1.5rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.glass-panel {
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
}

.glass-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 1rem;
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
}

.nav-island-container {
    position: fixed;
    bottom: 1.5rem;
    left: 1rem;
    right: 1rem;
    z-index: 50;
    display: flex;
    justify-content: center;
    pointer-events: none; /* Let clicks pass through container */
}

.nav-island {
    pointer-events: auto; /* Re-enable clicks on the island */
    background: rgba(24, 24, 27, 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--border-glass);
    border-radius: var(--radius-full);
    box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.75rem 1.5rem;
    width: 100%;
    max-width: 400px;
}

.nav-item {
    color: var(--text-tertiary);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 4px;
    font-size: 0.7rem;
    font-weight: 500;
    transition: color 0.2s;
    text-decoration: none;
}

.nav-item:hover {
    color: var(--text-secondary);
}

.nav-item.active {
    color: var(--primary);
}

.nav-fab {
    background: var(--primary-gradient);
    width: 48px;
    height: 48px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    box-shadow: 0 4px 15px rgba(99, 102, 241, 0.4);
    margin-top: -24px;
    border: 4px solid var(--bg-deep);
    transition: transform 0.2s;
}

.nav-fab:hover {
    transform: scale(1.05);
}

.header-sticky {
    position: sticky;
    top: 0;
    z-index: 10;
    background: rgba(9, 9, 11, 0.8);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    padding: 0.75rem 1rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.divider {
    height: 1px;
    background: var(--border-subtle);
    margin: 1rem 0;
}

/* =========================================
   Buttons
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.875rem 1.5rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.2s ease;
    cursor: pointer;
    border: none;
    outline: none;
    width: 100%;
}

.btn-primary {
    background: var(--primary-gradient);
    color: white;
    box-shadow: 0 4px 6px -1px rgba(99, 102, 241, 0.2);
}

.btn-primary:hover {
    filter: brightness(1.1);
    box-shadow: 0 10px 15px -3px rgba(99, 102, 241, 0.3);
    transform: translateY(-1px);
}

.btn-rounded {
    border-radius: var(--radius-full);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border: 1px solid var(--border-subtle);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.btn-social {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.875rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-weight: 600;
    color: var(--text-primary);
    transition: all 0.2s;
    width: 100%;
}

.btn-social:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glass);
    transform: translateY(-1px);
}

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

.btn-ghost:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

.btn-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: white;
    transition: all 0.2s;
    padding: 0;
}

.btn-icon:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* =========================================
   Inputs
   ========================================= */
.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    color: var(--text-primary);
    font-family: var(--font-main);
    font-size: 0.9375rem;
    transition: all 0.2s;
}

.input-field:focus {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    outline: none;
    box-shadow: 0 0 0 1px var(--primary), 0 0 15px rgba(99, 102, 241, 0.1);
}

.input-field::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.input-group {
    margin-bottom: 1.5rem;
}

/* =========================================
   Components
   ========================================= */
/* Pills */
.pill-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.75rem;
}

.pill {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 0.75rem 1.25rem;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
    color: var(--text-secondary);
    white-space: nowrap;
    flex-shrink: 0;
}

.pill:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--border-glass);
    color: var(--text-primary);
}

.pill.selected {
    background: rgba(99, 102, 241, 0.15);
    border-color: var(--primary);
    color: white;
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.1);
}

/* List Items */
.list-group {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
}

.list-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid var(--border-subtle);
}

.list-item:last-child {
    border-bottom: none;
}

.list-item:hover {
    background: rgba(255, 255, 255, 0.05);
}

.list-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-primary);
}

/* OTP Inputs */
.otp-container {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
}

.otp-input {
    width: 48px;
    height: 56px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    text-align: center;
    transition: all 0.2s ease;
}

.otp-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    box-shadow: 0 0 0 2px rgba(99, 102, 241, 0.2);
}

.otp-input.filled {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-glass);
}

/* =========================================
   Animations
   ========================================= */
@keyframes float {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-6px); }
    100% { transform: translateY(0px); }
}

.animate-float {
    animation: float 6s ease-in-out infinite;
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

.animate-shake {
    animation: shake 0.3s ease-in-out;
}

@keyframes scaleIn {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); opacity: 1; }
}

.animate-scale-in {
    animation: scaleIn 0.5s ease-out;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 20px rgba(99, 102, 241, 0.3); }
    50% { box-shadow: 0 0 30px rgba(99, 102, 241, 0.6); }
}

.btn-pulse-glow {
    animation: pulse-glow 3s infinite;
}

/* =========================================
   Utilities
   ========================================= */
.no-scrollbar::-webkit-scrollbar {
    display: none;
}
.no-scrollbar {
    -ms-overflow-style: none;
    scrollbar-width: none;
}

.glow-primary {
    box-shadow: 0 0 15px rgba(99, 102, 241, 0.15);
}
