@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;600;800&family=Plus+Jakarta+Sans:wght@300;400;600;800&family=Satisfy&display=swap');

:root {
    --primary: #c2ff4d;
    --secondary: #22c55e;
    --accent: #f093fb;
    --bg-dark: #020617;
    --surface: rgba(15, 23, 42, 0.4);
    /* Darker and more opaque for better contrast */
    --glass-border: rgba(255, 255, 255, 0.15);
    --text-main: #ffffff;
    /* pure white for maximum visibility */
    --text-dim: #cbd5e1;
    /* lighter dim text */
    --grad-blue: linear-gradient(135deg, #c2ff4d 0%, #22c55e 100%);
    --shadow-glow: 0 0 30px rgba(194, 255, 77, 0.2);
}

@keyframes blob-float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    33% {
        transform: translate(30px, -50px) scale(1.1);
    }

    66% {
        transform: translate(-20px, 20px) scale(0.9);
    }
}

@keyframes glass-shimmer {
    0% {
        background-position: -200% 0;
    }

    100% {
        background-position: 200% 0;
    }
}

@keyframes sway {
    0% {
        transform: scale(1.1) translate(0, 0);
    }

    50% {
        transform: scale(1.15) translate(-1%, -1%);
    }

    100% {
        transform: scale(1.1) translate(0, 0);
    }
}

@keyframes leaf-fall {
    0% {
        transform: translateY(-100px) translateX(0) rotate(0deg);
        opacity: 0;
    }

    10% {
        opacity: 0.6;
    }

    90% {
        opacity: 0.6;
    }

    100% {
        transform: translateY(100vh) translateX(100px) rotate(720deg);
        opacity: 0;
    }
}

.leaf-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 100;
    overflow: hidden;
}

.leaf {
    position: absolute;
    width: 15px;
    height: 15px;
    background: var(--primary);
    border-radius: 0 100% 0 100%;
    opacity: 0;
    animation: leaf-fall 10s linear infinite;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Plus Jakarta Sans', sans-serif;
}

