/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --background: oklch(1 0 0);
    --foreground: oklch(0.15 0 0);
    --card: oklch(0.98 0 0);
    --card-foreground: oklch(0.15 0 0);
    --popover: oklch(1 0 0);
    --popover-foreground: oklch(0.15 0 0);
    --primary: oklch(0.45 0.15 180);
    --primary-foreground: oklch(1 0 0);
    --secondary: oklch(0.96 0.01 180);
    --secondary-foreground: oklch(0.15 0 0);
    --muted: oklch(0.96 0.01 180);
    --muted-foreground: oklch(0.45 0.02 180);
    --accent: oklch(0.70 0.18 25);
    --accent-foreground: oklch(1 0 0);
    --destructive: oklch(0.65 0.20 25);
    --destructive-foreground: oklch(1 0 0);
    --border: oklch(0.92 0.01 180);
    --input: oklch(0.92 0.01 180);
    --ring: oklch(0.45 0.15 180);
    --radius: 0.75rem;
}

body {
    font-family: 'Inter', sans-serif;
    background: 
        /* Elegant base gradient */
        linear-gradient(135deg, #f8fafc 0%, #f1f5f9 25%, #e2e8f0 75%, #cbd5e1 100%),
        /* Subtle bubble overlays with elegant colors */
        radial-gradient(circle at 20% 80%, rgba(71, 85, 105, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(100, 116, 139, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(148, 163, 184, 0.04) 0%, transparent 50%),
        radial-gradient(circle at 75% 70%, rgba(51, 65, 85, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 10% 30%, rgba(15, 23, 42, 0.03) 0%, transparent 45%);
    background-attachment: fixed;
    color: var(--foreground);
    line-height: 1.6;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Animated floating bubbles */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 70%, rgba(71, 85, 105, 0.12) 0%, transparent 30%),
        radial-gradient(circle at 70% 30%, rgba(100, 116, 139, 0.10) 0%, transparent 35%),
        radial-gradient(circle at 50% 10%, rgba(148, 163, 184, 0.08) 0%, transparent 25%),
        radial-gradient(circle at 90% 90%, rgba(51, 65, 85, 0.09) 0%, transparent 30%);
    pointer-events: none;
    z-index: -1;
    animation: bubbleFloat 15s ease-in-out infinite;
}

/* Secondary bubble layer */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 15% 15%, rgba(51, 65, 85, 0.06) 0%, transparent 40%),
        radial-gradient(circle at 85% 85%, rgba(71, 85, 105, 0.05) 0%, transparent 40%),
        radial-gradient(circle at 60% 30%, rgba(100, 116, 139, 0.04) 0%, transparent 35%),
        radial-gradient(circle at 25% 60%, rgba(148, 163, 184, 0.05) 0%, transparent 38%);
    pointer-events: none;
    z-index: -1;
    animation: bubbleFloat 20s ease-in-out infinite reverse;
}

/* Bubble floating animation */
@keyframes bubbleFloat {
    0%, 100% {
        transform: translate(0, 0) scale(1) rotate(0deg);
        opacity: 1;
    }
    25% {
        transform: translate(-20px, -30px) scale(1.1) rotate(5deg);
        opacity: 0.8;
    }
    50% {
        transform: translate(15px, -50px) scale(0.9) rotate(-3deg);
        opacity: 0.9;
    }
    75% {
        transform: translate(-10px, -20px) scale(1.05) rotate(2deg);
        opacity: 0.7;
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1rem;
}

/* Gradient backgrounds */
.gradient-hero {
    background: linear-gradient(135deg, 
        #f8fafc 0%,
        #f1f5f9 15%,
        #e2e8f0 35%,
        #cbd5e1 60%,
        #94a3b8 85%,
        #64748b 100%
    );
}

.gradient-text {
    background: linear-gradient(135deg, 
        oklch(0.35 0.18 180) 0%, 
        oklch(0.25 0.15 280) 100%
    );
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Header styles */
.header {
    position: sticky;
    top: 0;
    z-index: 50;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(99, 102, 241, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 50%, rgba(139, 92, 246, 0.08) 0%, transparent 40%);
    pointer-events: none;
    z-index: -1;
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 64px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.logo-icon {
    width: 32px;
    height: 32px;
    background-color: var(--primary);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-foreground);
}

.nav {
    display: none;
    align-items: center;
    gap: 2rem;
}

.nav-item {
    background: none;
    border: none;
    color: var(--muted-foreground);
    cursor: pointer;
    font-weight: 500;
    transition: color 0.2s;
    padding: 0.5rem 1rem;
    border-radius: 0.5rem;
}

.nav-item:hover,
.nav-item.active {
    color: var(--primary);
    background-color: var(--secondary);
}

.nav-actions {
    display: none;
    align-items: center;
    gap: 1rem;
}

.mobile-menu-btn {
    display: block;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    font-size: 1.25rem;
}

.mobile-menu {
    display: none;
    background-color: var(--background);
    border-bottom: 1px solid var(--border);
    padding: 1rem;
}

.mobile-menu.active {
    display: block;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Button styles */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.5rem 1rem;
    border-radius: calc(var(--radius) * 0.5);
    font-weight: 500;
    text-decoration: none;
    border: 1px solid transparent;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    font-size: 0.875rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.btn::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 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.btn-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.btn-primary:hover {
    background-color: oklch(0.40 0.15 180);
    transform: translateY(-1px);
}

.btn-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.btn-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

.btn-accent:hover {
    background-color: oklch(0.65 0.18 25);
    transform: translateY(-1px);
}

.btn-outline {
    border-color: var(--border);
    background-color: transparent;
}

.btn-outline:hover {
    background-color: var(--secondary);
    transform: translateY(-1px);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-sm {
    padding: 0.25rem 0.75rem;
    font-size: 0.875rem;
}

/* Card styles */
.card {
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    padding: 1.5rem;
    transition: all 0.3s ease;
    height: 100%;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: cardBubble 10s ease-in-out infinite;
}

@keyframes cardBubble {
    0%, 100% {
        transform: rotate(0deg) translate(0, 0);
    }
    33% {
        transform: rotate(120deg) translate(10px, -5px);
    }
    66% {
        transform: rotate(240deg) translate(-5px, 10px);
    }
}

.card-hover:hover {
    transform: translateY(-8px) scale(1.02);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.4);
}

/* Badge styles */
.badge {
    display: inline-flex;
    align-items: center;
    padding: 0.25rem 0.75rem;
    border-radius: calc(var(--radius) * 0.5);
    font-size: 0.75rem;
    font-weight: 500;
}

.badge-primary {
    background-color: var(--primary);
    color: var(--primary-foreground);
}

.badge-secondary {
    background-color: var(--secondary);
    color: var(--secondary-foreground);
}

.badge-accent {
    background-color: var(--accent);
    color: var(--accent-foreground);
}

/* Input styles */
.input {
    width: 100%;
    padding: 0.5rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: calc(var(--radius) * 0.5);
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    color: var(--foreground);
}

.input::placeholder {
    color: rgba(0, 0, 0, 0.6);
}

.input:focus {
    outline: none;
    border-color: rgba(71, 85, 105, 0.6);
    background: rgba(255, 255, 255, 0.25);
    box-shadow: 0 0 0 3px rgba(71, 85, 105, 0.1);
    transform: translateY(-2px);
}

/* Hero section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem 1rem;
}

.hero-content {
    max-width: 80rem;
    margin: 0 auto;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 9999px;
    padding: 0.5rem 1rem;
    margin-bottom: 2rem;
    color: var(--primary);
    font-weight: 500;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
    animation: heroBadgeFloat 4s ease-in-out infinite;
}

.hero-badge::before {
    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 3s infinite;
}

@keyframes heroBadgeFloat {
    0%, 100% {
        transform: translateY(0px) rotate(0deg);
    }
    50% {
        transform: translateY(-10px) rotate(1deg);
    }
}

@keyframes shimmer {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.hero-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.hero-title-highlight {
    background-color: black;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 1rem;
    display: inline-block;
    transform: rotate(-2deg);
}

.hero-description {
    font-size: clamp(1rem, 2.5vw, 1.25rem);
    color: rgba(0, 0, 0, 0.8);
    max-width: 48rem;
    margin: 0 auto 2rem auto;
    line-height: 1.6;
}

.hero-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
    font-size: 0.875rem;
    color: rgba(0, 0, 0, 0.6);
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.hero-feature-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
}

.dot-accent {
    background-color: var(--accent);
}

.dot-primary {
    background-color: var(--primary);
}

/* Section styles */
.section {
    padding: 4rem 1rem;
}

.section-muted {
    background: linear-gradient(135deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(248, 250, 252, 0.2) 100%);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    position: relative;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
    border-bottom: 1px solid rgba(255, 255, 255, 0.3);
    overflow: hidden;
}

.section-muted::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 20%, rgba(16, 185, 129, 0.05) 0%, transparent 45%);
    pointer-events: none;
    animation: sectionBubble 12s ease-in-out infinite;
}

@keyframes sectionBubble {
    0%, 100% {
        transform: translate(0, 0) scale(1);
        opacity: 1;
    }
    33% {
        transform: translate(10px, -5px) scale(1.05);
        opacity: 0.8;
    }
    66% {
        transform: translate(-5px, 10px) scale(0.95);
        opacity: 0.9;
    }
}

.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    font-weight: 700;
    margin-bottom: 1rem;
}

.section-description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--muted-foreground);
    max-width: 32rem;
    margin: 0 auto;
}

