/*
Theme Name: HuyKira Blog Theme - ULTRAMAX PRO Edition
Theme URI: https://huykira.net
Author: HuyKira
Author URI: https://huykira.net
Description: Blog cá nhân với thiết kế ULTRAMAX PRO hiện đại, responsive và tối ưu SEO - Phiên bản giống React Demo
Version: 4.0.0 ULTRAMAX PRO
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: huykira
Tags: blog, responsive, one-column, two-columns, three-columns, custom-colors, custom-menu, featured-images, threaded-comments
*/

/* ============================================
   CSS Variables - Design Tokens ULTRAMAX PRO
============================================ */
:root {
    /* Colors - Light Mode - ULTRAMAX PRO */
    --background: 225 20% 97%;
    --background-hex: #f5f6f8;
    --foreground: 225 25% 8%;
    --foreground-hex: #14161a;
    
    --card: 0 0% 100%;
    --card-hex: #ffffff;
    --card-rgb: 255, 255, 255;
    --card-foreground: 225 25% 8%;
    
    --popover: 0 0% 100%;
    --popover-foreground: 225 25% 8%;
    
    /* Primary - Orange ULTRAMAX PRO */
    --primary: 24 95% 53%;
    --primary-hex: #f5820d;
    --primary-rgb: 245, 130, 13;
    --primary-foreground: 0 0% 100%;
    --primary-glow: 32 100% 58%;
    
    /* Accent - Purple */
    --accent: 270 90% 58%;
    --accent-hex: #8b5cf6;
    --accent-rgb: 139, 92, 246;
    --accent-foreground: 0 0% 100%;
    
    /* Secondary */
    --secondary: 225 18% 93%;
    --secondary-hex: #ebedf1;
    --secondary-foreground: 225 20% 25%;
    
    /* Muted */
    --muted: 225 18% 95%;
    --muted-hex: #f0f2f5;
    --muted-rgb: 240, 242, 245;
    --muted-foreground: 225 12% 50%;
    
    /* Destructive */
    --destructive: 0 85% 60%;
    --destructive-hex: #ef4444;
    --destructive-foreground: 0 0% 100%;
    
    /* Border & Input */
    --border: 225 18% 92%;
    --border-hex: #e5e7eb;
    --border-rgb: 229, 231, 235;
    --input: 225 18% 92%;
    --ring: 24 95% 53%;
    
    /* Radius - Larger for PRO */
    --radius: 16px;
    --radius-sm: 12px;
    --radius-lg: 24px;
    --radius-xl: 32px;
    
    /* Special Colors */
    --green-verified: 150 75% 42%;
    --green-verified-hex: #22c55e;
    --blue-info: 210 100% 52%;
    --purple-accent: 270 90% 58%;
    --cyan-accent: 180 80% 50%;
    
    /* ULTRAMAX PRO Gradients */
    --gradient-primary: linear-gradient(135deg, #f5820d 0%, #f59e0b 30%, #fbbf24 60%, #f97316 100%);
    --gradient-premium: linear-gradient(135deg, #8b5cf6 0%, #ec4899 40%, #f5820d 100%);
    --gradient-aurora: linear-gradient(135deg, #06b6d4 0%, #8b5cf6 50%, #ec4899 100%);
    --gradient-sunset: linear-gradient(135deg, #f5820d 0%, #ef4444 50%, #8b5cf6 100%);
    --gradient-ocean: linear-gradient(135deg, #0ea5e9 0%, #6366f1 50%, #8b5cf6 100%);
    --gradient-dark: linear-gradient(135deg, #1e293b 0%, #334155 100%);
    --gradient-glass: linear-gradient(135deg, rgba(255,255,255,0.15) 0%, rgba(255,255,255,0.05) 100%);
    
    /* ULTRAMAX PRO Shadows */
    --shadow-sm: 0 2px 8px rgba(0,0,0,0.04);
    --shadow-md: 0 4px 20px rgba(0,0,0,0.06);
    --shadow-lg: 0 8px 30px rgba(0,0,0,0.1);
    --shadow-xl: 0 20px 50px rgba(0,0,0,0.15);
    --shadow-premium: 0 20px 60px -15px rgba(245, 130, 13, 0.25), 0 10px 20px -10px rgba(245, 130, 13, 0.15);
    --shadow-card: 0 4px 30px -6px rgba(20, 22, 26, 0.08), 0 1px 3px rgba(20, 22, 26, 0.04);
    --shadow-glow: 0 0 40px rgba(245, 130, 13, 0.2), 0 0 80px rgba(245, 130, 13, 0.1);
    --shadow-accent: 0 10px 40px -10px rgba(139, 92, 246, 0.3);
    
    /* Glass Effect */
    --glass-bg: rgba(255, 255, 255, 0.75);
    --glass-border: rgba(255, 255, 255, 0.4);
    --glass-blur: 20px;
}

/* Dark Mode - ULTRAMAX PRO */
.dark-mode {
    --background: 225 30% 6%;
    --background-hex: #0d1117;
    --foreground: 210 45% 98%;
    --foreground-hex: #f8fafc;
    
    --card: 225 30% 10%;
    --card-hex: #161b22;
    --card-rgb: 22, 27, 34;
    --card-foreground: 210 45% 98%;
    
    --popover: 225 30% 10%;
    --popover-foreground: 210 45% 98%;
    
    --primary: 24 95% 55%;
    --primary-hex: #f5920f;
    --primary-glow: 32 100% 62%;
    
    --accent: 270 90% 62%;
    --accent-hex: #a78bfa;
    
    --secondary: 225 28% 16%;
    --secondary-hex: #21262d;
    --secondary-foreground: 210 40% 98%;
    
    --muted: 225 28% 14%;
    --muted-hex: #1c2128;
    --muted-rgb: 28, 33, 40;
    --muted-foreground: 220 18% 58%;
    
    --border: 225 28% 16%;
    --border-hex: #30363d;
    --border-rgb: 48, 54, 61;
    --input: 225 28% 16%;
    
    --glass-bg: rgba(22, 27, 34, 0.85);
    --glass-border: rgba(48, 54, 61, 0.6);
}

/* ============================================
   Animations
============================================ */
/* Animation defined in Animations section below */

/* Dark Mode Toggle Icons */
.dark-mode-toggle .sun-icon { display: block; }
.dark-mode-toggle .moon-icon { display: none; }
.dark-mode .dark-mode-toggle .sun-icon { display: none; }
.dark-mode .dark-mode-toggle .moon-icon { display: block; }

/* ============================================
   Reset & Base Styles - ULTRAMAX PRO
============================================ */
*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: 'Inter', 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.6;
    background-color: var(--background-hex);
    color: var(--foreground-hex);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Custom Scrollbar - ULTRAMAX PRO */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: transparent;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--primary-hex), var(--accent-hex));
    border-radius: 10px;
    border: 2px solid var(--background-hex);
}

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

a {
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

a:hover {
    color: var(--primary-hex);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    font-family: inherit;
    cursor: pointer;
    border: none;
    background: none;
}

ul, ol {
    list-style: none;
}

/* ============================================
   Typography - ULTRAMAX PRO
============================================ */
h1, h2, h3, h4, h5, h6 {
    font-weight: 800;
    line-height: 1.25;
    color: var(--foreground-hex);
    letter-spacing: -0.02em;
}

h1 { font-size: 2rem; }
h2 { font-size: 1.5rem; }
h3 { font-size: 1.25rem; }
h4 { font-size: 1.125rem; }

p {
    color: var(--muted-foreground);
}

/* ============================================
   Layout Containers - ULTRAMAX PRO
============================================ */
.container-full {
    width: 100%;
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 16px;
}

@media (min-width: 1024px) {
    .container-full {
        padding: 0 24px;
    }
}

.main-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 16px 0;
}

/* Medium screens - 2 columns */
@media (min-width: 768px) {
    .main-layout {
        grid-template-columns: 1fr 280px;
        gap: 20px;
    }
    
    .sidebar-left { display: none; }
    .main-content { order: 1; }
    .sidebar-right { order: 2; }
}

/* Large screens - 3 columns */
@media (min-width: 1280px) {
    .main-layout {
        grid-template-columns: 260px 1fr 280px;
        gap: 20px;
    }
    
    .sidebar-left { 
        display: block;
        order: 1; 
    }
    .main-content { order: 2; }
    .sidebar-right { order: 3; }
}

/* ============================================
   Header - ULTRAMAX PRO
============================================ */
.site-header {
    background-color: var(--card-hex);
    border-bottom: 1px solid var(--border-hex);
    position: sticky;
    top: 0;
    z-index: 100;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-header.scrolled {
    background-color: rgba(var(--card-rgb), 0.9);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    box-shadow: var(--shadow-lg);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
    gap: 20px;
}

/* Logo - ULTRAMAX PRO */
.site-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    flex-shrink: 0;
    text-decoration: none;
}

.site-logo .logo-text {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    box-shadow: var(--shadow-premium);
    animation: gradient-bg 4s ease infinite;
    background-size: 200% 200%;
    position: relative;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.site-logo:hover .logo-text {
    transform: scale(1.1);
}

.site-logo .logo-text::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.4;
}

@keyframes gradient-bg {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.site-logo .logo-text .logo-h {
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

.site-logo .online-dot {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 16px;
    height: 16px;
    background: #22c55e;
    border-radius: 50%;
    border: 3px solid var(--card-hex);
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.5);
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0%, 100% { box-shadow: 0 0 10px rgba(34, 197, 94, 0.5); }
    50% { box-shadow: 0 0 20px rgba(34, 197, 94, 0.8); }
}

.site-logo .logo-brand {
    display: none;
}

.site-logo .logo-brand .brand-name {
    display: flex;
    align-items: center;
    gap: 4px;
}

.site-logo .logo-brand .logo-h {
    font-size: 1.5rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.02em;
}

.site-logo .logo-brand .logo-k {
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--foreground-hex);
    letter-spacing: -0.02em;
}

.site-logo .logo-brand .sparkle {
    color: var(--primary-hex);
    animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes bounce-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

.site-logo .logo-desc {
    font-size: 11px;
    color: var(--muted-foreground);
    margin-top: 2px;
    text-transform: uppercase;
    letter-spacing: 0.2em;
    font-weight: 600;
}

@media (min-width: 640px) {
    .site-logo .logo-brand {
        display: block;
    }
}

/* Search Bar - ULTRAMAX PRO */
.search-bar {
    flex: 1;
    max-width: 520px;
    display: none;
}

@media (min-width: 768px) {
    .search-bar {
        display: flex;
        align-items: center;
        gap: 12px;
    }
}

.search-form {
    display: flex;
    align-items: center;
    gap: 12px;
    flex: 1;
}

.search-form .search-input-wrap {
    flex: 1;
    position: relative;
}

.search-form input[type="search"] {
    width: 100%;
    padding: 14px 60px 14px 20px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    background-color: var(--muted-hex);
    font-size: 14px;
    color: var(--foreground-hex);
    outline: none;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.search-form input[type="search"]:focus {
    border-color: rgba(var(--primary-rgb), 0.5);
    background-color: var(--card-hex);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1), var(--shadow-card);
}

.search-form input[type="search"]::placeholder {
    color: var(--muted-foreground);
}

.search-form .search-buttons {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    gap: 6px;
}

.search-form .btn-search {
    padding: 10px;
    border-radius: var(--radius-sm);
    background: var(--gradient-primary);
    color: white;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.search-form .btn-search:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 8px 25px rgba(var(--primary-rgb), 0.4);
}

.search-form .btn-search svg {
    width: 16px;
    height: 16px;
}

/* Header Icons - ULTRAMAX PRO */
.header-icons {
    display: flex;
    align-items: center;
    gap: 6px;
}

.icon-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    color: var(--muted-foreground);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.icon-btn:hover {
    background-color: var(--muted-hex);
    transform: scale(1.1);
}

.icon-btn:active {
    transform: scale(0.95);
}

.icon-btn svg {
    width: 20px;
    height: 20px;
}

.notification-btn {
    position: relative;
    color: var(--primary-hex);
}

.notification-btn:hover svg {
    animation: wiggle 0.4s ease-in-out;
}

@keyframes wiggle {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.notification-dot {
    position: absolute;
    top: 8px;
    right: 8px;
    width: 12px;
    height: 12px;
    background-color: var(--destructive-hex);
    border-radius: 50%;
    border: 2px solid var(--card-hex);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 8px;
    font-weight: 700;
    color: white;
    animation: pulse 2s infinite;
}

/* Header Avatar - ULTRAMAX PRO */
.header-avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    padding: 3px;
    background: var(--gradient-primary);
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    margin-left: 8px;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.header-avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.4;
}

.header-avatar:hover {
    transform: scale(1.1);
}

.header-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-hex);
}

/* Dark Mode Toggle */
.dark-mode-toggle {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    color: var(--muted-foreground);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.dark-mode-toggle:hover {
    background-color: var(--muted-hex);
    transform: scale(1.1);
    color: var(--primary-hex);
}

/* Mobile Menu */
.mobile-menu-toggle {
    display: flex;
    flex-direction: column;
    gap: 5px;
    padding: 10px;
}

.mobile-menu-toggle .hamburger-line {
    width: 22px;
    height: 2px;
    background-color: var(--foreground-hex);
    border-radius: 2px;
    transition: all 0.3s;
}

@media (min-width: 768px) {
    .mobile-menu-toggle {
        display: none;
    }
}

.search-toggle {
    display: flex;
}

@media (min-width: 768px) {
    .search-toggle {
        display: none;
    }
}

/* Mobile Search */
.mobile-search-bar {
    display: none;
    padding: 16px;
    border-top: 1px solid var(--border-hex);
    animation: fadeIn 0.4s ease;
}

.mobile-search-bar.active {
    display: block;
}

.mobile-search-bar form {
    display: flex;
    gap: 10px;
}

.mobile-search-bar input {
    flex: 1;
    padding: 14px 20px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    background-color: var(--muted-hex);
    font-size: 14px;
    transition: all 0.3s;
}

.mobile-search-bar input:focus {
    border-color: rgba(var(--primary-rgb), 0.5);
    background-color: var(--card-hex);
    outline: none;
}

.mobile-search-bar button {
    padding: 14px 20px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-premium);
}

/* ============================================
   Hero Profile Section - Match Reference Design
============================================ */
.hero-profile {
    background-color: var(--card-hex);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-hex);
    box-shadow: var(--shadow-card);
    margin-bottom: 24px;
    position: relative;
}

/* Cover Photo - Match Reference */
.cover-photo {
    position: relative;
    height: 180px;
    overflow: hidden;
}

@media (min-width: 768px) {
    .cover-photo {
        height: 220px;
    }
}

.cover-photo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.cover-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, transparent 0%, transparent 50%, rgba(0,0,0,0.5) 100%);
    pointer-events: none;
}

