/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Navbar total height: 80px height + 2px border-bottom */
    --navbar-h: 82px;

    /* Brand Colors - Gold & Purple Theme */
    --primary-gold: var(--color-gold, #ffd700);
    --primary-purple: var(--color-purple, #450086);
    --light-gold: var(--color-gold-light, #ffdf33);
    --dark-gold: var(--color-gold-dark, #ccac00);
    --medium-purple: var(--color-purple-medium, #5f00b9);
    --dark-purple: var(--color-purple-dark, #2b0053);
    
    /* Neutral Colors */
    --white: #ffffff;
    --light-grey: #E0E0E0;
    --muted-text: #e0d0ff;
    --bg-overlay: rgba(43, 0, 83, 0.7);
    --bg-transparent: rgba(69, 0, 134, 0.2);
}

/* Responsive Background Images */
@media screen and (min-width: 1920px) {
    :root {
        --bg-image: url('images/chats1920_1080.png');
    }
}

@media screen and (min-width: 1024px) and (max-width: 1919px) {
    :root {
        --bg-image: url('images/chats1024_768.png');
    }
}

@media screen and (min-width: 752px) and (max-width: 1023px) {
    :root {
        --bg-image: url('images/chats752_1344.png');
    }
}

@media screen and (max-width: 751px) {
    :root {
        --bg-image: url('images/chats640_960.png');
    }
}

/* Additional responsive breakpoints for different orientations */
@media screen and (orientation: portrait) and (max-width: 768px) {
    :root {
        --bg-image: url('images/chats640_960.png');
    }
}

@media screen and (orientation: landscape) and (max-width: 1024px) {
    :root {
        --bg-image: url('images/chats1024_768.png');
    }
}

#background-container {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-h));
    z-index: 0;
    background: linear-gradient(135deg, rgba(5, 0, 10, 0.75) 0%, rgba(20, 0, 40, 0.7) 25%, rgba(30, 0, 60, 0.65) 50%, rgba(40, 0, 80, 0.6) 75%, rgba(20, 0, 40, 0.75) 100%),
                var(--bg-image) center/cover no-repeat;
}

body {
    margin: 0;
    padding: 0;
    padding-top: var(--navbar-h);
    min-height: 100vh;
    background-color: rgb(15, 0, 30);
    font-family: 'Cinzel', serif;
    color: #f0e6ff;
    overflow-x: hidden;
    position: relative;
}

/* Atmospheric Effects */
.smoke-effects {
    position: fixed;
    top: var(--navbar-h);
    left: 0;
    width: 100%;
    height: calc(100vh - var(--navbar-h));
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.smoke {
    position: absolute;
    width: 800px;
    height: 800px;
    border-radius: 50%;
    filter: blur(80px);
    opacity: 0.15;
    animation: smokeFloat 20s ease-in-out infinite;
}

.smoke-left {
    background: radial-gradient(circle, rgba(255, 215, 0, 0.3), rgba(69, 0, 134, 0.2), transparent);
    left: -200px;
    top: 20%;
    animation-delay: 0s;
}

.smoke-right {
    background: radial-gradient(circle, rgba(95, 0, 185, 0.3), rgba(255, 223, 51, 0.2), transparent);
    right: -200px;
    top: 50%;
    animation-delay: -10s;
}

@keyframes smokeFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(50px, -50px) scale(1.1); }
    50% { transform: translate(-50px, 50px) scale(0.9); }
    75% { transform: translate(30px, 30px) scale(1.05); }
}

.floating-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 215, 0, 0.7);
    border-radius: 50%;
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.5);
    animation: particleFloat 15s ease-in-out infinite;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; }
.particle:nth-child(2) { left: 30%; top: 60%; animation-delay: -3s; }
.particle:nth-child(3) { left: 60%; top: 30%; animation-delay: -6s; }
.particle:nth-child(4) { left: 80%; top: 70%; animation-delay: -9s; }
.particle:nth-child(5) { left: 50%; top: 50%; animation-delay: -12s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100px) translateX(50px); opacity: 0; }
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 80px;
    background: linear-gradient(135deg, rgb(15, 0, 30), rgb(25, 0, 50));
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    z-index: 1000;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    height: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(135deg, #ffd700, #ffdf33, #5f00b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}


/* Brand Logo Styling */
.brand-logo {
    max-height: 60px;
    width: auto;
    object-fit: contain;
    display: inline-block;
    vertical-align: middle;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-buttons {
    display: flex;
    gap: 1rem;
}

.auth-btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-decoration: none;
}

.login-btn {
    background: transparent;
    border-color: rgba(255, 215, 0, 0.5);
    color: #ffffff;
}

.login-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: rgba(255, 215, 0, 0.9);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.4);
}

