/*
Theme Name: qrall_NTN
Theme URI: https://qrall.vn
Description: Professional Link Shortener and Dynamic QR SaaS Theme.
Author: Antigravity AI
Version: 1.1.4
Text Domain: bns-qr
*/

:root {
    /* Color Palette - Modern SaaS */
    --primary: #6366f1;
    --primary-hover: #4f46e5;
    --secondary: #ec4899;
    --dark: #0f172a;
    --dark-accent: #1e293b;
    --light: #f8fafc;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --glass: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    
    /* Gradients */
    --grad-primary: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --grad-surface: linear-gradient(180deg, #1e293b 0%, #0f172a 100%);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0,0,0,0.1);
    --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.1), 0 2px 4px -1px rgba(0,0,0,0.06);
    --shadow-lg: 0 10px 15px -3px rgba(0,0,0,0.1), 0 4px 6px -2px rgba(0,0,0,0.05);
}

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

body {
    font-family: 'Be Vietnam Pro', 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    background-color: var(--dark);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Layout Containers */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

.text-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 0.5rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    border: none;
    text-decoration: none;
    font-size: 1rem;
}

.btn-primary {
    background: var(--grad-primary);
    color: white;
    box-shadow: 0 4px 14px 0 rgba(99, 102, 241, 0.39);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px 0 rgba(99, 102, 241, 0.45);
}

.btn-glass {
    background: var(--glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--glass-border);
    color: white;
}

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

/* Form Controls */
.form-input {
    background: var(--dark-accent);
    border: 1px solid var(--glass-border);
    border-radius: 0.5rem;
    padding: 0.75rem 1rem;
    color: white;
    width: 100%;
    font-size: 1rem;
    transition: border-color 0.2s;
}

.form-input:focus {
    outline: none;
    border-color: var(--primary);
}

/* Glass Cards */
.glass-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 1rem;
    padding: 2rem;
}
/* --- Header & Navigation (Optimized) --- */
.header-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
}
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    text-decoration: none;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}
.logo img {
    max-height: 40px;
    display: block;
}
nav.main-nav ul {
    display: flex;
    list-style: none;
    gap: 20px;
}
nav.main-nav a {
    color: #94a3b8;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s;
}
nav.main-nav a:hover {
    color: white;
}
.auth-buttons {
    display: flex;
    gap: 15px;
}

/* Dropdown Styles */
.nav-dropdown {
    position: relative;
    display: inline-block;
}
.nav-dropdown-content {
    display: none;
    position: absolute;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(15px);
    min-width: 220px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    z-index: 1001;
    padding: 10px;
    top: 100%;
    left: 50%;
    transform: translateX(-50%);
    margin-top: 10px;
}
.nav-dropdown:hover .nav-dropdown-content {
    display: block;
    animation: fadeIn 0.2s ease-out;
}
.nav-dropdown-content a {
    display: flex;
    align-items: center;
    padding: 12px 15px;
    color: #94a3b8;
    text-decoration: none;
    border-radius: 8px;
    transition: all 0.2s;
    font-size: 0.85rem;
    gap: 10px;
}
.nav-dropdown-content a:hover {
    background: rgba(255,255,255,0.05);
    color: white;
    padding-left: 18px;
}
@keyframes fadeIn {
    from { opacity: 0; transform: translateX(-50%) translateY(10px); }
    to { opacity: 1; transform: translateX(-50%) translateY(0); }
}
.menu-hot-badge {
    position: absolute;
    top: -12px;
    right: -8px;
    background: #f43f5e;
    color: white;
    font-size: 0.6rem;
    padding: 2px 6px;
    border-radius: 20px;
    font-weight: 900;
    box-shadow: 0 0 10px rgba(244, 63, 94, 0.5);
    animation: pulseMenu 1.5s infinite;
}
@keyframes pulseMenu {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 8px rgba(244, 63, 94, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(244, 63, 94, 0); }
}

/* User Status Badges */
.status-badge {
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.status-vip {
    background: linear-gradient(135deg, #f59e0b 0%, #fbbf24 100%);
    color: #451a03;
    border-color: rgba(251, 191, 36, 0.3);
    box-shadow: 0 4px 12px rgba(245, 158, 11, 0.2);
}

.status-vip:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 15px rgba(245, 158, 11, 0.3);
}

.status-free {
    background: var(--glass);
    color: #94a3b8;
    backdrop-filter: blur(8px);
}

.status-vip i, .status-vip svg {
    color: #451a03;
}