.cover-text {
    position: absolute;
    top: 20px;
    right: 30px;
    color: rgba(255,255,255,0.4);
    font-size: 5rem;
    font-style: italic;
    font-family: 'Playfair Display', Georgia, serif;
    text-shadow: 2px 2px 8px rgba(0,0,0,0.3);
    font-weight: 700;
    letter-spacing: -0.05em;
    user-select: none;
}

@media (min-width: 768px) {
    .cover-text {
        font-size: 7rem;
        right: 50px;
    }
}

/* ULTRAMAX PRO Badge */
.ultramax-badge {
    position: absolute;
    top: 20px;
    left: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 12px;
    font-weight: 700;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    animation: scale-in 0.5s ease;
}

.ultramax-badge svg {
    animation: bounce-soft 2s ease-in-out infinite;
}

@keyframes scale-in {
    from { opacity: 0; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1); }
}

/* Stats Badge */
.stats-floating-badge {
    position: absolute;
    bottom: 20px;
    right: 20px;
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 13px;
    font-weight: 700;
    border-radius: 16px;
    animation: scale-in 0.6s ease 0.1s backwards;
}

/* Profile Info - ULTRAMAX PRO */
.profile-info {
    padding: 0 28px 32px;
    position: relative;
    z-index: 1;
}

.profile-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    margin-top: -56px;
    position: relative;
    text-align: center;
}

@media (min-width: 768px) {
    .profile-row {
        flex-direction: row;
        align-items: flex-start;
        text-align: left;
        gap: 24px;
    }
}

/* Avatar with premium ring - ULTRAMAX PRO */
.profile-avatar-wrapper {
    position: relative;
    flex-shrink: 0;
    animation: scale-in 0.5s ease;
}

.avatar-ring {
    position: absolute;
    inset: -6px;
    border-radius: 50%;
    background: var(--gradient-primary);
    background-size: 200% 200%;
    animation: gradient-shift 3s ease infinite;
    z-index: 0;
    box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.4);
}

.avatar-ring::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: var(--gradient-primary);
    z-index: -1;
    filter: blur(12px);
    opacity: 0.5;
}