.register-btn {
    background: linear-gradient(135deg, #ffd700, #ccac00);
    color: #2b0053;
    border: 2px solid rgba(255, 215, 0, 0.3);
    font-weight: 700;
}

.register-btn:hover {
    background: linear-gradient(135deg, #ffdf33, #ffd700);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.6);
}

.community-btn,
.account-btn {
    background: transparent;
    border-color: rgba(95, 0, 185, 0.5);
    color: #ffffff;
}

.community-btn:hover,
.account-btn:hover {
    background: rgba(95, 0, 185, 0.15);
    border-color: rgba(255, 215, 0, 0.7);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 215, 0, 0.3);
}

.logout-btn {
    background: linear-gradient(135deg, #5f00b9, #450086);
    border: 2px solid rgba(95, 0, 185, 0.5);
    color: #ffffff;
}

.logout-btn:hover {
    background: linear-gradient(135deg, #450086, #2b0053);
    border-color: rgba(255, 215, 0, 0.6);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(95, 0, 185, 0.5);
}

/* Hero Section */
.landing-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: flex-start;
    justify-content: center;
    padding: 2rem;
    padding-top: 10vh; /* 10% of viewport height from top */
    position: relative;
    z-index: 2;
}

.mystical-hero {
    text-align: center;
    max-width: 900px;
}

.hero-content {
    animation: fadeInUp 1s ease-out;
    text-align: center;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
}

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

.mystical-title {
    font-size: clamp(2.75rem, 6.6vw, 4.95rem);
    font-weight: 700;
    margin-bottom: 1.5rem;
    background: linear-gradient(135deg, #ffd700, #ffdf33, #ffd700);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 40px rgba(255, 215, 0, 0.4),
                 0 0 20px rgba(255, 223, 51, 0.5);
    line-height: 1.2;
    letter-spacing: 0.02em;
    font-family: var(--font-display, 'Cinzel', serif);
    font-weight: 800;
    text-transform: uppercase;
    animation: titleGlow 3s ease-in-out infinite alternate;
}

@keyframes titleGlow {
    0% {
        text-shadow: 0 0 40px rgba(255, 215, 0, 0.4),
                     0 0 20px rgba(255, 223, 51, 0.5);
    }
    100% {
        text-shadow: 0 0 60px rgba(255, 215, 0, 0.6),
                     0 0 30px rgba(255, 223, 51, 0.6),
                     0 0 15px rgba(255, 215, 0, 0.4);
    }
}

.mystical-subtitle {
    font-size: clamp(1.1rem, 2.75vw, 1.54rem);
    color: #e0d0ff;
    margin-bottom: 2.5rem;
    line-height: 1.8;
    font-family: var(--font-body, 'Inter', sans-serif);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    font-weight: 400;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
    letter-spacing: 0.025em;
}

.mystical-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    align-items: center;
    flex-wrap: wrap;
    width: 100%;
}

.mystical-btn {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Cinzel', serif;
    border: 2px solid transparent;
    text-transform: uppercase;
    letter-spacing: 1px;
    min-width: 200px;
    text-align: center;
    background: linear-gradient(135deg, #ffd700, #ccac00);
    color: #2b0053;
}

.mystical-btn:hover {
    background: linear-gradient(135deg, #ffdf33, #ffd700);
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.6);
    border-color: rgba(255, 215, 0, 0.5);
}

/* Features Section */
.features-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
    background: linear-gradient(135deg, rgba(43, 0, 83, 0.95), rgba(69, 0, 134, 0.95));
}

.features-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    font-size: clamp(2rem, 4vw, 3rem);
    text-align: center;
    margin-bottom: 3rem;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    background: linear-gradient(135deg, #ffd700, #ffdf33, #5f00b9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(15, 0, 30, 0.92), rgba(25, 0, 50, 0.92));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 2rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
    min-height: 250px;
    display: flex;
    align-items: flex-end;
}

.feature-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.7);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.4), 0 0 30px rgba(95, 0, 185, 0.3);
}

.feature-background-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.25;
    pointer-events: none;
    z-index: 1;
    border-radius: inherit;
    transition: opacity 0.3s ease;
}

.feature-card:hover .feature-background-overlay {
    opacity: 0.4;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #ffd700;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
    font-weight: 600;
}

.feature-card p {
    color: #e0d0ff;
    line-height: 1.6;
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.05rem;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.5);
}

/* Pricing Section */
.pricing-section {
    padding: 5rem 2rem;
    position: relative;
    z-index: 2;
    background: transparent;
}

.pricing-container {
    max-width: 1400px;
    margin: 0 auto;
}

