/* Noxorea Cafe Subdomain Global & Mobile Design System */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&family=Outfit:wght@500;600;700;800;900&display=swap');

:root {
    --primary: #EF4444;
    --primary-hover: #DC2626;
    --primary-light: rgba(239, 68, 68, 0.18);
    --gold: #F59E0B;
    --dark: #0B0F19;
    --dark-card: #162032;
    --dark-border: #334155;
    --white: #FFFFFF;
    --text-muted: #CBD5E1; /* High contrast bright readable text for mobile */
    --font-heading: 'Outfit', -apple-system, sans-serif;
    --font-body: 'Inter', -apple-system, sans-serif;
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

body {
    font-family: var(--font-body);
    background-color: var(--dark);
    color: #F8FAFC !important;
    margin: 0;
    padding: 0;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    font-size: 1rem;
    line-height: 1.6;
}

/* High Contrast Override for Faint Text */
.text-muted, small.text-muted, p.text-muted, span.text-muted {
    color: #CBD5E1 !important;
    font-weight: 500;
}

.logo-subtext {
    color: #F59E0B !important;
    font-weight: 800 !important;
}

.logo-text-cursive {
    font-family: var(--font-heading);
    font-weight: 900 !important;
    letter-spacing: -0.03em;
    background: linear-gradient(135deg, #FFFFFF 0%, #F59E0B 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 2px 10px rgba(245, 158, 11, 0.4));
}

h1, h2, h3, h4, h5, h6, .font-heading {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: -0.02em;
    color: #FFFFFF !important;
}

/* Fluid Typography for Mobile Crispness */
h1, .display-4 {
    font-size: clamp(2.1rem, 5vw + 1rem, 3.5rem) !important;
    line-height: 1.18 !important;
}

h2, .display-5 {
    font-size: clamp(1.75rem, 4vw + 0.8rem, 2.6rem) !important;
    line-height: 1.25 !important;
}

h3 {
    font-size: clamp(1.4rem, 3vw + 0.5rem, 1.9rem) !important;
}

p.lead {
    font-size: clamp(1.05rem, 2vw + 0.5rem, 1.25rem) !important;
    color: #E2E8F0 !important;
    font-weight: 500;
}

/* Mobile Input Auto-Zoom Prevention & High Visibility */
input[type="text"], input[type="email"], input[type="password"], input[type="tel"], select, textarea {
    font-size: 16px !important;
    background-color: #0F172A !important;
    border: 1.5px solid #475569 !important;
    color: #FFFFFF !important;
    padding: 0.85rem 1rem !important;
    border-radius: 12px !important;
    font-weight: 600 !important;
}

input::placeholder, textarea::placeholder {
    color: #94A3B8 !important;
    opacity: 1 !important;
}

input:focus, textarea:focus {
    border-color: var(--gold) !important;
    background-color: #1E293B !important;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.4) !important;
    color: #FFFFFF !important;
}

/* Glassmorphism Cards with Glowing Animations */
.card-glass, .dark-section {
    background: rgba(22, 32, 50, 0.95);
    border: 1.5px solid var(--dark-border);
    backdrop-filter: blur(16px);
    border-radius: 20px;
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5);
}

.hero-card-glow {
    position: relative;
    background: linear-gradient(135deg, rgba(22, 32, 50, 0.96) 0%, rgba(15, 23, 42, 0.98) 100%);
    border: 2px solid #334155;
    border-radius: 24px;
    padding: 2.25rem 1.5rem;
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.7), 0 0 35px rgba(245, 158, 11, 0.2);
    overflow: hidden;
}

.hero-card-glow::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(245, 158, 11, 0.12) 0%, transparent 60%);
    animation: ambientRotate 12s linear infinite;
    pointer-events: none;
}

@keyframes ambientRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Touch Friendly Mobile Buttons */
.btn {
    border-radius: 12px;
    font-weight: 800;
    padding: 0.85rem 1.4rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    transition: var(--transition);
    min-height: 50px;
    letter-spacing: 0.02em;
}

.btn-premium, .btn-primary {
    background: linear-gradient(135deg, #EF4444 0%, #B91C1C 100%) !important;
    color: var(--white) !important;
    border: none !important;
    box-shadow: 0 8px 25px rgba(239, 68, 68, 0.4) !important;
}

.btn-premium:hover, .btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(239, 68, 68, 0.6) !important;
    color: var(--white) !important;
}

.btn-warning, .btn-gold {
    background: linear-gradient(135deg, #F59E0B 0%, #D97706 100%) !important;
    color: #0F172A !important;
    border: none !important;
    font-weight: 900 !important;
    box-shadow: 0 8px 25px rgba(245, 158, 11, 0.4) !important;
}

/* Mobile Navigation Header Bar */
.navbar-premium {
    background: rgba(15, 23, 42, 0.96) !important;
    backdrop-filter: blur(20px) !important;
    border-bottom: 1.5px solid #334155 !important;
    padding: 0.85rem 0 !important;
}

/* Mobile Sticky Bottom Action Bar */
.subdomain-mobile-bar {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 1050;
    background: rgba(15, 23, 42, 0.96);
    backdrop-filter: blur(20px);
    border-top: 1.5px solid #334155;
    padding: 0.65rem 0.75rem;
    display: flex;
    align-items: center;
    justify-content: space-around;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.7);
}

.subdomain-mobile-link {
    color: #CBD5E1;
    text-decoration: none;
    font-size: 0.76rem;
    font-weight: 700;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    transition: var(--transition);
}

.subdomain-mobile-link i {
    font-size: 1.35rem;
}

.subdomain-mobile-link.active, .subdomain-mobile-link:hover {
    color: #F59E0B;
}

@media (max-width: 768px) {
    body {
        padding-bottom: 75px;
    }
    
    .container {
        padding-left: 1.25rem;
        padding-right: 1.25rem;
    }
}