@keyframes gradient-shift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.profile-avatar {
    position: relative;
    width: 128px;
    height: 128px;
    border-radius: 50%;
    border: 5px solid var(--card-hex);
    overflow: hidden;
    background-color: var(--card-hex);
    z-index: 1;
}

@media (min-width: 768px) {
    .profile-avatar {
        width: 144px;
        height: 144px;
    }
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.profile-avatar:hover img {
    transform: scale(1.1);
}

.online-indicator {
    position: absolute;
    bottom: 12px;
    right: 12px;
    width: 24px;
    height: 24px;
    background-color: #22c55e;
    border: 4px solid var(--card-hex);
    border-radius: 50%;
    z-index: 2;
    box-shadow: 0 0 15px rgba(34, 197, 94, 0.5);
    animation: pulse 2s infinite;
}

/* Crown Badge */
.crown-badge {
    position: absolute;
    top: -8px;
    right: -8px;
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    box-shadow: 0 4px 15px rgba(251, 191, 36, 0.5);
    animation: bounce-soft 2s ease-in-out infinite;
}

.crown-badge svg {
    width: 20px;
    height: 20px;
    color: white;
}

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

/* Profile Details - ULTRAMAX PRO */
.profile-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding-top: 12px;
}

@media (min-width: 768px) {
    .profile-details {
        align-items: flex-start;
        padding-top: 60px;
    }
}

.profile-name {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 8px;
}

@media (min-width: 768px) {
    .profile-name {
        justify-content: flex-start;
    }
}

.profile-name h1 {
    font-size: 1.875rem;
    font-weight: 900;
    color: var(--foreground-hex);
    margin: 0;
    letter-spacing: -0.02em;
}

.profile-name .nickname {
    color: var(--muted-foreground);
    font-weight: 500;
    font-size: 1.25rem;
}

.verified-badge {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(135deg, #22c55e, #16a34a);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.5);
    animation: pulse-glow 2s infinite, float-mini 3s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 0 15px rgba(34, 197, 94, 0.4); }
    50% { box-shadow: 0 0 30px rgba(34, 197, 94, 0.7); }
}

@keyframes float-mini {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.verified-badge svg {
    width: 12px;
    height: 12px;
    color: white;
    stroke: white;
}

/* Stats Cards - ULTRAMAX PRO */
.stats-cards {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 20px;
}

.stats-card {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 20px;
    background: rgba(var(--primary-rgb), 0.08);
    border: 1.5px solid rgba(var(--primary-rgb), 0.2);
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.stats-card:hover {
    background: rgba(var(--primary-rgb), 0.12);
    border-color: rgba(var(--primary-rgb), 0.3);
    transform: scale(1.02);
}

.stats-card svg {
    width: 20px;
    height: 20px;
    color: var(--primary-hex);
}

.stats-card .value {
    font-size: 1rem;
    font-weight: 700;
    color: var(--foreground-hex);
}

.stats-card .label {
    font-size: 0.875rem;
    color: var(--muted-foreground);
}

/* Social Icons - ULTRAMAX PRO */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 10px;
    flex-wrap: wrap;
}

@media (min-width: 768px) {
    .social-icons {
        justify-content: flex-start;
    }
}

.social-icon {
    width: 40px;
    height: 40px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.12);
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,255,255,0.2);
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.social-icon:hover::before {
    transform: translateY(0);
}

.social-icon:hover {
    transform: translateY(-4px) scale(1.15) rotate(-5deg);
    box-shadow: 0 12px 30px rgba(0,0,0,0.25);
    color: white;
}

.social-icon svg {
    width: 18px;
    height: 18px;
    position: relative;
    z-index: 1;
}

.social-icon.facebook { background: linear-gradient(135deg, #1877f2, #0d65d9); box-shadow: 0 4px 15px rgba(24, 119, 242, 0.3); }
.social-icon.instagram { background: linear-gradient(135deg, #833AB4, #FD1D1D, #F77737); box-shadow: 0 4px 15px rgba(228, 64, 95, 0.3); }
.social-icon.tiktok { background: linear-gradient(135deg, #000000, #25F4EE); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
.social-icon.youtube { background: linear-gradient(135deg, #FF0000, #cc0000); box-shadow: 0 4px 15px rgba(255, 0, 0, 0.3); }
.social-icon.twitter { background: linear-gradient(135deg, #1a1a1a, #333); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }
.social-icon.github { background: linear-gradient(135deg, #333, #24292e); box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3); }

/* Profile Actions - ULTRAMAX PRO */
.profile-actions {
    display: flex;
    gap: 12px;
    margin-top: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

@media (min-width: 768px) {
    .profile-actions {
        margin-top: 0;
        margin-left: auto;
        padding-top: 60px;
        flex-direction: column;
    }
}

@media (min-width: 1024px) {
    .profile-actions {
        flex-direction: row;
    }
}

/* Buttons - ULTRAMAX PRO */
.btn-primary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    background: var(--gradient-primary);
    color: white;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    box-shadow: var(--shadow-premium);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.3) 50%, transparent 100%);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.btn-primary::after {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: inherit;
    z-index: -1;
    filter: blur(15px);
    opacity: 0.5;
    transition: opacity 0.4s ease;
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.03);
    box-shadow: 0 20px 50px -10px rgba(var(--primary-rgb), 0.5);
    color: white;
}

.btn-primary:hover::before {
    transform: translateX(100%);
}

.btn-primary:hover::after {
    opacity: 0.8;
}

.btn-primary svg {
    width: 18px;
    height: 18px;
}

.btn-secondary {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 700;
    background: var(--glass-bg);
    border: 2px solid var(--glass-border);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    color: var(--foreground-hex);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.btn-secondary:hover {
    background: var(--muted-hex);
    transform: translateY(-2px) scale(1.02);
    box-shadow: var(--shadow-card);
    border-color: rgba(var(--primary-rgb), 0.3);
}

.btn-secondary svg {
    width: 18px;
    height: 18px;
}

/* Navigation Tabs - ULTRAMAX PRO */
.nav-tabs {
    display: flex;
    gap: 10px;
    margin-top: 32px;
    padding-top: 24px;
    border-top: 1px solid var(--border-hex);
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    flex-wrap: wrap;
}

.nav-tabs::-webkit-scrollbar {
    display: none;
}

.nav-tab {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted-foreground);
    text-decoration: none;
    border-radius: var(--radius);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    white-space: nowrap;
    position: relative;
    animation: fade-slide-up 0.5s ease forwards;
    opacity: 0;
    background: var(--muted-hex);
}

@keyframes fade-slide-up {
    from {
        opacity: 0;
        transform: translateY(10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.nav-tab svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
    transition: all 0.3s;
}

.nav-tab:hover {
    color: var(--primary-hex);
    background-color: rgba(var(--primary-rgb), 0.1);
    transform: translateY(-2px) scale(1.01);
    box-shadow: var(--shadow-card);
}

.nav-tab:hover svg {
    opacity: 1;
}

.nav-tab.active {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-premium);
    transform: scale(1.02);
}

.nav-tab.active::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, transparent 0%, rgba(255,255,255,0.2) 50%, transparent 100%);
    animation: shimmer 2s infinite;
    border-radius: inherit;
}

@keyframes shimmer {
    to { transform: translateX(100%); }
}

.nav-tab.active svg {
    opacity: 1;
}

/* ============================================
   Widget Cards - ULTRAMAX PRO
============================================ */
.widget-card {
    background-color: var(--card-hex);
    border-radius: var(--radius-lg);
    padding: 24px;
    border: 1px solid var(--border-hex);
    box-shadow: var(--shadow-card);
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.widget-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
}

.widget-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-premium);
}

.widget-card:hover::before {
    opacity: 1;
}

.sidebar-title {
    font-size: 13px;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.15em;
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 16px;
    margin-bottom: 20px;
    position: relative;
    color: var(--foreground-hex);
    font-family: 'Space Grotesk', 'Inter', sans-serif;
}

.sidebar-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 70px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 4px;
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.3);
}

.sidebar-title svg {
    width: 20px;
    height: 20px;
    color: var(--primary-hex);
}

/* Widget Header - ULTRAMAX PRO */
.widget-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 16px;
}

.widget-header .sidebar-title {
    margin-bottom: 0;
    padding-bottom: 0;
}

.widget-header .sidebar-title::after {
    display: none;
}

.widget-header .view-all {
    font-size: 12px;
    font-weight: 600;
    color: var(--primary-hex);
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.3s;
    text-decoration: none;
}

.widget-header .view-all:hover {
    text-decoration: underline;
}

.widget-header .view-all svg {
    width: 14px;
    height: 14px;
    transition: transform 0.3s;
}

.widget-header .view-all:hover svg {
    transform: translateX(4px);
}

/* About Highlights - ULTRAMAX PRO */
.about-highlights {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    font-size: 14px;
    padding: 12px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    cursor: default;
}

.highlight-item:hover {
    background: var(--muted-hex);
}

.highlight-item .icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--accent-rgb), 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    transition: transform 0.3s;
}

.highlight-item:hover .icon-wrap {
    transform: scale(1.1);
}

.highlight-item .icon-wrap svg {
    width: 16px;
    height: 16px;
}

.highlight-item .text {
    font-weight: 500;
    color: var(--foreground-hex);
    line-height: 1.5;
    padding-top: 6px;
}

.btn-view-more {
    width: 100%;
    margin-top: 16px;
    padding: 12px;
    font-size: 14px;
    font-weight: 600;
    color: var(--primary-hex);
    text-align: center;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s ease;
}

.btn-view-more:hover {
    background: rgba(var(--primary-rgb), 0.05);
}

.btn-view-more svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.btn-view-more:hover svg {
    transform: translateX(4px);
}

/* Gallery Grid - ULTRAMAX PRO */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.gallery-item {
    aspect-ratio: 1;
    border-radius: var(--radius);
    overflow: hidden;
    position: relative;
    cursor: pointer;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.gallery-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(var(--primary-rgb), 0.5), transparent);
    opacity: 0;
    transition: opacity 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-item:hover img {
    transform: scale(1.15);
}

.gallery-item:hover::after {
    opacity: 1;
}

.gallery-item .sparkle-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    opacity: 0;
    transition: opacity 0.3s;
    z-index: 1;
    animation: bounce-soft 1s ease-in-out infinite;
}

.gallery-item:hover .sparkle-icon {
    opacity: 1;
}

/* Top Users Grid - ULTRAMAX PRO - Fixed name truncation */
.top-users-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.top-user-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    cursor: pointer;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.top-user-item:hover {
    transform: translateY(-4px);
}

.top-user-item .avatar {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    padding: 2px;
    background: var(--gradient-primary);
    margin-bottom: 6px;
    position: relative;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
    transition: all 0.4s;
}

.top-user-item:hover .avatar {
    transform: scale(1.1);
}

.top-user-item .avatar::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    filter: blur(8px);
    opacity: 0.4;
}

