/**
 * TubeRank AI Premium Stylesheet
 * Dark Theme Custom Tokens & Styling overrides
 */

/* Root Variables for Color Customization */
:root {
    --bg-dark: #08090c;
    --bg-dark-card: rgba(255, 255, 255, 0.03);
    --bg-dark-glass: rgba(13, 17, 28, 0.7);
    
    --color-primary: #8a2be2;
    --color-secondary: #ff007f;
    --color-accent: #00f0ff;
    
    --grad-primary: linear-gradient(135deg, #7c4dff 0%, #e040fb 100%);
    --grad-secondary: linear-gradient(135deg, #00f0ff 0%, #7c4dff 100%);
    --grad-dark: linear-gradient(180deg, #0f111a 0%, #07080c 100%);
    
    --border-glass: rgba(255, 255, 255, 0.08);
    --font-outfit: 'Outfit', sans-serif;
}

/* Base resets & typography */
body {
    background-color: var(--bg-dark);
    background-image: var(--grad-dark);
    font-family: var(--font-outfit);
    color: #e2e8f0;
    overflow-x: hidden;
}

/* Glassmorphism Navigation Bar */
.navbar-glass {
    background: var(--bg-dark-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-glass) !important;
}

.bg-dark-glass {
    background: var(--bg-dark-glass) !important;
    backdrop-filter: blur(10px);
}

/* Text glow & Gradient styles */
.text-primary-gradient {
    background: var(--grad-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
}

.text-glow-primary {
    text-shadow: 0 0 15px rgba(124, 77, 255, 0.6);
}

.bg-primary-gradient {
    background: var(--grad-primary) !important;
    border: none;
}

/* Buttons with premium gradients & micro-animations */
.btn-gradient-primary {
    background: var(--grad-primary);
    border: none;
    color: #fff;
    font-weight: 600;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.btn-gradient-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(124, 77, 255, 0.4);
    color: #fff;
}

.btn-gradient-primary:active {
    transform: translateY(1px);
}

/* Card layout glassmorphism details */
.card-premium {
    background: var(--bg-dark-card);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.card-premium:hover {
    transform: translateY(-5px);
    border-color: rgba(124, 77, 255, 0.3);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(124, 77, 255, 0.1);
}

/* Custom list & links transition */
.hover-white {
    transition: color 0.2s ease;
}
.hover-white:hover {
    color: #ffffff !important;
}

/* Input boxes with glow on focus */
.form-control, .form-select {
    background-color: rgba(255, 255, 255, 0.05) !important;
    border: 1px solid var(--border-glass) !important;
    color: #ffffff !important;
    border-radius: 8px;
    padding: 0.75rem 1rem;
    transition: border-color 0.25s ease, box-shadow 0.25s ease;
}

.form-control:focus, .form-select:focus {
    border-color: #7c4dff !important;
    box-shadow: 0 0 10px rgba(124, 77, 255, 0.25) !important;
    outline: none;
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

/* Micro-animations */
@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}

.icon-bounce:hover {
    animation: bounce 1s infinite;
}

/* Extra premium badge */
.badge-premium {
    background: rgba(124, 77, 255, 0.1);
    color: #b388ff;
    border: 1px solid rgba(124, 77, 255, 0.3);
    padding: 0.35em 0.65em;
    font-size: 0.75em;
    font-weight: 600;
}
