/* 
  Fresh Modern Styles
  A clean, contemporary design with soft colors and thoughtful interactions
*/

/* Custom properties */
:root {
    /* Modern Color Palette */
    --color-cloud-white: #FFFFFF;
    --color-soft-lilac: #CCC1D9;
    --color-daybreak-green: #4CAF50; /* Changed from pink to green */
    --color-morning-sky: #6BABFF;
    --color-glow-yellow: #FED57A;
    --color-mindful-gray: #656565;
    --color-evening-blue: #2A4365;
    --color-subtle-gray: #F7F7F7;

    /* Background Colors */
    --color-background-light: #FFFFFF;
    --color-background-dark: #1A2B40; /* Changed to a blue-based dark background */
    --color-text-dark: #1F2937;
    --color-text-light: #FFFFFF;

    /* Accent Colors */
    --color-accent-primary: var(--color-daybreak-green);
    --color-accent-secondary: var(--color-morning-sky);
    --color-accent-tertiary: var(--color-glow-yellow);

    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-daybreak-green), #83C786);
    --gradient-secondary: linear-gradient(135deg, var(--color-morning-sky), #9ECAFF);
    --gradient-accent: linear-gradient(135deg, var(--color-glow-yellow), #FFEDB3);

    /* Effects */
    --shadow-soft: 0 4px 12px rgba(0, 0, 0, 0.08);
    --shadow-medium: 0 6px 16px rgba(0, 0, 0, 0.12);
    --shadow-focus: 0 0 0 3px rgba(204, 193, 217, 0.5); /* Soft Lilac for focus state */
    --shadow-hover: 0 8px 20px rgba(0, 0, 0, 0.15);
    --shadow-btn-hover: 0 6px 15px rgba(76, 175, 80, 0.4); /* Updated for green */
    --shadow-card: 0 8px 20px rgba(107, 171, 255, 0.15); /* Morning Sky shadow for cards */

    /* Typography */
    --font-heading: 'Quicksand', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-ui: 'Rubik', sans-serif;
    --letter-spacing-tight: -0.5px;
    --letter-spacing-normal: 0;
    --letter-spacing-wide: 1px;

    /* Borders */
    --border-radius-small: 6px;
    --border-radius-medium: 12px;
    --border-radius-large: 24px;
    --border-radius-pill: 9999px;
}

/* General styles */
body {
    background-color: var(--color-background-dark); /* Dark background for sonic theme */
    position: relative;
    font-family: var(--font-body);
    color: var(--color-text-light);
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('../images/mystical-bg.svg');
    background-attachment: fixed;
    background-size: cover;
    background-position: center center;
    filter: blur(3px);
    z-index: -1;
    opacity: 1;
}

/* Dark mode is the default now */
body.light-mode {
    background-color: var(--color-background-light);
    color: var(--color-text-dark);
    background-image: radial-gradient(circle at top right, rgba(255, 81, 47, 0.05), transparent 60%),
                      radial-gradient(circle at bottom left, rgba(142, 45, 226, 0.05), transparent 60%);
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: var(--letter-spacing-wide);
    text-shadow: var(--text-shadow);
}

/* Enhance readability against the blurred background */
.main-container p, .main-container .lead, .main-container .card-text {
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

.display-4, .display-3, .display-2, .display-1 {
    font-family: var(--font-display);
    font-weight: 800;
    letter-spacing: var(--letter-spacing-wider);
    text-shadow: var(--text-shadow-strong);
}

/* Mystical heading classes */
.title-magical {
    font-family: var(--font-heading);
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    background: var(--gradient-magical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: var(--text-shadow-magical);
    position: relative;
}

.title-magical::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-magical);
    transform: scaleX(0.7);
    transform-origin: center;
    transition: transform 1s ease;
}

.title-magical:hover::after {
    transform: scaleX(1);
}

.title-motivational {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: var(--text-shadow);
}

.title-celestial {
    font-family: var(--font-script);
    font-weight: 500;
    font-size: 2rem;
    letter-spacing: 1px;
    background: linear-gradient(135deg, var(--color-starlight-lavender), var(--color-moonlight-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: var(--text-shadow-magical);
    margin-bottom: 1rem;
}

/* Great Vibes handwritten script for magical phrases */
.magical-script {
    font-family: 'Great Vibes', cursive;
    font-weight: 400;
    font-size: 2.5rem;
    letter-spacing: 0.5px;
    color: var(--color-moonlight-gold);
    text-shadow: 0 0 10px rgba(255, 217, 122, 0.4);
    margin-bottom: 1rem;
    line-height: 1.2;
}

.title-midnight {
    font-family: var(--font-heading);
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: var(--color-aurora-teal);
    text-shadow: 0 0 10px rgba(141, 245, 227, 0.4);
    position: relative;
    display: inline-block;
}

.title-midnight::before, .title-midnight::after {
    content: '✧';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: var(--color-moonlight-gold);
    opacity: 0.7;
}

.title-midnight::before {
    left: -1.5em;
}

.title-midnight::after {
    right: -1.5em;
}

/* Container styles */
.main-container {
    padding-top: 0;
    padding-bottom: 3rem;
}

/* Modern Navigation styling */
.navbar {
    background: var(--color-cloud-white) !important;
    box-shadow: var(--shadow-soft);
    position: relative;
    padding: 1rem 0;
    border-bottom: 1px solid var(--color-subtle-gray);
}

body.dark-mode .navbar {
    background: #ffffff !important;
    border-bottom: 1px solid #e0e0e0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
}

body.dark-mode .navbar-toggler {
    border-color: #333333;
}

body.dark-mode .navbar-toggler-icon {
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 30 30'%3e%3cpath stroke='rgba(51, 51, 51, 1)' stroke-linecap='round' stroke-miterlimit='10' stroke-width='2' d='M4 7h22M4 15h22M4 23h22'/%3e%3c/svg%3e");
}

.navbar-brand {
    font-family: var(--font-heading);
    font-weight: 700;
    position: relative;
    display: flex;
    align-items: center;
}

.navbar-brand img {
    height: 65px;
    margin-right: 15px;
    transition: transform 0.3s ease;
}

.navbar-brand:hover img {
    transform: scale(1.05);
}

.navbar-brand span {
    color: var(--color-daybreak-green);
    font-size: 1.5rem;
    font-weight: 700;
    position: relative;
}

.navbar-brand span::after {
    content: '';
    position: absolute;
    bottom: -4px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-daybreak-green);
    transition: width 0.3s ease;
}

.navbar-brand:hover span::after {
    width: 100%;
}

.nav-link {
    font-family: var(--font-ui);
    font-weight: 500;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    margin: 0 0.2rem;
    color: var(--color-mindful-gray) !important;
    text-transform: none;
}

body.dark-mode .nav-link {
    color: #333333 !important;
    opacity: 1;
}

.nav-link:hover {
    color: var(--color-daybreak-green) !important;
}

.nav-link.active {
    font-weight: 600;
    color: var(--color-daybreak-green) !important;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 20%;
    width: 60%;
    height: 2px;
    background-color: var(--color-daybreak-green);
}

.dropdown-menu {
    border-radius: var(--border-radius-medium);
    box-shadow: var(--shadow-medium);
    border: 1px solid var(--color-subtle-gray);
    padding: 0.5rem;
    z-index: 1030; /* Higher z-index to ensure visibility */
}

body.dark-mode .dropdown-menu {
    background-color: #ffffff;
    border-color: #e0e0e0;
}

.dropdown-item {
    border-radius: var(--border-radius-small);
    font-family: var(--font-ui);
    padding: 0.5rem 1rem;
    transition: all 0.2s ease;
}

.dropdown-item:hover, .dropdown-item:focus {
    background-color: rgba(76, 175, 80, 0.1);
    color: var(--color-daybreak-green);
}

body.dark-mode .dropdown-item {
    color: #333333;
}

body.dark-mode .dropdown-item:hover, 
body.dark-mode .dropdown-item:focus {
    background-color: rgba(76, 175, 80, 0.2);
}

/* Enhanced Magical Footer styling */
.footer {
    margin-top: 3rem;
    padding: 3rem 0 2rem;
    background: var(--color-midnight-dream) !important;
    position: relative;
    color: var(--color-text-light);
    overflow: hidden;
    border-top: 1px solid rgba(141, 245, 227, 0.2);
    box-shadow: 0 -8px 32px rgba(0, 0, 0, 0.2), 0 0 20px var(--glow-teal);
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-magical);
    animation: shimmer 8s infinite linear;
    background-size: 200% 100%;
    box-shadow: 0 0 15px var(--glow-teal);
}

.footer::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg width='200' height='200' viewBox='0 0 800 800' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='rgba(141, 245, 227, 0.03)' fill-opacity='0.03'%3E%3Cpath d='M769 229L1037 260.9M927 880L731 737 520 660 309 538 40 599 295 764 126.5 879.5 40 599-197 493 102 382-31 229 126.5 79.5-69-63'/%3E%3Cpath d='M-31 229L237 261 390 382 603 493 308.5 537.5 101.5 381.5M370 905L295 764'/%3E%3Cpath d='M520 660L578 842 731 737 840 599 603 493 520 660 295 764 309 538 390 382 539 269 769 229 577.5 41.5 370 105 295 -36 126.5 79.5 237 261 102 382 40 599 -69 737 127 880'/%3E%3Cpath d='M520-140L578.5 42.5 731-63M603 493L539 269 237 261 370 105M902 382L539 269M390 382L102 382'/%3E%3Cpath d='M-222 42L126.5 79.5 370 105 539 269 577.5 41.5 927 80 769 229 902 382 603 493 731 737M295-36L577.5 41.5M578 842L295 764M40-201L127 80M102 382L-261 269'/%3E%3C/g%3E%3Cg fill='rgba(255, 217, 122, 0.04)' fill-opacity='0.04'%3E%3Ccircle cx='769' cy='229' r='7'/%3E%3Ccircle cx='539' cy='269' r='7'/%3E%3Ccircle cx='603' cy='493' r='7'/%3E%3Ccircle cx='731' cy='737' r='7'/%3E%3Ccircle cx='520' cy='660' r='7'/%3E%3Ccircle cx='309' cy='538' r='7'/%3E%3Ccircle cx='295' cy='764' r='7'/%3E%3Ccircle cx='40' cy='599' r='7'/%3E%3Ccircle cx='102' cy='382' r='7'/%3E%3Ccircle cx='127' cy='80' r='7'/%3E%3Ccircle cx='370' cy='105' r='7'/%3E%3Ccircle cx='578' cy='42' r='7'/%3E%3Ccircle cx='237' cy='261' r='7'/%3E%3Ccircle cx='390' cy='382' r='7'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.8;
    z-index: -1;
}