.top-user-item .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-hex);
}

.top-user-item .crown-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #fbbf24, #f97316);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.5);
}

.top-user-item .crown-badge svg {
    width: 12px;
    height: 12px;
    color: white;
}

.top-user-item .silver-badge {
    position: absolute;
    top: -4px;
    right: -4px;
    width: 24px;
    height: 24px;
    background: linear-gradient(135deg, #9ca3af, #6b7280);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 8px rgba(107, 114, 128, 0.5);
}

.top-user-item .silver-badge svg {
    width: 12px;
    height: 12px;
    color: white;
}

.top-user-item .name {
    font-size: 11px;
    font-weight: 600;
    color: var(--foreground-hex);
    transition: color 0.3s;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
    padding: 0 2px;
}

.top-user-item:hover .name {
    color: var(--primary-hex);
}

/* Comments List - ULTRAMAX PRO */
.comments-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.comment-item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-decoration: none;
}

.comment-item:hover {
    background: var(--muted-hex);
}

.comment-item .avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    padding: 2px;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.comment-item .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-hex);
}

.comment-item .content {
    flex: 1;
    min-width: 0;
}

.comment-item .author {
    font-size: 14px;
    font-weight: 700;
    color: var(--primary-hex);
    margin-bottom: 4px;
}

.comment-item:hover .author {
    text-decoration: underline;
}

.comment-item .text {
    font-size: 13px;
    color: var(--muted-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Courses List - ULTRAMAX PRO */
.courses-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.course-item {
    display: flex;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-decoration: none;
}

.course-item:hover {
    background: var(--muted-hex);
}

.course-item .thumbnail {
    width: 96px;
    height: 64px;
    border-radius: var(--radius-sm);
    overflow: hidden;
    flex-shrink: 0;
    position: relative;
}

.course-item .thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.course-item:hover .thumbnail img {
    transform: scale(1.15);
}

.course-item .thumbnail::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--primary-rgb), 0.3);
    opacity: 0;
    transition: opacity 0.3s;
}

.course-item:hover .thumbnail::after {
    opacity: 1;
}

.course-item .info {
    flex: 1;
    min-width: 0;
}

.course-item .title {
    font-size: 13px;
    font-weight: 700;
    color: var(--foreground-hex);
    line-height: 1.4;
    margin-bottom: 8px;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.course-item:hover .title {
    color: var(--primary-hex);
}

.course-item .price-row {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.course-item .price {
    font-size: 13px;
    font-weight: 800;
}

.course-item .price.free {
    color: #22c55e;
}

.course-item .price.paid {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.course-item .old-price {
    font-size: 11px;
    font-weight: 400;
    color: var(--muted-foreground);
    text-decoration: line-through;
    opacity: 0.6;
}

/* ============================================
   Post Cards - ULTRAMAX PRO
============================================ */
.post-card {
    background-color: var(--card-hex);
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-hex);
    box-shadow: var(--shadow-card);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.post-card::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: inherit;
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 1;
}

.post-card:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: var(--shadow-premium);
}

.post-card:hover::before {
    opacity: 1;
}

/* Category Badge - ULTRAMAX PRO */
.category-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.35);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}

.category-badge svg {
    width: 12px;
    height: 12px;
}

.category-badge-outline {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 14px;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    border-radius: 20px;
    background: transparent;
    color: var(--primary-hex);
    border: 2px solid rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 2px 10px rgba(var(--primary-rgb), 0.15);
}

.category-badge-outline svg {
    width: 12px;
    height: 12px;
}

/* Number Badge - ULTRAMAX PRO */
.number-badge {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
    flex-shrink: 0;
}

/* Most Viewed List - ULTRAMAX PRO */
.most-viewed-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.most-viewed-list .item {
    display: flex;
    align-items: flex-start;
    gap: 16px;
    padding: 12px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
}

.most-viewed-list .item:hover {
    background: var(--muted-hex);
}

.most-viewed-list .item .rank {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 4px 12px rgba(var(--primary-rgb), 0.4);
    flex-shrink: 0;
}

.most-viewed-list .item .title {
    flex: 1;
    font-size: 13px;
    font-weight: 600;
    color: var(--foreground-hex);
    line-height: 1.5;
    transition: color 0.3s;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.most-viewed-list .item:hover .title {
    color: var(--primary-hex);
}

.most-viewed-list .item .views {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 12px;
    color: var(--muted-foreground);
    margin-top: 6px;
}

.most-viewed-list .item .views svg {
    width: 14px;
    height: 14px;
    color: var(--primary-hex);
}

/* Play Button - ULTRAMAX PRO */
.play-button {
    width: 64px;
    height: 64px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
    box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
}

.play-button::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-primary);
    border-radius: 50%;
    z-index: -1;
    filter: blur(20px);
    opacity: 0.6;
}

.play-button:hover {
    transform: scale(1.2);
    box-shadow: 0 15px 50px rgba(var(--primary-rgb), 0.6);
}

.play-button svg {
    width: 24px;
    height: 24px;
    color: white;
    fill: white;
    margin-left: 4px;
}

/* Shimmer Effect - ULTRAMAX PRO */
.shimmer {
    position: relative;
    overflow: hidden;
}

.shimmer::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: translateX(-100%);
    animation: shimmer 2.5s infinite;
}

/* Image Overlay - ULTRAMAX PRO */
.image-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 30%, rgba(0,0,0,0.85) 100%);
}

.image-overlay-premium {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, rgba(var(--primary-rgb), 0.1) 0%, transparent 30%, rgba(0,0,0,0.9) 100%);
}

/* Hover Underline - ULTRAMAX PRO */
.hover-underline {
    position: relative;
}

.hover-underline::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 3px;
    background: var(--gradient-primary);
    transition: width 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    border-radius: 2px;
}

.hover-underline:hover::after {
    width: 100%;
}

/* Gradient Text - ULTRAMAX PRO */
.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Glass Card - ULTRAMAX PRO */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    -webkit-backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    border-radius: var(--radius);
}