body {
    background: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

/* Premium Background */
.bg-blobs {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -3;
    overflow: hidden;
    filter: blur(40px);
}

.blob {
    position: absolute;
    border-radius: 50%;
    opacity: 0.4;
    animation: blob-float 20s infinite alternate cubic-bezier(0.45, 0, 0.55, 1);
}

.blob-1 {
    width: 500px;
    height: 500px;
    background: var(--primary);
    top: -200px;
    left: -100px;
    animation-delay: 0s;
}

.blob-2 {
    width: 400px;
    height: 400px;
    background: var(--accent);
    bottom: -100px;
    right: -100px;
    animation-delay: -5s;
}

.blob-3 {
    width: 300px;
    height: 300px;
    background: var(--secondary);
    top: 40%;
    left: 30%;
    animation-delay: -10s;
}

/* Global Liquid Glass Utility */
.glass-panel {
    background: var(--surface);
    backdrop-filter: saturate(180%);
    -webkit-backdrop-filter: saturate(180%);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
}

/* Full-Width Horizontal Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 75px;
    padding: 0 6%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.7);
    backdrop-filter: saturate(180%);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
}

.logo-capsule {
    display: flex;
    align-items: center;
}

.logo {
    font-family: 'Satisfy', cursive;
    font-size: 1.5rem;
    font-weight: 400;
    margin: 0;
    /* Adjusted background to allow for text color fill or separate background */
    background: linear-gradient(90deg, #c2ff4d, #22c55e, #c2ff4d);
    background-size: 200% auto;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: 1px;
    animation: shine 4s linear infinite;

    /* Button Styles */
    display: inline-block;
    padding: 8px 24px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    background-color: rgba(255, 255, 255, 0.03);
    /* Subtle glass background */
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.logo:hover {
    transform: translateY(-2px);
    background-color: rgba(255, 255, 255, 0.08);
    /* Brighter glass on hover */
    border-color: rgba(194, 255, 77, 0.5);
    /* Highlight border */
    box-shadow: 0 8px 20px rgba(194, 255, 77, 0.15);
}

@keyframes shine {
    to {
        background-position: 200% center;
    }
}

.nav-links {
    display: flex;
    gap: 15px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-dim);
    font-weight: 700;
    font-size: 0.85rem;
    padding: 10px 24px;
    border-radius: 50px;
    position: relative;
    overflow: hidden;
    /* Springy Jelly Transition */
    transition: all 0.6s cubic-bezier(0.68, -0.6, 0.32, 1.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: saturate(180%);
    box-shadow: inset 0 1px 1px rgba(255, 255, 255, 0.1),
        0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-links a:hover {
    color: var(--primary);
    background: rgba(255, 255, 255, 0.08);
    transform: scale(1.1) translateY(-2px);
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(194, 255, 77, 0.3),
        inset 0 1px 5px rgba(255, 255, 255, 0.2);
}

.nav-links a.active {
    color: var(--bg-dark);
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 10px 25px rgba(194, 255, 77, 0.4);
    transform: scale(1.05);
}

.nav-links a:active {
    transform: scale(0.9) translateY(2px);
}

.nav-search {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 8px 18px;
    border-radius: 40px;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-search:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
}

.nav-search:focus-within {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(194, 255, 77, 0.15);
    transform: scale(1.02);
}

.nav-search input {
    background: transparent;
    border: none;
    color: white;
    font-size: 0.8rem;
    width: 100px;
    outline: none;
    padding-left: 8px;
}

.nav-search i {
    color: var(--text-dim);
    font-size: 0.9rem;
}

/* Hero */
.hero {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 100px 20px;
    position: relative;
    overflow: visible;
    /* Changed for zoom effect */
}

.hero-bg-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.hero-mist {
    position: absolute;
    top: 0;
    left: -15%;
    width: 60%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.3) 0%, transparent 70%);
    filter: blur(80px);
    pointer-events: none;
    z-index: 11;
    opacity: 0.7;
    animation: mist-float 15s ease-in-out infinite alternate;
}

@keyframes mist-float {
    from {
        transform: translateX(0) scale(1);
    }

    to {
        transform: translateX(50px) scale(1.1);
    }
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    transition: transform 0.2s cubic-bezier(0.2, 0.8, 0.2, 1), opacity 0.8s ease;
    transform: scale(1.1);
    will-change: transform, opacity;
    opacity: 0;
}

.layer-1 {
    background: linear-gradient(rgba(2, 6, 23, 0.1), rgba(2, 6, 23, 0.4)), url('https://images.unsplash.com/photo-1441974231531-c6227db76b6e?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    opacity: 1;
    z-index: 1;
}

.layer-2 {
    background: linear-gradient(rgba(2, 6, 23, 0.2), rgba(2, 6, 23, 0.5)), url('https://images.unsplash.com/photo-1473448912268-2022ce9509d8?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    z-index: 2;
}

.layer-3 {
    background: linear-gradient(rgba(2, 6, 23, 0.3), rgba(2, 6, 23, 0.6)), url('https://images.unsplash.com/photo-1511497584788-876760111969?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    z-index: 3;
}

.layer-4 {
    background: linear-gradient(rgba(2, 6, 23, 0.4), rgba(2, 6, 23, 0.7)), url('https://images.unsplash.com/photo-1528127269322-539801943592?ixlib=rb-4.0.3&auto=format&fit=crop&w=1920&q=80');
    z-index: 4;
}

.hero h1 {
    font-family: 'Satisfy', cursive;
    font-size: 6.5rem;
    line-height: 1;
    margin-bottom: 20px;
    font-weight: 400;
    color: var(--white);
}

.hero h1 span {
    font-family: inherit;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.4rem;
    color: var(--text-dim);
    max-width: 800px;
    margin-bottom: 50px;
}

/* Hero Image Gallery (Top) */
.hero-gallery {
    display: flex;
    gap: 20px;
    margin-bottom: 60px;
    perspective: 1000px;
}

.hero-img-box {
    width: 200px;
    height: 280px;
    border-radius: 24px;
    overflow: hidden;
    border: 2px solid var(--glass-border);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transform: rotateY(-10deg) rotateX(5deg);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-slow 6s ease-in-out infinite alternate;
}

.hero-img-box:nth-child(2) {
    transform: translateY(-30px) rotateY(0deg);
    animation-delay: -2s;
}

.hero-img-box:nth-child(3) {
    transform: rotateY(10deg) rotateX(5deg);
    animation-delay: -4s;
}

.hero-img-box img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-img-box:hover {
    transform: scale(1.1) rotateY(0deg) translateY(-20px);
    z-index: 10;
    border-color: var(--primary);
}

@keyframes float-slow {
    from {
        transform: translateY(0);
    }

    to {
        transform: translateY(-20px);
    }
}

/* Floating Search Bar */
.search-container {
    width: 90%;
    max-width: 1000px;
    padding: 24px;
    display: grid;
    grid-template-columns: repeat(3, 1fr) auto;
    gap: 20px;
    margin-bottom: -150px;
    z-index: 10;
}

.search-field {
    display: flex;
    flex-direction: column;
    gap: 5px;
    text-align: left;
}

.search-field label {
    font-size: 0.8rem;
    /* slightly larger */
    font-weight: 800;
    /* bolder */
    color: var(--primary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    /* depth for legibility */
}

.search-field input,
.search-field select {
    background: rgba(0, 0, 0, 0.2);
    /* darker input bg */
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 12px;
    color: #ffffff;
    font-size: 0.95rem;
    font-weight: 500;
    outline: none;
}

.search-field input::placeholder {
    color: rgba(255, 255, 255, 0.5);
    /* brightened placeholder */
}

.search-btn {
    align-self: flex-end;
    padding: 12px 30px;
    background: var(--grad-blue);
    border: none;
    border-radius: 12px;
    color: white;
    font-weight: 800;
    cursor: pointer;
    transition: 0.3s;
}

/* Main Content Padding */
main {
    padding-top: 200px;
    max-width: 1300px;
    margin: 0 auto;
}

/* Gallery & Features */
.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-header span {
    color: var(--primary);
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 3px;
    font-size: 0.8rem;
}

.section-header h2 {
    font-size: 3.5rem;
    font-family: 'Outfit', sans-serif;
}

.destinations-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 100px;
}

.dest-card {
    height: 450px;
    border-radius: 30px;
    position: relative;
    overflow: hidden;
    border: 1px solid var(--glass-border);
}

.dest-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: 0.7s;
}

.dest-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(3, 7, 18, 0.9), transparent);
    padding: 30px;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    opacity: 0.8;
    transition: 0.3s;
}

.dest-card:hover img {
    transform: scale(1.1);
}

.dest-card:hover .dest-overlay {
    opacity: 1;
}

/* Grid Cards */
.scenarios-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-bottom: 100px;
}