body.dark-mode .footer {
    background: var(--color-midnight-dream) !important;
    color: var(--color-text-light);
}

.footer .handwritten {
    font-family: var(--font-script);
    font-size: 1.7rem;
    background: linear-gradient(45deg, var(--color-aurora-teal), var(--color-moonlight-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(141, 245, 227, 0.5);
    margin-bottom: 0.5rem;
    position: relative;
}

.footer .handwritten::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, rgba(141, 245, 227, 0), rgba(141, 245, 227, 0.5), rgba(141, 245, 227, 0));
}

.footer .sonic-motto {
    position: relative;
    display: inline-block;
}

.footer .sonic-motto::before,
.footer .sonic-motto::after {
    content: '✧';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(0, 123, 255, 0.6);
    font-size: 1.2rem;
}

.footer .sonic-motto::before {
    left: -1.5rem;
}

.footer .sonic-motto::after {
    right: -1.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 1.5rem 0;
    padding: 0;
    list-style: none;
}

.footer-links li a {
    position: relative;
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 500;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    padding: 0.3rem 0.5rem;
    overflow: hidden;
}

.footer-links li a::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: var(--gradient-button-blue);
    transform: scaleX(0);
    transform-origin: right;
    transition: transform 0.4s ease;
}

.footer-links li a:hover {
    color: white;
    text-shadow: 0 0 10px rgba(0, 123, 255, 0.5);
}