/* ============================================
   Animations - ULTRAMAX PRO
============================================ */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(40px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.animate-fade-in {
    animation: fadeIn 0.5s ease-out forwards;
    opacity: 0;
}

.animate-slide-up {
    animation: slideUp 0.6s ease-out;
}

.animate-slide-in-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-in-right {
    animation: slideInRight 0.6s ease-out;
}

/* Staggered Animations */
.stagger-1 { animation-delay: 0.05s; }
.stagger-2 { animation-delay: 0.1s; }
.stagger-3 { animation-delay: 0.15s; }
.stagger-4 { animation-delay: 0.2s; }
.stagger-5 { animation-delay: 0.25s; }
.stagger-6 { animation-delay: 0.3s; }
.stagger-7 { animation-delay: 0.35s; }
.stagger-8 { animation-delay: 0.4s; }

/* ============================================
   Footer - ULTRAMAX PRO
============================================ */
.site-footer {
    background: var(--gradient-dark);
    color: white;
    padding: 60px 0 32px;
    margin-top: 48px;
}

.footer-container {
    max-width: 1440px;
    margin: 0 auto;
    padding: 0 24px;
}

.footer-top {
    padding-bottom: 40px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(1, 1fr);
    gap: 32px;
}

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1.5fr;
    }
}

.footer-brand .logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-brand .logo-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 900;
    color: white;
}

.footer-brand .logo-text {
    font-size: 1.5rem;
    font-weight: 900;
}

.footer-brand .logo-text .huy {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-brand .description {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.7;
    margin-bottom: 20px;
}

.footer-social {
    display: flex;
    gap: 10px;
}

.footer-title {
    font-size: 14px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 12px;
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 3px;
    background: var(--gradient-primary);
    border-radius: 3px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.footer-links a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 8px;
}

.footer-links a:hover {
    color: var(--primary-hex);
    transform: translateX(4px);
}

.footer-newsletter {
    margin-top: 16px;
}

.footer-newsletter form {
    display: flex;
    gap: 8px;
}

.footer-newsletter input {
    flex: 1;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
}

.footer-newsletter input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-newsletter button {
    padding: 12px 20px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-premium);
    transition: all 0.3s;
}

.footer-newsletter button:hover {
    transform: translateY(-2px);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid rgba(255,255,255,0.1);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    text-align: center;
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

.footer-bottom .copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom .made-with {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
}

.footer-bottom .made-with .heart {
    color: #ef4444;
}

.footer-badges {
    display: flex;
    gap: 12px;
}

.footer-badges .badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

.footer-badges .badge svg {
    width: 14px;
    height: 14px;
}

/* Footer Complete Styles - Match footer.php */
.footer-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    margin-bottom: 20px;
}

.footer-logo-icon {
    width: 44px;
    height: 44px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.footer-logo-icon span {
    font-size: 1.35rem;
    font-weight: 900;
    color: white;
}

.footer-logo-text {
    display: flex;
    flex-direction: column;
}

.footer-logo-name {
    display: flex;
    align-items: center;
}

.footer-logo-name .logo-huy {
    font-size: 1.25rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-logo-name .logo-kira {
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
}

.footer-logo-tagline {
    font-size: 11px;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin: 0;
}

.footer-column {
    min-width: 0;
}

.footer-menu {
    display: flex;
    flex-direction: column;
    gap: 12px;
    list-style: none;
    margin: 0;
    padding: 0;
}

.footer-menu li a {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    text-decoration: none;
    transition: all 0.3s;
    display: inline-block;
}

.footer-menu li a:hover {
    color: var(--primary-hex);
    transform: translateX(4px);
}

.footer-social-icon {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    transition: all 0.3s;
}

.footer-social-icon:hover {
    transform: translateY(-3px);
    opacity: 0.85;
}

.footer-newsletter-desc {
    font-size: 14px;
    color: rgba(255,255,255,0.7);
    line-height: 1.6;
    margin-bottom: 16px;
}

.footer-newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-newsletter-form input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid rgba(255,255,255,0.2);
    background: rgba(255,255,255,0.1);
    color: white;
    font-size: 14px;
}

.footer-newsletter-form input::placeholder {
    color: rgba(255,255,255,0.5);
}

.footer-newsletter-btn {
    width: 100%;
    padding: 12px 20px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    font-size: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.3s;
    box-shadow: var(--shadow-premium);
}

.footer-newsletter-btn:hover {
    transform: translateY(-2px);
}

.footer-copyright {
    font-size: 13px;
    color: rgba(255,255,255,0.6);
    margin: 0;
}

.footer-copyright-name {
    color: var(--primary-hex);
    font-weight: 600;
}

.footer-heart {
    color: #ef4444;
    fill: #ef4444;
    display: inline-block;
    vertical-align: middle;
    margin: 0 2px;
}

.footer-badge {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.1);
    border-radius: 20px;
    font-size: 11px;
    color: rgba(255,255,255,0.7);
}

/* ============================================
   Mobile Navigation - Hidden by Default
============================================ */
.mobile-nav-overlay {
    display: none;
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.5);
    z-index: 998;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.mobile-nav-overlay.active {
    display: block;
    opacity: 1;
}

.mobile-navigation {
    position: fixed;
    top: 0;
    left: -300px;
    width: 280px;
    height: 100vh;
    background-color: var(--card-hex);
    z-index: 999;
    transition: left 0.3s ease;
    box-shadow: var(--shadow-xl);
    overflow-y: auto;
}

.mobile-navigation.active {
    left: 0;
}

.mobile-nav-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px;
    border-bottom: 1px solid var(--border-hex);
}

.mobile-nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
}

.mobile-nav-logo .logo-text {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--gradient-primary);
}

.mobile-nav-logo .logo-text .logo-h {
    font-size: 1.25rem;
    font-weight: 900;
    color: white;
}

.mobile-nav-logo .logo-brand {
    display: flex;
    gap: 2px;
}

.mobile-nav-logo .logo-brand .logo-h {
    font-size: 1.125rem;
    font-weight: 900;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.mobile-nav-logo .logo-brand .logo-k {
    font-size: 1.125rem;
    font-weight: 900;
    color: var(--foreground-hex);
}

.mobile-nav-close {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--muted-foreground);
    transition: all 0.3s;
}

.mobile-nav-close:hover {
    background: var(--muted-hex);
    color: var(--foreground-hex);
}

.mobile-nav-content {
    padding: 16px;
}

.mobile-nav-menu {
    list-style: none;
    margin: 0;
    padding: 0;
}

.mobile-nav-menu li {
    margin-bottom: 4px;
}

.mobile-nav-menu a {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--foreground-hex);
    text-decoration: none;
    transition: all 0.3s;
}

.mobile-nav-menu a:hover,
.mobile-nav-menu a.active {
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-hex);
}

.mobile-nav-menu a svg {
    width: 18px;
    height: 18px;
    flex-shrink: 0;
}

.mobile-nav-social {
    display: flex;
    gap: 10px;
    margin-top: 24px;
    padding-top: 24px;
    border-top: 1px solid var(--border-hex);
}

body.menu-open {
    overflow: hidden;
}

/* ============================================
   Responsive Utilities
============================================ */
@media (max-width: 1023px) {
    .sidebar-left,
    .sidebar-right {
        display: none;
    }
}

.sr-only {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

/* ============================================
   Quick Links Grid - Fixed Layout
============================================ */
.quick-links-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

@media (min-width: 768px) {
    .quick-links-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 16px;
    }
}

.quick-link-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    aspect-ratio: 4/3;
    display: block;
}

.quick-link-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.quick-link-card:hover img {
    transform: scale(1.1);
}

.quick-link-card .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 0%, transparent 40%, rgba(0,0,0,0.8) 100%);
}

.quick-link-card .title {
    position: absolute;
    bottom: 10px;
    left: 10px;
    right: 10px;
    font-size: 11px;
    font-weight: 600;
    color: white;
    line-height: 1.3;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Content Tabs */
.content-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 16px;
}

.content-tab {
    padding: 8px 16px;
    border-radius: var(--radius);
    font-size: 13px;
    font-weight: 500;
    color: var(--muted-foreground);
    background: var(--muted-hex);
    text-decoration: none;
}

.content-tab.active {
    background: var(--primary-hex);
    color: white;
}

/* Comment Input Box */
.comment-input-box input {
    width: 100%;
    padding: 12px 16px;
    border-radius: var(--radius);
    border: 1px solid var(--border-hex);
    background: var(--muted-hex);
    font-size: 14px;
}

/* Post Cards Layout */
.post-card {
    background: var(--card-hex);
    border-radius: var(--radius);
    border: 1px solid var(--border-hex);
    overflow: hidden;
    margin-bottom: 16px;
}

.post-card-featured {
    padding: 20px;
}