/* Grid layouts */
.grid {
    display: grid;
    gap: 2rem;
}

.grid-1 {
    grid-template-columns: 1fr;
}

.grid-2 {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

.grid-3 {
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
}

.grid-4 {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
}

/* Search and filter */
.search-filter {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 3rem;
    align-items: center;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: var(--radius);
    padding: 2rem;
    position: relative;
    overflow: hidden;
}

.search-filter::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 30% 30%, rgba(99, 102, 241, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 70% 70%, rgba(139, 92, 246, 0.04) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: searchBubble 8s ease-in-out infinite;
}

@keyframes searchBubble {
    0%, 100% {
        transform: rotate(0deg);
    }
    50% {
        transform: rotate(180deg);
    }
}

.search-input-wrapper {
    position: relative;
    max-width: 24rem;
    width: 100%;
}

.search-icon {
    position: absolute;
    left: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--muted-foreground);
}

.search-input {
    padding-left: 2.5rem;
}

.filter-buttons {
    display: flex;
    gap: 0.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

/* Stars rating */
.stars {
    display: flex;
    gap: 0.125rem;
}

.star {
    width: 16px;
    height: 16px;
    color: #fbbf24;
}

.star-empty {
    color: #d1d5db;
}

/* Footer */
.footer {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-top: 1px solid rgba(255, 255, 255, 0.2);
    padding: 4rem 1rem;
    position: relative;
    overflow: hidden;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.06) 0%, transparent 50%),
        radial-gradient(circle at 50% 10%, rgba(16, 185, 129, 0.04) 0%, transparent 40%);
    pointer-events: none;
    animation: footerBubble 15s ease-in-out infinite;
}