.footer-links li a:hover::before {
    transform: scaleX(1);
    transform-origin: left;
}

.footer-copyright {
    position: relative;
    display: inline-block;
    font-weight: 600;
    color: white;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
    letter-spacing: 0.5px;
    font-size: 14px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.footer-tagline {
    font-weight: 700;
    color: var(--color-daybreak-green);
    font-size: 16px;
    letter-spacing: 1px;
    margin-top: 10px;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Dashboard card styles */
.card-body .dashboard-title,
.card .card-title.dashboard-title,
h5.dashboard-title,
.dashboard-title {
    font-family: var(--font-heading) !important;
    font-weight: 700 !important;
    font-size: 1.4rem !important;
    color: #FF9800 !important;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3) !important;
    margin-bottom: 0.5rem !important;
    position: relative !important;
    z-index: 10 !important;
}

.dashboard-text {
    color: var(--color-text-light);
    font-weight: 500;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
}

/* Stats number styles */
.stats-number {
    font-size: 2.8rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: #5DADE2 !important;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.8) !important;
    font-family: var(--font-heading) !important;
    position: relative !important;
    z-index: 9999 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    filter: none !important;
    backdrop-filter: none !important;
    transform: translateZ(0) !important;
    background: none !important;
    -webkit-text-fill-color: #5DADE2 !important;
    paint-order: stroke fill !important;
}

/* Dark mode card text adjustments */
.bg-dark h5.card-title {
    color: white;
    font-weight: 600;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

.bg-dark .text-muted {
    color: rgba(255, 255, 255, 0.7) !important;
}

/* Fix grey text legibility on dark/purple backgrounds */
.form-text {
    color: rgba(255, 255, 255, 0.8) !important;
}

.text-muted {
    color: rgba(255, 255, 255, 0.75) !important;
}

/* Admin panel nav tabs styling for better visibility */
.nav-tabs .nav-link {
    color: rgba(255, 255, 255, 0.85);
    background-color: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transition: all 0.2s ease;
}

.nav-tabs .nav-link:hover {
    color: white;
    background-color: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-tabs .nav-link.active {
    color: white;
    background-color: rgba(76, 175, 80, 0.3);
    border-color: rgba(76, 175, 80, 0.5);
}

/* Card header text legibility */
.card-header h4,
.card-header h5 {
    color: white;
}

/* Form labels legibility */
.form-label {
    color: rgba(255, 255, 255, 0.9);
}

/* Mobile dropdown font size fix */
@media (max-width: 576px) {
    #bundle-select,
    .form-select-lg {
        font-size: 0.85rem !important;
        padding: 0.5rem 0.75rem;
    }
    
    #bundle-select option {
        font-size: 0.85rem;
    }
}

/* Stats card styling */
.stats-title {
    color: white !important;
    font-weight: 700 !important;
    font-size: 1.2rem !important;
    margin-top: 0.5rem !important;
    margin-bottom: 0.5rem !important;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3) !important;
}

.stats-text {
    color: rgba(255, 255, 255, 0.85) !important;
    font-size: 0.9rem !important;
    font-weight: 500 !important;
}

/* Stats number styling */
.stats-number {
    font-size: 3.5rem !important;
    font-weight: 700 !important;
    margin-bottom: 0.5rem !important;
    color: #5DADE2 !important;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.8) !important;
    font-family: var(--font-heading) !important;
    display: block !important;
    line-height: 1.2 !important;
    position: relative !important;
    z-index: 9999 !important;
    -webkit-font-smoothing: antialiased !important;
    -moz-osx-font-smoothing: grayscale !important;
    filter: none !important;
    backdrop-filter: none !important;
    background: none !important;
    -webkit-text-fill-color: #5DADE2 !important;
    paint-order: stroke fill !important;
}

/* Stats number text in different colors - all light blue */
.text-success.stats-number,
.text-warning.stats-number,
.text-info.stats-number,
.text-primary.stats-number {
    color: #5DADE2 !important;
}

.footer-star {
    display: inline-block;
    margin: 0 5px;
    color: var(--color-glow-yellow);
    font-weight: 400;
}

/* Animated cosmic star in footer */
.mystical-separator {
    position: relative;
}

.cosmic-star {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 20px;
    height: 20px;
    text-align: center;
    z-index: 1;
}

.cosmic-star:nth-child(1) {
    left: calc(50% - 60px);
}

.cosmic-star:nth-child(2) {
    left: 50%;
    transform: translate(-50%, -50%);
}

.cosmic-star:nth-child(3) {
    left: calc(50% + 60px);
}

.cosmic-star::before {
    content: '★';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #007BFF;
    font-size: 1.2rem;
    opacity: 0;
    animation: pulse 2s infinite;
}

.cosmic-star:nth-child(1)::before {
    animation-delay: 0s;
}

.cosmic-star:nth-child(2)::before {
    animation-delay: 0.7s;
}

.cosmic-star:nth-child(3)::before {
    animation-delay: 1.4s;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(0.8);
        opacity: 0;
    }
}

/* Button styling */
.btn {
    border: none;
    transition: all 0.3s ease;
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: 0.5px;
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    z-index: -1;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.btn:hover::before {
    transform: translateY(0);
}

/* Primary button - Aurora Teal */
.btn-primary {
    background: var(--gradient-button);
    box-shadow: var(--shadow-teal);
    border-radius: 30px; /* Pill-shaped buttons */
}

.btn-primary:hover, .btn-primary:focus {
    box-shadow: 0 8px 25px var(--glow-teal);
}

/* Add sparkle animation on hover */
.btn-primary:hover::after {
    content: '✨';
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    font-size: 1rem;
    animation: sparkle 1s infinite;
}

@keyframes sparkle {
    0%, 100% { opacity: 0; transform: translateY(-50%) scale(0.8); }
    50% { opacity: 1; transform: translateY(-50%) scale(1.2); }
}

/* Secondary button - Moonlight Gold */
.btn-secondary {
    background: var(--gradient-button-gold);
    box-shadow: var(--shadow-gold);
    border-radius: 30px; /* Pill-shaped buttons */
}

.btn-secondary:hover, .btn-secondary:focus {
    box-shadow: 0 8px 25px var(--glow-gold);
}

/* Vibrant button - Pill shaped with simplified effect */
.btn-vibrant {
    background-color: var(--color-daybreak-green);
    border: none;
    color: var(--color-cloud-white);
    font-weight: 500;
    font-family: var(--font-ui);
    letter-spacing: var(--letter-spacing-normal);
    padding: 0.8rem 2rem;
    border-radius: var(--border-radius-pill);
    transition: all 0.25s ease;
    position: relative;
    z-index: 1;
    font-size: 1rem;
    box-shadow: var(--shadow-soft);
    text-transform: none;
}

.btn-vibrant:hover, .btn-vibrant:focus {
    color: var(--color-cloud-white);
    box-shadow: var(--shadow-btn-hover);
    background-color: #3d9140; /* Slightly darker on hover */
}

.btn-vibrant:active {
    box-shadow: var(--shadow-soft);
}

/* Add magical stars animation on click */
.btn-vibrant:active::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 5px;
    height: 5px;
    border-radius: 50%;
    box-shadow: 
        0 -15px 0 rgba(255, 255, 255, 0.8),
        10.5px -10.5px 0 rgba(255, 255, 255, 0.7),
        15px 0 0 rgba(255, 255, 255, 0.6),
        10.5px 10.5px 0 rgba(255, 255, 255, 0.5),
        0 15px 0 rgba(255, 255, 255, 0.4),
        -10.5px 10.5px 0 rgba(255, 255,255, 0.3),
        -15px 0 0 rgba(255, 255, 255, 0.2),
        -10.5px -10.5px 0 rgba(255, 255, 255, 0.1);
    transform: translate(-50%, -50%) scale(0);
    animation: btn-star-burst 0.5s ease-out forwards;
}

@keyframes btn-star-burst {
    0% {
        transform: translate(-50%, -50%) scale(0);
        opacity: 1;
    }
    100% {
        transform: translate(-50%, -50%) scale(4);
        opacity: 0;
    }
}

/* Purple button - Secondary gradient */
.btn-purple {
    background: var(--gradient-secondary);
    box-shadow: var(--shadow-purple);
}

.btn-purple:hover, .btn-purple:focus {
    box-shadow: 0 8px 25px var(--glow-purple);
}

/* Coral button */
.btn-coral {
    background-color: var(--color-coral);
    box-shadow: 0 5px 15px rgba(255, 107, 107, 0.4);
}

.btn-coral:hover, .btn-coral:focus {
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.5);
}

