/* ------------------------------------------------------------
 * Base font & color
 * ------------------------------------------------------------ */
:root {
    --primary: #ff6b6b;
    --primary-soft: #ff8e8e;
    --primary-dark: #ff5252;
    --secondary: #4ecdc4;
    --accent: #ffd93d;
    --dark: #2d3436;
    --light: #f8f9fa;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, #ff8e8e 100%);
    --gradient-primary-light: linear-gradient(135deg, var(--primary) 0%, #ff8e8e 50%);
    --gradient-secondary: linear-gradient(135deg, var(--secondary) 0%, #6ee7de 100%);
    --gradient-card: linear-gradient(135deg, #FFF0F8 0%, #FFE8F2 100%);
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
    --white-70: rgba(255,255,255,0.7);
    
    /* Extended color palette variants */
    --primary-100: #ffe1e1;
    --primary-200: #ffc7c7;
    --primary-300: #ffb3b3;
    --primary-400: #ff9f9f;
    --primary-500: #ff6b6b;
    --primary-600: #ff5252;
    --primary-700: #e53e3e;
    --primary-800: #c53030;
    --primary-900: #9b2c2c;
    
    --success-100: #e8f5e8;
    --success-500: #28a745;
    --success-600: #218838;
    
    --warning-100: #fff3cd;
    --warning-500: #ffc107;
    --warning-600: #e0a800;
    
    --info-100: #d1ecf1;
    --info-500: #17a2b8;
    --info-600: #138496;
    
    --danger-100: #f8d7da;
    --danger-500: #dc3545;
    --danger-600: #c82333;
}

html, body {
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    color: var(--dark);
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #fefefe;
    scroll-behavior: smooth;
}

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

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

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

.card{
    background: var(--gradient-card);
    border-radius: 16px;
}

.animate-fade-in-up {
    animation: fadeInUp 0.6s ease-out forwards;
}

.animate-float {
    animation: float 3s ease-in-out infinite;
}

.animate-pulse {
    animation: pulse 2s ease-in-out infinite;
}

/* ------------------------------------------------------------
 * Button Styles
 * ------------------------------------------------------------ */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border-radius: 50px;
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.8rem 2rem;
    border: none;
    box-shadow: var(--shadow-sm);
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), rgba(255,255,255,0));
    transform: translateX(-100%);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

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

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

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-light {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.8);
    color: var(--primary);
    backdrop-filter: blur(5px);
}

.btn-outline-light:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-lg {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

/* Button Animations */
@keyframes buttonPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

.btn-pulse {
    animation: buttonPulse 2s infinite;
}

.btn-float {
    animation: float 3s ease-in-out infinite;
}

/* ------------------------------------------------------------
 * Navbar
 * ------------------------------------------------------------ */
.navbar {
    backdrop-filter: blur(10px);
    background: rgba(255, 107, 107, 0.1);
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
    padding: 1rem 0;
}

.navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.5rem;
    color: var(--primary);
}

.nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
}

.nav-link:hover {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary) !important;
}

.dropdown-menu {
    border: none;
    box-shadow: var(--shadow-md);
    border-radius: 1rem;
    padding: 0.5rem;
    z-index: 1050;
}

.dropdown-item {
    border-radius: 0.5rem;
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
}

.dropdown-item i {
    color: var(--primary);
}

/* ------------------------------------------------------------
 * Hero Section
 * ------------------------------------------------------------ */
.hero {
    min-height: 85vh;
    position: relative;
    display: flex;
    align-items: center;
    color: #fff;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, rgba(0,0,0,0.4) 100%);
}

.hero-content {
    position: relative;
    z-index: 1;
    text-align: center;
    padding: 0 1rem;
}

.hero h1 {
    text-shadow: 0 2px 4px rgba(0,0,0,0.2);
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero p {
    animation: fadeInUp 0.8s ease-out 0.2s forwards;
    opacity: 0;
}

.hero .btn {
    margin: 0.5rem;
    min-width: 180px;
}

/* ------------------------------------------------------------
 * Section Titles
 * ------------------------------------------------------------ */
.section-title {
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    color: #333;
}

/* ------------------------------------------------------------
 * Feature Cards
 * ------------------------------------------------------------ */
.feature-card {
    border: none;
    border-radius: 1rem;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    background-color: #fff;
    overflow: hidden;
    position: relative;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity 0.4s ease;
    z-index: 0;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-lg);
}

.feature-card:hover::before {
    opacity: 0.05;
}

.feature-card .card-body {
    position: relative;
    z-index: 1;
}

.feature-icon {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 1rem;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1);
}

/* ------------------------------------------------------------
 * How-It-Works Numbered List
 * ------------------------------------------------------------ */
.how-list {
    counter-reset: step-counter;
    list-style: none;
    padding-left: 0;
}

.how-list li {
    position: relative;
    margin-bottom: 2rem;
    padding-left: 3rem;
    color: var(--dark);
    transition: transform 0.3s ease;
}

.how-list li:hover {
    transform: translateX(10px);
}

.how-list li:before {
    counter-increment: step-counter;
    content: counter(step-counter);
    position: absolute;
    left: 0;
    top: 0;
    background: var(--gradient-primary);
    color: #fff;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    border-radius: 50%;
    font-weight: 600;
    box-shadow: var(--shadow-sm);
}

/* ------------------------------------------------------------
 * Call to Action
 * ------------------------------------------------------------ */