@keyframes footerBubble {
    0%, 100% {
        transform: translate(0, 0) rotate(0deg);
    }
    25% {
        transform: translate(5px, -10px) rotate(1deg);
    }
    50% {
        transform: translate(-5px, -5px) rotate(-1deg);
    }
    75% {
        transform: translate(3px, -8px) rotate(0.5deg);
    }
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-section h4 {
    font-size: 1.125rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--muted-foreground);
    text-decoration: none;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    border-top: 1px solid var(--border);
    padding-top: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    text-align: center;
    color: var(--muted-foreground);
    font-size: 0.875rem;
}

/* Responsive Design */
@media (min-width: 640px) {
    .container {
        padding: 0 2rem;
    }
    
    .hero-actions {
        flex-direction: row;
        justify-content: center;
    }
    
    .search-filter {
        flex-direction: row;
        gap: 2rem;
    }
    
    .search-input-wrapper {
        margin: 0;
    }
}

@media (min-width: 768px) {
    .nav,
    .nav-actions {
        display: flex;
    }

    .mobile-menu-btn {
        display: none;
    }

    .section {
        padding: 6rem 1rem;
    }

    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        text-align: left;
    }
}

@media (min-width: 1024px) {
    .container {
        padding: 0 3rem;
    }
}

@media (max-width: 639px) {
    .hero-features {
        gap: 1rem;
    }
    
    .hero-feature {
        font-size: 0.75rem;
    }
    
    .card {
        padding: 1rem;
    }
    
    .section {
        padding: 3rem 1rem;
    }
}

/* Utilities */
.hidden {
    display: none;
}

.flex {
    display: flex;
}

.items-center {
    align-items: center;
}

.justify-between {
    justify-content: space-between;
}

.justify-center {
    justify-content: center;
}

.gap-2 {
    gap: 0.5rem;
}

