/* PetChampion Portugal - Modern Design System 2025 */
:root {
    /* Primary Brand Colors */
    --primary-50: #eff6ff;
    --primary-100: #dbeafe;
    --primary-200: #bfdbfe;
    --primary-300: #93c5fd;
    --primary-400: #60a5fa;
    --primary-500: #3b82f6;
    --primary-600: #2563eb;
    --primary-700: #1d4ed8;
    --primary-800: #1e40af;
    --primary-900: #1e3a8a;
    
    /* Secondary Colors */
    --secondary-50: #fdf4ff;
    --secondary-500: #a855f7;
    --secondary-600: #9333ea;
    
    /* Success/Warning/Error */
    --success-50: #f0fdf4;
    --success-500: #22c55e;
    --warning-50: #fffbeb;
    --warning-500: #f59e0b;
    --error-50: #fef2f2;
    --error-500: #ef4444;
    
    /* Neutral Scale */
    --gray-50: #f9fafb;
    --gray-100: #f3f4f6;
    --gray-200: #e5e7eb;
    --gray-300: #d1d5db;
    --gray-400: #9ca3af;
    --gray-500: #6b7280;
    --gray-600: #4b5563;
    --gray-700: #374151;
    --gray-800: #1f2937;
    --gray-900: #111827;
    
    /* Glass Morphism */
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-bg-light: rgba(255, 255, 255, 0.15);
    --glass-border: rgba(255, 255, 255, 0.2);
    --glass-shadow: 0 8px 32px rgba(31, 38, 135, 0.37);
    
    /* Typography */
    --font-sans: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', monospace;
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgb(0 0 0 / 0.05);
    --shadow-md: 0 4px 6px -1px rgb(0 0 0 / 0.1);
    --shadow-lg: 0 10px 15px -3px rgb(0 0 0 / 0.1);
    --shadow-xl: 0 20px 25px -5px rgb(0 0 0 / 0.1);
    
    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-2xl: 1.5rem;
    
    /* Transitions */
    --transition-fast: 0.15s ease-out;
    --transition-base: 0.25s ease-out;
    --transition-slow: 0.4s ease-out;
    
    /* Voting Animation Colors */
    --heart-red: #e74c3c;
    --heart-pink: #ff6b9d;
    --heart-purple: #a855f7;
    --vote-success: #10b981;
    --vote-gold: #f59e0b;
}

/* Global Styles */
* {
    box-sizing: border-box;
}

body {
    font-family: var(--font-sans);
    overflow-x: hidden; /* Prevent horizontal scroll from animations */
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    background-attachment: fixed;
    min-height: 100vh;
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Modern Glass Morphism */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    transition: all var(--transition-base);
}

.glass-card:hover {
    background: var(--glass-bg-light);
    transform: translateY(-2px);
    box-shadow: 0 16px 48px rgba(31, 38, 135, 0.4);
}

.glass-nav {
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--glass-border);
    transition: all var(--transition-base);
}

.glass-nav.scrolled {
    background: rgba(255, 255, 255, 0.12);
    box-shadow: var(--shadow-lg);
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* ==============================
   PET PROFILE UI IMPROVEMENTS
   ============================== */

/* Pet Hero Card */
.pet-hero-card {
    position: relative;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--glass-shadow);
    overflow: hidden;
    transition: all var(--transition-base);
    padding: 2rem;
    margin-bottom: 1rem;
}

.pet-hero-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.4);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(103, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 50%, rgba(240, 147, 251, 0.1) 100%);
    z-index: -1;
}

.hero-content {
    position: relative;
    z-index: 1;
}

/* Pet Photo Container */
.pet-photo-container {
    position: relative;
    display: inline-block;
}

.pet-hero-image {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all var(--transition-base);
}

.pet-hero-image:hover {
    transform: scale(1.05);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.3);
}

.pet-hero-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.1);
    border: 4px solid rgba(255, 255, 255, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
}

.photo-count-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

/* Pet Info Section */
.pet-info-section {
    color: white;
}

