/* ═══════════════════════════════════════════════════
   BHAVISHYA DEKHO — Main Stylesheet
   File: style.css
   Do NOT edit unless you know CSS
════════════════════════════════════════════════════ */

        * {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
            -webkit-tap-highlight-color: transparent;
            -webkit-touch-callout: none;
            -webkit-user-select: none;
            -moz-user-select: none;
            -ms-user-select: none;
            user-select: none;
        }

        input, textarea, select {
            -webkit-user-select: text;
            -moz-user-select: text;
            -ms-user-select: text;
            user-select: text;
        }

        /* ── RESPONSIVE BASE FONT ──
           clamp(min, preferred, max)
           Chhote phones (320px) → ~14px
           Normal phones (390px) → ~15px
           Bade phones (430px) → ~16px
           Tablets/Desktop → 16px max
        */
        html {
            font-size: clamp(13px, 3.8vw, 16px);
        }

        body {
            font-family: 'Poppins', sans-serif;
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            color: #fff;
            overflow-x: hidden;
            position: relative;
            min-height: 100vh;
            font-size: 1rem;
            line-height: 1.5;
            -webkit-text-size-adjust: 100%;
            text-size-adjust: 100%;
        }

        .cosmic-bg {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            overflow: hidden;
            pointer-events: none;
            contain: strict;
            transform: translateZ(0); /* GPU layer pe daalo */
        }

        .star {
            position: absolute;
            background: white;
            border-radius: 50%;
            will-change: opacity;
            contain: strict;
        }

        .shooting-star {
            position: absolute;
            width: 100px;
            height: 2px;
            background: linear-gradient(90deg, transparent, #ffd700, transparent);
            will-change: transform;
            contain: layout style;
        }

        @keyframes twinkle {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 1; }
        }

        @keyframes shoot {
            from { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
            to { transform: translateX(200%) translateY(200%) rotate(45deg); }
        }

        .splash-screen {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            z-index: 10000;
            display: flex;
            justify-content: center;
            align-items: center;
            opacity: 1;
            transition: opacity 0.7s ease;
        }

        .splash-screen.hide {
            opacity: 0;
            pointer-events: none;
        }

        /* Hide main content until splash finishes */
        #mainContent {
            visibility: hidden;
        }
        #mainContent.ready {
            visibility: visible;
        }

        .splash-content {
            text-align: center;
            animation: floatIn 2s ease;
        }

        @keyframes floatIn {
            0% { opacity: 0; transform: translateY(50px); }
            100% { opacity: 1; transform: translateY(0); }
        }

        .splash-logo {
            width: 120px;
            height: 120px;
            background: linear-gradient(135deg, #ffd700, #ff4500);
            border-radius: 50%;
            margin: 0 auto 30px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 4em;
            animation: pulse 2s infinite;
            box-shadow: 0 0 50px #ffd700;
        }

        @keyframes pulse {
            0%, 100% { transform: scale(1); box-shadow: 0 0 50px #ffd700; }
            50% { transform: scale(1.1); box-shadow: 0 0 80px #ffa500; }
        }

        .main-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 15px;
            position: relative;
            z-index: 10;
        }

        .header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            padding: 12px 20px;
            background: rgba(255,255,255,0.08);
            border-radius: 50px;
            margin-bottom: 20px;
            border: 1px solid #ffd700;
            position: sticky;
            top: 15px;
            z-index: 1000;
        }

        .logo {
            font-size: 1.5em;
            font-weight: 600;
            background: linear-gradient(135deg, #ffd700, #ff4500);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            cursor: pointer;
        }

        .logo:hover {
            opacity: 0.9;
        }

        .menu-btn {
            width: 45px;
            height: 45px;
            background: linear-gradient(135deg, #ffd700, #ff4500);
            border: none;
            border-radius: 50%;
            font-size: 1.5em;
            color: #0a0a1a;
            cursor: pointer;
            transition: transform 0.3s;
            box-shadow: 0 0 20px rgba(255,215,0,0.5);
        }

        .menu-btn:hover {
            transform: rotate(90deg);
        }

        .side-menu {
            position: fixed;
            top: 0;
            right: -400px;
            width: 400px;
            height: 100%;
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            z-index: 9999;
            transition: right 0.5s;
            padding: 80px 20px;
            border-left: 2px solid #ffd700;
            overflow-y: auto;
            box-shadow: -10px 0 50px rgba(0,0,0,0.5);
        }

        .side-menu.open {
            right: 0;
        }

        .close-menu {
            position: absolute;
            top: 20px;
            left: 20px;
            font-size: 2em;
            color: #ffd700;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .close-menu:hover {
            transform: rotate(90deg);
        }

        .menu-item {
            padding: 15px;
            margin: 8px 0;
            background: rgba(255,215,0,0.1);
            border-radius: 15px;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
            border: 1px solid rgba(255,215,0,0.3);
        }

        .menu-item:hover {
            background: rgba(255,215,0,0.2);
            transform: translateX(-10px);
            box-shadow: 5px 5px 20px rgba(255,215,0,0.3);
        }

        .menu-item i {
            margin-right: 15px;
            color: #ffd700;
            width: 30px;
            font-size: 1.2em;
        }

        .panchang-bar {
            display: flex;
            justify-content: space-around;
            background: rgba(255,215,0,0.1);
            padding: 12px;
            border-radius: 50px;
            margin-bottom: 20px;
            border: 1px solid #ffd700;
            flex-wrap: wrap;
            font-size: 0.9em;
        }

        .panchang-item {
            text-align: center;
            padding: 0 10px;
        }

        .panchang-label {
            color: #ffd700;
            font-size: 0.8em;
        }

        .panchang-value {
            font-size: 1em;
            font-weight: 600;
        }

        .feature-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin: 20px 0;
        }

        .feature-card {
            background: rgba(255,255,255,0.08);
            border: 2px solid rgba(255,215,0,0.3);
            border-radius: 20px;
            padding: 20px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
        }

        .feature-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(255,215,0,0.3);
            border-color: #ffd700;
        }

        .feature-icon {
            font-size: 2.5em;
            color: #ffd700;
            margin-bottom: 10px;
        }

        .feature-title {
            font-size: 1.3em;
            color: #ffd700;
            margin-bottom: 8px;
        }

        .feature-price {
            background: linear-gradient(135deg, #ffd700, #ff4500);
            color: #0a0a1a;
            padding: 4px 12px;
            border-radius: 25px;
            display: inline-block;
            font-weight: 600;
            margin-top: 8px;
            font-size: 0.9em;
        }

        .premium-badge {
            background: #ffd700;
            color: #0a0a1a;
            padding: 4px 12px;
            border-radius: 25px;
            font-size: 0.8em;
            font-weight: 600;
            margin-left: 10px;
        }

        .donation-section {
            background: rgba(255,215,0,0.1);
            border: 2px solid #ffd700;
            border-radius: 20px;
            padding: 20px;
            margin: 30px 0;
            text-align: center;
            display: none;
            animation: slideIn 0.5s;
        }

        .donation-section.show {
            display: block;
        }

        .donation-title {
            color: #ffd700;
            font-size: 1.5em;
            margin-bottom: 20px;
        }

        .donation-options {
            display: flex;
            gap: 10px;
            justify-content: center;
            flex-wrap: wrap;
            margin: 15px 0;
        }

        .donation-option {
            background: rgba(255,215,0,0.2);
            border: 2px solid #ffd700;
            border-radius: 50px;
            padding: 10px 20px;
            cursor: pointer;
            transition: transform 0.3s, background 0.3s, color 0.3s;
            font-size: 1em;
            font-weight: 600;
        }

        .donation-option:hover {
            background: #ffd700;
            color: #0a0a1a;
            transform: scale(1.05);
        }

        .donation-option.custom {
            background: linear-gradient(135deg, #ffd700, #ff4500);
            color: #0a0a1a;
        }

        .donation-input {
            width: 200px;
            padding: 12px;
            border: 2px solid #ffd700;
            border-radius: 50px;
            background: rgba(255,255,255,0.1);
            color: #fff;
            font-size: 1em;
            text-align: center;
            margin: 15px auto;
        }

        .donation-input::placeholder {
            color: rgba(255,215,0,0.5);
        }

        .donation-btn {
            background: linear-gradient(135deg, #ffd700, #ff4500);
            color: #0a0a1a;
            border: none;
            border-radius: 50px;
            padding: 12px 30px;
            font-size: 1.2em;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            margin: 10px;
        }

        .donation-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(255,215,0,0.5);
        }

        .form-section {
            background: rgba(255,255,255,0.08);
            border-radius: 30px;
            padding: 30px;
            border: 2px solid #ffd700;
            margin-bottom: 30px;
        }

        .form-title {
            font-size: 1.6em;
            color: #ffd700;
            margin-bottom: 25px;
            display: flex;
            align-items: center;
            gap: 10px;
        }

        .form-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
        }

        .form-group {
            position: relative;
        }

        .form-group label {
            display: block;
            margin-bottom: 8px;
            color: #ffd700;
            font-size: 0.9em;
        }

        .form-group input,
        .form-group select {
            width: 100%;
            padding: 12px 12px 12px 40px;
            background: rgba(255,255,255,0.1);
            border: 2px solid rgba(255,215,0,0.3);
            border-radius: 15px;
            font-size: 0.95em;
            color: #fff;
            transition: border-color 0.3s, box-shadow 0.3s;
        }

        .form-group input:focus,
        .form-group select:focus {
            outline: none;
            border-color: #ffd700;
            box-shadow: 0 0 20px rgba(255,215,0,0.5);
        }

        .form-group i {
            position: absolute;
            left: 15px;
            top: 40px;
            color: #ffd700;
            font-size: 1.1em;
        }

        .date-time-group {
            display: flex;
            gap: 8px;
            align-items: center;
            flex-wrap: wrap;
        }

        .date-select {
            flex: 1;
            min-width: 80px;
        }

        .time-input {
            flex: 1;
            min-width: 100px;
        }

        .error-msg {
            color: #ff4444;
            font-size: 0.8em;
            margin-top: 5px;
            display: none;
        }

        .form-group.error input,
        .form-group.error select {
            border-color: #ff4444;
            animation: shake 0.5s;
        }

        @keyframes shake {
            0%, 100% { transform: translateX(0); }
            10%, 30%, 50%, 70%, 90% { transform: translateX(-5px); }
            20%, 40%, 60%, 80% { transform: translateX(5px); }
        }

        .rashi-info {
            margin-top: 15px;
            padding: 15px;
            background: rgba(255,215,0,0.1);
            border-radius: 15px;
            border: 1px solid #ffd700;
            animation: glow 2s infinite;
            font-size: 0.95em;
        }

        .rashi-buy-link {
            color: #ffd700;
            cursor: pointer;
            text-decoration: underline;
            font-weight: bold;
        }

        @keyframes glow {
            0%, 100% { box-shadow: 0 0 10px rgba(255,215,0,0.3); }
            50% { box-shadow: 0 0 20px rgba(255,215,0,0.6); }
        }

        .bhav-section {
            margin: 30px 0;
        }

        .bhav-title {
            font-size: 1.6em;
            color: #ffd700;
            text-align: center;
            margin-bottom: 25px;
        }

        .bhav-grid {
            display: grid;
            grid-template-columns: repeat(4, 1fr);
            gap: 15px;
        }

        .bhav-card {
            background: rgba(255,215,0,0.1);
            border: 2px solid rgba(255,215,0,0.3);
            border-radius: 15px;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
        }

        .bhav-card:hover {
            transform: translateY(-5px) scale(1.03);
            box-shadow: 0 10px 30px rgba(255,215,0,0.3);
            border-color: #ffd700;
        }

        .bhav-number {
            font-size: 1.8em;
            color: #ffd700;
            font-weight: 700;
        }

        .predict-btn-top {
            width: 100%;
            padding: 18px;
            font-size: 1.5em;
            font-weight: 700;
            background: linear-gradient(135deg, #ffd700, #ff4500);
            border: none;
            border-radius: 50px;
            color: #0a0a1a;
            cursor: pointer;
            margin: 15px 0 25px;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
            border: 2px solid #fff;
            box-shadow: 0 0 30px rgba(255,215,0,0.5);
            animation: buttonPulse 2s infinite;
        }

        @keyframes buttonPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.02); }
        }

        .predict-btn-top::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;
        }

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

        .predict-btn-top:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(255,215,0,0.5);
        }

        .love-calculator-section,
        .horoscope-section,
        .kundli-section,
        .premium-kundli-section,
        .premium-page-section {
            background: rgba(255,255,255,0.08);
            border-radius: 30px;
            padding: 30px;
            border: 2px solid #ffd700;
            margin: 30px 0;
            display: none;
        }

        .love-calculator-section.active,
        .horoscope-section.active,
        .kundli-section.active,
        .premium-kundli-section.active,
        .premium-page-section.active {
            display: block;
            animation: slideIn 0.5s;
        }

        .love-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 20px;
            margin: 20px 0;
        }

        .partner-input {
            background: rgba(255,215,0,0.1);
            padding: 20px;
            border-radius: 15px;
        }

        .love-meter {
            text-align: center;
            padding: 30px;
            background: rgba(255,215,0,0.1);
            border-radius: 15px;
            margin: 20px 0;
        }

        .love-percentage {
            font-size: 4em;
            color: #ffd700;
            font-weight: 700;
            text-shadow: 0 0 30px #ffd700;
        }

        .progress-bar {
            width: 100%;
            height: 25px;
            background: rgba(255,255,255,0.1);
            border-radius: 15px;
            overflow: hidden;
            margin: 15px 0;
        }

        .progress-fill {
            height: 100%;
            background: linear-gradient(90deg, #ffd700, #ff4500);
            border-radius: 15px;
            transition: width 1s ease;
        }

        .predict-btn {
            width: 100%;
            padding: 20px;
            font-size: 1.5em;
            font-weight: 700;
            background: linear-gradient(135deg, #ffd700, #ff4500);
            border: none;
            border-radius: 50px;
            color: #0a0a1a;
            cursor: pointer;
            margin: 30px 0;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }

        .predict-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;
        }

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

        .predict-btn:hover {
            transform: translateY(-5px);
            box-shadow: 0 20px 40px rgba(255,215,0,0.5);
        }

        .predict-btn.small {
            padding: 12px;
            font-size: 1.1em;
            margin: 15px 0;
        }

        .predict-btn:disabled {
            opacity: 0.5;
            cursor: not-allowed;
        }

        .free-badge {
            background: #4CAF50;
            color: white;
            padding: 4px 8px;
            border-radius: 15px;
            font-size: 0.7em;
            margin-left: 10px;
        }

        .loading-overlay {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            z-index: 10001;
            display: none;
            justify-content: center;
            align-items: center;
        }

        .loading-content {
            text-align: center;
            animation: loadingPulse 2s infinite;
        }

        @keyframes loadingPulse {
            0%, 100% { transform: scale(1); }
            50% { transform: scale(1.1); }
        }

        .loading-spinner {
            width: 100px;
            height: 100px;
            border: 5px solid rgba(255,215,0,0.3);
            border-top: 5px solid #ffd700;
            border-radius: 50%;
            animation: spin 1s linear infinite;
            margin: 0 auto 20px;
            box-shadow: 0 0 50px #ffd700;
        }

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

        .payment-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            z-index: 20000;
            justify-content: center;
            align-items: center;
        }

        .payment-modal.show {
            display: flex;
            animation: modalFadeIn 0.5s;
        }

        @keyframes modalFadeIn {
            from { opacity: 0; transform: scale(0.9); }
            to { opacity: 1; transform: scale(1); }
        }

        .payment-content {
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            border: 2px solid #ffd700;
            border-radius: 30px;
            padding: 30px;
            max-width: 450px;
            width: 100%;
            position: relative;
        }

        .payment-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.8em;
            color: #ffd700;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .payment-close:hover {
            transform: rotate(90deg);
        }

        .payment-title {
            font-size: 1.8em;
            color: #ffd700;
            margin-bottom: 25px;
            text-align: center;
        }

        .payment-amount {
            font-size: 2.5em;
            color: #fff;
            text-align: center;
            margin-bottom: 25px;
            background: rgba(255,215,0,0.1);
            padding: 15px;
            border-radius: 15px;
            border: 1px solid #ffd700;
        }

        .payment-options {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-bottom: 25px;
        }

        .payment-option {
            background: rgba(255,215,0,0.1);
            border: 2px solid rgba(255,215,0,0.3);
            border-radius: 15px;
            padding: 15px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s, border-color 0.3s, background 0.3s;
        }

        .payment-option:hover {
            transform: translateY(-5px);
            border-color: #ffd700;
            background: rgba(255,215,0,0.2);
        }

        .payment-option i {
            font-size: 2.5em;
            color: #ffd700;
            margin-bottom: 8px;
        }

        .payment-option span {
            display: block;
            color: #fff;
            font-size: 1em;
        }

        .payment-status {
            text-align: center;
            color: #ffd700;
            margin-top: 15px;
            display: none;
        }

        .payment-status.show {
            display: block;
            animation: glow 1s infinite;
        }

        .kundli-result-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.98);
            z-index: 30000;
            justify-content: center;
            align-items: center;
            padding: 15px;
            overflow-y: auto;
        }

        .kundli-result-modal.show {
            display: flex;
            animation: modalFadeIn 0.5s;
        }

        .kundli-result-content {
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            border: 3px solid #ffd700;
            border-radius: 30px;
            padding: 30px;
            max-width: 900px;
            width: 100%;
            max-height: 90vh;
            overflow-y: auto;
            position: relative;
            box-shadow: 0 0 50px rgba(255,215,0,0.3);
        }

        .kundli-result-close {
            position: sticky;
            top: 10px;
            float: right;
            font-size: 1.8em;
            color: #ffd700;
            cursor: pointer;
            transition: transform 0.3s;
            z-index: 10;
        }

        .kundli-result-close:hover {
            transform: rotate(90deg);
        }

        .kundli-header {
            text-align: center;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #ffd700;
        }

        .kundli-header h1 {
            color: #ffd700;
            font-size: 2em;
            margin-bottom: 8px;
        }

        .kundli-header p {
            color: #fff;
            font-size: 1em;
        }

        .kundli-grid {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin: 15px 0;
        }

        .kundli-card {
            background: rgba(255,215,0,0.1);
            border: 1px solid #ffd700;
            border-radius: 15px;
            padding: 15px;
        }

        .kundli-card h3 {
            color: #ffd700;
            margin-bottom: 12px;
            font-size: 1.2em;
        }

        .kundli-info-row {
            display: flex;
            justify-content: space-between;
            margin: 8px 0;
            padding: 5px 0;
            border-bottom: 1px solid rgba(255,215,0,0.2);
            font-size: 0.9em;
        }

        .kundli-label {
            color: #ffd700;
        }

        .kundli-value {
            color: #fff;
            font-weight: 600;
        }

        .kundli-download-btn {
            background: linear-gradient(135deg, #ffd700, #ff4500);
            color: #0a0a1a;
            border: none;
            border-radius: 50px;
            padding: 15px 30px;
            font-size: 1.2em;
            font-weight: 600;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            margin: 25px auto 0;
            display: block;
            width: fit-content;
        }

        .kundli-download-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 10px 30px rgba(255,215,0,0.5);
        }

        .kundli-footer {
            text-align: center;
            margin-top: 25px;
            color: #ffd700;
            font-size: 1em;
        }

        .kundli-share-section {
            background: rgba(255,215,0,0.1);
            border: 2px solid #ffd700;
            border-radius: 15px;
            padding: 20px;
            margin: 20px 0;
            text-align: center;
        }

        .kundli-share-buttons {
            display: flex;
            justify-content: center;
            gap: 15px;
            margin: 15px 0;
            flex-wrap: wrap;
        }

        .kundli-share-btn {
            width: 50px;
            height: 50px;
            border-radius: 50%;
            border: none;
            font-size: 1.8em;
            color: #fff;
            cursor: pointer;
            transition: transform 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        .kundli-share-btn:hover {
            transform: scale(1.1) rotate(10deg);
        }

        .kundli-share-btn.whatsapp {
            background: #25D366;
        }

        .kundli-share-btn.instagram {
            background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
        }

        .kundli-share-btn.facebook {
            background: #4267B2;
        }

        .kundli-share-btn.telegram {
            background: #0088cc;
        }

        .kundli-share-btn.twitter {
            background: #1DA1F2;
        }

        .result-section {
            background: rgba(255,255,255,0.08);
            border-radius: 30px;
            padding: 30px;
            border: 2px solid #ffd700;
            display: none;
            animation: slideIn 0.5s;
            margin-top: 30px;
        }

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

        .result-header {
            display: flex;
            align-items: center;
            gap: 20px;
            padding: 20px;
            background: rgba(255,215,0,0.1);
            border-radius: 20px;
            margin-bottom: 25px;
            flex-wrap: wrap;
        }

        .user-avatar {
            width: 80px;
            height: 80px;
            background: linear-gradient(135deg, #ffd700, #ff4500);
            border-radius: 50%;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 2.5em;
        }

        .user-info-grid {
            flex: 1;
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
        }

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

        .info-label {
            color: #ffd700;
            font-size: 0.8em;
        }

        .info-value {
            font-size: 1em;
            font-weight: 600;
        }

        .prediction-main {
            font-size: 1.3em;
            line-height: 1.8;
            padding: 40px;
            background: rgba(255,215,0,0.05);
            border-radius: 25px;
            margin: 25px 0;
            border-left: 8px solid #ffd700;
            text-align: justify;
            box-shadow: 0 10px 30px rgba(255,215,0,0.2);
            position: relative;
        }

        .prediction-main::before {
            content: '"';
            position: absolute;
            top: -20px;
            left: 20px;
            font-size: 6em;
            color: rgba(255,215,0,0.2);
            font-family: serif;
        }

        .category-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin: 25px 0;
        }

        .category-card {
            background: rgba(255,215,0,0.1);
            border-radius: 15px;
            padding: 20px;
            border: 1px solid rgba(255,215,0,0.3);
            transition: transform 0.3s, box-shadow 0.3s;
        }

        .category-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(255,215,0,0.3);
        }

        .bhav-predictions-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin: 25px 0;
        }

        .bhav-prediction-card {
            background: rgba(255,215,0,0.1);
            border-radius: 12px;
            padding: 15px;
            transition: transform 0.3s, background 0.3s;
        }

        .bhav-prediction-card:hover {
            transform: translateY(-5px);
            background: rgba(255,215,0,0.2);
        }

        .lucky-grid {
            display: grid;
            grid-template-columns: repeat(3, 1fr);
            gap: 15px;
            margin-top: 20px;
        }

        .lucky-card {
            background: rgba(255,215,0,0.1);
            padding: 20px;
            border-radius: 15px;
            text-align: center;
            transition: transform 0.3s, background 0.3s;
        }

        .lucky-card:hover {
            transform: translateY(-5px);
            background: rgba(255,215,0,0.2);
        }

        .floating-share {
            position: sticky;
            bottom: 20px;
            left: 50%;
            transform: translateX(-50%);
            width: 90%;
            max-width: 550px;
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            border: 2px solid #ffd700;
            border-radius: 50px;
            padding: 10px 20px;
            display: flex;
            justify-content: space-between;
            align-items: center;
            z-index: 1000;
            margin-top: 30px;
            box-shadow: 0 10px 30px rgba(255,215,0,0.3);
            background: rgba(255,255,255,0.08);
        }

        .floating-share-text {
            color: #ffd700;
            font-size: 1em;
            font-weight: 600;
        }

        .floating-share-buttons {
            display: flex;
            gap: 10px;
        }

        .floating-share-btn {
            width: 40px;
            height: 40px;
            border-radius: 50%;
            border: none;
            font-size: 1.5em;
            color: #fff;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            display: flex;
            align-items: center;
            justify-content: center;
            box-shadow: 0 5px 15px rgba(0,0,0,0.3);
        }

        .floating-share-btn:hover {
            transform: translateY(-5px) scale(1.1);
            box-shadow: 0 10px 25px rgba(255,215,0,0.4);
        }

        .floating-share-btn.whatsapp {
            background: #25D366;
        }

        .floating-share-btn.whatsapp:hover {
            background: #20b859;
        }

        .floating-share-btn.instagram {
            background: linear-gradient(45deg, #f09433, #d62976, #962fbf, #4f5bd5);
        }

        .floating-share-btn.instagram:hover {
            opacity: 0.9;
        }

        .floating-share-btn.facebook {
            background: #4267B2;
        }

        .floating-share-btn.facebook:hover {
            background: #36518a;
        }

        .floating-share-btn.copy {
            background: #ffd700;
            color: #0a0a1a;
        }

        .floating-share-btn.copy:hover {
            background: #e6c200;
        }

        .menu-modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0,0,0,0.95);
            z-index: 20000;
            justify-content: center;
            align-items: center;
            padding: 15px;
        }

        .menu-modal.show {
            display: flex;
            animation: modalFadeIn 0.5s;
        }

        .modal-content {
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            border: 2px solid #ffd700;
            border-radius: 30px;
            padding: 30px;
            max-width: 700px;
            width: 100%;
            max-height: 80vh;
            overflow-y: auto;
            position: relative;
        }

        .modal-close {
            position: absolute;
            top: 15px;
            right: 15px;
            font-size: 1.8em;
            color: #ffd700;
            cursor: pointer;
            transition: transform 0.3s;
        }

        .modal-close:hover {
            transform: rotate(90deg);
        }

        .modal-title {
            font-size: 2em;
            color: #ffd700;
            margin-bottom: 25px;
            padding-bottom: 15px;
            border-bottom: 2px solid #ffd700;
        }

        .modal-body {
            color: #fff;
            font-size: 1.1em;
            line-height: 1.8;
        }

        .modal-body p {
            margin-bottom: 15px;
        }

        .modal-body i {
            color: #ffd700;
            margin-right: 10px;
        }

        .modal-highlight {
            color: #ffd700;
            font-weight: 600;
        }

        .premium-section {
            background: rgba(255,215,0,0.1);
            border: 2px solid #ffd700;
            border-radius: 20px;
            padding: 25px;
            margin: 25px 0;
        }

        .premium-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }

        .premium-card {
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            border: 2px solid #ffd700;
            border-radius: 15px;
            padding: 25px;
            text-align: center;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            position: relative;
            overflow: hidden;
        }

        .premium-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 30px rgba(255,215,0,0.3);
        }

        .premium-card.popular::before {
            content: 'सबसे लोकप्रिय';
            position: absolute;
            top: 15px;
            right: -40px;
            background: #ffd700;
            color: #0a0a1a;
            padding: 8px 40px;
            transform: rotate(45deg);
            font-size: 0.8em;
            font-weight: 600;
        }

        .premium-price {
            font-size: 2.5em;
            color: #ffd700;
            font-weight: 700;
            margin: 15px 0;
        }

        .premium-price small {
            font-size: 0.3em;
            color: #ccc;
        }

        .premium-features {
            list-style: none;
            margin: 15px 0;
            text-align: left;
        }

        .premium-features li {
            margin: 10px 0;
            padding-left: 25px;
            position: relative;
            font-size: 0.9em;
        }

        .premium-features li i {
            color: #ffd700;
            position: absolute;
            left: 0;
            top: 3px;
        }

        .premium-btn {
            background: linear-gradient(135deg, #ffd700, #ff4500);
            border: none;
            border-radius: 50px;
            padding: 12px 25px;
            font-size: 1.1em;
            font-weight: 600;
            color: #0a0a1a;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            width: 100%;
        }

        .premium-btn:hover {
            transform: scale(1.05);
            box-shadow: 0 5px 20px rgba(255,215,0,0.5);
        }

        .premium-status {
            background: rgba(76, 175, 80, 0.2);
            border: 2px solid #4CAF50;
            border-radius: 15px;
            padding: 15px;
            margin: 15px 0;
            text-align: center;
        }

        .premium-status h3 {
            color: #4CAF50;
            font-size: 1.5em;
            margin-bottom: 12px;
        }

        .premium-status p {
            color: #fff;
            font-size: 1em;
        }

        .kundli-feature-box {
            background: rgba(255,215,0,0.1);
            border-radius: 15px;
            padding: 20px;
            margin: 20px 0;
            text-align: center;
            border: 1px solid #ffd700;
        }

        .kundli-feature-box h3 {
            color: #ffd700;
            font-size: 1.5em;
            margin-bottom: 15px;
        }

        .kundli-feature-list {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
            gap: 15px;
            margin: 15px 0;
        }

        .kundli-feature-item {
            padding: 12px;
            background: rgba(255,255,255,0.05);
            border-radius: 12px;
            text-align: center;
        }

        .kundli-feature-item i {
            color: #ffd700;
            font-size: 1.8em;
            margin-bottom: 8px;
        }

        .kundli-feature-item p {
            color: #fff;
            font-size: 1em;
        }

        .kundli-comparison {
            display: flex;
            gap: 15px;
            margin: 30px 0;
            flex-wrap: wrap;
        }

        .comparison-card {
            flex: 1;
            min-width: 220px;
            background: linear-gradient(135deg, #0a0a1a, #1a1a3a);
            border: 2px solid #ffd700;
            border-radius: 15px;
            padding: 20px;
            text-align: center;
        }

        .comparison-card h4 {
            color: #ffd700;
            font-size: 1.3em;
            margin-bottom: 12px;
        }

        .comparison-price {
            font-size: 2em;
            color: #fff;
            margin: 12px 0;
        }

        .comparison-features {
            list-style: none;
            margin: 15px 0;
        }

        .comparison-features li {
            margin: 8px 0;
            color: #ccc;
            font-size: 0.9em;
        }

        .comparison-features li i {
            color: #4CAF50;
            margin-right: 8px;
        }

        .kundli-history-section {
            background: rgba(255,215,0,0.05);
            border-radius: 25px;
            padding: 25px;
            margin: 25px 0;
            border: 2px solid #ffd700;
        }

        .history-grid {
            display: grid;
            grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
            gap: 15px;
            margin-top: 15px;
        }

        .history-card {
            background: rgba(255,215,0,0.1);
            border-radius: 12px;
            padding: 15px;
            cursor: pointer;
            transition: transform 0.3s, box-shadow 0.3s;
            border: 1px solid rgba(255,215,0,0.3);
        }

        .history-card:hover {
            transform: translateY(-5px);
            box-shadow: 0 10px 20px rgba(255,215,0,0.3);
            border-color: #ffd700;
        }

        .history-card h4 {
            color: #ffd700;
            font-size: 1.2em;
            margin-bottom: 8px;
        }

        .history-card p {
            color: #ccc;
            margin: 4px 0;
            font-size: 0.9em;
        }

        .history-badge {
            display: inline-block;
            padding: 3px 8px;
            border-radius: 12px;
            font-size: 0.7em;
            font-weight: 600;
            margin-top: 8px;
        }

        .history-badge.basic {
            background: #2196F3;
            color: white;
        }

        .history-badge.premium {
            background: #ffd700;
            color: #0a0a1a;
        }

        .clear-history-btn {
            background: rgba(255,0,0,0.1);
            color: #ff4444;
            border: 1px solid #ff4444;
            border-radius: 50px;
            padding: 8px 15px;
            cursor: pointer;
            transition: 0.3s;
            margin-top: 15px;
        }

        .clear-history-btn:hover {
            background: #ff4444;
            color: white;
        }

        .benefit-list {
            display: grid;
            grid-template-columns: repeat(2, 1fr);
            gap: 15px;
            margin-top: 15px;
        }

        .benefit-item {
            background: rgba(255,215,0,0.1);
            border: 1px solid #ffd700;
            border-radius: 10px;
            padding: 15px;
            text-align: center;
        }

        .benefit-item i {
            color: #ffd700;
            font-size: 2em;
            margin-bottom: 8px;
        }

        .benefit-item h4 {
            color: #ffd700;
            font-size: 1.2em;
            margin-bottom: 5px;
        }

        .benefit-item p {
            color: #ccc;
            font-size: 0.9em;
        }

        .upsell-section {
            background: linear-gradient(135deg, rgba(255,215,0,0.2), rgba(255,69,0,0.15));
            border-radius: 20px;
            padding: 20px;
            margin: 20px 0;
            text-align: center;
            border: 1px solid #ffd700;
        }

        .upsell-row {
            display: flex;
            justify-content: center;
            gap: 15px;
            flex-wrap: wrap;
            margin: 20px 0 10px;
            padding-top: 15px;
            border-top: 1px solid rgba(255,215,0,0.3);
        }

        .upsell-btn {
            background: linear-gradient(135deg, #ffd700, #ff4500);
            border: none;
            border-radius: 40px;
            padding: 10px 20px;
            font-weight: 600;
            color: #0a0a1a;
            cursor: pointer;
            transition: 0.2s;
            font-size: 0.9rem;
        }

        .upsell-btn:hover {
            transform: scale(1.05);
        }

        @media (max-width: 1024px) {
            .form-grid,
            .user-info-grid,
            .category-grid,
            .bhav-predictions-grid,
            .lucky-grid,
            .bhav-grid,
            .love-grid,
            .kundli-grid {
                grid-template-columns: repeat(2, 1fr);
            }
            
            .side-menu {
                width: 100%;
                right: -100%;
            }
        }

        @media (max-width: 768px) {
            .form-grid,
            .user-info-grid,
            .category-grid,
            .bhav-predictions-grid,
            .lucky-grid,
            .bhav-grid,
            .love-grid,
            .kundli-grid {
                grid-template-columns: 1fr;
            }

            .modal-content {
                padding: 15px;
            }

            .modal-title {
                font-size: 1.4em;
            }

            .floating-share {
                flex-direction: column;
                gap: 10px;
                text-align: center;
            }

            .date-time-group {
                flex-direction: column;
            }

            .date-select, .time-input {
                width: 100%;
            }

            .header {
                padding: 8px 12px;
            }

            .logo {
                font-size: 1.2em;
            }

            .menu-btn {
                width: 38px;
                height: 38px;
                font-size: 1.2em;
            }

            .predict-btn-top {
                padding: 14px;
                font-size: 1.2em;
            }

            .feature-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 10px;
            }

            .feature-card {
                padding: 15px 10px;
            }

            .feature-icon {
                font-size: 2em;
            }

            .feature-title {
                font-size: 1.1em;
            }

            .form-section {
                padding: 20px 15px;
            }

            .form-title {
                font-size: 1.3em;
            }

            .payment-content {
                padding: 20px 15px;
                max-width: 95vw;
            }

            .payment-title {
                font-size: 1.2em;
            }

            .payment-amount {
                font-size: 2em;
            }

            .bhav-grid {
                grid-template-columns: repeat(3, 1fr) !important;
            }

            .panchang-bar {
                font-size: 0.8em;
                padding: 8px;
            }

            .panchang-item {
                padding: 0 5px;
            }
        }

        /* Small phones: 320px - 480px */
        @media (max-width: 480px) {
            .benefit-list {
                grid-template-columns: 1fr;
            }

            .feature-grid {
                grid-template-columns: repeat(2, 1fr);
                gap: 8px;
            }

            .feature-card {
                padding: 12px 8px;
                border-radius: 15px;
            }

            .feature-icon {
                font-size: 1.8em;
                margin-bottom: 6px;
            }

            .feature-title {
                font-size: 1em;
                margin-bottom: 4px;
            }

            .feature-card p {
                font-size: 0.8em;
            }

            .header {
                padding: 7px 10px;
                border-radius: 35px;
            }

            .logo {
                font-size: 1.1em;
            }

            .menu-btn {
                width: 35px;
                height: 35px;
                font-size: 1.1em;
            }

            .predict-btn-top {
                padding: 13px;
                font-size: 1.1em;
                border-radius: 40px;
            }

            .predict-btn {
                padding: 15px;
                font-size: 1.2em;
            }

            .form-section {
                padding: 16px 12px;
                border-radius: 20px;
            }

            .form-title {
                font-size: 1.2em;
                margin-bottom: 18px;
            }

            .form-group input,
            .form-group select {
                font-size: 0.88em;
                padding: 10px 10px 10px 36px;
            }

            .bhav-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 8px;
            }

            .bhav-card {
                padding: 10px 6px;
            }

            .bhav-number {
                font-size: 1.4em;
            }

            .bhav-name {
                font-size: 0.72em;
            }

            .bhav-desc {
                font-size: 0.65em;
            }

            .panchang-bar {
                font-size: 0.72em;
                gap: 4px;
                border-radius: 30px;
            }

            .panchang-item {
                padding: 0 4px;
            }

            .premium-card {
                padding: 18px 12px;
            }

            .donation-options {
                gap: 6px;
            }

            .donation-option {
                padding: 8px 14px;
                font-size: 0.9em;
            }

            .payment-content {
                padding: 18px 12px;
                border-radius: 20px;
            }

            .side-menu {
                padding: 70px 15px;
            }

            .love-grid {
                grid-template-columns: 1fr !important;
            }

            .love-percentage {
                font-size: 3em;
            }

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

        /* Very small phones: under 360px */
        @media (max-width: 360px) {
            .feature-grid {
                grid-template-columns: 1fr 1fr;
                gap: 6px;
            }

            .logo {
                font-size: 1em;
            }

            .predict-btn-top {
                font-size: 1em;
                padding: 12px;
            }

            .bhav-grid {
                grid-template-columns: repeat(3, 1fr) !important;
                gap: 5px;
            }

            .form-section {
                padding: 14px 10px;
            }

            .panchang-bar {
                font-size: 0.68em;
            }
        }

        /* Tablets and larger: keep things comfortable */
        @media (min-width: 769px) {
            .main-container {
                padding: 20px;
            }

            .feature-grid {
                grid-template-columns: repeat(3, 1fr);
            }
        }
    </style>


/* ── Extra Animations ── */
        @keyframes shimmerMenu {
            0% { transform: translateX(-100%); }
            100% { transform: translateX(100%); }
        }
        </style>