.gap-3 {
    gap: 0.75rem;
}

.gap-4 {
    gap: 1rem;
}

.mb-2 {
    margin-bottom: 0.5rem;
}

.mb-3 {
    margin-bottom: 0.75rem;
}

.mb-4 {
    margin-bottom: 1rem;
}

.mb-8 {
    margin-bottom: 2rem;
}

.text-center {
    text-align: center;
}

.text-lg {
    font-size: 1.125rem;
}

.text-xl {
    font-size: 1.25rem;
}

.text-2xl {
    font-size: 1.5rem;
}

.font-bold {
    font-weight: 700;
}

.font-semibold {
    font-weight: 600;
}

.font-medium {
    font-weight: 500;
}

.leading-relaxed {
    line-height: 1.625;
}

.w-full {
    width: 100%;
}

.max-w-md {
    max-width: 28rem;
}

.mx-auto {
    margin-left: auto;
    margin-right: auto;
}

/* Animation classes */
.fade-in {
    animation: fadeIn 0.6s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hover-scale:hover {
    transform: scale(1.05);
    transition: transform 0.2s ease;
}

/* Book card specific styles */
.book-cover {
    width: 64px;
    height: 80px;
    background: linear-gradient(135deg, var(--primary), var(--accent));
    border-radius: 6px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.625rem;
    text-align: center;
    flex-shrink: 0;
}

.book-cover-lg {
    width: 80px;
    height: 112px;
    font-size: 0.75rem;
}

.book-info {
    flex: 1;
    min-width: 0;
}

.book-price {
    font-weight: bold;
    color: var(--primary);
}

/* Blog post styles */
.post-meta {
    color: var(--muted-foreground);
    font-size: 0.875rem;
    display: flex;
    gap: 1rem;
    align-items: center;
}

.post-excerpt {
    color: var(--muted-foreground);
    line-height: 1.6;
}

/* Featured content styles */
.featured-card {
    background: linear-gradient(135deg, 
        rgba(51, 65, 85, 0.15) 0%, 
        rgba(71, 85, 105, 0.12) 50%, 
        rgba(100, 116, 139, 0.08) 100%);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 12px 40px rgba(51, 65, 85, 0.15);
    position: relative;
    overflow: hidden;
}

.featured-card::before {
    content: '';
    position: absolute;
    top: -20%;
    left: -20%;
    width: 140%;
    height: 140%;
    background: 
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 40%),
        radial-gradient(circle at 80% 80%, rgba(99, 102, 241, 0.1) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
    animation: featuredBubble 8s ease-in-out infinite;
}

.featured-card > * {
    position: relative;
    z-index: 1;
}

.featured-card:hover {
    background: linear-gradient(135deg, 
        rgba(51, 65, 85, 0.2) 0%, 
        rgba(71, 85, 105, 0.15) 50%, 
        rgba(100, 116, 139, 0.12) 100%);
    box-shadow: 0 20px 60px rgba(51, 65, 85, 0.25);
    transform: translateY(-10px) scale(1.02);
}

@keyframes featuredBubble {
    0%, 100% {
        transform: rotate(0deg) scale(1);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
    }
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid var(--border);
    border-radius: 50%;
    border-top-color: var(--primary);
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Bubble Utility Classes */
.bubble-bg {
    position: relative;
    overflow: hidden;
}

.bubble-bg::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: 
        radial-gradient(circle at 25% 25%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 75% 75%, rgba(139, 92, 246, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: -1;
    animation: bubbleRotate 10s linear infinite;
}

@keyframes bubbleRotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Enhanced glassmorphism for special elements */
.glass {
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

/* Floating bubble elements */
.floating-bubbles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -2;
}

.floating-bubbles::before {
    content: '';
    position: absolute;
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(99, 102, 241, 0.3) 0%, transparent 70%);
    border-radius: 50%;
    top: 10%;
    left: 10%;
    animation: floatUp 8s infinite ease-in-out;
}

.floating-bubbles::after {
    content: '';
    position: absolute;
    width: 40px;
    height: 40px;
    background: radial-gradient(circle, rgba(139, 92, 246, 0.25) 0%, transparent 70%);
    border-radius: 50%;
    top: 70%;
    right: 15%;
    animation: floatUp 6s infinite ease-in-out 2s;
}

@keyframes floatUp {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) scale(1);
        opacity: 0;
    }
}