.btn-lg {
    padding: 12px 28px;
    font-weight: 600;
    letter-spacing: 0.7px;
}

/* Card styling */
.card {
    background: var(--color-cloud-white);
    border-radius: var(--border-radius-medium);
    border: 1px solid var(--color-subtle-gray);
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-soft);
    overflow: hidden;
    color: var(--color-text-dark);
}

.card:hover {
    box-shadow: var(--shadow-card);
}

.card:focus-within {
    border-color: var(--color-soft-lilac);
    box-shadow: var(--shadow-focus);
}

.card-title {
    font-family: var(--font-heading);
    font-weight: 600;
    letter-spacing: var(--letter-spacing-tight);
    color: var(--color-evening-blue);
}

/* Special styling for feature card titles */
.card h4.card-title {
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.4rem;
    color: var(--color-daybreak-green);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.2);
    margin-bottom: 1rem;
    letter-spacing: 0.5px;
}

/* Dark mode card variant */
body.dark-mode .card {
    background: rgba(31, 41, 55, 0.8);
    backdrop-filter: blur(8px);
    border: 1px solid rgba(204, 193, 217, 0.15);
    color: var(--color-text-light);
    box-shadow: var(--shadow-medium);
}

.card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.stats-card .card-body {
    background: none !important;
}

/* Subtle bokeh overlay effect */
.card::before {
    content: '';
    position: absolute;
    top: -20px;
    right: -20px;
    width: 100px;
    height: 100px;
    background: radial-gradient(circle, rgba(107, 171, 255, 0.1) 0%, rgba(107, 171, 255, 0) 70%);
    border-radius: 50%;
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: 0;
}

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

/* Hero section styling with magical gradient */
.hero-section {
    padding: 6rem 0;
    background: var(--gradient-primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    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='rgba(255, 255, 255, 0.1)' fill-rule='evenodd'/%3E%3C/svg%3E");
    opacity: 0.5;
}

.hero-section h1 {
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    font-size: 3.5rem;
}

/* Form styling */
.form-container {
    max-width: 100%;
    margin: 0 auto;
    background: rgba(26, 26, 61, 0.8);
    backdrop-filter: blur(12px);
    padding: 1.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(141, 245, 227, 0.2);
    border: 1px solid rgba(141, 245, 227, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-magical);
    opacity: 0.8;
}

.form-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(141, 245, 227, 0.3);
}

.form-container h2, .form-container h3 {
    font-family: var(--font-heading);
    color: var(--color-aurora-teal);
    text-shadow: 0 0 10px rgba(141, 245, 227, 0.3);
    margin-bottom: 1.5rem;
}

.form-container label {
    color: var(--color-starlight-lavender);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
    letter-spacing: 0.5px;
}