.scenario-card {
    padding: 40px;
    text-align: center;
    transition: 0.4s;
}

.scenario-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--primary);
    transform: translateY(-10px);
}

.scenario-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Generator */
/* Generator - Completely Static */
.generator-section,
.generator-section *,
#generator,
#generator * {
    animation: none !important;
    transition: none !important;
    transform: none !important;
    box-shadow: none !important;
    /* Optional: remove glow effects too for 'complete' look */
}

.generator-section {
    padding: 80px 40px;
    margin-bottom: 100px;
}

.tabs {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-bottom: 40px;
}

.tab-btn {
    padding: 12px 30px;
    border-radius: 12px;
    border: 1px solid var(--glass-border);
    background: transparent;
    color: var(--text-dim);
    font-weight: 700;
    cursor: pointer;
    transition: 0.3s;
}

.tab-btn.active {
    background: var(--grad-blue);
    color: white;
    border-color: transparent;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: scaleIn 0.5s ease-out;
}

.card {
    padding: 50px;
    max-width: 900px;
    margin: 0 auto;
}

.primary-btn {
    width: 100%;
    padding: 18px;
    background: var(--grad-blue);
    border: none;
    border-radius: 15px;
    color: white;
    font-weight: 800;
    font-size: 1.1rem;
    cursor: pointer;
    margin-top: 30px;
}

/* Results Markdown */
.markdown-body {
    padding: 40px;
    border-radius: 20px;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid var(--glass-border);
    margin-top: 40px;
    color: var(--text-main);
    line-height: 1.6;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.markdown-body h1,
.markdown-body h2,
.markdown-body h3 {
    color: var(--primary);
    margin-top: 25px;
    margin-bottom: 15px;
    letter-spacing: -0.2px;
    border: none;
    padding-bottom: 0;
}

.markdown-body h2 {
    font-size: 1.6rem;
}

.markdown-body h3 {
    font-size: 1.2rem;
}

.markdown-body p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.85);
}

.markdown-body ul,
.markdown-body ol {
    margin-bottom: 20px;
    padding-left: 20px;
}

.markdown-body li {
    margin-bottom: 8px;
    list-style: none;
    position: relative;
    font-size: 0.95rem;
}

.markdown-body ul li::before {
    content: "→";
    color: var(--primary);
    position: absolute;
    left: -20px;
    font-weight: bold;
}

.markdown-body strong {
    color: var(--primary);
    font-weight: 600;
}