.pet-name {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #f0f9ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.pet-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.pet-type-badge {
    background: linear-gradient(135deg, #3b82f6, #1d4ed8);
    color: white;
    padding: 8px 16px;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.9rem;
    box-shadow: 0 4px 12px rgba(59, 130, 246, 0.3);
}

.pet-detail-badge {
    background: rgba(255, 255, 255, 0.2);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.description-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
}

.personality-section {
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.personality-title {
    color: white;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.personality-text {
    color: rgba(255, 255, 255, 0.9);
    margin: 0;
    font-size: 0.95rem;
    line-height: 1.5;
}

/* Owner Info Inline */
.owner-info-inline {
    margin-top: 1.5rem;
}

.owner-avatar-section {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.owner-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.owner-avatar-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.7);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.owner-details {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.owner-name {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.owner-location {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.85rem;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.btn-action {
    font-weight: 600;
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    transition: all var(--transition-base);
    border: none;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
}

/* Stats Section */
.stats-section {
    margin-bottom: 1.5rem;
}

.stat-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.stat-card:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

.stat-icon {
    color: #3b82f6;
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.stat-number {
    color: white;
    font-size: 1.5rem;
    font-weight: 700;
    display: block;
}

.stat-label {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* Social Section */
.social-section {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-title {
    color: white;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 0.75rem;
    text-align: center;
}

.social-buttons {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-btn {
    font-size: 0.85rem;
    padding: 0.5rem 1rem;
    border-radius: var(--radius-md);
    font-weight: 500;
    transition: all var(--transition-fast);
    border-width: 1px;
}

.social-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Section Headers */
.section-header {
    text-align: center;
    margin-bottom: 2rem;
    color: white;
}

.section-title {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #ffffff, #e0f2fe);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    margin: 0;
}

/* Achievements Section */
.achievements-section {
    padding: 2rem;
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.achievement-card {
    background: rgba(255, 255, 255, 0.08);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    transition: all var(--transition-base);
    backdrop-filter: blur(10px);
}

.achievement-card:hover {
    background: rgba(255, 255, 255, 0.12);
    transform: translateY(-4px);
    box-shadow: 0 12px 32px rgba(0, 0, 0, 0.2);
}

.achievement-image {
    position: relative;
    height: 150px;
    overflow: hidden;
}

.achievement-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.achievement-card:hover .achievement-img {
    transform: scale(1.05);
}

.achievement-placeholder {
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: rgba(255, 255, 255, 0.5);
}

.achievement-status {
    position: absolute;
    top: 8px;
    right: 8px;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
}

.achievement-status.active {
    background: rgba(34, 197, 94, 0.9);
    color: white;
}

.achievement-status.completed {
    background: rgba(107, 114, 128, 0.9);
    color: white;
}

.achievement-content {
    padding: 1rem;
    color: white;
}

.achievement-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: white;
}

.achievement-caption {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 0.75rem;
    line-height: 1.4;
}

.achievement-stats {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.achievement-stats .stat-item {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.8rem;
}

.achievement-stats .stat-value {
    font-weight: 600;
    color: white;
}

.achievement-stats .stat-label {
    color: rgba(255, 255, 255, 0.6);
}

.achievement-action {
    text-align: center;
}

/* Modern Gallery */
.gallery-section {
    padding: 2rem;
}

.modern-gallery {
    margin-top: 1rem;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1rem;
}

.gallery-photo {
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all var(--transition-base);
    cursor: pointer;
}

.gallery-photo.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.photo-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.gallery-photo.featured .photo-wrapper {
    height: 300px;
}

.gallery-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-base);
}

.gallery-photo:hover .gallery-image {
    transform: scale(1.1);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity var(--transition-base);
    display: flex;
    align-items: end;
    padding: 1rem;
}

.gallery-photo:hover .photo-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    width: 100%;
}

.primary-indicator {
    background: #fbbf24;
    color: #92400e;
    padding: 4px 8px;
    border-radius: 12px;
    font-size: 0.7rem;
    font-weight: 600;
    display: inline-block;
    margin-bottom: 0.5rem;
}

.photo-title {
    font-weight: 600;
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.photo-action {
    font-size: 0.8rem;
    opacity: 0.8;
}

/* Empty State */
.empty-state {
    padding: 3rem;
    text-align: center;
}

.empty-state-content {
    max-width: 400px;
    margin: 0 auto;
    color: white;
}

.empty-icon {
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
    margin-bottom: 1.5rem;
}

.empty-title {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: white;
}

.empty-description {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 2rem;
    line-height: 1.6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .pet-name {
        font-size: 2rem;
    }
    
    .pet-hero-image,
    .pet-hero-placeholder {
        width: 150px;
        height: 150px;
    }
    
    .achievements-grid {
        grid-template-columns: 1fr;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
        gap: 0.75rem;
    }
    
    .gallery-photo.featured {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .photo-wrapper,
    .gallery-photo.featured .photo-wrapper {
        height: 150px;
    }
    
    .pet-hero-card {
        padding: 1.5rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .social-buttons {
        gap: 0.75rem;
    }
    
    .stats-section .row {
        gap: 0.5rem;
    }
}

@media (max-width: 576px) {
    .pet-tags {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .owner-avatar-section {
        justify-content: center;
        text-align: center;
    }
    
    .achievements-section,
    .gallery-section {
        padding: 1.5rem;
    }
}
    padding: 2rem 0;
}

.hero-content h1 {
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-image .glass-card {
    border: 2px solid rgba(255, 255, 255, 0.3);
}

/* Modern Card System */
.card-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
    overflow: hidden;
}

.card-modern:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
    background: var(--glass-bg-light);
}

.feature-card,
.competition-card,
.pet-card,
.bundle-card {
    transition: all var(--transition-base);
}

.feature-card:hover,
.competition-card:hover,
.pet-card:hover,
.bundle-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.4);
}

/* Feature Cards */
.feature-icon {
    margin-bottom: 1rem;
}

/* Pet Cards */
.pet-image {
    height: 200px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.pet-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.pet-card:hover .pet-image img {
    transform: scale(1.05);
}

/* Competition Cards */
.competition-card .card-body {
    padding: 1.5rem;
}

.competition-card .badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
}

/* Modern Admin Dashboard */
.admin-dashboard {
    background: transparent;
}

.admin-header {
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-2xl);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    margin-bottom: 2rem;
}

.admin-header h1 {
    font-size: 2.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 0.5rem;
}

.admin-header p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.125rem;
    margin: 0;
}

/* Stats Cards */
.stat-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    text-align: center;
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
}

.stat-card:hover {
    transform: translateY(-4px) scale(1.02);
    background: var(--glass-bg-light);
    box-shadow: 0 20px 40px rgba(31, 38, 135, 0.3);
}

.stat-icon {
    margin-bottom: 1rem;
}

.stat-icon i {
    font-size: 2.5rem;
    opacity: 0.8;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* Quick Actions */
.quick-actions {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    padding: 2rem;
}

.quick-actions h3 {
    color: white;
    font-weight: 600;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Modern Buttons */
.btn-modern {
    padding: 0.75rem 1.5rem;
    border-radius: var(--radius-lg);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all var(--transition-base);
    border: none;
    position: relative;
    overflow: hidden;
}

.btn-modern::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left var(--transition-slow);
}

.btn-modern:hover::before {
    left: 100%;
}

.btn-modern:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
}

.btn-primary.btn-modern {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-600));
}

.btn-success.btn-modern {
    background: linear-gradient(135deg, var(--success-500), #16a34a);
}

.btn-info.btn-modern {
    background: linear-gradient(135deg, var(--primary-400), var(--secondary-500));
}

.btn-outline-primary.btn-modern {
    background: transparent;
    border: 2px solid var(--primary-500);
    color: var(--primary-500);
}

.btn-outline-primary.btn-modern:hover {
    background: var(--primary-500);
    color: white;
}

/* Section Cards */
.section-card {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    border: 1px solid var(--glass-border);
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-base);
}

.section-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-xl);
}

.section-card .card-header {
    background: rgba(255, 255, 255, 0.1);
    border-bottom: 1px solid var(--glass-border);
    padding: 1.25rem 1.5rem;
}

.section-card .card-header h4 {
    color: white;
    font-weight: 600;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.section-card .card-body {
    padding: 1.5rem;
    background: transparent;
}

/* List Groups */
.list-group-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    color: white;
    transition: all var(--transition-fast);
}

.list-group-item:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
}