.form-control, .form-select {
    background-color: var(--color-cloud-white);
    border: 1px solid var(--color-subtle-gray);
    color: var(--color-text-dark);
    transition: all 0.3s ease;
    border-radius: var(--border-radius-medium);
    padding: 0.8rem 1rem;
    font-family: var(--font-body);
    box-shadow: var(--shadow-soft);
}

.form-control:focus, .form-select:focus {
    box-shadow: var(--shadow-focus);
    background-color: var(--color-cloud-white);
    border-color: var(--color-soft-lilac);
    outline: none;
}

body.dark-mode .form-control, 
body.dark-mode .form-select {
    background-color: rgba(31, 41, 55, 0.8);
    border-color: rgba(204, 193, 217, 0.2);
    color: var(--color-text-light);
    backdrop-filter: blur(5px);
}

.form-control::placeholder {
    color: rgba(200, 193, 227, 0.5);
    font-style: italic;
}

.form-group {
    margin-bottom: 1.5rem;
    position: relative;
}

.form-group:hover label {
    color: var(--color-aurora-teal);
}

/* Song preview container */
.song-preview-container {
    padding: 2.5rem;
    margin-bottom: 2.5rem;
    background: rgba(26, 26, 61, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(141, 245, 227, 0.2);
    border: 1px solid rgba(141, 245, 227, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.5s ease, box-shadow 0.5s ease;
}

.song-preview-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-magical);
    opacity: 0.8;
}

.song-preview-container::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 10%;
    right: 10%;
    height: 1px;
    background: linear-gradient(to right, rgba(141, 245, 227, 0), rgba(141, 245, 227, 0.3), rgba(141, 245, 227, 0));
}

.song-preview-container:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(141, 245, 227, 0.3);
}

.song-preview-title {
    font-family: var(--font-heading);
    color: var(--color-aurora-teal);
    text-shadow: 0 0 10px rgba(141, 245, 227, 0.3);
    margin-bottom: 1.5rem;
    text-align: center;
    position: relative;
    display: inline-block;
}

.song-preview-title::before, .song-preview-title::after {
    content: '✦';
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    font-size: 0.8em;
    color: var(--color-moonlight-gold);
    opacity: 0.7;
}

.song-preview-title::before {
    left: -1.5em;
}

.song-preview-title::after {
    right: -1.5em;
}

/* Audio player custom styling */
.audio-player {
    width: 100%;
    margin: 1.8rem 0;
    border-radius: 50px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3), 0 0 15px rgba(141, 245, 227, 0.2);
    background: linear-gradient(to right, rgba(26, 26, 61, 0.9), rgba(20, 20, 40, 0.9));
    border: 1px solid rgba(141, 245, 227, 0.15);
    padding: 0.5rem;
    position: relative;
    overflow: hidden;
}

.audio-player::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(141, 245, 227, 0.1) 0%, rgba(141, 245, 227, 0) 10%),
        radial-gradient(circle at 70% 60%, rgba(255, 217, 122, 0.1) 0%, rgba(255, 217, 122, 0) 15%);
    pointer-events: none;
}

/* Feedback star rating */
.rating-container {
    display: flex;
    justify-content: center;
    margin-bottom: 2rem;
    position: relative;
}

.rating-container::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, rgba(141, 245, 227, 0), rgba(141, 245, 227, 0.3), rgba(141, 245, 227, 0));
}

.rating-container::after {
    content: '';
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 50%;
    height: 1px;
    background: linear-gradient(to right, rgba(141, 245, 227, 0), rgba(141, 245, 227, 0.3), rgba(141, 245, 227, 0));
}

.rating-star {
    font-size: 2.8rem;
    color: rgba(200, 193, 227, 0.2);
    cursor: pointer;
    margin: 0 0.5rem;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
}

.rating-star:hover {
    transform: scale(1.25) rotate(5deg);
    color: rgba(255, 217, 122, 0.6);
}

.rating-star.active {
    color: var(--color-moonlight-gold);
    text-shadow: 0 0 15px rgba(255, 217, 122, 0.7);
    animation: starPulse 2s infinite alternate;
}

@keyframes starPulse {
    0% {
        text-shadow: 0 0 10px rgba(255, 217, 122, 0.5);
        transform: scale(1);
    }
    100% {
        text-shadow: 0 0 20px rgba(255, 217, 122, 0.8), 0 0 30px rgba(255, 217, 122, 0.4);
        transform: scale(1.1);
    }
}

/* Song lyrics display */
.lyrics-display {
    white-space: pre-line;
    font-family: var(--font-body);
    padding: 2rem;
    background: rgba(26, 26, 61, 0.7);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(141, 245, 227, 0.15);
    border-radius: 15px;
    max-height: 450px;
    overflow-y: auto;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2), inset 0 0 20px rgba(0, 0, 0, 0.2);
    color: var(--color-cloud-whisper);
    font-size: 1.15rem;
    line-height: 1.9;
    letter-spacing: 0.02em;
    position: relative;
    z-index: 1;
    transition: box-shadow 0.3s ease, transform 0.3s ease;
}

.lyrics-display::-webkit-scrollbar {
    width: 8px;
}

.lyrics-display::-webkit-scrollbar-track {
    background: rgba(26, 26, 61, 0.5);
    border-radius: 10px;
}

.lyrics-display::-webkit-scrollbar-thumb {
    background: var(--color-starlight-lavender);
    background: linear-gradient(180deg, var(--color-aurora-teal) 0%, var(--color-starlight-lavender) 100%);
    border-radius: 10px;
}

.lyrics-display:hover {
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.25), inset 0 0 25px rgba(0, 0, 0, 0.25);
}

.lyrics-display::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(141, 245, 227, 0.05) 0%, rgba(141, 245, 227, 0) 20%),
        radial-gradient(circle at 90% 80%, rgba(255, 217, 122, 0.05) 0%, rgba(255, 217, 122, 0) 20%);
    pointer-events: none;
    z-index: -1;
    border-radius: 14px;
}

/* Loading spinner */
.spinner-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
    position: relative;
}