.cta-section {
    background: var(--gradient-primary-light);
    color: white;
    position: relative;
    overflow: hidden;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url("data:image/svg+xml,%3Csvg width='100' height='100' viewBox='0 0 100 100' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M11 18c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm48 25c3.866 0 7-3.134 7-7s-3.134-7-7-7-7 3.134-7 7 3.134 7 7 7zm-43-7c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm63 31c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM34 90c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zm56-76c1.657 0 3-1.343 3-3s-1.343-3-3-3-3 1.343-3 3 1.343 3 3 3zM12 86c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm28-65c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm23-11c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-6 60c2.21 0 4-1.79 4-4s-1.79-4-4-4-4 1.79-4 4 1.79 4 4 4zm29 22c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zM32 63c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm57-13c2.76 0 5-2.24 5-5s-2.24-5-5-5-5 2.24-5 5 2.24 5 5 5zm-9-21c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM60 91c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM35 41c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2zM12 60c1.105 0 2-.895 2-2s-.895-2-2-2-2 .895-2 2 .895 2 2 2z' fill='%23ffffff' fill-opacity='0.1' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.1;
}

.cta-section .btn {
    margin: 0.5rem;
    min-width: 180px;
}

.cta-section .btn-light {
    background: white;
    color: var(--primary);
    font-weight: 600;
}

.cta-section .btn-light:hover {
    background: var(--light);
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

/* ------------------------------------------------------------
 * Footer
 * ------------------------------------------------------------ */
footer {
    background-color: var(--light);
    padding: 3rem 0;
    font-size: 0.9rem;
    position: relative;
    overflow: hidden;
}

footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

footer a {
    color: var(--dark);
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
}

footer a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

footer a:hover::after {
    width: 100%;
}

/* ------------------------------------------------------------
 * Alert Styles
 * ------------------------------------------------------------ */
.alert {
    border: none;
    border-radius: 1rem;
    padding: 1rem 1.5rem;
    box-shadow: var(--shadow-sm);
}

.alert-success {
    background: rgba(78, 205, 196, 0.1);
    color: var(--secondary);
}

.alert-danger {
    background: rgba(255, 107, 107, 0.1);
    color: var(--primary);
}

.primary-dark {
    color: var(--primary-dark);
    text-decoration: none;
}
.primary-soft {
    color: var(--primary-soft);
    text-decoration: none;
}
.primary-soft:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.navbar .dropdown-menu {
    z-index: 9999 !important;
    position: absolute;
}

/* Also ensure the navbar has a proper stacking context */
.navbar {
    position: relative;
    z-index: 1000;
}
/* ------------------------------------------------------------
 * Responsive Adjustments
 * ------------------------------------------------------------ */
@media (max-width: 768px) {
    .hero {
        min-height: 70vh;
    }
    
    .feature-card {
        margin-bottom: 1.5rem;
    }
    
    .how-list li {
        padding-left: 2.5rem;
    }

    .navbar {
        padding: 0.5rem 0;
    }
    
    .nav-link {
        padding: 0.5rem !important;
    }

    .btn {
        padding: 0.4rem 1.2rem;
    }

    .btn-lg {
        padding: 0.8rem 2rem;
        font-size: 1rem;
    }

    .hero .btn,
    .cta-section .btn {
        min-width: 160px;
        margin: 0.3rem;
    }
}

/* ------------------------------------------------------------
 * Todo App Styles
 * ------------------------------------------------------------ */

/* Card Components */
.hover-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.15) !important;
}

.hover-item-card {
    transition: all 0.3s ease;
}

.hover-item-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

.completed-item {
    opacity: 0.85;
}

/* Status Icons */
.status-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    transition: all 0.3s ease;
}

.status-icon.pending {
    background: var(--primary-100);
    color: var(--primary-600);
    border: 2px solid var(--primary-200);
}

.status-icon.ready {
    background: var(--info-100);
    color: var(--info-500);
    border: 2px solid var(--info-500);
}

.status-icon.completed {
    background: var(--success-100);
    color: var(--success-500);
    border: 2px solid var(--success-500);
}

/* Icon Boxes */
.icon-box {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
    background-color: var(--primary-100);
    color: var(--primary-600);
}

.icon-box.bg-primary {
    background-color: var(--primary-100) !important;
    color: var(--primary-600) !important;
}

.icon-box.bg-success {
    background-color: var(--success-100) !important;
    color: var(--success-500) !important;
}

.icon-box.bg-warning {
    background-color: var(--warning-100) !important;
    color: var(--warning-500) !important;
}

.icon-box.bg-info {
    background-color: var(--info-100) !important;
    color: var(--info-500) !important;
}

/* Progress Bars */
.progress-sm {
    height: 8px;
    border-radius: 10px;
}

.progress-bar {
    border-radius: 10px;
}

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

.progress-bar.bg-success {
    background-color: var(--success-500) !important;
}

/* Rating Components */
.rating-section {
    padding: 15px;
    background: var(--primary-100);
    border-radius: 8px;
    border: 1px solid var(--primary-200);
}

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

.rating-value {
    font-size: 1.25rem;
    line-height: 1;
}

/* Mobile-responsive rating adjustments */
@media (max-width: 575.98px) {
    .rating-section {
        padding: 12px;
        margin-bottom: 1rem;
    }
    
    .rating-item {
        text-align: left;
    }
    
    .rating-value {
        font-size: 1.5rem;
        line-height: 1.2;
    }
    
    .rating-section h6 {
        font-size: 0.95rem;
        margin-bottom: 0.75rem !important;
    }
}

@media (min-width: 576px) and (max-width: 991.98px) {
    .rating-section {
        padding: 14px;
    }
    
    .rating-value {
        font-size: 1.35rem;
    }
}

.rating-value.text-primary {
    color: var(--primary-600) !important;
}

.rating-value.text-success {
    color: var(--success-500) !important;
}

/* Enhanced Button Styles */
.btn {
    border-radius: 6px;
    transition: all 0.2s ease;
}

.btn.rounded-pill {
    border-radius: 25px !important;
}

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

.btn-primary:hover {
    background-color: var(--primary-600);
    border-color: var(--primary-700);
    color: #fff;
}

.btn-success {
    background-color: var(--success-500);
    border-color: var(--success-500);
    color: #fff;
}

.btn-success:hover {
    background-color: var(--success-600);
    border-color: var(--success-600);
    color: #fff;
}

.btn-warning {
    background-color: var(--warning-500);
    border-color: var(--warning-500);
    color: #000;
}

.btn-warning:hover {
    background-color: var(--warning-600);
    border-color: var(--warning-600);
    color: #000;
}