.list-group-item:first-child {
    border-top-left-radius: var(--radius-lg);
    border-top-right-radius: var(--radius-lg);
}

.list-group-item:last-child {
    border-bottom-left-radius: var(--radius-lg);
    border-bottom-right-radius: var(--radius-lg);
}

/* Badges */
.badge {
    padding: 0.375rem 0.75rem;
    border-radius: var(--radius-md);
    font-weight: 600;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

/* Tables */
.table-modern {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.table-modern th {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-size: 0.8rem;
    padding: 1rem;
    border: none;
}

.table-modern td {
    color: rgba(255, 255, 255, 0.9);
    padding: 1rem;
    border-color: rgba(255, 255, 255, 0.1);
    vertical-align: middle;
}

.table-modern tbody tr:hover {
    background: rgba(255, 255, 255, 0.05);
}

/* Navigation Improvements */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-300), var(--secondary-400));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-link {
    font-weight: 500;
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    padding: 0.5rem 1rem !important;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.dropdown-menu {
    background: var(--glass-bg);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.dropdown-item {
    color: rgba(255, 255, 255, 0.9);
    transition: all var(--transition-fast);
    border-radius: var(--radius-md);
    margin: 0.25rem;
}

.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    transform: translateX(4px);
}

/* Forms */
.form-control {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: var(--radius-lg);
    color: white;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-base);
}