.spinner-container::before {
    content: '✦';
    position: absolute;
    font-size: 1.2rem;
    color: var(--color-moonlight-gold);
    opacity: 0.7;
    animation: spinnerStarPulse 3s infinite alternate;
    transform-origin: center;
    z-index: 1;
}

@keyframes spinnerStarPulse {
    0%, 100% {
        opacity: 0.4;
        transform: scale(0.8) rotate(0deg);
    }
    50% {
        opacity: 0.9;
        transform: scale(1.2) rotate(180deg);
    }
}

.spinner-border {
    width: 3.5rem;
    height: 3.5rem;
    border-width: 0.3rem;
    border-color: var(--color-aurora-teal) transparent var(--color-moonlight-gold) transparent;
    position: relative;
    animation: spinnerRotate 2s linear infinite;
    box-shadow: 0 0 25px rgba(141, 245, 227, 0.3);
}

.spinner-border::before, .spinner-border::after {
    content: '';
    position: absolute;
    top: -0.3rem;
    left: -0.3rem;
    right: -0.3rem;
    bottom: -0.3rem;
    border-radius: 50%;
    border: 0.15rem solid transparent;
    animation: spinnerPulse 3s ease infinite;
    opacity: 0.7;
}

.spinner-border::before {
    border-top-color: var(--color-aurora-teal);
    border-bottom-color: var(--color-moonlight-gold);
    animation-delay: -0.5s;
}

.spinner-border::after {
    border-left-color: var(--color-starlight-lavender);
    border-right-color: var(--color-aurora-teal);
    animation-delay: -1s;
}

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

@keyframes spinnerPulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.15); opacity: 0.9; }
}

/* Payment button styles */
.payment-btn {
    margin-top: 2rem;
    background: var(--gradient-magical);
    background-size: 200% auto;
    box-shadow: 0 5px 20px rgba(141, 245, 227, 0.3), 0 0 15px rgba(255, 217, 122, 0.2);
    border: none;
    color: var(--color-midnight-dream);
    font-weight: 600;
    letter-spacing: 0.5px;
    padding: 0.8rem 2rem;
    border-radius: 50px;
    transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    z-index: 1;
    text-transform: uppercase;
    font-size: 1rem;
}

.payment-btn:hover {
    background-position: right center;
    box-shadow: 0 8px 25px rgba(141, 245, 227, 0.4), 0 0 20px rgba(255, 217, 122, 0.3);
    transform: translateY(-3px);
}

.payment-btn:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(141, 245, 227, 0.3);
}

.payment-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: var(--gradient-magical);
    background-size: 400% 400%;
    opacity: 0;
    border-radius: 50px;
    z-index: -1;
    animation: paymentBtnGlow 3s ease infinite;
    transition: opacity 0.3s ease;
}

.payment-btn:hover::before {
    opacity: 0.5;
}

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

/* Song card styling */
.song-card {
    height: 100%;
    border-radius: 15px;
    overflow: hidden;
    background-color: rgba(26, 26, 61, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(141, 245, 227, 0.15);
    transition: transform 0.4s ease, box-shadow 0.4s ease;
    position: relative;
    z-index: 1;
}

.song-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-magical);
    opacity: 0.7;
    transition: height 0.3s ease;
    z-index: 2;
}

.song-card:hover {
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2), 0 0 15px rgba(141, 245, 227, 0.2);
}

.song-card:hover::before {
    height: 5px;
}

.song-card .card-body {
    padding: 1.5rem;
    position: relative;
    z-index: 1;
}

.song-card .card-title {
    font-family: var(--font-heading);
    color: var(--color-aurora-teal);
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.song-card .card-title::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 50%;
    height: 1px;
    background: var(--gradient-magical);
}

.song-card .card-footer {
    background-color: rgba(20, 20, 40, 0.7);
    border-top: 1px solid rgba(141, 245, 227, 0.1);
    padding: 1rem 1.5rem;
}

.song-card .card-footer .btn {
    margin-right: 0.5rem;
}

/* Feature icon glow */
.feature-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    filter: drop-shadow(0 0 8px var(--glow-color));
}

/* Process number styling - simplified design */
.process-number {
    position: relative;
    width: 80px;
    height: 80px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.process-number::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(142, 45, 226, 0.2) 0%, rgba(142, 45, 226, 0) 70%);
    filter: blur(10px);
    z-index: 0;
    animation: pulse-glow 3s infinite alternate;
}

.process-number span {
    position: relative;
    z-index: 1;
    font-family: var(--font-display);
    font-size: 3.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, rgba(61, 217, 98, 0.9), rgba(31, 167, 68, 0.9));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 0 15px rgba(61, 217, 98, 0.4);
}

@keyframes pulse-glow {    0% {
        opacity: 0.5;
        transform: scale(0.9);
    }
    100% {
        opacity: 0.8;
        transform: scale(1.1);
    }
}

/* Dashboard stats */
.stats-card {
    text-align: center;
    padding: 2.5rem;
    background: rgba(26, 26, 61, 0.8);
    backdrop-filter: blur(12px);
    border-radius: 20px;
    box-shadow: 0 10px 35px rgba(0, 0, 0, 0.3), 0 0 20px rgba(141, 245, 227, 0.2);
    border: 1px solid rgba(141, 245, 227, 0.2);
    position: relative;
    overflow: hidden;
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.stats-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-magical);
    opacity: 0.8;
}

.stats-card:hover {
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.35), 0 0 25px rgba(141, 245, 227, 0.3);
}

.stats-number {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    background: var(--gradient-magical);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-fill-color: transparent;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    display: inline-block;
    color: var(--color-morning-sky);
}

.stats-number::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 25%;
    width: 50%;
    height: 2px;
    background: var(--gradient-magical);
    opacity: 0.4;
    border-radius: 2px;
}

.stats-title {
    font-family: var(--font-subheading);
    color: var(--color-starlight-lavender);
    font-size: 1.2rem;
    letter-spacing: 1px;
    margin-top: 0.5rem;
}

