

        /* Map Container */

        /* Map Container */

        .map-container {

            position: relative;

            width: 100%;

            height: 100%;

            /* Fill the grid cell height */

            /* aspect-ratio: 2/1; removed to allow matching height */

            background: rgba(10, 10, 26, 0.5);

            border-radius: var(--radius-lg);

            /* overflow: hidden; Removed to allow tooltips to show */

            border: 1px solid rgba(212, 175, 55, 0.3);

            box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);

        }



        .map-bg {

            width: 100%;

            height: 100%;

            object-fit: fill;

            /* Ensure full map is visible, even if slightly stretched */

            border-radius: var(--radius-lg);

            opacity: 0.8;

            transition: opacity 0.5s ease;

        }



        .map-container:hover .map-bg {

            opacity: 1;

        }



        .map-container.calculating .map-bg {

            filter: blur(5px);

            opacity: 0.4;

        }



        /* City Markers */

        .city-marker {

            position: absolute;

            transform: translate(-50%, -50%) scale(0);

            display: flex;

            flex-direction: column;

            align-items: center;

            cursor: pointer;

            z-index: 10;

            transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.27);

        }



        .city-marker.visible {

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

        }



        .marker-dot {

            width: 12px;

            height: 12px;

            background: var(--color-mystic-gold);

            border-radius: 50%;

            box-shadow: 0 0 10px var(--color-mystic-gold);

            position: relative;

        }



        .city-marker.positive .marker-dot {

            background: #2ecc71;

            box-shadow: 0 0 10px #2ecc71;

        }



        .city-marker.negative .marker-dot {

            background: #e74c3c;

            box-shadow: 0 0 10px #e74c3c;

        }



        .marker-dot::after {

            content: '';

            position: absolute;

            top: 50%;

            left: 50%;

            transform: translate(-50%, -50%);

            width: 24px;

            height: 24px;

            border: 1px solid currentColor;

            border-radius: 50%;

            opacity: 0.5;

            animation: pulse-dot 2s infinite;

        }



        .marker-label {

            margin-top: 5px;

            font-size: 0.75rem;

            color: #fff;

            text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8);

            background: rgba(0, 0, 0, 0.6);

            padding: 2px 6px;

            border-radius: 4px;

            pointer-events: none;

            opacity: 0;

            transform: translateY(5px);

            transition: all 0.2s ease;

        }



        .city-marker:hover .marker-label {

            opacity: 1;

            transform: translateY(0);

        }



        @keyframes pulse-dot {

            0% {

                transform: translate(-50%, -50%) scale(0.5);

                opacity: 1;

            }



            100% {

                transform: translate(-50%, -50%) scale(2);

                opacity: 0;

            }

        }



        /* Tooltip */

        .map-tooltip {

            position: absolute;

            background: rgba(10, 10, 26, 0.9);

            border: 1px solid var(--color-mystic-gold);

            padding: 0.5rem 1rem;

            border-radius: var(--radius-md);

            pointer-events: none;

            opacity: 0;

            transition: opacity 0.2s;

            z-index: 20;

            bottom: 10px;

            left: 50%;

            transform: translateX(-50%);

        }



        /* Form Styles */

        .astro-form {

            display: grid;

            grid-template-columns: repeat(2, 1fr);

            gap: var(--space-md);

        }



        .astro-form .form-group.full-width {

            grid-column: 1 / -1;

        }



        .form-label {

            display: block;

            margin-bottom: 0.5rem;

            color: var(--color-silver-mist);

            font-size: var(--text-sm);

        }



        .form-input {

            width: 100%;

            padding: var(--space-sm) var(--space-md);

            background: rgba(255, 255, 255, 0.05);

            border: 1px solid rgba(255, 255, 255, 0.1);

            border-radius: var(--radius-md);

            color: var(--color-starlight);

            font-size: var(--text-base);

            transition: all 0.3s ease;

        }



        .form-input:focus {

            outline: none;

            border-color: var(--color-mystic-gold);

            box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);

        }



        .form-input::placeholder {

            color: rgba(255, 255, 255, 0.3);

        }



        /* Fix for select options readability */

        select.form-input option {

            background-color: #0a0a1a;

            /* Dark background matching theme */

            color: #e2e8f0;

            /* Light text */

        }



        /* Loading */

        #astro-loading {

            display: none;

            justify-content: center;

            align-items: center;

            padding: var(--space-xl);

            gap: var(--space-md);

        }



        .loading-spinner {

            width: 40px;

            height: 40px;

            border: 3px solid rgba(212, 175, 55, 0.2);

            border-top-color: var(--color-mystic-gold);

            border-radius: 50%;

            animation: spin 1s linear infinite;

        }



        @keyframes spin {

            to {

                transform: rotate(360deg);

            }

        }



        /* Results */

        .astro-result-card {

            background: rgba(255, 255, 255, 0.03);

            border: 1px solid rgba(212, 175, 55, 0.2);

            border-radius: var(--radius-lg);

            padding: var(--space-xl);

            margin-top: var(--space-xl);

        }



        .result-title {

            color: var(--color-mystic-gold);

            margin-bottom: var(--space-lg);

            font-family: var(--font-heading);

        }



        .result-content h4 {

            color: var(--color-mystic-gold);

            margin-top: var(--space-lg);

            margin-bottom: var(--space-sm);

        }



        .result-content ul {

            margin-left: var(--space-lg);

            color: var(--color-silver-mist);

        }



        .result-content li {

            margin-bottom: var(--space-xs);

        }



        .astro-error {

            text-align: center;

            padding: var(--space-xl);

            color: #e74c3c;

        }



        .error-icon {

            font-size: 2rem;

            display: block;

            margin-bottom: var(--space-md);

        }



        /* Responsive */

        @media (max-width: 768px) {

            .astro-form {

                grid-template-columns: 1fr;

            }

        }

    