.form-control:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-400);
    box-shadow: 0 0 0 0.25rem rgba(59, 130, 246, 0.25);
    color: white;
}

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

.form-label {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
}

/* Loading States */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Responsive Design */
@media (max-width: 768px) {
    .stat-card {
        margin-bottom: 1rem;
    }
    
    .admin-header h1 {
        font-size: 2rem;
    }
    
    .section-card {
        margin-bottom: 1.5rem;
    }
    
    .quick-actions .btn-modern {
        margin-bottom: 0.5rem;
    }
}

/* Bundle Cards */
.bundle-card {
    position: relative;
    overflow: hidden;
}

.bundle-card.featured {
    border: 2px solid var(--accent-color);
    box-shadow: 0 8px 32px rgba(243, 156, 18, 0.3);
}

.featured-badge {
    position: absolute;
    top: -10px;
    right: -10px;
    background: var(--accent-color);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: bold;
    transform: rotate(12deg);
    z-index: 10;
}

.bundle-likes {
    margin: 1.5rem 0;
}

.likes-count {
    font-size: 3rem;
    font-weight: bold;
    color: var(--primary-color);
}

.likes-number {
    color: var(--primary-color);
}

.likes-label {
    color: #666;
    font-size: 0.9rem;
}

.bundle-price {
    margin: 1rem 0;
}

.price-main {
    font-size: 2rem;
    font-weight: bold;
    color: var(--dark-color);
}

.price-original {
    font-size: 1rem;
    color: #999;
    text-decoration: line-through;
}

.price-per-like {
    color: #666;
}