.post-card-featured .post-title {
    font-size: 1.125rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.post-card-featured .post-title a {
    color: var(--foreground-hex);
    text-decoration: none;
}

.post-card-featured .post-meta {
    display: flex;
    gap: 12px;
    font-size: 12px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.post-card-featured .post-thumbnail {
    border-radius: var(--radius);
    overflow: hidden;
    margin-bottom: 16px;
}

.post-card-featured .post-thumbnail img {
    width: 100%;
    height: 256px;
    object-fit: cover;
}

.post-card-featured .post-excerpt {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.post-card-featured .post-footer {
    display: flex;
    justify-content: space-between;
    padding-top: 16px;
    border-top: 1px solid var(--border-hex);
}

.post-card-featured .post-actions {
    display: flex;
    gap: 12px;
}

.post-card-featured .action-btn {
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 8px 12px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--muted-foreground);
    background: var(--muted-hex);
    border: none;
    cursor: pointer;
}

/* Horizontal Post Card */
.post-card-horizontal {
    display: flex;
    gap: 16px;
    padding: 16px;
}

.post-card-horizontal .post-thumbnail {
    flex-shrink: 0;
    width: 120px;
    height: 80px;
    border-radius: var(--radius);
    overflow: hidden;
}

.post-card-horizontal .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-horizontal .post-content {
    flex: 1;
    min-width: 0;
}

.post-card-horizontal .post-title {
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 8px;
}

.post-card-horizontal .post-title a {
    color: var(--foreground-hex);
    text-decoration: none;
}

.post-card-horizontal .post-meta {
    display: flex;
    gap: 10px;
    font-size: 12px;
    color: var(--muted-foreground);
}

.post-card-horizontal .post-meta .category-badge {
    padding: 2px 8px;
    border-radius: 4px;
    background: rgba(var(--primary-rgb), 0.1);
    color: var(--primary-hex);
    font-size: 11px;
    font-weight: 600;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
}

@media (min-width: 768px) {
    .posts-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

.post-card-grid {
    background: var(--card-hex);
    border-radius: var(--radius);
    border: 1px solid var(--border-hex);
    overflow: hidden;
}

.post-card-grid .post-thumbnail {
    position: relative;
    aspect-ratio: 16/10;
    overflow: hidden;
}

.post-card-grid .post-thumbnail img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.post-card-grid .post-thumbnail .category-badge {
    position: absolute;
    top: 8px;
    left: 8px;
    padding: 4px 8px;
    border-radius: 4px;
    background: var(--primary-hex);
    color: white;
    font-size: 10px;
    font-weight: 600;
}

.post-card-grid .post-content {
    padding: 12px;
}

.post-card-grid .post-title {
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 8px;
}

.post-card-grid .post-title a {
    color: var(--foreground-hex);
    text-decoration: none;
}

.post-card-grid .post-meta {
    display: flex;
    gap: 8px;
    font-size: 11px;
    color: var(--muted-foreground);
}

/* Section Header - Fixed Alignment */
.section-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 20px;
}

.section-header .indicator {
    width: 4px;
    height: 22px;
    background: var(--gradient-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--foreground-hex);
    margin: 0;
    line-height: 1;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-top: 24px;
}

.pagination a,
.pagination span {
    padding: 8px 14px;
    border-radius: var(--radius);
    font-size: 13px;
    color: var(--muted-foreground);
    background: var(--muted-hex);
    text-decoration: none;
}

.pagination .current {
    background: var(--primary-hex);
    color: white;
}

/* ============================================
   Featured Post - ULTRAMAX PRO
============================================ */
.featured-post {
    position: relative;
}

.featured-post .floating-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.featured-post .action-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    background: var(--glass-bg);
    backdrop-filter: blur(var(--glass-blur));
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: all 0.3s;
}

.featured-post .action-btn:hover {
    transform: scale(1.1);
    background: rgba(255,255,255,0.3);
}

.featured-post .action-btn svg {
    width: 18px;
    height: 18px;
}

/* Post Meta Actions - ULTRAMAX PRO */
.post-actions {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 20px;
    border-top: 1px solid var(--border-hex);
}

.post-actions .left-actions {
    display: flex;
    align-items: center;
    gap: 16px;
}

.post-actions .action-item {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 14px;
    color: var(--muted-foreground);
    transition: all 0.3s;
    cursor: pointer;
}

.post-actions .action-item:hover {
    color: var(--primary-hex);
}

.post-actions .action-item .icon-wrap {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--muted-hex);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.post-actions .action-item:hover .icon-wrap {
    background: rgba(var(--primary-rgb), 0.1);
}

.post-actions .action-item svg {
    width: 16px;
    height: 16px;
    transition: transform 0.3s;
}

.post-actions .action-item:hover svg {
    transform: scale(1.1);
}

.post-actions .action-item span {
    font-weight: 500;
}

/* ============================================
   Input Premium - ULTRAMAX PRO
============================================ */
.input-premium {
    width: 100%;
    padding: 16px 20px;
    border-radius: var(--radius);
    border: 2px solid transparent;
    background: var(--muted-hex);
    font-size: 14px;
    color: var(--foreground-hex);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.input-premium:focus {
    outline: none;
    background: var(--card-hex);
    border-color: rgba(var(--primary-rgb), 0.5);
    box-shadow: 0 0 0 4px rgba(var(--primary-rgb), 0.1), var(--shadow-card);
}

.input-premium::placeholder {
    color: var(--muted-foreground);
}

/* Comment Box - ULTRAMAX PRO */
.comment-box {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px;
    background: var(--card-hex);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-hex);
    box-shadow: var(--shadow-lg);
}

.comment-box .avatar {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    padding: 2px;
    background: var(--gradient-primary);
    flex-shrink: 0;
}

.comment-box .avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--card-hex);
}

.comment-box .input-wrap {
    flex: 1;
}

.comment-box .send-btn {
    padding: 12px 20px;
    border-radius: var(--radius);
    background: var(--gradient-primary);
    color: white;
    font-weight: 600;
    box-shadow: var(--shadow-premium);
    display: flex;
    align-items: center;
    gap: 8px;
    transition: all 0.3s;
}

.comment-box .send-btn:hover {
    transform: translateY(-2px) scale(1.02);
}

/* Section Header - ULTRAMAX PRO - Fixed to align left */
.section-header {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    gap: 12px;
    margin-bottom: 24px;
}

.section-header .indicator {
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
    flex-shrink: 0;
}

.section-header h2 {
    font-size: 1rem;
    font-weight: 800;
    text-transform: uppercase;
    color: var(--foreground-hex);
    margin: 0;
    line-height: 1;
}

.section-title {
    display: flex;
    align-items: center;
    gap: 16px;
    font-size: 1.5rem;
    font-weight: 900;
    color: var(--foreground-hex);
}

.section-title .accent-bar {
    width: 8px;
    height: 40px;
    background: linear-gradient(180deg, var(--primary-hex), var(--accent-hex));
    border-radius: 4px;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.section-title svg {
    width: 24px;
    height: 24px;
    color: var(--primary-hex);
}

/* ============================================
   Ads Section - ULTRAMAX PRO
============================================ */
.ads-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ad-item {
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-hex);
    position: relative;
    display: block;
}

.ad-item img {
    width: 100%;
    height: 128px;
    object-fit: cover;
    transition: transform 0.7s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.ad-item:hover img {
    transform: scale(1.15);
}

.ad-item::after {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(var(--primary-rgb), 0.25);
    opacity: 0;
    transition: opacity 0.5s;
}

.ad-item:hover::after {
    opacity: 1;
}

/* Video Widget - ULTRAMAX PRO */
.video-widget {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
}

.video-widget img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.video-widget:hover img {
    transform: scale(1.15);
}

.video-widget .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.video-widget:hover .overlay {
    background: linear-gradient(to top, rgba(0,0,0,0.5), rgba(0,0,0,0.1));
}

.video-widget .caption {
    position: absolute;
    bottom: 16px;
    left: 16px;
    right: 16px;
    font-size: 14px;
    font-weight: 600;
    color: white;
}

/* Categories List - ULTRAMAX PRO */
.categories-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.category-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px;
    border-radius: var(--radius);
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--foreground-hex);
}

.category-item:hover {
    background: var(--muted-hex);
    color: var(--primary-hex);
}

.category-item .left {
    display: flex;
    align-items: center;
    gap: 12px;
}