.section-subtitle {
    text-align: center;
    color: var(--muted-text);
    font-size: 1.2rem;
    margin-bottom: 3rem;
    font-family: var(--font-body, 'Inter', sans-serif);
}

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

.pricing-card {
    background: linear-gradient(135deg, rgba(10, 0, 20, 0.6), rgba(20, 0, 40, 0.6));
    border: 2px solid rgba(255, 215, 0, 0.3);
    border-radius: 16px;
    padding: 2.5rem 2rem;
    transition: all 0.3s ease;
    position: relative;
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
}

.pricing-card:hover {
    transform: translateY(-8px);
    border-color: rgba(255, 215, 0, 0.5);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.3);
}

.pricing-card.featured {
    border-color: rgba(255, 215, 0, 0.5);
}

.pricing-card.featured:hover {
    border-color: rgba(255, 215, 0, 0.8);
    box-shadow: 0 15px 40px rgba(255, 215, 0, 0.5);
}

.pricing-card.premium {
    border-color: rgba(255, 223, 51, 0.5);
}

.pricing-card.premium:hover {
    border-color: rgba(255, 223, 51, 0.8);
    box-shadow: 0 15px 40px rgba(255, 223, 51, 0.4);
}

.featured-badge {
    position: absolute;
    top: -12px;
    right: 20px;
    background: linear-gradient(135deg, #ffd700, #ccac00);
    color: #2b0053;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 700;
}

.tier-name {
    font-size: 1.8rem;
    margin-bottom: 1rem;
    color: #f0e6ff;
}

.tier-price {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 2rem;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    background: linear-gradient(135deg, #ffd700, #ffdf33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.price-period {
    font-size: 1.2rem;
    color: var(--muted-text);
}

.tier-features {
    list-style: none;
    margin-bottom: 2rem;
}

.tier-features li {
    padding: 0.75rem 0;
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    color: var(--muted-text);
    font-family: var(--font-body, 'Inter', sans-serif);
    font-size: 1.05rem;
}

.tier-btn {
    width: 100%;
    padding: 1rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--font-display, 'Cinzel', serif);
    border: 2px solid rgba(95, 0, 185, 0.5);
    background: transparent;
    color: #ffffff;
}

.tier-btn:hover {
    background: rgba(95, 0, 185, 0.15);
    border-color: rgba(255, 215, 0, 0.7);
    transform: translateY(-2px);
}

.tier-btn.primary {
    background: linear-gradient(135deg, #ffd700, #ccac00);
    border: 2px solid rgba(255, 215, 0, 0.3);
    color: #2b0053;
    font-weight: 700;
}

.tier-btn.primary:hover {
    background: linear-gradient(135deg, #ffdf33, #ffd700);
    box-shadow: 0 5px 20px rgba(255, 215, 0, 0.5);
    border-color: rgba(255, 215, 0, 0.5);
}

.loading-pricing {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
    color: var(--muted-text);
    font-size: 1.2rem;
}

.error-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 2rem;
    color: #dc2626;
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: 8px;
    font-size: 1.1rem;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, rgba(5, 0, 10, 0.98), rgba(15, 0, 30, 0.98));
    border-top: 2px solid rgba(255, 215, 0, 0.3);
    padding: 4rem 2rem 2rem;
    margin-top: 5rem;
    position: relative;
    z-index: 2;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.footer-section h3,
.footer-section h4 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    background: linear-gradient(135deg, #ffd700, #ffdf33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.footer-section h4 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: #ffffff;
}

.footer-section p {
    color: var(--muted-text);
    line-height: 1.6;
    margin-bottom: 1rem;
    font-family: var(--font-body, 'Inter', sans-serif);
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.75rem;
}

.footer-section ul li a {
    color: var(--muted-text);
    text-decoration: none;
    transition: all 0.3s ease;
    font-family: var(--font-body, 'Inter', sans-serif);
}

.footer-section ul li a:hover {
    color: #ffd700;
    padding-left: 5px;
}

.social-links {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.social-links a {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.social-links a:hover {
    transform: scale(1.2);
}

.footer-bottom {
    margin-top: 3rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    text-align: center;
}

.footer-bottom p {
    color: var(--muted-text);
    font-family: var(--font-body, 'Inter', sans-serif);
}

.footer-tagline {
    margin-top: 0.5rem;
    font-style: italic;
}

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.85);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    backdrop-filter: blur(5px);
    padding: 2rem;
}

.modal-content {
    background: linear-gradient(135deg, rgba(10, 0, 20, 0.98), rgba(20, 0, 40, 0.98));
    border: 2px solid rgba(255, 215, 0, 0.4);
    border-radius: 20px;
    max-width: 800px;
    width: 100%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5), 0 0 30px rgba(255, 215, 0, 0.1);
}

.modal-header {
    padding: 2rem;
    border-bottom: 2px solid rgba(255, 215, 0, 0.3);
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(135deg, rgba(69, 0, 134, 0.3), rgba(95, 0, 185, 0.3));
}

.modal-title {
    font-size: 2rem;
    font-family: var(--font-heading, 'Cormorant Garamond', serif);
    background: linear-gradient(135deg, #ffd700, #ffdf33);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.close-button {
    background: transparent;
    border: none;
    color: #f0e6ff;
    font-size: 2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 0;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.close-button:hover {
    color: #ffd700;
    transform: rotate(90deg);
}

.modal-body {
    padding: 2rem;
    color: #ffffff;
    line-height: 1.8;
    font-family: var(--font-body, 'Inter', sans-serif);
}

.loading {
    text-align: center;
    padding: 3rem;
    color: #ffd700;
    font-size: 1.2rem;
}

/* Interactive Particle Sphere */
.particle-sphere {
    position: fixed;
    top: 60%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(56.35vw, 966px);
    height: min(56.35vw, 966px);
    cursor: pointer;
    transition: transform 0.3s ease;
    z-index: 1;
    pointer-events: auto;
}

.particle-sphere:hover {
    transform: translate(-50%, -50%) scale(1.05);
}

#particle-canvas {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(255, 215, 0, 0.1) 0%, 
        rgba(124, 58, 237, 0.08) 30%, 
        rgba(99, 102, 241, 0.04) 60%, 
        transparent 100%);
}

.sphere-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    border-radius: 50%;
    background: radial-gradient(circle at center, 
        rgba(255, 215, 0, 0.2) 0%, 
        transparent 70%);
    filter: blur(30px);
    pointer-events: none;
    animation: pulseGlow 4s ease-in-out infinite;
}