/* Profile Images */
.pet-profile-image {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    object-fit: cover;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pet-profile-placeholder {
    width: 150px;
    height: 150px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    border: 4px solid white;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.profile-image {
    width: 100px;
    height: 100px;
    object-fit: cover;
    border: 3px solid white;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Mini Pet Cards */
.pet-mini-card {
    background: white;
    border-radius: 15px;
    padding: 1rem;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.pet-mini-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
}

.pet-mini-placeholder {
    width: 60px;
    height: 60px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Statistics */
.stat-card {
    text-align: center;
    padding: 1.5rem;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: bold;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.stat-label {
    color: #666;
    font-size: 0.9rem;
}

.stats-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
}

.stat-item {
    text-align: center;
}

/* Timeline */
.timeline {
    position: relative;
    padding-left: 1.5rem;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 0.5rem;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--primary-color);
}

.timeline-item {
    position: relative;
    margin-bottom: 1.5rem;
}

.timeline-marker {
    position: absolute;
    left: -1.5rem;
    width: 1rem;
    height: 1rem;
    border-radius: 50%;
    border: 2px solid white;
}

.timeline-content {
    background: white;
    padding: 1rem;
    border-radius: 10px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

/* Competition Entries */
.entries-grid {
    padding: 0;
}

.entry-item {
    padding: 1rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    transition: background-color 0.3s ease;
}

.entry-item:hover {
    background-color: rgba(0, 0, 0, 0.02);
}

.entry-item.winner {
    background: linear-gradient(135deg, rgba(255, 215, 0, 0.1), rgba(255, 165, 0, 0.1));
    border-left: 4px solid var(--accent-color);
}

.ranking-badge {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--dark-color);
    font-weight: bold;
    margin-right: 1rem;
}

.entry-thumbnail {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    margin-right: 1rem;
}

.entry-placeholder {
    width: 80px;
    height: 80px;
    background: var(--light-color);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
    margin-right: 1rem;
}

.likes-count {
    text-align: center;
    margin-left: 1rem;
}

.likes-value {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
}

/* Pet Selection */
.pet-selection-card {
    position: relative;
}

.pet-selection-card input[type="radio"] {
    display: none;
}

.pet-card {
    display: block;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 15px;
    padding: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pet-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.pet-selection-card input[type="radio"]:checked + .pet-card {
    border-color: var(--primary-color);
    background: rgba(230, 126, 34, 0.05);
}

.pet-selection-image {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    object-fit: cover;
}

.pet-selection-placeholder {
    width: 50px;
    height: 50px;
    background: var(--light-color);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #999;
}

/* Tips */
.tip-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.tip-item i {
    margin-right: 0.5rem;
    margin-top: 0.25rem;
}

/* System Status */
.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

/* Error Pages */
.error-card {
    text-align: center;
    max-width: 500px;
    margin: 0 auto;
}

.error-icon {
    margin-bottom: 2rem;
}

.suggestions {
    text-align: left;
    max-width: 400px;
    margin: 0 auto;
}

.suggestions ul {
    list-style: none;
    padding: 0;
}

.suggestions li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
}

.suggestions li:last-child {
    border-bottom: none;
}

.suggestions a {
    text-decoration: none;
    color: var(--primary-color);
}

.suggestions a:hover {
    text-decoration: underline;
}

/* Buttons */
.btn {
    border-radius: 25px;
    padding: 0.75rem 1.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.btn-primary:hover {
    background: #d68910;
    border-color: #d68910;
    transform: translateY(-1px);
}

.btn-xs {
    padding: 0.25rem 0.5rem;
    font-size: 0.75rem;
}

/* Voting Micro-Interactions */
.vote-button {
    position: relative;
    overflow: hidden;
    background: linear-gradient(45deg, var(--heart-red), var(--heart-pink));
    border: none;
    border-radius: var(--radius-xl);
    padding: 0.75rem 1.5rem;
    font-weight: 600;
    color: white;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    transition: all var(--transition-base);
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.vote-button:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    background: linear-gradient(45deg, var(--heart-pink), var(--heart-purple));
    color: white;
    text-decoration: none;
}

.vote-button:active {
    transform: translateY(0) scale(0.98);
}

.vote-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.6s ease;
    transform: translate(-50%, -50%);
}

.vote-button:hover::before {
    width: 300px;
    height: 300px;
}

/* Floating Hearts Animation */
@keyframes floatingHeart {
    0% {
        opacity: 1;
        transform: translateY(0) rotate(0deg) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translateY(-20px) rotate(180deg) scale(1.2);
    }
    100% {
        opacity: 0;
        transform: translateY(-50px) rotate(360deg) scale(0.5);
    }
}

.floating-heart {
    position: absolute;
    pointer-events: none;
    font-size: 1.5rem;
    color: var(--heart-red);
    animation: floatingHeart 2s ease-out forwards;
    z-index: 1000;
}

/* Vote Count Animation */
@keyframes voteCountPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.3); color: var(--vote-success); }
    100% { transform: scale(1); }
}

.vote-count-animated {
    animation: voteCountPulse 0.6s ease-out;
}

/* Sparkle Effect */
@keyframes sparkle {
    0% {
        opacity: 0;
        transform: rotate(0deg) scale(0);
    }
    50% {
        opacity: 1;
        transform: rotate(180deg) scale(1);
    }
    100% {
        opacity: 0;
        transform: rotate(360deg) scale(0);
    }
}

.sparkle {
    position: absolute;
    pointer-events: none;
    font-size: 1rem;
    color: var(--vote-gold);
    animation: sparkle 1.5s ease-out forwards;
    z-index: 999;
}

/* Vote Bundle Card Hover Effects */
.vote-bundle-card {
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.vote-bundle-card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    transition: all 0.6s ease;
    opacity: 0;
}

.vote-bundle-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
}

.vote-bundle-card:hover::before {
    opacity: 1;
    transform: rotate(45deg) translateX(100%);
}