.category-item .icon-wrap {
    width: 28px;
    height: 28px;
    border-radius: var(--radius-sm);
    background: linear-gradient(135deg, rgba(var(--primary-rgb), 0.15), rgba(var(--accent-rgb), 0.15));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.category-item:hover .icon-wrap {
    transform: scale(1.1);
}

.category-item .icon-wrap svg {
    width: 14px;
    height: 14px;
    color: var(--primary-hex);
}

.category-item .name {
    font-size: 14px;
    font-weight: 600;
}

.category-item .count {
    font-size: 12px;
    font-weight: 500;
    color: var(--muted-foreground);
    padding: 4px 10px;
    background: var(--muted-hex);
    border-radius: 20px;
    transition: all 0.3s;
}

.category-item:hover .count {
    color: var(--primary-hex);
}

/* Friend Links - ULTRAMAX PRO */
.friend-links {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.friend-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
    text-decoration: none;
}

.friend-link:hover {
    background: var(--muted-hex);
    color: var(--primary-hex);
}

.friend-link svg {
    width: 16px;
    height: 16px;
    color: var(--primary-hex);
    opacity: 0;
    transition: opacity 0.3s;
}

.friend-link:hover svg {
    opacity: 1;
}

/* Projects Links - ULTRAMAX PRO */
.projects-list {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.project-link {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px;
    border-radius: var(--radius);
    font-size: 14px;
    font-weight: 500;
    color: var(--muted-foreground);
    transition: all 0.3s ease;
    text-decoration: none;
}

.project-link:hover {
    background: var(--muted-hex);
    color: var(--primary-hex);
}

.project-link svg {
    width: 16px;
    height: 16px;
    color: var(--primary-hex);
    opacity: 0;
    transition: opacity 0.3s;
}

.project-link:hover svg {
    opacity: 1;
}

/* WordPress Course Ad - ULTRAMAX PRO */
.wp-course-ad {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    display: block;
}

.wp-course-ad img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 1s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.wp-course-ad:hover img {
    transform: scale(1.15);
}

.wp-course-ad .overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.95), rgba(0,0,0,0.5), transparent);
}

.wp-course-ad .accent-overlay {
    position: absolute;
    inset: 0;
    background: rgba(var(--primary-rgb), 0.25);
    opacity: 0;
    transition: opacity 0.5s;
}

.wp-course-ad:hover .accent-overlay {
    opacity: 1;
}

.wp-course-ad .content {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 20px;
}

.wp-course-ad .title {
    font-size: 1rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 6px;
}

.wp-course-ad .subtitle {
    font-size: 14px;
    font-weight: 500;
    color: rgba(255,255,255,0.8);
}

/* ============================================
   COMPACT STYLES - Match React Demo
============================================ */

/* Hero Profile Compact */
.hero-profile.compact {
    margin-bottom: 20px;
    border-radius: 16px;
}

.hero-profile.compact .cover-photo {
    height: 160px;
}

@media (min-width: 768px) {
    .hero-profile.compact .cover-photo {
        height: 200px;
    }
}

.hero-profile.compact .cover-text {
    display: none;
}

.hero-profile.compact .pro-badge {
    position: absolute;
    top: 16px;
    left: 16px;
    display: flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255,255,255,0.15);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 12px;
    color: white;
    font-size: 11px;
    font-weight: 700;
}

.hero-profile.compact .pro-badge svg {
    color: var(--primary-hex);
}

.hero-profile.compact .profile-info {
    padding: 16px 20px 20px;
}

.hero-profile.compact .profile-avatar-wrapper.compact {
    margin-top: -48px;
}

.hero-profile.compact .profile-avatar-wrapper.compact .profile-avatar {
    width: 96px;
    height: 96px;
    border: 4px solid var(--card-hex);
    box-shadow: 0 4px 20px rgba(0,0,0,0.15);
}

@media (min-width: 768px) {
    .hero-profile.compact .profile-avatar-wrapper.compact .profile-avatar {
        width: 112px;
        height: 112px;
    }
}

.hero-profile.compact .profile-avatar-wrapper.compact .online-indicator {
    width: 20px;
    height: 20px;
    bottom: 8px;
    right: 8px;
    border-width: 3px;
}

.hero-profile.compact .profile-name h1 {
    font-size: 1.5rem;
}

.hero-profile.compact .profile-name .nickname {
    font-size: 14px;
}

.hero-profile.compact .profile-name .verified-badge {
    width: 20px;
    height: 20px;
}

.hero-profile.compact .member-count.inline {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 13px;
    margin-bottom: 12px;
}

.hero-profile.compact .member-count.inline .count-item {
    display: flex;
    align-items: center;
    gap: 6px;
}

.hero-profile.compact .member-count.inline .count-item svg {
    color: var(--primary-hex);
}

.hero-profile.compact .member-count.inline .separator {
    color: var(--muted-foreground);
}

/* Social Icons Compact */
.social-icons.compact {
    gap: 8px;
}

.social-icons.compact .social-icon {
    width: 32px;
    height: 32px;
    border-radius: 8px;
}

.social-icons.compact .social-icon svg {
    width: 14px;
    height: 14px;
}

/* Action Buttons Compact */
.profile-actions.compact {
    gap: 8px;
}

.profile-actions.compact .btn-secondary.compact {
    padding: 8px 16px;
    border-radius: 12px;
    font-size: 13px;
    gap: 6px;
}

.profile-actions.compact .btn-primary.pulse {
    padding: 8px 20px;
    border-radius: 12px;
    font-size: 13px;
    gap: 6px;
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { box-shadow: 0 4px 20px rgba(var(--primary-rgb), 0.3); }
    50% { box-shadow: 0 8px 30px rgba(var(--primary-rgb), 0.5); }
}

/* Nav Tabs Compact */
.nav-tabs.compact {
    gap: 8px;
    padding-top: 16px;
    margin-top: 16px;
    border-top: 1px solid var(--border-hex);
}

.nav-tabs.compact .nav-tab {
    padding: 8px 16px;
    font-size: 13px;
    border-radius: 12px;
}

.nav-tabs.compact .nav-tab.active {
    background: var(--primary-hex);
    color: white;
    box-shadow: 0 4px 15px rgba(var(--primary-rgb), 0.3);
}

.nav-tabs.compact .nav-tab:not(.active) {
    background: var(--muted-hex);
    color: var(--muted-foreground);
}

.nav-tabs.compact .nav-tab:not(.active):hover {
    background: var(--secondary-hex);
    color: var(--foreground-hex);
}

/* Widget Card Compact */
.widget-card.compact {
    padding: 16px;
    border-radius: 12px;
    margin-bottom: 16px;
}

/* Sidebar Title Compact */
.sidebar-title.compact {
    font-size: 12px;
    gap: 8px;
    padding-bottom: 12px;
    margin-bottom: 12px;
}

.sidebar-title.compact.no-border {
    padding-bottom: 0;
    margin-bottom: 0;
}

.sidebar-title.compact.no-border::after {
    display: none;
}

.sidebar-title.compact svg {
    color: var(--primary-hex);
}