@keyframes pulseGlow {
    0%, 100% {
        opacity: 0.5;
        transform: translate(-50%, -50%) scale(1);
    }
    50% {
        opacity: 0.8;
        transform: translate(-50%, -50%) scale(1.1);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .navbar {
        height: auto !important;
        min-height: 70px !important;
        padding: 0.5rem 0 !important;
    }

    .nav-container {
        padding: 0 1rem !important;
        flex-wrap: nowrap !important;
    }

    .nav-brand h1 {
        font-size: 1.3rem !important;
        white-space: nowrap !important;
    }

    .nav-menu {
        flex-shrink: 0 !important;
    }

    .auth-buttons {
        display: flex !important;
        flex-direction: row !important;
        gap: 0.5rem !important;
        flex-wrap: wrap !important;
        justify-content: flex-end !important;
    }

    .auth-btn {
        padding: 0.5rem 0.75rem !important;
        font-size: 0.8rem !important;
        min-width: auto !important;
        width: auto !important;
        white-space: nowrap !important;
        flex-shrink: 0 !important;
    }

    .mystical-actions {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        justify-content: center;
        width: 100%;
    }

    .mystical-btn {
        width: 100%;
        max-width: 300px;
        padding: 0.9rem 1.5rem !important;
        font-size: 1rem !important;
        min-width: auto !important;
    }

    .features-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .pricing-grid {
        grid-template-columns: 1fr;
        padding: 0 1rem;
    }

    .footer-container {
        grid-template-columns: 1fr;
    }

    .modal-content {
        margin: 1rem;
        max-width: calc(100vw - 2rem);
    }

    .particle-sphere {
        width: min(96.6vw, 563.5px);
        height: min(96.6vw, 563.5px);
    }

    .landing-page {
        padding: 1.5rem 1rem;
    }

    .hero-title {
        font-size: 2rem !important;
    }

    .hero-subtitle {
        font-size: 1.1rem !important;
    }
}

@media (max-width: 480px) {
    .navbar {
        min-height: 60px !important;
        height: auto !important;
    }

    .nav-container {
        padding: 0 0.75rem !important;
    }

    .nav-brand h1 {
        font-size: 1.1rem !important;
    }

    .auth-buttons {
        gap: 0.35rem !important;
    }

    .auth-btn {
        padding: 0.4rem 0.6rem !important;
        font-size: 0.7rem !important;
    }

    .mystical-btn {
        padding: 0.8rem 1.2rem !important;
        font-size: 0.9rem !important;
        max-width: 280px;
        width: 100% !important;
    }

    .hero-title {
        font-size: 1.6rem !important;
    }

    .hero-subtitle {
        font-size: 1rem !important;
    }

    .landing-page {
        padding: 1rem 0.75rem;
    }

    .particle-sphere {
        width: min(92vw, 460px);
        height: min(92vw, 460px);
    }
}