/* Pulsing Vote Impact Preview */
@keyframes impactPulse {
    0%, 100% { 
        background-color: rgba(16, 185, 129, 0.1);
        border-color: rgba(16, 185, 129, 0.3);
    }
    50% { 
        background-color: rgba(16, 185, 129, 0.2);
        border-color: rgba(16, 185, 129, 0.5);
    }
}

.impact-preview {
    border: 1px solid transparent;
    animation: impactPulse 2s ease-in-out infinite;
}

/* Button Click Ripple Effect */
@keyframes ripple {
    0% {
        transform: scale(0);
        opacity: 1;
    }
    100% {
        transform: scale(4);
        opacity: 0;
    }
}

.btn-ripple {
    position: relative;
    overflow: hidden;
}

.btn-ripple::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

/* Love Button Special Effect */
.love-button {
    position: relative;
    background: linear-gradient(45deg, var(--heart-red), var(--heart-pink));
    border: none;
    border-radius: 50px;
    padding: 0.5rem 1rem;
    color: white;
    transition: all var(--transition-base);
    overflow: hidden;
}

.love-button:hover {
    background: linear-gradient(45deg, var(--heart-pink), var(--heart-purple));
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(231, 76, 60, 0.6);
}

.love-button::before {
    content: '💖';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 1.2rem;
    opacity: 0;
    transition: all var(--transition-base);
}

.love-button:hover::before {
    opacity: 1;
    animation: heartBeat 0.8s ease-in-out infinite;
}

@keyframes heartBeat {
    0%, 100% { transform: translate(-50%, -50%) scale(1); }
    25% { transform: translate(-50%, -50%) scale(1.2); }
    50% { transform: translate(-50%, -50%) scale(1); }
    75% { transform: translate(-50%, -50%) scale(1.1); }
}

/* Success Feedback Animation */
@keyframes successBounce {
    0% { transform: scale(0); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); opacity: 1; }
}

.success-feedback {
    animation: successBounce 0.6s ease-out;
    background: linear-gradient(45deg, var(--vote-success), #34d399);
    color: white;
    border-radius: var(--radius-lg);
    padding: 1rem;
    text-align: center;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.3);
}

/* Particle System Container */
.particles-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
    overflow: hidden;
}

.particle {
    position: absolute;
    pointer-events: none;
    border-radius: 50%;
    opacity: 0.8;
}

@keyframes particleFloat {
    0% {
        opacity: 0.8;
        transform: translateY(0) scale(0) rotate(0deg);
    }
    50% {
        opacity: 1;
        transform: translateY(-100px) scale(1) rotate(180deg);
    }
    100% {
        opacity: 0;
        transform: translateY(-200px) scale(0) rotate(360deg);
    }
}

.particle-heart {
    animation: particleFloat 3s ease-out forwards;
}

/* Enhanced Like Button Interactions */
.likes-count {
    position: relative;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.25rem 0.75rem;
    background: linear-gradient(45deg, var(--heart-red), var(--heart-pink));
    border-radius: var(--radius-xl);
    color: white;
    font-weight: 600;
    transition: all var(--transition-base);
    box-shadow: 0 2px 8px rgba(231, 76, 60, 0.3);
}

.likes-count:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.5);
}

.likes-value {
    font-size: 1.1rem;
    font-weight: 700;
}

/* Animated Counter Effect */
@keyframes countUp {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}

.likes-value.counting {
    animation: countUp 0.3s ease-out;
}

/* Bundle Card Glow Effect */
.vote-bundle-card.popular {
    position: relative;
    overflow: hidden;
}

.vote-bundle-card.popular::after {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, var(--vote-gold), var(--heart-pink), var(--vote-gold));
    border-radius: inherit;
    z-index: -1;
    opacity: 0.7;
    animation: glowRotate 3s linear infinite;
}

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

/* Vote Purchase Loading States */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

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