/* About Description */
.about-desc {
    font-size: 12px;
    color: var(--muted-foreground);
    margin-bottom: 12px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Highlights Compact */
.highlights-list.compact {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.highlights-list.compact .highlight-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 11px;
    padding: 8px;
    border-radius: 8px;
    transition: background 0.2s;
}

.highlights-list.compact .highlight-item:hover {
    background: var(--muted-hex);
}

.highlights-list.compact .highlight-icon {
    width: 28px;
    height: 28px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

/* Widget Header Compact - inherits from main widget-header */

/* Gallery Compact */
.gallery-grid.compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 6px;
}

.gallery-item.compact {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-item.compact img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.gallery-item.compact:hover img {
    transform: scale(1.1);
}

/* Top Users Compact - Fixed name truncation */
.top-users-grid.compact {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.top-user-item.compact {
    text-align: center;
    padding: 4px;
}

.top-user-item.compact .avatar {
    width: 44px;
    height: 44px;
    margin: 0 auto 4px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(var(--primary-rgb), 0.3);
    transition: border-color 0.2s;
}

.top-user-item.compact:hover .avatar {
    border-color: var(--primary-hex);
}

.top-user-item.compact .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.top-user-item.compact .name {
    font-size: 10px;
    font-weight: 500;
    color: var(--foreground-hex);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 100%;
    display: block;
}

.top-user-item.compact:hover .name {
    color: var(--primary-hex);
}

/* Comment Item Compact */
.comment-item.compact {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 8px;
    text-decoration: none;
    transition: background 0.2s;
}

.comment-item.compact:hover {
    background: var(--muted-hex);
}

.comment-item.compact .comment-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
}

.comment-item.compact .comment-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.comment-item.compact .comment-content {
    flex: 1;
    min-width: 0;
}

.comment-item.compact .comment-author {
    font-size: 11px;
    font-weight: 600;
    color: var(--primary-hex);
    margin-bottom: 2px;
}

.comment-item.compact .comment-text {
    font-size: 11px;
    color: var(--muted-foreground);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Course Item Compact */
.course-item.compact {
    display: flex;
    gap: 12px;
    padding: 8px;
    border-radius: 8px;
    margin-bottom: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.course-item.compact:hover {
    background: var(--muted-hex);
}

.course-item.compact .course-thumb {
    width: 80px;
    height: 56px;
    border-radius: 8px;
    overflow: hidden;
    flex-shrink: 0;
}

.course-item.compact .course-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.course-item.compact:hover .course-thumb img {
    transform: scale(1.05);
}

.course-item.compact .course-info {
    flex: 1;
    min-width: 0;
}

.course-item.compact .course-title {
    font-size: 11px;
    font-weight: 600;
    color: var(--foreground-hex);
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    margin-bottom: 4px;
}

.course-item.compact:hover .course-title {
    color: var(--primary-hex);
}

.course-item.compact .course-price {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.course-item.compact .course-price .current-price {
    font-size: 12px;
    font-weight: 700;
    color: var(--primary-hex);
}

.course-item.compact .course-price.free .current-price {
    color: #22c55e;
}

.course-item.compact .course-price .old-price {
    font-size: 10px;
    font-weight: 400;
    color: var(--muted-foreground);
    text-decoration: line-through;
    opacity: 0.7;
}

/* Course Ad Compact */
.course-ad-card.compact {
    display: block;
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 16px;
    text-decoration: none;
}

.course-ad-card.compact .course-ad-image {
    position: relative;
}

.course-ad-card.compact .course-ad-image img {
    width: 100%;
    height: 128px;
    object-fit: cover;
    transition: transform 0.5s;
}

.course-ad-card.compact:hover .course-ad-image img {
    transform: scale(1.05);
}

.course-ad-card.compact .course-ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.3), transparent);
    padding: 16px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.course-ad-card.compact .hot-badge {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    padding: 4px 10px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 8px;
}

.course-ad-card.compact .course-ad-title {
    font-size: 13px;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    margin-bottom: 4px;
}

.course-ad-card.compact .course-ad-subtitle {
    font-size: 12px;
    color: rgba(255,255,255,0.8);
}

/* Categories List Compact */
.categories-list.compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.category-item.compact {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--foreground-hex);
    transition: all 0.2s;
}

.category-item.compact:hover {
    background: var(--muted-hex);
}

.category-item.compact .category-name {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.category-item.compact .category-check {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: rgba(var(--primary-rgb), 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s;
}

.category-item.compact:hover .category-check {
    transform: scale(1.1);
}

.category-item.compact .category-check svg {
    color: var(--primary-hex);
}

.category-item.compact .category-count {
    font-size: 11px;
    color: var(--muted-foreground);
    padding: 4px 10px;
    background: var(--muted-hex);
    border-radius: 20px;
}

.category-item.compact:hover .category-count {
    color: var(--primary-hex);
}

/* Most Viewed Compact */
.most-viewed-list.compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.most-viewed-item.compact {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 10px 12px;
    border-radius: 10px;
    text-decoration: none;
    transition: background 0.2s;
}

.most-viewed-item.compact:hover {
    background: var(--muted-hex);
}

.most-viewed-item.compact .rank {
    width: 24px;
    height: 24px;
    border-radius: 8px;
    background: var(--gradient-primary);
    color: white;
    font-size: 11px;
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.most-viewed-item.compact .title {
    flex: 1;
    font-size: 12px;
    font-weight: 500;
    color: var(--foreground-hex);
    line-height: 1.4;
}

.most-viewed-item.compact:hover .title {
    color: var(--primary-hex);
}

/* Video Thumb Compact */
.video-thumb.compact {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    display: block;
    text-decoration: none;
}

.video-thumb.compact img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    transition: transform 0.5s;
}

.video-thumb.compact:hover img {
    transform: scale(1.05);
}

.video-thumb.compact .video-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.7), rgba(0,0,0,0.2));
    display: flex;
    align-items: center;
    justify-content: center;
}

.video-thumb.compact .play-button {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    background: var(--gradient-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.video-thumb.compact:hover .play-button {
    transform: scale(1.1);
}

.video-thumb.compact .play-button svg {
    color: white;
    margin-left: 2px;
}

.video-thumb.compact .video-title {
    position: absolute;
    bottom: 12px;
    left: 12px;
    right: 12px;
    font-size: 12px;
    font-weight: 500;
    color: white;
}

/* Links List Compact */
.links-list.compact {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.links-list.compact .link-item {
    font-size: 12px;
    color: var(--muted-foreground);
    padding: 8px 12px;
    border-radius: 8px;
    text-decoration: none;
    transition: all 0.2s;
}

.links-list.compact .link-item:hover {
    background: var(--muted-hex);
    color: var(--primary-hex);
}

/* Ads List Compact */
.ads-list.compact {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ad-item.compact {
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid var(--border-hex);
    display: block;
}

.ad-item.compact img {
    width: 100%;
    height: 80px;
    object-fit: cover;
    transition: transform 0.5s;
}

.ad-item.compact:hover img {
    transform: scale(1.05);
}

/* Main Layout Compact */
.main-layout.compact {
    gap: 16px;
    padding: 12px 0;
}

/* Hide sidebars on mobile */
@media (max-width: 767px) {
    .sidebar-left,
    .sidebar-right {
        display: none !important;
    }
    
    .main-layout {
        grid-template-columns: 1fr !important;
    }
}

/* Medium screens */
@media (min-width: 768px) and (max-width: 1279px) {
    .sidebar-left {
        display: none !important;
    }
}

/* Left sidebar vertical text fix */
.sidebar-left .widget-card,
.sidebar-right .widget-card {
    width: 100%;
    min-width: 0;
}

/* Additional styles for reference design */
.member-count {
    font-size: 14px;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}

.about-description {
    font-size: 14px;
    color: var(--foreground-hex);
    margin-bottom: 8px;
    line-height: 1.6;
}

.about-sub {
    font-size: 13px;
    color: var(--muted-foreground);
    margin-bottom: 16px;
}

.gallery-preview {
    display: flex;
    gap: 8px;
    margin: 16px 0;
}

.gallery-preview .gallery-thumb {
    width: 48px;
    height: 48px;
    border-radius: 8px;
    overflow: hidden;
}

.gallery-preview .gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.widget-subtext {
    font-size: 12px;
    color: var(--muted-foreground);
    margin-bottom: 12px;
}

.price-row {
    display: flex;
    align-items: center;
    gap: 8px;
}

.old-price {
    font-size: 11px;
    color: var(--muted-foreground);
    text-decoration: line-through;
}

/* Course Ad Banner - Improved Spacing */
.course-ad-banner {
    display: block;
    border-radius: var(--radius-lg);
    overflow: hidden;
    margin-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.course-ad-banner:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-lg);
}

.course-ad-banner .course-ad-image {
    position: relative;
}

.course-ad-banner .course-ad-image img {
    width: 100%;
    height: 160px;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.course-ad-banner:hover .course-ad-image img {
    transform: scale(1.05);
}

.course-ad-banner .course-ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.92), rgba(0,0,0,0.5), rgba(0,0,0,0.2));
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
}

.course-ad-banner .course-ad-badge {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 5px 12px;
    background: var(--gradient-primary);
    border-radius: 20px;
    color: white;
    font-size: 10px;
    font-weight: 700;
    width: fit-content;
    margin-bottom: 10px;
    box-shadow: 0 2px 8px rgba(var(--primary-rgb), 0.4);
}

.course-ad-banner .course-ad-title {
    font-size: 1.35rem;
    font-weight: 900;
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.02em;
    margin-bottom: 4px;
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.course-ad-banner .course-ad-subtitle {
    font-size: 13px;
    color: rgba(255,255,255,0.85);
    font-weight: 500;
    line-height: 1.4;
}

.ads-section {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ad-banner {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    display: block;
}

.ad-banner img {
    width: 100%;
    height: 80px;
    object-fit: cover;
}

.ad-banner .ad-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to right, rgba(0,0,0,0.7), transparent);
    display: flex;
    align-items: center;
    padding: 0 16px;
}

.ad-banner .ad-text {
    color: white;
    font-size: 13px;
    font-weight: 600;
}

.follow-btn {
    background: var(--gradient-primary) !important;
    animation: pulse-glow 2s infinite;
}