.markdown-body blockquote {
    border-left: 3px solid var(--primary);
    padding: 10px 20px;
    background: rgba(194, 255, 77, 0.03);
    margin-bottom: 20px;
    border-radius: 8px;
}

.markdown-body hr {
    border: none;
    border-top: 1px solid var(--glass-border);
    margin: 30px 0;
}

.markdown-body a {
    color: var(--primary);
    text-decoration: none;
    border-bottom: 1px dashed var(--primary);
    transition: 0.3s;
}

.markdown-body a:hover {
    background: rgba(194, 255, 77, 0.1);
    border-bottom-style: solid;
}

/* Modern Footer Redesign */
/* Glassy Theme Footer - Matching Hero Image Style */
.theme-footer {
    position: relative;
    background: linear-gradient(rgba(2, 6, 23, 0.85), rgba(2, 6, 23, 0.95)),
        url('https://images.unsplash.com/photo-1470071459604-3b5ec3a7fe05?auto=format&fit=crop&w=1920&q=80') center center / cover no-repeat;
    padding: 80px 8%;
    backdrop-filter: blur(20px);
    border-top: 1px solid var(--glass-border);
    margin-top: 100px;
    overflow: hidden;
}

.footer-content {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr 0.8fr;
    gap: 30px;
    margin-bottom: 60px;
}

/* Footer Columns - Image Box Style */
.footer-col {
    padding: 30px;
    border-radius: 24px;
    border: 2px solid var(--glass-border);
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: saturate(180%);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    transition: 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    animation: float-slow 6s ease-in-out infinite alternate;
}

.footer-col:nth-child(1) {
    animation-delay: 0s;
}

.footer-col:nth-child(2) {
    animation-delay: -2s;
}

.footer-col:nth-child(3) {
    animation-delay: -4s;
}

.footer-col:hover {
    transform: translateY(-10px);
    border-color: var(--primary);
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5), 0 0 20px rgba(194, 255, 77, 0.2);
}

/* Col 1 */
.footer-logo {
    font-family: 'Satisfy', cursive;
    font-size: 2.5rem;
    background: var(--grad-blue);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 20px;
    display: inline-block;
}

.footer-desc {
    color: var(--text-dim);
    line-height: 1.7;
    font-size: 0.95rem;
}

/* Headings */
.footer-heading {
    color: white;
    font-size: 1.2rem;
    margin-bottom: 25px;
    font-weight: 700;
}

/* Steps List */
.usage-steps-list {
    list-style: none;
}

.usage-steps-list li {
    display: flex;
    gap: 15px;
    margin-bottom: 20px;
}

.step-badge {
    min-width: 25px;
    height: 25px;
    background: rgba(194, 255, 77, 0.1);
    color: var(--primary);
    border: 1px solid var(--primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-weight: 800;
    margin-top: 3px;
}

.usage-steps-list strong {
    display: block;
    color: white;
    font-size: 0.9rem;
    margin-bottom: 2px;
}

.usage-steps-list p {
    font-size: 0.85rem;
    color: var(--text-dim);
    line-height: 1.4;
}

/* Socials */
.social-btn svg {
    width: 20px;
    height: 20px;
    fill: white;
    transition: 0.3s;
}

.social-btn:hover svg {
    fill: var(--bg-dark);
}

.social-links-row {
    display: flex;
    gap: 15px;
}

.social-btn {
    width: 45px;
    height: 45px;
    border-radius: 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-decoration: none;
    font-weight: 800;
    font-size: 0.8rem;
    transition: 0.3s;
    text-transform: uppercase;
}

.social-btn:hover {
    background: var(--primary);
    color: var(--bg-dark);
    transform: translateY(-3px);
    box-shadow: 0 0 15px rgba(194, 255, 77, 0.4);
}

.footer-bottom {
    border-top: 1px solid var(--glass-border);
    padding-top: 30px;
    text-align: center;
    color: var(--text-dim);
    font-size: 0.85rem;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: 1fr;
        gap: 40px;
    }
}

/* Enhanced Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

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

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-40px);
    }

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.9);
    }

    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes glow-pulse {

    0%,
    100% {
        box-shadow: 0 0 20px rgba(194, 255, 77, 0.3);
    }

    50% {
        box-shadow: 0 0 40px rgba(194, 255, 77, 0.6), 0 0 60px rgba(194, 255, 77, 0.3);
    }
}

@keyframes slide-in-right {
    from {
        opacity: 0;
        transform: translateX(50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slide-in-left {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }

    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

/* Hero Content Animations */
.hero h1 {
    animation: fadeInDown 1s ease-out 0.3s both;
}