/* Success State Animations */
.btn-success-state {
    background: linear-gradient(45deg, var(--vote-success), #34d399) !important;
    border-color: var(--vote-success) !important;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* Enhanced Entry Cards */
.entry-card {
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.entry-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
}

.entry-card:hover .likes-count {
    animation: heartBeat 0.8s ease-in-out;
}

/* Voting Progress Indicator */
.voting-progress {
    position: relative;
    background: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-lg);
    padding: 0.5rem;
    margin: 1rem 0;
}

.voting-progress-bar {
    height: 6px;
    background: linear-gradient(90deg, var(--heart-red), var(--heart-pink), var(--vote-gold));
    border-radius: var(--radius-lg);
    transition: width 1s ease-out;
    position: relative;
    overflow: hidden;
}

.voting-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Forms */
.form-card {
    background: white;
    border-radius: 20px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.form-control {
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
    transition: border-color 0.3s ease;
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

.form-select {
    border-radius: 15px;
    border: 1px solid #e0e0e0;
    padding: 0.75rem 1rem;
}

.form-select:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 0.2rem rgba(230, 126, 34, 0.25);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-section {
        padding: 1rem 0;
    }
    
    .hero-content h1 {
        font-size: 2rem;
    }
    
    .stats-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .pet-profile-image,
    .pet-profile-placeholder {
        width: 120px;
        height: 120px;
    }
    
    .profile-image {
        width: 80px;
        height: 80px;
    }
    
    .stat-value {
        font-size: 2rem;
    }
    
    .likes-count {
        font-size: 2rem;
    }
    
    .price-main {
        font-size: 1.5rem;
    }
}

/* Modern Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

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

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

.glass-card {
    animation: fadeIn 0.6s ease-out;
}

.hero-content {
    animation: slideInLeft 0.8s ease-out;
}

.hero-image {
    animation: slideInRight 0.8s ease-out 0.2s both;
}

/* Floating Elements */
.floating-elements {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.floating-icon {
    position: absolute;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    animation: float 3s ease-in-out infinite;
}

.floating-1 {
    top: 10%;
    right: 15%;
    animation-delay: 0s;
}

.floating-2 {
    top: 60%;
    left: 10%;
    animation-delay: 1s;
}

.floating-3 {
    bottom: 15%;
    right: 20%;
    animation-delay: 2s;
}

.floating-4 {
    top: 30%;
    left: 5%;
    animation-delay: 0.5s;
}

.floating-5 {
    bottom: 40%;
    right: 10%;
    animation-delay: 1.5s;
}

.floating-6 {
    top: 70%;
    left: 20%;
    animation-delay: 2.5s;
}

.hero-main-icon {
    animation: pulse 2s ease-in-out infinite;
}

/* Stats Preview */
.stats-preview {
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

/* Text Gradient */
.text-gradient {
    background: linear-gradient(135deg, #60a5fa, #a855f7);
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Feature Cards Enhanced */
.feature-card {
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.feature-card:hover::before {
    transform: scaleX(1);
}

.step-number {
    z-index: 10;
}

/* Leaderboards Styling */
.leaderboard-section {
    padding: 0;
}

.leaderboard-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
}

.leaderboard-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.leaderboard-item:hover::before {
    transform: scaleX(1);
}

.leaderboard-item:hover {
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.rank-badge {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-weight: 700;
    color: var(--text-white);
    font-size: 1.2rem;
    min-width: 50px;
}

.pet-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    position: relative;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

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

.avatar-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, var(--primary-500), var(--secondary-500));
    color: white;
    font-size: 1.5rem;
}

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

.pet-info h5 {
    color: var(--text-white);
    margin-bottom: 0.25rem;
    font-weight: 600;
}

.pet-info p {
    margin-bottom: 0.25rem;
}

.pet-stats {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.stat-item {
    text-align: center;
    min-width: 60px;
}

.stat-item .stat-value {
    font-weight: 700;
    font-size: 1.1rem;
    line-height: 1;
}

.stat-item .stat-label {
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

/* Stat Cards for Monthly Analytics */
.stat-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: var(--radius-lg);
    padding: 1.5rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    transition: all var(--transition-base);
    position: relative;
    overflow: hidden;
    height: 100%;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.stat-card .stat-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1rem;
    color: white;
    font-size: 1.2rem;
}

.stat-card .stat-content .stat-value {
    font-size: 2rem;
    font-weight: 800;
    color: var(--text-white);
    line-height: 1;
}

.stat-card .stat-content .stat-label {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

.stat-card .stat-change {
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: 0.5rem;
}

/* Tab Navigation Enhancement */
.nav-tabs {
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.nav-tabs .nav-link {
    background: transparent;
    border: none;
    color: var(--text-muted);
    padding: 1rem 1.5rem;
    transition: all var(--transition-base);
    border-radius: var(--radius-base) var(--radius-base) 0 0;
    position: relative;
}

.nav-tabs .nav-link::before {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-500), var(--secondary-500));
    transform: scaleX(0);
    transition: transform var(--transition-base);
}

.nav-tabs .nav-link:hover {
    color: var(--text-white);
    background: rgba(255, 255, 255, 0.05);
}

.nav-tabs .nav-link.active {
    color: var(--primary-400);
    background: rgba(255, 255, 255, 0.05);
    border-color: transparent;
}

.nav-tabs .nav-link.active::before {
    transform: scaleX(1);
}

/* Animation Classes */
.slide-in {
    animation: slideInUp 0.6s ease-out forwards;
    opacity: 0;
    transform: translateY(20px);
}

@keyframes slideInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .pet-stats {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }
    
    .stat-item {
        display: flex;
        align-items: center;
        gap: 0.5rem;
        min-width: auto;
    }
    
    .stat-item .stat-value {
        font-size: 1rem;
    }
    
    .leaderboard-item {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .pet-info {
        text-align: center;
    }
    
    .stat-card .stat-content .stat-value {
        font-size: 1.5rem;
    }
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background: #d68910;
}

/* Badge Improvements */
.badge {
    font-size: 0.75rem;
    padding: 0.5rem 0.75rem;
    border-radius: 20px;
}

/* Table Improvements */
.table-responsive {
    border-radius: 15px;
    overflow: hidden;
}

.table {
    margin-bottom: 0;
}

.table td {
    vertical-align: middle;
    padding: 1rem;
}

.table th {
    background: var(--light-color);
    font-weight: 600;
    color: var(--dark-color);
    border-bottom: 2px solid var(--primary-color);
}

/* Pagination */
.pagination .page-link {
    border-radius: 20px;
    margin: 0 0.25rem;
    border: 1px solid #e0e0e0;
    color: var(--primary-color);
}

.pagination .page-item.active .page-link {
    background: var(--primary-color);
    border-color: var(--primary-color);
}

.pagination .page-link:hover {
    background: rgba(230, 126, 34, 0.1);
    border-color: var(--primary-color);
}

/* Dropdown Menus */
.dropdown-menu {
    border-radius: 15px;
    border: 1px solid rgba(0, 0, 0, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.dropdown-item {
    padding: 0.75rem 1rem;
    transition: background-color 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(230, 126, 34, 0.1);
}

/* Accordion */
.accordion-item {
    border: 1px solid rgba(0, 0, 0, 0.1);
    border-radius: 15px;
    margin-bottom: 1rem;
}

.accordion-button {
    border-radius: 15px;
    border: none;
    background: white;
    color: var(--dark-color);
    font-weight: 500;
}

.accordion-button:not(.collapsed) {
    background: rgba(230, 126, 34, 0.1);
    color: var(--primary-color);
}

.accordion-button::after {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='%23e67e22'%3e%3cpath fill-rule='evenodd' d='M1.646 4.646a.5.5 0 0 1 .708 0L8 10.293l5.646-5.647a.5.5 0 0 1 .708.708l-6 6a.5.5 0 0 1-.708 0l-6-6a.5.5 0 0 1 0-.708z'/%3e%3c/svg%3e");
}

.accordion-body {
    padding: 1.5rem;
}

/* Loading States */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 1s ease-in-out infinite;
}

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

/* Navbar Improvements */
.navbar-brand {
    font-size: 1.5rem;
    font-weight: 700;
}

.navbar-nav .nav-link {
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.navbar-nav .nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.dropdown-toggle::after {
    display: none;
}

/* Footer */
footer {
    background: var(--dark-color) !important;
    color: white;
}

footer a {
    color: #bdc3c7;
    transition: color 0.3s ease;
}

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

/* Utility Classes */
.text-primary {
    color: var(--primary-color) !important;
}

.bg-primary {
    background-color: var(--primary-color) !important;
}

.border-primary {
    border-color: var(--primary-color) !important;
}

.shadow-soft {
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.rounded-xl {
    border-radius: 20px;
}

.text-gradient {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Print Styles */
@media print {
    .glass-card {
        background: white;
        border: 1px solid #ddd;
        box-shadow: none;
    }
    
    .btn {
        display: none;
    }
    
    .navbar,
    footer {
        display: none;
    }
}