/* Process steps styling */
.process-step {
    position: relative;
    padding-bottom: 3rem;
}

.process-step::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 2px;
    height: 3rem;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.process-step:last-child::after {
    display: none;
}

/* Testimonial styling */
.testimonial-card {
    position: relative;
    overflow: visible;
}

.testimonial-card::before {
    content: '"';
    position: absolute;
    top: -30px;
    left: 20px;
    font-size: 6rem;
    font-family: serif;
    color: rgba(255, 126, 95, 0.2);
    line-height: 1;
}

/* Manifestation Title and Text styling */
.manifestation-title {
    font-size: 2.8rem;
    font-family: var(--font-heading);
    font-weight: 700;
    color: var(--color-daybreak-green);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
    display: inline-block;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
}

.manifestation-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 25%;
    right: 25%;
    height: 3px;
    background: linear-gradient(to right, rgba(61, 217, 98, 0), rgba(61, 217, 98, 0.8), rgba(61, 217, 98, 0));
    border-radius: 3px;
}

.manifestation-text {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    color: rgba(255, 255, 255, 0.95);
    font-weight: 400;
    font-family: var(--font-body);
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.5);
    font-size: 1.25rem;
    line-height: 1.8;
    letter-spacing: 0.02em;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .hero-section {
        padding: 3rem 0;
    }

    .hero-section h1 {
        font-size: 2.5rem;
    }

    .stats-number {
        font-size: 2.5rem;
    }

    .display-4 {
        font-size: 2.3rem;
    }

    .manifestation-title {
        font-size: 2.2rem;
    }

    .manifestation-text {
        font-size: 1.1rem;
    }

    /* Improved mobile navigation */
    .navbar-nav {
        gap: 0.5rem;
        margin: 1rem 0;
    }

    .nav-link {
        padding: 0.5rem 1rem;
        border-radius: 0.5rem;
        background-color: rgba(0, 123, 255, 0.1);
        text-align: center;
        margin: 0.2rem 0;
    }

    .nav-link:hover {
        background-color: rgba(0, 123, 255, 0.2);
    }

    .nav-link.active {
        background-color: rgba(0, 123, 255, 0.3);
    }

    /* Mobile button sizing */
    .btn {
        padding: 0.4rem 0.8rem !important;
        font-size: 0.8rem !important;
        min-width: auto !important;
    }

    .btn-lg {
        padding: 0.5rem 1rem !important;
        font-size: 0.85rem !important;
    }

    .btn-vibrant {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }

    .payment-btn {
        padding: 0.5rem 1rem !important;
        font-size: 0.8rem !important;
    }

    /* Make buttons stack full-width on mobile if in a row */
    .row .btn {
        width: 100%;
        margin-bottom: 0.5rem;
    }

    /* Smaller margins on mobile */
    .btn + .btn {
        margin-left: 0.3rem !important;
    }
}

/* Additional animation classes */
.glow-on-hover:hover {
    box-shadow: 0 0 15px var(--glow-teal);
}

.fade-in {
    animation: fadeIn 1s ease-out forwards;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
        filter: blur(5px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
        filter: blur(0);
    }
}

/* Magical entrance animations */
.magical-entrance {
    animation: magicalEntrance 1.2s ease-out forwards;
}

@keyframes magicalEntrance {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
        filter: blur(8px);
    }
    50% {
        opacity: 0.5;
        filter: blur(4px);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
        filter: blur(0);
    }
}

/* Sparkle animation for elements */
.sparkle {
    position: relative;
    overflow: hidden;
}

.sparkle::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 3%),
        radial-gradient(circle at 50% 50%, rgba(255, 255, 255, 0.2) 0%, rgba(255, 255, 255, 0) 2%),
        radial-gradient(circle at 80% 70%, rgba(255, 255, 255, 0.3) 0%, rgba(255, 255, 255, 0) 3%);
    opacity: 0;
    transition: opacity 0.3s;
    pointer-events: none;
}

.sparkle:hover::after {
    opacity: 1;
    animation: sparkleEffect 2s infinite linear;
}

@keyframes sparkleEffect {
    0%, 100% { 
        background-position: 0% 0%, 0% 0%, 0% 0%;
    }
    25% {
        background-position: 10% 10%, -5% 5%, 15% -5%;
    }
    50% {
        background-position: 20% 20%, -10% 10%, 30% -10%;
    }
    75% {
        background-position: 10% 30%, -5% 15%, 15% -15%;
    }
}

/* Create a delay cascade effect for child elements */
.stagger-children > * {
    opacity: 0;
    transform: translateY(15px);
    animation: staggerFadeIn 0.5s ease forwards;
}

.stagger-children > *:nth-child(1) { animation-delay: 0.1s; }
.stagger-children > *:nth-child(2) { animation-delay: 0.2s; }
.stagger-children > *:nth-child(3) { animation-delay: 0.3s; }
.stagger-children > *:nth-child(4) { animation-delay: 0.4s; }
.stagger-children > *:nth-child(5) { animation-delay: 0.5s; }
.stagger-children > *:nth-child(6) { animation-delay: 0.6s; }
.stagger-children > *:nth-child(7) { animation-delay: 0.7s; }
.stagger-children > *:nth-child(8) { animation-delay: 0.8s; }

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

/* ========================================
   MINIMAL PREMIUM LOADER
   ======================================== */