.hero p {
    animation: fadeInUp 1s ease-out 0.6s both;
}

.hero-gallery {
    animation: fadeIn 1.2s ease-out 0.9s both;
}

.search-container {
    animation: scaleIn 0.8s ease-out 1.2s both;
}

/* Primary Button Enhanced Animation */
.primary-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

.primary-btn:hover::before {
    width: 300px;
    height: 300px;
}

.primary-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(194, 255, 77, 0.4);
}

.primary-btn:active {
    transform: translateY(0) scale(0.98);
}

/* Search Button Enhanced */
.search-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.search-btn::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.search-btn:hover::after {
    width: 200px;
    height: 200px;
}

.search-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(194, 255, 77, 0.35);
}

.search-btn:active {
    transform: scale(0.95);
}

/* Input Focus Animations */
.search-field input:focus,
.search-field select:focus {
    border-color: var(--primary);
    box-shadow: 0 0 15px rgba(194, 255, 77, 0.3);
    transform: translateY(-2px);
    transition: all 0.3s ease;
}

/* Card Animations */
.scenario-card {
    animation: fadeInUp 0.6s ease-out both;
}

.scenario-card:nth-child(1) {
    animation-delay: 0.1s;
}

.scenario-card:nth-child(2) {
    animation-delay: 0.2s;
}

.scenario-card:nth-child(3) {
    animation-delay: 0.3s;
}

/* Destination Card Hover Effects */
.dest-card {
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.dest-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(194, 255, 77, 0.2);
}

/* Tab Button Animations */
.tab-btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.tab-btn::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--primary);
    transform: translateX(-50%);
    transition: width 0.3s ease;
}

.tab-btn:hover::before {
    width: 80%;
}

.tab-btn:hover {
    color: var(--primary);
    transform: translateY(-2px);
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Loading Animation for Generator */
@keyframes spinner {
    to {
        transform: rotate(360deg);
    }
}

.loading-spinner {
    border: 3px solid rgba(194, 255, 77, 0.2);
    border-top-color: var(--primary);
    border-radius: 50%;
    width: 40px;
    height: 40px;
    animation: spinner 0.8s linear infinite;
    margin: 20px auto;
}

/* Message Fade In */
.message-fade-in {
    animation: fadeInUp 0.5s ease-out both;
}

/* Cursor Pointer for Interactive Elements */
.scenario-card,
.dest-card,
.tab-btn,
.primary-btn,
.search-btn,
.nav-links a,
.social-btn {
    cursor: pointer;
}

/* Mobile Optimization - Smooth & Premium Experience */
@media (max-width: 1024px) {
    .destinations-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }

    .scenarios-grid {
        grid-template-columns: 1fr;
    }

    .search-container {
        grid-template-columns: 1fr;
        margin-bottom: 0;
        transform: none;
        margin-top: 20px;
        padding: 24px;
        width: 100%;
        max-width: none;
    }
}