/* Numerology styles */


        /* Numerology Specific Styles */

        .number-cards {

            display: grid;

            grid-template-columns: repeat(4, 1fr);

            gap: var(--space-lg);

            margin: var(--space-xl) 0;

        }



        @media (max-width: 768px) {

            .number-cards {

                grid-template-columns: repeat(2, 1fr);

            }

        }



        .number-card {

            background: rgba(255, 255, 255, 0.03);

            border: 2px solid var(--card-color, var(--color-mystic-gold));

            border-radius: var(--radius-lg);

            padding: var(--space-lg);

            text-align: center;

            transition: all 0.3s ease;

            position: relative;

            overflow: hidden;

        }



        .number-card::before {

            content: '';

            position: absolute;

            top: 0;

            left: 0;

            right: 0;

            bottom: 0;

            background: linear-gradient(135deg, var(--card-color) 0%, transparent 50%);

            opacity: 0.1;

            z-index: 0;

        }



        .number-card:hover {

            transform: translateY(-5px);

            box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3), 0 0 20px var(--card-color);

        }



        .number-card.master {

            border-width: 3px;

            animation: master-glow 2s ease-in-out infinite;

        }



        @keyframes master-glow {



            0%,

            100% {

                box-shadow: 0 0 10px var(--card-color);

            }



            50% {

                box-shadow: 0 0 25px var(--card-color), 0 0 40px var(--card-color);

            }

        }



        .number-value {

            font-family: var(--font-heading);

            font-size: 4rem;

            font-weight: 700;

            color: var(--card-color);

            line-height: 1;

            position: relative;

            z-index: 1;

            text-shadow: 0 0 20px var(--card-color);

        }



        .number-label {

            font-size: var(--text-xs);

            text-transform: uppercase;

            letter-spacing: 0.2em;

            color: var(--color-silver-mist);

            margin-top: var(--space-sm);

            position: relative;

            z-index: 1;

        }



        .number-title {

            font-family: var(--font-heading);

            font-size: var(--text-lg);

            color: var(--color-starlight);

            margin-top: var(--space-sm);

            position: relative;

            z-index: 1;

        }



        .number-meaning {

            font-size: var(--text-sm);

            color: var(--color-silver-mist);

            margin-top: var(--space-xs);

            position: relative;

            z-index: 1;

        }



        /* Form Styles */

        .num-form {

            max-width: 500px;

            margin: 0 auto;

        }



        .form-group {

            margin-bottom: var(--space-md);

        }



        .form-label {

            display: block;

            margin-bottom: 0.5rem;

            color: var(--color-silver-mist);

            font-size: var(--text-sm);

        }



        .form-input {

            width: 100%;

            padding: var(--space-sm) var(--space-md);

            background: rgba(255, 255, 255, 0.05);

            border: 1px solid rgba(255, 255, 255, 0.1);

            border-radius: var(--radius-md);

            color: var(--color-starlight);

            font-size: var(--text-base);

            transition: all 0.3s ease;

        }



        .form-input:focus {

            outline: none;

            border-color: var(--color-mystic-gold);

            box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);

        }



        /* Loading */

        #num-loading {

            display: none;

            justify-content: center;

            align-items: center;

            padding: var(--space-xl);

            gap: var(--space-md);

        }



        .loading-spinner {

            width: 40px;

            height: 40px;

            border: 3px solid rgba(212, 175, 55, 0.2);

            border-top-color: var(--color-mystic-gold);

            border-radius: 50%;

            animation: spin 1s linear infinite;

        }



        @keyframes spin {

            to {

                transform: rotate(360deg);

            }

        }



        /* Interpretation */

        .interpretation-content {

            background: rgba(255, 255, 255, 0.03);

            border: 1px solid rgba(212, 175, 55, 0.2);

            border-radius: var(--radius-lg);

            padding: var(--space-xl);

            margin-top: var(--space-xl);

        }



        .interpretation-content h3 {

            color: var(--color-mystic-gold);

            margin-bottom: var(--space-lg);

            font-family: var(--font-heading);

        }



        .interpretation-content h4 {

            color: var(--color-mystic-gold);

            margin-top: var(--space-lg);

            margin-bottom: var(--space-sm);

        }



        .interpretation-content p {

            color: var(--color-silver-mist);

            line-height: 1.8;

        }



        .error-message {

            color: #e74c3c;

            text-align: center;

            padding: var(--space-lg);

        }



        /* Info Cards */

        .info-grid {

            display: grid;

            grid-template-columns: repeat(2, 1fr);

            gap: var(--space-md);

            margin-top: var(--space-xl);

        }



        @media (max-width: 768px) {

            .info-grid {

                grid-template-columns: 1fr;

            }

        }



        .info-card {

            background: rgba(255, 255, 255, 0.02);

            border: 1px solid rgba(255, 255, 255, 0.05);

            border-radius: var(--radius-md);

            padding: var(--space-md);

        }



        .info-card h4 {

            color: var(--color-mystic-gold);

            margin-bottom: var(--space-xs);

            font-size: var(--text-sm);

        }



        .info-card p {

            color: var(--color-silver-mist);

            font-size: var(--text-sm);

        }

    