/* Full Page Loader Overlay */
.magical-loader-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(8px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.magical-loader-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

/* Elegant Spinner */
.loader-spinner {
    width: 48px;
    height: 48px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-top-color: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

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

/* Loader Text */
.magical-loader-text {
    margin-top: 1.5rem;
    font-family: var(--font-body);
    font-size: 0.95rem;
    font-weight: 400;
    letter-spacing: 1px;
    color: rgba(255, 255, 255, 0.7);
}

/* Inline/Button Loader */
.btn-loading {
    position: relative;
    pointer-events: none;
}

.btn-loading .btn-text {
    opacity: 0;
}

.btn-loading::after {
    content: '';
    position: absolute;
    width: 20px;
    height: 20px;
    top: 50%;
    left: 50%;
    margin-top: -10px;
    margin-left: -10px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-top-color: white;
    border-radius: 50%;
    animation: btnSpin 0.8s linear infinite;
}

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

/* Card/Section Loader */
.section-loader {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 3rem;
    min-height: 200px;
}

.section-loader-orb {
    width: 40px;
    height: 40px;
    background: radial-gradient(circle at 30% 30%, 
        rgba(255, 255, 255, 0.8) 0%, 
        var(--color-daybreak-green) 50%, 
        var(--color-morning-sky) 100%);
    border-radius: 50%;
    box-shadow: 0 0 20px var(--color-daybreak-green);
    animation: orbPulse 1.5s ease-in-out infinite;
}

/* Music Wave Loader (for audio) */
.music-wave-loader {
    display: flex;
    align-items: flex-end;
    justify-content: center;
    gap: 4px;
    height: 40px;
}

.music-wave-bar {
    width: 6px;
    background: linear-gradient(to top, var(--color-daybreak-green), var(--color-morning-sky));
    border-radius: 3px;
    animation: musicWave 1s ease-in-out infinite;
}

.music-wave-bar:nth-child(1) { height: 20px; animation-delay: 0s; }
.music-wave-bar:nth-child(2) { height: 30px; animation-delay: 0.1s; }
.music-wave-bar:nth-child(3) { height: 25px; animation-delay: 0.2s; }
.music-wave-bar:nth-child(4) { height: 35px; animation-delay: 0.3s; }
.music-wave-bar:nth-child(5) { height: 20px; animation-delay: 0.4s; }

@keyframes musicWave {
    0%, 100% { transform: scaleY(0.5); }
    50% { transform: scaleY(1.2); }
}

/* Constellation Loader */
.constellation-loader {
    position: relative;
    width: 100px;
    height: 100px;
}

.constellation-star {
    position: absolute;
    width: 8px;
    height: 8px;
    background: white;
    border-radius: 50%;
    animation: constellationTwinkle 1.5s ease-in-out infinite;
}

.constellation-star:nth-child(1) { top: 10%; left: 50%; animation-delay: 0s; }
.constellation-star:nth-child(2) { top: 30%; left: 20%; animation-delay: 0.2s; }
.constellation-star:nth-child(3) { top: 30%; right: 20%; animation-delay: 0.4s; }
.constellation-star:nth-child(4) { top: 60%; left: 10%; animation-delay: 0.6s; }
.constellation-star:nth-child(5) { top: 60%; right: 10%; animation-delay: 0.8s; }
.constellation-star:nth-child(6) { bottom: 10%; left: 35%; animation-delay: 1s; }
.constellation-star:nth-child(7) { bottom: 10%; right: 35%; animation-delay: 1.2s; }

.constellation-line {
    position: absolute;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.5), transparent);
    transform-origin: left center;
    animation: constellationConnect 2s ease-in-out infinite;
}

@keyframes constellationTwinkle {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(0.8);
        box-shadow: none;
    }
    50% { 
        opacity: 1; 
        transform: scale(1.2);
        box-shadow: 0 0 10px white, 0 0 20px var(--color-glow-yellow);
    }
}

@keyframes constellationConnect {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.8; }
}

/* Skeleton Loading for Content */
.skeleton {
    background: linear-gradient(90deg, 
        rgba(255, 255, 255, 0.05) 25%, 
        rgba(255, 255, 255, 0.1) 50%, 
        rgba(255, 255, 255, 0.05) 75%);
    background-size: 200% 100%;
    animation: skeletonShimmer 1.5s infinite;
    border-radius: var(--border-radius-small);
}

.skeleton-text {
    height: 1rem;
    margin-bottom: 0.5rem;
}

.skeleton-title {
    height: 1.5rem;
    width: 60%;
    margin-bottom: 1rem;
}

.skeleton-image {
    height: 200px;
    margin-bottom: 1rem;
}

@keyframes skeletonShimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Creating Anthem Loader (Full experience) */
.anthem-creation-loader {
    text-align: center;
    padding: 3rem;
}

.anthem-loader-visual {
    position: relative;
    width: 180px;
    height: 180px;
    margin: 0 auto 2rem;
}

.anthem-note {
    position: absolute;
    font-size: 2rem;
    opacity: 0;
    animation: noteRise 2s ease-out infinite;
}

.anthem-note:nth-child(1) { left: 20%; animation-delay: 0s; }
.anthem-note:nth-child(2) { left: 50%; animation-delay: 0.4s; }
.anthem-note:nth-child(3) { left: 80%; animation-delay: 0.8s; }
.anthem-note:nth-child(4) { left: 35%; animation-delay: 1.2s; }
.anthem-note:nth-child(5) { left: 65%; animation-delay: 1.6s; }

@keyframes noteRise {
    0% { 
        bottom: 20%;
        opacity: 0;
        transform: scale(0.5) rotate(-15deg);
    }
    30% { 
        opacity: 1;
        transform: scale(1) rotate(0deg);
    }
    100% { 
        bottom: 100%;
        opacity: 0;
        transform: scale(0.8) rotate(15deg);
    }
}

.anthem-loader-stage {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: var(--color-glow-yellow);
    margin-bottom: 0.5rem;
    letter-spacing: 1px;
}

.anthem-loader-message {
    font-size: 1.5rem;
    font-weight: 600;
    background: linear-gradient(90deg, var(--color-daybreak-green), var(--color-morning-sky));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.anthem-progress-bar {
    width: 100%;
    max-width: 300px;
    height: 6px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
    margin: 0 auto;
    overflow: hidden;
}

.anthem-progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--color-daybreak-green), var(--color-morning-sky), var(--color-glow-yellow));
    background-size: 200% 100%;
    animation: progressShimmer 2s linear infinite;
    transition: width 0.5s ease;
}