.btn-info {
    background-color: var(--info-500);
    border-color: var(--info-500);
    color: #fff;
}

.btn-info:hover {
    background-color: var(--info-600);
    border-color: var(--info-600);
    color: #fff;
}

.btn-danger {
    background-color: var(--danger-500);
    border-color: var(--danger-500);
    color: #fff;
}

.btn-danger:hover {
    background-color: var(--danger-600);
    border-color: var(--danger-600);
    color: #fff;
}

.btn-light.border {
    background-color: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
}

.btn-light.border:hover {
    background-color: var(--primary-100);
    border-color: var(--primary-300);
    color: var(--primary-700);
}

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

.btn-outline-primary:hover {
    background-color: var(--primary-500);
    border-color: var(--primary-600);
    color: #fff;
}

.btn-secondary:disabled {
    background-color: #6c757d;
    border-color: #6c757d;
    color: #fff;
    opacity: 0.6;
}

/* Badge Variants */
.badge {
    font-weight: 500;
}

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

.badge.bg-success {
    background-color: var(--success-500) !important;
}

.badge.bg-warning {
    background-color: var(--warning-500) !important;
}

.badge.bg-info {
    background-color: var(--info-500) !important;
}

.badge.bg-danger {
    background-color: var(--danger-500) !important;
}

/* Text Color Variants */
.text-primary {
    color: var(--primary-500) !important;
}

.text-primary-600 {
    color: var(--primary-600) !important;
}
.text-primary-500 {
    color: var(--primary-500) !important;
}
.text-primary-300 {
    color: var(--primary-300) !important;
}
.text-primary-200 {
    color: var(--primary-200) !important;
}


.text-success {
    color: var(--success-500) !important;
}

.text-warning {
    color: var(--warning-500) !important;
}

.text-info {
    color: var(--info-500) !important;
}

.text-danger {
    color: var(--danger-500) !important;
}

/* Alert Variants */
.alert {
    border-radius: 8px;
}

.alert-warning {
    background-color: var(--warning-100) !important;
    border-color: var(--warning-500) !important;
}

.alert-info {
    background-color: var(--info-100) !important;
    border-color: var(--info-500) !important;
}

.alert-success {
    background-color: var(--success-100) !important;
    border-color: var(--success-500) !important;
}

/* Card and Modal Components */
.card {
    border-radius: 12px;
}

.modal-content {
    border-radius: 12px;
}

.dropdown-menu {
    border: none;
    border-radius: 12px;
}

/* Links and Interactions */
.hover-link:hover {
    color: var(--primary-600) !important;
}

/* Icon styling for better visibility */
.fas, .far {
    opacity: 1;
}

/* Stretched Link Utilities */
.stretched-link::after {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    z-index: 1;
    content: "";
}

/* Override stretched-link for nested links */
.card-footer .btn,
.card-body a:not(.stretched-link) {
    position: relative;
    z-index: 2;
}

/* Background Gradient Override for Todo App */
.bg-gradient-primary {
    background: linear-gradient(135deg, var(--primary-500) 0%, var(--primary-700) 100%);
}

/* ------------------------------------------------------------
 * Adventure Theme Styles
 * ------------------------------------------------------------ */

/* Adventure List Card */
.adventure-list-card {
    border-radius: 16px !important;
    overflow: hidden;
}

/* Header Pattern */
.header-pattern::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="white" opacity="0.15"/><circle cx="75" cy="75" r="1" fill="white" opacity="0.15"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.4;
}

/* Hover Effects */
.hover-lift {
    transition: all 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 35px rgba(0,0,0,0.15) !important;
}

/* Empty State Illustrations */
.empty-illustration .illustration-bg {
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.empty-adventure-state {
    padding: 4rem 2rem;
}

/* Adventure Goal Cards */
.adventure-goal-card {
    transition: all 0.3s ease;
}

.hover-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15) !important;
}

/* Goal Status Icons */
.goal-status {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: 3px solid;
}

.goal-status.completed {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    border-color: #1e7e34;
    box-shadow: 0 4px 15px rgba(40, 167, 69, 0.4);
}

