/* FokusFeed Premium Theme - Dark Green, Gold & VIP Design */

:root {
    /* Main Background Colors */
    --bg: #18242b;
    --bg-alt: #20313b;
    --panel: #22323d;
    --panel-alt: #2a3943;
    --line: #2d404b;
    --line2: #33454f;
    
    /* Gold Accents */
    --gold1: #d8b982;
    --gold2: #f0d9aa;
    
    /* Green Accent */
    --green-accent: #55b4a6;
    
    /* Focus Color */
    --focus: #f0d9aa;
    
    /* Text Colors */
    --text-primary: #f3f6f7;
    --text-secondary: #d4e2e6;
    --text-dim: #8aa3ad;
    
    /* Max Width */
    --max-width: 1180px;
}

/* Base Reset & Typography */
* {
    box-sizing: border-box;
}

body {
    margin: 0;
    font-family: 'Open Sans', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: var(--bg);
    color: var(--text-primary);
    -webkit-font-smoothing: antialiased;
    line-height: 1.5;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Playfair Display', 'Georgia', serif;
    font-weight: 600;
    line-height: 1.15;
    margin: 0.2rem 0 0.9rem;
    color: var(--text-primary);
}

h1 {
    font-size: clamp(2.1rem, 4.3vw, 3.2rem);
}

h2 {
    font-size: clamp(1.6rem, 3.1vw, 2.35rem);
}

h3 {
    font-size: clamp(1.2rem, 2.5vw, 1.75rem);
}

p {
    margin: 0.6rem 0 1rem;
}

a {
    color: var(--green-accent);
    text-decoration: none;
    transition: color 0.2s;
}

a:hover {
    color: #6fd3c4;
}

::selection {
    background: var(--gold1);
    color: #182026;
}

/* Focus States */
:focus-visible {
    outline: 2px solid var(--focus);
    outline-offset: 2px;
}

/* Premium Buttons */
.btn-premium {
    display: inline-block;
    background: linear-gradient(120deg, var(--green-accent), #6fd3c4);
    color: #182026;
    padding: 0.9rem 1.25rem;
    border-radius: 12px;
    font-weight: 600;
    letter-spacing: 0.5px;
    font-size: 0.85rem;
    border: none;
    cursor: pointer;
    box-shadow: 0 6px 22px -10px rgba(0, 0, 0, 0.6);
    transition: filter 0.2s, transform 0.2s;
}

.btn-premium:hover {
    filter: brightness(1.08);
    transform: translateY(-1px);
}

.btn-gold {
    background: linear-gradient(120deg, var(--gold1), var(--gold2));
    color: #182026;
}

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

.btn-outline:hover {
    background: var(--gold1);
    color: #182026;
}

/* Premium Cards */
.card-premium {
    background: var(--panel);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 1rem;
    transition: transform 0.3s, box-shadow 0.3s;
}

.card-premium:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 34px -16px rgba(0, 0, 0, 0.6);
}

/* Gold Badge */
.badge-gold {
    display: inline-block;
    background: linear-gradient(120deg, var(--gold2), var(--gold1));
    color: #182026;
    padding: 0.4rem 0.7rem;
    border-radius: 30px;
    font-size: 0.65rem;
    letter-spacing: 1px;
    font-weight: 700;
    text-transform: uppercase;
}