@media (max-width: 768px) {
    :root {
        --mobile-padding: 20px;
    }

    body {
        overflow-x: hidden;
        width: 100%;
    }

    /* Compact & Pro Navigation */
    nav {
        height: 70px;
        /* Fixed height for consistency */
        padding: 0 var(--mobile-padding);
        flex-direction: row;
        /* Horizontal layout */
        justify-content: space-between;
        align-items: center;
        top: 0;
        width: 100%;
        border-radius: 0;
        background: rgba(2, 6, 23, 0.95);
        backdrop-filter: blur(15px);
        border-bottom: 1px solid var(--glass-border);
    }

    .logo-capsule {
        margin-bottom: 0;
    }

    .logo {
        font-size: 1.4rem;
    }

    .nav-links {
        width: auto;
        justify-content: flex-end;
        gap: 8px;
    }

    .nav-links a {
        padding: 6px 10px;
        font-size: 0.7rem;
        background: transparent;
        border: 1px solid rgba(255, 255, 255, 0.1);
    }

    .nav-links a.active {
        background: var(--primary);
        color: var(--bg-dark);
    }

    .nav-search {
        display: none;
        /* Hide cluttered search bar in mobile nav */
    }

    /* Hero Refinement */
    .hero {
        padding: 100px var(--mobile-padding) 40px;
        min-height: auto;
        text-align: center;
    }

    .hero h1 {
        font-size: 2.5rem;
        line-height: 1.1;
        letter-spacing: -1px;
    }

    .hero p {
        font-size: 1rem;
        margin-top: 15px;
        padding: 0 10px;
    }

    .hero-gallery {
        display: none;
    }

    /* Generator Section - Fluid & Accessible */
    .generator-section {
        padding: 40px 10px;
        margin-bottom: 60px;
    }

    .tabs {
        justify-content: center;
        display: flex;
        flex-wrap: wrap;
        gap: 8px;
        padding: 0 5px 20px;
    }

    .tab-btn {
        flex: 1 1 auto;
        min-width: 100px;
        padding: 10px 15px;
        font-size: 0.8rem;
        border-radius: 10px;
    }

    .card {
        padding: 30px 15px;
        border-radius: 20px;
    }

    .search-container {
        padding: 30px 15px;
        border-radius: 20px;
    }

    /* Form UI Stacking */
    .search-field {
        margin-bottom: 15px;
    }

    .search-field label {
        font-size: 0.75rem;
        margin-bottom: 6px;
    }

    .search-field input,
    .search-field select,
    .search-field textarea {
        font-size: 16px;
        /* High-res mobile inputs */
        padding: 12px;
        border-radius: 10px;
    }

    /* Catch all grid columns for mobile */
    div[style*="display: grid"],
    div[style*="grid-template-columns"] {
        grid-template-columns: 1fr !important;
        gap: 15px !important;
    }

    /* Responsive Cards */
    .destinations-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .dest-card,
    .scenario-card {
        transform: none !important;
        transition: transform 0.3s ease !important;
    }

    /* Results Legibility */
    .markdown-body {
        padding: 30px 15px;
        font-size: 0.9rem;
        line-height: 1.7;
    }

    .markdown-body h1 {
        font-size: 1.6rem;
        margin-top: 10px;
    }

    .markdown-body h2 {
        font-size: 1.4rem;
    }

    .markdown-body h3 {
        font-size: 1.2rem;
    }

    /* Footer Centering */
    .theme-footer {
        padding: 60px 20px;
    }

    .footer-content {
        gap: 40px;
        text-align: center;
    }

    .footer-desc {
        max-width: 100%;
        font-size: 0.9rem;
    }

    .footer-social {
        justify-content: center;
    }
}

@media (max-width: 480px) {
    .hero h1 {
        font-size: 1.8rem;
        /* Even more compact for very small screens */
        letter-spacing: -0.5px;
    }

    .logo {
        font-size: 1.2rem;
    }

    .nav-links {
        display: none;
        /* Hide links on ultra-small screens to keep logo clean, OR keep them very small */
    }

    .primary-btn {
        padding: 14px;
        font-size: 0.9rem;
    }

    .search-field input {
        font-size: 14px;
        padding: 10px;
    }
}

/* ===== CONNECTION STATUS & MODAL ===== */
.connection-status {
    width: 32px;
    height: 32px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    transition: all 0.3s;
    margin-left: 10px;
}

.connection-status:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: var(--primary);
    transform: scale(1.1);
}

.status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #64748b;
    /* Gray - checking */
    box-shadow: 0 0 10px rgba(100, 116, 139, 0.3);
}

.status-dot.active {
    background: var(--primary);
    box-shadow: 0 0 15px var(--primary);
    animation: pulse-glow 2s infinite;
}

.status-dot.error {
    background: #ff4b4b;
    box-shadow: 0 0 15px #ff4b4b;
}

@keyframes pulse-glow {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Modal Utility */
.modal-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    z-index: 2000;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: all 0.4s;
}

.modal-overlay.hidden {
    opacity: 0;
    pointer-events: none;
    visibility: hidden;
}

.modal-content {
    width: 90%;
    max-width: 500px;
    padding: 40px;
    position: relative;
    border: 1px solid var(--glass-border);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
}

.modal-header h3 {
    font-family: 'Satisfy', cursive;
    font-size: 1.8rem;
    color: var(--primary);
}

.close-modal {
    background: none;
    border: none;
    color: var(--text-dim);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
}

.modal-body p {
    color: var(--text-dim);
    font-size: 0.95rem;
    margin-bottom: 20px;
    line-height: 1.6;
}

.crypto-note {
    font-size: 0.75rem !important;
    opacity: 0.6;
    margin-top: 15px;
    font-style: italic;
}

.modal-footer {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

.hidden {
    display: none !important;
}