.goal-status.ready {
    background: linear-gradient(135deg, #17a2b8, #007bff);
    color: white;
    border-color: #0c5460;
    box-shadow: 0 4px 15px rgba(23, 162, 184, 0.4);
}

.goal-status.planning {
    background: linear-gradient(135deg, #ffc107, #fd7e14);
    color: #212529;
    border-color: #b45309;
    box-shadow: 0 4px 15px rgba(255, 193, 7, 0.4);
}

/* Adventure Goal State Styling */
.adventure-goal-card .card {
    border-left: 4px solid #e9ecef;
    transition: all 0.3s ease;
}

/* Completed Goals - Green */
.completed-goal {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    border-left: 4px solid #198754 !important;
}

/* Ready Goals - Blue */
.adventure-goal-card .card:has(.goal-status.ready) {
    border-left: 4px solid #0d6efd !important;
    background: linear-gradient(135deg, #f8f9fa, #f0f8ff);
}

/* Planning Goals - Orange */
.adventure-goal-card .card:has(.goal-status.planning) {
    border-left: 4px solid #fd7e14 !important;
    background: linear-gradient(135deg, #f8f9fa, #fff8f0);
}

/* Fallback for browsers without :has() support */
.adventure-goal-card[data-status="ready"] .card {
    border-left: 4px solid #0d6efd !important;
    background: linear-gradient(135deg, #f8f9fa, #f0f8ff);
}

.adventure-goal-card[data-status="planning"] .card {
    border-left: 4px solid #fd7e14 !important;
    background: linear-gradient(135deg, #f8f9fa, #fff8f0);
}

/* Goal Titles */
.goal-title a:hover {
    color: var(--primary-600) !important;
}

/* Rating Cards - General */
.rating-card {
    transition: all 0.2s ease;
    padding: 1.5rem;
    text-align: center;
    border-radius: 12px !important;
    display: flex;
    flex-direction: column;
    justify-content: center;
    width: 100%;
    min-height: 120px;
}

.rating-card:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1) !important;
}

.rating-card.bg-primary.bg-opacity-10 {
    background-color: rgba(255, 107, 107, 0.08) !important;
    border-color: rgba(255, 107, 107, 0.4) !important;
}

.rating-card.bg-success.bg-opacity-10 {
    background-color: rgba(40, 167, 69, 0.08) !important;
    border-color: rgba(40, 167, 69, 0.4) !important;
}

/* Rating Values - Show Page Small Cards */
.rating-sections .rating-card .rating-value {
    font-size: 2rem !important;
    line-height: 1;
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.rating-sections .rating-card .rating-value.text-primary {
    color: #c53030 !important;
}

.rating-sections .rating-card .rating-value.text-success {
    color: #1e7e34 !important;
}

.rating-sections .rating-card small {
    font-size: 0.75rem !important;
    opacity: 0.8;
}

/* Rating Cards - Detail Page Large Cards */
.rating-card.h-100 {
    min-height: 250px;
    padding: 2rem;
}

.rating-card.h-100 .rating-value {
    font-size: 4rem !important;
    line-height: 1;
    margin-bottom: 1rem;
    font-weight: 700;
}

.rating-card.h-100 h6 {
    color: inherit !important;
    margin-bottom: 1.5rem !important;
    font-size: 1.1rem !important;
}

.rating-card.h-100 h6.text-primary {
    color: #c53030 !important;
}

.rating-card.h-100 h6.text-success {
    color: #1e7e34 !important;
}

.rating-card.h-100 small {
    font-size: 0.9rem !important;
    opacity: 0.8;
}

/* Memory Cards */
.memory-card {
    background: linear-gradient(135deg, #f8f9fa, #ffffff);
}

/* Image Wrappers */
.image-wrapper {
    transition: all 0.3s ease;
}

.image-wrapper:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* Adventure Stats */
.adventure-stats-card {
    border-radius: 12px !important;
}

.stat-icon {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.stat-icon.bg-primary.bg-opacity-15 {
    background-color: rgba(255, 107, 107, 0.15) !important;
    color: #c53030 !important;
    border: 2px solid rgba(255, 107, 107, 0.3);
}

.stat-icon.bg-success.bg-opacity-15 {
    background-color: rgba(40, 167, 69, 0.15) !important;
    color: #1e7e34 !important;
    border: 2px solid rgba(40, 167, 69, 0.3);
}

.stat-icon.bg-warning.bg-opacity-15 {
    background-color: rgba(255, 193, 7, 0.15) !important;
    color: #b45309 !important;
    border: 2px solid rgba(255, 193, 7, 0.3);
}

.stat-icon.bg-info.bg-opacity-15 {
    background-color: rgba(23, 162, 184, 0.15) !important;
    color: #0c5460 !important;
    border: 2px solid rgba(23, 162, 184, 0.3);
}

.stat-item {
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0,0,0,0.08);
}

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

.stat-item:last-child {
    border-bottom: none;
}

/* Background Gradients */
.bg-gradient-light {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Enhanced Dropdown Items */
.dropdown-item {
    transition: all 0.2s ease;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
    transform: translateX(5px);
}

/* Adventure Welcome Cards */
.adventure-welcome-card {
    background: linear-gradient(135deg, rgba(255,107,107,0.1), rgba(78,205,196,0.1));
    border: 2px solid rgba(255,107,107,0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.adventure-welcome-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(255,107,107,0.15);
}

/* Adventure Header Styles */
.adventure-header {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    position: relative;
    overflow: hidden;
}

.adventure-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="adventurePattern" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="10" cy="10" r="1" fill="white" opacity="0.1"/></pattern></defs><rect width="100" height="100" fill="url(%23adventurePattern)"/></svg>');
    opacity: 0.3;
}

/* Adventure Progress Indicators */
.adventure-progress {
    height: 8px;
    background: rgba(255,255,255,0.2);
    border-radius: 10px;
    overflow: hidden;
}

.adventure-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, var(--success-500), var(--secondary));
    border-radius: 10px;
    transition: width 0.8s ease;
}

/* Adventure Badge Styles */
.adventure-badge {
    background: linear-gradient(135deg, var(--primary-500), var(--primary-700));
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    font-size: 0.875rem;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.adventure-badge.completed {
    background: linear-gradient(135deg, var(--success-500), #20c997);
    box-shadow: 0 4px 15px rgba(40,167,69,0.3);
}

.adventure-badge.planning {
    background: linear-gradient(135deg, var(--warning-500), #fd7e14);
    box-shadow: 0 4px 15px rgba(255,193,7,0.3);
}

/* Adventure Rating Displays */
.adventure-rating-display {
    text-align: center;
    padding: 1rem;
    background: rgba(255,255,255,0.8);
    border-radius: 12px;
    border: 2px solid rgba(255,107,107,0.1);
    transition: all 0.3s ease;
}

.adventure-rating-display:hover {
    background: rgba(255,255,255,1);
    border-color: rgba(255,107,107,0.3);
    transform: translateY(-2px);
}

.adventure-rating-value {
    font-size: 2rem;
    font-weight: bold;
    line-height: 1;
    margin-bottom: 0.5rem;
}

.adventure-rating-label {
    font-size: 0.875rem;
    font-weight: 500;
    opacity: 0.8;
}

/* Adventure Action Buttons */
.adventure-action-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    font-weight: 600;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.adventure-action-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 ease;
}

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

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

/* Adventure Memory Gallery */
.adventure-memory-gallery {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
    gap: 0.5rem;
    margin-top: 1rem;
}

.adventure-memory-item {
    aspect-ratio: 1;
    border-radius: 8px;
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.adventure-memory-item:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0,0,0,0.2);
    z-index: 10;
}

.adventure-memory-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Responsive Adjustments for Adventure Theme */
@media (max-width: 768px) {
    .adventure-goal-card {
        margin-bottom: 1rem;
    }
    
    .goal-status {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .rating-card {
        padding: 0.75rem;
    }
    
    .adventure-rating-value {
        font-size: 1.5rem;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
    
    .adventure-action-btn {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
    
         .empty-illustration .illustration-bg {
         width: 100px;
         height: 100px;
     }
 }

/* ------------------------------------------------------------
 * Adventure Detail Page Styles
 * ------------------------------------------------------------ */

/* Adventure Detail Card */
.adventure-detail-card {
    border-radius: 16px !important;
    overflow: hidden;
}

/* Detail Cards */
.detail-card {
    transition: all 0.2s ease;
}

.detail-card:hover {
    transform: scale(1.02);
}

.detail-icon {
    width: 50px;
    height: 50px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
}

.detail-icon.bg-primary.bg-opacity-20 {
    background-color: rgba(255, 107, 107, 0.2) !important;
    color: #c53030 !important;
    border: 2px solid rgba(255, 107, 107, 0.4);
}

.detail-icon.bg-info.bg-opacity-20 {
    background-color: rgba(23, 162, 184, 0.2) !important;
    color: #0c5460 !important;
    border: 2px solid rgba(23, 162, 184, 0.4);
}

.detail-icon.bg-success.bg-opacity-20 {
    background-color: rgba(40, 167, 69, 0.2) !important;
    color: #1e7e34 !important;
    border: 2px solid rgba(40, 167, 69, 0.4);
}

/* Story Content */
.story-content {
    border-left: 4px solid var(--primary-500);
    background: linear-gradient(135deg, #f8f9fa, #e9ecef);
}

/* Rating Display Components */
.rating-display {
    position: relative;
}

.rating-stars {
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.1));
}

/* Rating Sidebar */
.rating-sidebar {
    border-radius: 12px !important;
}

.rating-item {
    transition: all 0.2s ease;
}

.rating-item:hover {
    transform: scale(1.02);
}

/* Partner Components */
.partner-avatar {
    background: linear-gradient(135deg, var(--primary-500), #667eea);
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.partner-rating {
    transition: all 0.2s ease;
}

.partner-rating:hover {
    transform: scale(1.01);
}

/* Empty State Animations */
.empty-state .empty-icon {
    animation: float 3s ease-in-out infinite;
}

/* Section Headers */
.section-header {
    border-left: 4px solid var(--primary-500);
}

/* Rating Value Sizes - Mobile Responsive */
@media (max-width: 575.98px) {
    .rating-card {
        padding: 1rem;
        min-height: 100px;
    }
    
    .rating-sections .rating-card .rating-value {
        font-size: 1.5rem !important;
    }
    
    .rating-sections .rating-card small {
        font-size: 0.7rem !important;
    }
    
    /* Detail page large cards */
    .rating-card.h-100 {
        padding: 1rem;
        min-height: 160px;
    }
    
    .rating-card.h-100 .rating-value,
    .rating-value.fs-1 {
        font-size: 2.2rem !important;
    }
    
    .rating-card.h-100 h6 {
        font-size: 0.95rem !important;
    }
    
    .rating-stars .fs-5 {
        font-size: 1rem !important;
    }
    
    .detail-card {
        margin-bottom: 1rem;
    }
    
    .detail-icon {
        width: 40px;
        height: 40px;
    }
    
    .partner-avatar {
        width: 40px !important;
        height: 40px !important;
    }
    
    .stat-icon {
        width: 40px;
        height: 40px;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .rating-sections .rating-card .rating-value {
        font-size: 1.75rem !important;
    }
    
    .rating-sections .rating-card {
        min-height: 110px;
    }
    
    /* Detail page large cards */
    .rating-card.h-100 {
        padding: 1.25rem;
        min-height: 180px;
    }
    
    .rating-card.h-100 .rating-value,
    .rating-value.fs-1 {
        font-size: 2.8rem !important;
    }
    
    .rating-card.h-100 h6 {
        font-size: 1rem !important;
    }
    
    .rating-stars .fs-5 {
        font-size: 1.1rem !important;
    }
}

@media (min-width: 768px) and (max-width: 991.98px) {
    .rating-sections .rating-card .rating-value {
        font-size: 2rem !important;
    }
    
    .rating-sections .rating-card {
        min-height: 120px;
    }
    
    /* Detail page large cards */
    .rating-card.h-100 {
        padding: 1.5rem;
        min-height: 200px;
    }
    
    .rating-card.h-100 .rating-value,
    .rating-value.fs-1 {
        font-size: 3.2rem !important;
    }
    
    .rating-card.h-100 h6 {
        font-size: 1.05rem !important;
    }
}

@media (min-width: 992px) and (max-width: 1199.98px) {
    .rating-sections .rating-card .rating-value {
        font-size: 2.25rem !important;
    }
    
    .rating-sections .rating-card {
        min-height: 130px;
    }
    
    /* Detail page large cards */
    .rating-card.h-100 {
        padding: 1.75rem;
        min-height: 230px;
    }
    
    .rating-card.h-100 .rating-value,
    .rating-value.fs-1 {
        font-size: 3.8rem !important;
    }
}

@media (min-width: 1200px) {
    .rating-sections .rating-card .rating-value {
        font-size: 2.5rem !important;
    }
    
    .rating-sections .rating-card {
        min-height: 140px;
    }
    
    /* Detail page large cards */
    .rating-card.h-100 {
        padding: 2rem;
        min-height: 250px;
    }
    
    .rating-card.h-100 .rating-value,
    .rating-value.fs-1 {
        font-size: 4rem !important;
    }
    
    .rating-card.h-100 h6 {
        font-size: 1.1rem !important;
    }
}

/* Adventure Action Buttons - Responsive */
@media (max-width: 767.98px) {
    .adventure-actions .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }
    
    .adventure-actions .d-flex {
        flex-direction: column;
    }
}

/* Fix for very large screens to prevent cards from becoming too wide */
@media (min-width: 1400px) {
    .rating-card.h-100 {
        max-width: 450px;
        margin: 0 auto;
    }
}

/* Adventure Header Actions */
.adventure-header-actions {
    margin-top: 0.5rem;
}

.adventure-header-actions .btn {
    transition: all 0.2s ease;
    white-space: nowrap;
}

.adventure-header-actions .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 8px rgba(0,0,0,0.15) !important;
}

/* Mobile Responsiveness for Adventure Header Actions */
@media (max-width: 575.98px) {
    .adventure-header-actions {
        width: 100%;
        margin-top: 1rem;
    }
    
    .adventure-header-actions .d-flex {
        justify-content: center !important;
        gap: 0.5rem !important;
    }
    
    .adventure-header-actions .btn {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem !important;
        min-width: auto;
    }
    
    .adventure-header-actions .btn-sm {
        padding: 0.375rem 0.75rem !important;
    }
    
    .adventure-header-actions .dropdown-menu {
        font-size: 0.9rem;
    }
}

@media (min-width: 576px) and (max-width: 767.98px) {
    .adventure-header-actions .btn {
        font-size: 0.85rem;
        padding: 0.45rem 1rem !important;
    }
}

@media (min-width: 768px) {
    .adventure-header-actions {
        margin-top: 0;
    }
}

/* Adventure Layout Fixes */
.adventure-goal-card {
    position: relative;
    overflow: visible;
}

.adventure-goal-card .card {
    overflow: visible;
}

.adventure-goal-card .card-body {
    overflow: visible;
}

.adventure-stats-card {
    position: sticky;
    top: 2rem;
    z-index: 10;
}

/* Fix container overflow issues */
.goal-content {
    width: 100%;
    overflow: visible;
}

.rating-sections {
    width: 100%;
    overflow: visible;
}

.rating-sections .row {
    margin-left: 0;
    margin-right: 0;
}

.rating-sections .row > * {
    padding-left: 0.75rem;
    padding-right: 0.75rem;
}

/* Mobile layout adjustments */
@media (max-width: 991.98px) {
    .adventure-stats-card {
        position: relative;
        top: auto;
        margin-bottom: 2rem;
    }
}

/* Responsive ordering for Adventure Progress */
@media (min-width: 992px) {
    .adventure-stats-card {
        position: sticky;
        top: 2rem;
    }
}

@media (max-width: 991.98px) {
    .adventure-stats-card {
        margin-bottom: 2rem;
    }
}

/* Mobile Adventure Progress */
.collapse-icon {
    transition: transform 0.3s ease;
}

.collapsed .collapse-icon {
    transform: rotate(0deg);
}

.collapse-icon:not(.collapsed) {
    transform: rotate(180deg);
}

/* Mobile Progress Cards */
.mobile-progress-card {
    transition: all 0.2s ease;
}

.mobile-progress-card:hover {
    transform: translateY(-2px);
}

.stat-icon {
    width: 35px;
    height: 35px;
}

/* Mobile Progress Button Animation */
.btn[data-bs-toggle="collapse"] {
    position: relative;
    overflow: hidden;
}

.btn[data-bs-toggle="collapse"]::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[data-bs-toggle="collapse"]:hover::before {
    left: 100%;
}

.btn-romantic {
    background: var(--gradient-primary);
    color: white !important;
    border: none;
}

.btn-romantic:hover {
    background: linear-gradient(135deg, var(--primary-600) 0%, var(--primary-700) 100%);
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-outline-romantic {
    color: var(--primary-500);
    border-color: var(--primary-500);
    background: transparent;
}

.btn-outline-romantic:hover {
    background: var(--gradient-primary);
    border-color: transparent;
    color: white !important;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-journey {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(to right, #ec4899, #f472b6, #a855f7);
    color: #fff;
    box-shadow: 0 .5rem 1rem rgba(0,0,0,0.1);
    transition: all .3s;
}

.btn-journey:hover {
    background: linear-gradient(to right, #d946ef, #f43f5e, #9333ea);
    box-shadow: 0 .5rem 1rem rgba(236,72,153,0.4);
}

.btn-journey-outline {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 0.75rem;
    background: linear-gradient(45deg, #ff5a5e, #fe8fef, #fa9084);
    color: #fff;
    box-shadow: 0 .5rem 1rem rgba(255, 105, 180, 0.2);
    transition: all .3s;
}

.btn-journey-outline:hover {
    background: linear-gradient(45deg, #ff6a88, #ff8fab, #ffb0d1);
    box-shadow: 0 .5rem 1rem rgba(255, 105, 180, 0.4);
}

/* Add these styles to your frontend.css */

/* Card Container */
.dream-card {
    position: relative;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff, rgba(251, 231, 233, 0.5));
    overflow: hidden;
    transition: all 500ms ease;
}

.dream-card:hover {
    background: linear-gradient(135deg, rgba(251, 231, 233, 0.5), rgba(253, 242, 248, 0.5));
}

/* Overlay Gradient */
.dream-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(244, 63, 94, 0.05), rgba(236, 72, 153, 0.05));
    opacity: 0;
    transition: opacity 500ms ease;
}

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

/* Card Content */
.dream-card-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}

/* Icon Container */
.dream-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #f43f5e, #ec4899);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 300ms ease;
}

.dream-card:hover .dream-icon-container {
    transform: scale(1.1);
}

.dream-icon {
    height: 1.75rem;
    width: 1.75rem;
    color: white;
}

/* Badge */
.dream-badge {
    padding: 0.25rem 0.5rem;
    color: #e11d48;
    border: 1px solid #fecdd3;
    background-color: #fff1f2;
    border-radius: 9999px;
    font-size: 0.875rem;
}

/* Title */
.dream-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 300ms ease;
}

.dream-card:hover .dream-title {
    color: #be123c;
}

/* Description */
.dream-description {
    color: #4b5563;
    line-height: 1.625;
    margin-bottom: 1rem;
}

/* Feature Items */
.dream-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.dream-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.dream-feature-item.dream {
    background: linear-gradient(to right, #fff1f2, #fdf2f8);
}

.dream-feature-item.reality {
    background: linear-gradient(to right, #f0fdf4, #d1fae5);
}

.dream-feature-icon {
    height: 1.25rem;
    width: 1.25rem;
}

.dream-feature-icon.dream {
    color: #f43f5e;
}

.dream-feature-icon.reality {
    color: #10b981;
}

.dream-feature-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.dream-feature-text.dream {
    color: #be123c;
}

.dream-feature-text.reality {
    color: #047857;
}

/* Add these styles to your frontend.css */

/* Card Container */
.universe-card {
    position: relative;
    border: none;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff, rgba(250, 245, 255, 0.5));
    overflow: hidden;
    transition: all 500ms ease;
}

.universe-card:hover {
    background: linear-gradient(135deg, rgba(250, 245, 255, 0.5), rgba(253, 242, 248, 0.5));
}

/* Overlay Gradient */
.universe-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(135deg, rgba(168, 85, 247, 0.05), rgba(236, 72, 153, 0.05));
    opacity: 0;
    transition: opacity 500ms ease;
}

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

/* Card Content */
.universe-card-content {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
}

/* Icon Container */
.universe-icon-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #a855f7, #ec4899);
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    transition: transform 300ms ease;
}

.universe-card:hover .universe-icon-container {
    transform: scale(1.1);
}

.universe-icon {
    height: 1.75rem;
    width: 1.75rem;
    color: white;
}

/* Badge */
.universe-badge {
    padding: 0.25rem 0.5rem;
    color: #9333ea;
    border: 1px solid #e9d5ff;
    background-color: #faf5ff;
    border-radius: 9999px;
    font-size: 0.875rem;
}

/* Title */
.universe-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 300ms ease;
}

.universe-card:hover .universe-title {
    color: #7e22ce;
}

/* Description */
.universe-description {
    color: #4b5563;
    line-height: 1.625;
    margin-bottom: 1rem;
}

/* Feature Items */
.universe-features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.universe-feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
}

.universe-feature-item.intimate {
    background: linear-gradient(to right, #faf5ff, #fdf2f8);
}

.universe-feature-item.shared {
    background: linear-gradient(to right, #fdf2f8, #fff1f2);
}

.universe-feature-icon {
    height: 1.25rem;
    width: 1.25rem;
}

.universe-feature-icon.intimate {
    color: #a855f7;
}

.universe-feature-icon.shared {
    color: #ec4899;
}

.universe-feature-text {
    font-size: 0.875rem;
    font-weight: 500;
}

.universe-feature-text.intimate {
    color: #7e22ce;
}

.universe-feature-text.shared {
    color: #be185d;
}

/* Main Card Container */
.personal-card {
    position: relative;
    border: 0;
    box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    background: linear-gradient(135deg, #ffffff, rgba(238, 242, 255, 0.5));
    overflow: hidden;
    transition: all 0.5s ease;
  }
  
  .personal-card:hover {
    background: linear-gradient(135deg, rgba(238, 242, 255, 0.5), rgba(250, 245, 255, 0.5));
  }
  
  /* Hover Overlay */
  .personal-card__overlay {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    left: 0;
    background: linear-gradient(135deg, rgba(99, 102, 241, 0.05), rgba(168, 85, 247, 0.05));
    opacity: 0;
    transition: opacity 0.5s ease;
  }
  
  .personal-card:hover .personal-card__overlay {
    opacity: 1;
  }
  
  /* Content Wrapper */
  .personal-card__content {
    position: relative;
    z-index: 10;
    padding: 1.5rem;
  }
  
  /* Header Section */
  .personal-card__header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
  }
  
  /* Icon Container */
  .personal-card__icon-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 3.5rem;
    height: 3.5rem;
    border-radius: 1rem;
    background: linear-gradient(135deg, #6366f1, #a855f7);
    box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
  }
  
  .personal-card:hover .personal-card__icon-wrapper {
    transform: scale(1.1);
  }
  
  /* Icon */
  .personal-card__icon {
    width: 1.75rem;
    height: 1.75rem;
    color: #ffffff;
  }
  
  /* Badge */
  .personal-card__badge {
    padding: 0.25rem 0.75rem;
    color: #4f46e5;
    border: 1px solid #e0e7ff;
    background-color: #eef2ff;
    border-radius: 9999px;
    font-size: 0.875rem;
  }
  
  /* Title */
  .personal-card__title {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1f2937;
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
  }
  
  .personal-card:hover .personal-card__title {
    color: #4338ca;
  }
  
  /* Description */
  .personal-card__description {
    color: #4b5563;
    line-height: 1.625;
    margin-bottom: 1rem;
  }
  
  /* Features Container */
  .personal-card__features {
    display: flex;
    flex-direction: column;
    gap: 1rem;
  }
  
  /* Feature Item */
  .personal-card__feature-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem;
    border-radius: 0.5rem;
  }
  
  .personal-card__feature-item--love {
    background: linear-gradient(to right, #eef2ff, #f5f3ff);
  }
  
  .personal-card__feature-item--evolution {
    background: linear-gradient(to right, #f5f3ff, #fdf2f8);
  }
  
  /* Feature Icon */
  .personal-card__feature-icon {
    width: 1.25rem;
    height: 1.25rem;
  }
  
  .personal-card__feature-icon--love {
    color: #6366f1;
  }
  
  .personal-card__feature-icon--evolution {
    color: #a855f7;
  }
  
  /* Feature Text */
  .personal-card__feature-text {
    font-size: 0.875rem;
    font-weight: 500;
  }
  
  .personal-card__feature-text--love {
    color: #4338ca;
  }
  
  .personal-card__feature-text--evolution {
    color: #7e22ce;
  }

  @media (min-width: 992px) {

      .col-lg-3-5 {
          flex: 0 0 auto;
          width: 30%;
        }
    }

/* ------------------------------------------------------------
 * Sticky Navbar Styles
 * ------------------------------------------------------------ */
.global-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1030;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-header.navbar-hidden {
    transform: translateY(-100%);
}

.global-header .navbar {
    backdrop-filter: blur(15px);
    background: rgba(255, 255, 255, 0.6);
    border-bottom: 1px solid rgba(255, 107, 107, 0.1);
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.global-header .navbar-brand {
    font-weight: 700;
    letter-spacing: 0.5px;
    font-size: 1.5rem;
    color: var(--primary);
    transition: all 0.3s ease;
}

.global-header .nav-link {
    color: var(--dark) !important;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem !important;
    border-radius: 50px;
    position: relative;
    opacity: 0.8;
}

/* Simple and elegant hover effect */
.global-header .nav-link:hover {
    color: var(--primary) !important;
    opacity: 1;
    transform: translateY(-1px);
    background: transparent;
}

/* Remove the underline effect for cleaner look */
.global-header .nav-link::after {
    display: none;
}

/* Add padding to body to account for fixed header */
body {
    padding-top: 80px;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    body {
        padding-top: 70px;
    }
    
    .global-header .navbar {
        backdrop-filter: blur(20px);
        background: rgba(255, 255, 255, 0.7);
    }
    
    .global-header .nav-link:hover {
        transform: none; /* Disable transform on mobile */
    }
}


/* ------------------------------------------------------------
 * Footer Styles
 * ------------------------------------------------------------ */
 
/* ------------------------------------------------------------
 * Footer Styles
 * ------------------------------------------------------------ */
.footer-custom {
    background-color: #111827; /* bg-gray-900 equivalent */
    color: white;
    padding: 4rem 0; /* py-16 equivalent */
}

.footer-heart-icon {
    width: 2.5rem; /* h-10 w-10 equivalent */
    height: 2.5rem;
    color: #f43f5e; /* text-rose-500 equivalent */
    position: relative;
    z-index: 1;
}

.footer-sparkles-icon {
    width: 1.25rem; /* h-5 w-5 equivalent */
    height: 1.25rem;
    color: #f472b6; /* text-pink-400 equivalent */
    position: absolute;
    top: -0.125rem;
    right: -0.125rem;
    z-index: 2;
    animation: sparkle-pulse 2s infinite;
}

.footer-brand-text {
    font-size: 1.875rem; /* text-3xl equivalent */
    font-weight: 700; /* font-bold equivalent */
    background: linear-gradient(to right, #fb7185, #f472b6); /* from-rose-400 to-pink-400 */
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    line-height: 1;
    
}

.footer-tagline {
    color: #9ca3af; /* text-gray-400 equivalent */
    font-size: 1.125rem; /* text-lg equivalent */
    font-weight: 300; /* font-light equivalent */
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

.footer-link {
    color: #9ca3af; /* text-gray-400 equivalent */
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 1rem;
    font-weight: 400;
}

.footer-link:hover {
    color: #f43f5e; /* hover:text-rose-400 equivalent */
    text-decoration: none;
}

/* Sparkle animation */
@keyframes sparkle-pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .footer-custom {
        padding: 3rem 0;
    }
    
    .footer-heart-icon {
        width: 2rem;
        height: 2rem;
    }
    
    .footer-sparkles-icon {
        width: 1rem;
        height: 1rem;
        top: -0.1rem;
        right: -0.1rem;
    }
    
    .footer-brand-text {
        font-size: 1.5rem;
        margin-left: 0.5rem;
    }
    
    .footer-tagline {
        font-size: 1rem;
        padding: 0 1rem;
    }
    
    .d-flex.justify-content-center.flex-wrap.gap-4 {
        gap: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .footer-custom {
        padding: 2.5rem 0;
    }
    
    .footer-heart-icon {
        width: 1.75rem;
        height: 1.75rem;
    }
    
    .footer-sparkles-icon {
        width: 0.875rem;
        height: 0.875rem;
        top: -0.075rem;
        right: -0.075rem;
    }
    
    .footer-brand-text {
        font-size: 1.25rem;
        margin-left: 0.5rem;
    }
    
    .footer-tagline {
        font-size: 0.9rem;
    }
    
    .d-flex.justify-content-center.flex-wrap.gap-4 {
        gap: 1rem !important;
    }
}

/* Modern, Elegant Card Header - Use .modern-card-header on any .card-header */
.modern-card-header {
    background: var(--gradient-primary);
    color: #fff;
    border: none;
    border-radius: 16px 16px 0 0;
    position: relative;
    overflow: hidden;
    box-shadow: 0 4px 24px rgba(255, 107, 107, 0.10), 0 1.5px 6px rgba(0,0,0,0.04);
    padding: 1.5rem 2rem 1rem 2rem;
    font-family: 'Inter', Helvetica, Arial, sans-serif;
    font-weight: 700;
    letter-spacing: 0.01em;
    font-size: 1.25rem;
    display: flex;
    align-items: center;
    min-height: 70px;
    z-index: 1;
}

.modern-card-header .header-pattern {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.modern-card-header h2,
.modern-card-header h4,
.modern-card-header h5 {
    color: #fff;
    font-weight: 700;
    margin-bottom: 0;
    z-index: 2;
    font-size: 1.25rem;
    letter-spacing: 0.01em;
    display: flex;
    align-items: center;
}

.modern-card-header i {
    margin-right: 0.75rem;
    font-size: 1.2em;
    opacity: 0.92;
}

@media (max-width: 575.98px) {
    .modern-card-header {
        padding: 1rem 1rem 0.75rem 1rem;
        font-size: 1rem;
        min-height: 50px;
    }
    .modern-card-header h2,
    .modern-card-header h4,
    .modern-card-header h5 {
        font-size: 1rem;
    }
}

/* ------------------------------------------------------------
 * Category Filter Buttons
 * ------------------------------------------------------------ */
.btn-category-filter {
    transition: all 0.3s ease;
    border-width: 2px !important;
    background-color: transparent !important;
    border-style: solid !important;
}

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

.btn-category-filter.active {
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* Ensure border color is applied with highest specificity */
.btn.btn-sm.btn-category-filter {
    border-color: inherit !important;
}