/* VIP Panel */
.panel-vip {
    background: var(--panel-alt);
    border: 1px solid var(--line2);
    border-radius: 18px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.panel-vip::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(216, 185, 130, 0.08) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(240, 217, 170, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

/* Exclusive Glow Effect */
.glow-gold {
    box-shadow: 0 4px 20px rgba(216, 185, 130, 0.3),
                0 0 40px rgba(216, 185, 130, 0.15);
}

/* Premium Icons */
.icon-premium {
    width: 34px;
    height: 34px;
    border-radius: 10px;
    background: linear-gradient(120deg, var(--gold2), var(--gold1));
    color: #182026;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 0.85rem;
}

/* Premium Grid Layouts */
.grid-premium {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.2rem;
}

/* Navigation Enhancements */
.nav-premium {
    background: rgba(24, 36, 43, 0.86);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

/* Premium Form Elements */
.input-premium {
    padding: 0.7rem 0.75rem;
    border-radius: 8px;
    border: 1px solid var(--line2);
    background: var(--panel);
    color: var(--text-primary);
    font: inherit;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.input-premium:focus {
    border-color: var(--gold1);
    box-shadow: 0 0 0 3px rgba(216, 185, 130, 0.1);
    outline: none;
}

/* Premium Metrics Bar */
.metrics-bar {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 1.1rem;
    margin: 2.2rem 0 0;
}

.metric {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 0.85rem 0.9rem 1rem;
    border-radius: 12px;
    text-align: center;
}

.metric strong {
    display: block;
    font-size: 1.3rem;
    font-family: 'Playfair Display', serif;
    line-height: 1.1;
    margin: 0 0 0.25rem;
    color: var(--gold1);
}

.metric span {
    font-size: 0.65rem;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    opacity: 0.75;
    font-weight: 600;
    color: var(--text-dim);
}

/* Premium Tag Styles */
.tag-premium {
    background: var(--panel);
    border: 1px solid var(--line);
    padding: 0.45rem 0.7rem;
    border-radius: 6px;
    font-size: 0.75rem;
    letter-spacing: 0.5px;
    font-weight: 600;
    color: var(--text-secondary);
    transition: all 0.2s;
}

.tag-premium:hover {
    background: var(--panel-alt);
    border-color: var(--gold1);
    color: var(--gold1);
}

/* Gold Star Rating */
.rating-star {
    color: var(--gold1);
    background: linear-gradient(120deg, var(--gold2), var(--gold1));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    letter-spacing: 1px;
}

/* VIP Banner */
.vip-banner {
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 50%, #1a1a1a 100%);
    border-top: 3px solid var(--gold1);
    border-bottom: 3px solid var(--gold1);
    padding: 3rem 1.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.vip-banner::before {
    content: "";
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 20% 50%, rgba(216, 185, 130, 0.15) 0%, transparent 50%),
                radial-gradient(ellipse at 80% 50%, rgba(240, 217, 170, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

.vip-badge {
    display: inline-block;
    background: linear-gradient(135deg, var(--gold1) 0%, var(--gold2) 50%, var(--gold1) 100%);
    color: #1a1a1a;
    font-size: 0.85rem;
    font-weight: 800;
    letter-spacing: 0.2em;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    margin-bottom: 1.25rem;
    box-shadow: 0 4px 20px rgba(216, 185, 130, 0.4),
                0 0 40px rgba(216, 185, 130, 0.2);
    animation: vip-glow 2s ease-in-out infinite alternate;
}

@keyframes vip-glow {
    from {
        box-shadow: 0 4px 20px rgba(216, 185, 130, 0.4),
                    0 0 40px rgba(216, 185, 130, 0.2);
    }
    to {
        box-shadow: 0 4px 30px rgba(216, 185, 130, 0.6),
                    0 0 60px rgba(216, 185, 130, 0.35);
    }
}

/* Premium Alert/Notice */
.alert-premium {
    background: var(--panel);
    border-left: 4px solid var(--gold1);
    padding: 1rem 1.2rem;
    border-radius: 8px;
    margin: 1rem 0;
}

.alert-premium.success {
    border-left-color: var(--green-accent);
}

/* Premium Loading Spinner */
.spinner-premium {
    border: 3px solid var(--line);
    border-top-color: var(--gold1);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background: var(--line2);
    border-radius: 6px;
    border: 2px solid var(--bg);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--gold1);
}

/* Responsive Utilities */
@media (max-width: 768px) {
    .grid-premium {
        grid-template-columns: 1fr;
    }
    
    .metrics-bar {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Premium Section Spacing */
.section-premium {
    padding: 80px 26px;
    position: relative;
}

.section-premium.alt {
    background: var(--panel-alt);
}

/* Tailwind Dark Mode Overrides */
.dark {
    --tw-bg-opacity: 1;
    background-color: var(--bg);
}

.dark .bg-white {
    background-color: var(--panel) !important;
}

.dark .bg-gray-50 {
    background-color: var(--bg-alt) !important;
}

.dark .bg-gray-100 {
    background-color: var(--panel) !important;
}

.dark .bg-gray-800 {
    background-color: var(--panel) !important;
}

.dark .text-gray-900 {
    color: var(--text-primary) !important;
}

.dark .text-gray-600,
.dark .text-gray-700 {
    color: var(--text-secondary) !important;
}

.dark .border-gray-200,
.dark .border-gray-700 {
    border-color: var(--line) !important;
}

/* Premium Brand Colors for Fokus */
.text-fokus-600 {
    color: var(--green-accent) !important;
}

.dark .text-fokus-400 {
    color: var(--green-accent) !important;
}

.bg-fokus-600 {
    background-color: var(--green-accent) !important;
}

.bg-fokus-50 {
    background-color: rgba(85, 180, 166, 0.1) !important;
}

.dark .bg-fokus-900 {
    background-color: rgba(85, 180, 166, 0.2) !important;
}

.border-fokus-600 {
    border-color: var(--green-accent) !important;
}

.hover\:bg-fokus-700:hover {
    background-color: #4a9d90 !important;
}

.hover\:bg-fokus-50:hover {
    background-color: rgba(85, 180, 166, 0.15) !important;
}
