* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --deep-blue: #0a0e2a;
    --space-blue: #121640;
    --gold: #D4AF37;
    --light-gold: #f4e8c1;
    --purple: #6a11cb;
    --violet: #7b2cbf;
    --burgundy: #722f37;
    --light-text: #f0f0f0;
    --cream: #f8f5e9;
    --neon-purple: #9d4edd;
    --neon-blue: #4cc9f0;
}

body {
    font-family: 'Poppins', 'Noto Sans Devanagari', sans-serif;
    background-color: var(--deep-blue);
    color: var(--light-text);
    line-height: 1.6;
    overflow-x: hidden;
}

h1, h2, h3, h4 {
    font-family: 'Playfair Display', serif;
    font-weight: 600;
    color: var(--gold);
    margin-bottom: 1rem;
}

.hindi-font {
    font-family: 'Noto Sans Devanagari', sans-serif;
}

/* कॉस्मिक एनिमेशन बैकग्राउंड */
#cosmic-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at center, #040714 0%, #0a0e2a 50%, #121640 100%);
}

/* हेडर और नेविगेशन */
header {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 1.2rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background-color: rgba(10, 14, 42, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(212, 175, 55, 0.2);
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--gold);
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo i {
    margin-right: 10px;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 2rem;
}

.nav-links a {
    color: var(--light-text);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 1rem;
    position: relative;
}

.nav-links a:hover {
    color: var(--gold);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--purple));
    transition: width 0.3s ease;
}

.nav-links a:hover::after {
    width: 100%;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--gold);
    font-size: 1.5rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.mobile-menu-btn:hover {
    transform: scale(1.1);
}

/* हीरो सेक्शन */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 8rem 5% 5rem;
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
    text-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
    background: linear-gradient(45deg, var(--gold), var(--light-gold), var(--gold));
    background-size: 200% auto;
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: shine 3s linear infinite;
}

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

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: var(--cream);
    max-width: 700px;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(45deg, var(--gold), var(--light-gold));
    color: var(--deep-blue);
    padding: 0.9rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.4);
    position: relative;
    overflow: hidden;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(212, 175, 55, 0.6);
}

.cta-button::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.7s ease;
}

.cta-button:hover::after {
    left: 100%;
}

/* सेक्शन सामान्य स्टाइल */
section {
    padding: 5rem 5%;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-title:after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, var(--gold), var(--purple));
    border-radius: 3px;
}

/* ज्योतिषी परिचय सेक्शन */
#about-owner {
    background-color: rgba(18, 22, 64, 0.7);
    border-radius: 20px;
    margin: 0 5%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.owner-container {
    display: flex;
    align-items: center;
    gap: 4rem;
}

.owner-photo {
    flex: 0 0 300px;
}

.photo-placeholder {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: linear-gradient(45deg, var(--purple), var(--gold));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 5px solid var(--gold);
    box-shadow: 0 0 30px rgba(107, 17, 203, 0.5);
    position: relative;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

.owner-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.photo-placeholder i {
    font-size: 8rem;
    color: rgba(255, 255, 255, 0.8);
}

.owner-bio {
    flex: 1;
}

.owner-bio h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--gold), var(--light-gold));
    background-clip: text;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.owner-bio h3 {
    color: var(--light-gold);
    font-size: 1.3rem;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.owner-bio p {
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
    color: var(--cream);
}

/* पंचांग सेक्शन */
.panchang-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.panchang-card {
    background: linear-gradient(135deg, rgba(123, 44, 191, 0.2), rgba(18, 22, 64, 0.8));
    border-radius: 15px;
    padding: 1.8rem;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(5px);
}

.panchang-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 10px 25px rgba(107, 17, 203, 0.3);
    border-color: var(--gold);
}

.panchang-card:before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: linear-gradient(90deg, var(--gold), var(--purple));
}

.panchang-label {
    font-size: 1rem;
    color: var(--light-gold);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.panchang-value {
    font-size: 1.4rem;
    font-weight: 600;
    color: white;
    font-family: 'Noto Sans Devanagari', sans-serif;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

/* इंस्टाग्राम फीड सेक्शन */
#instagram-feed {
    background-color: rgba(18, 22, 64, 0.7);
    border-radius: 20px;
    margin: 0 5%;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(212, 175, 55, 0.1);
}

.instagram-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.instagram-placeholder {
    background: linear-gradient(135deg, rgba(114, 47, 55, 0.2), rgba(18, 22, 64, 0.8));
    border-radius: 15px;
    height: 250px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    color: var(--light-text);
    backdrop-filter: blur(5px);
}

.instagram-placeholder:hover {
    transform: scale(1.05);
    box-shadow: 0 15px 30px rgba(225, 48, 108, 0.3);
    border-color: #E1306C;
}

.instagram-placeholder::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(225, 48, 108, 0.2), transparent);
    transition: left 0.7s ease;
}

.instagram-placeholder:hover::before {
    left: 100%;
}

.instagram-placeholder i {
    font-size: 3.5rem;
    color: var(--gold);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #833AB4, #E1306C, #F77737);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: transform 0.3s ease;
}

.instagram-placeholder:hover i {
    transform: scale(1.2) rotate(10deg);
}

.instagram-placeholder p {
    text-align: center;
    margin: 5px 0;
}

/* प्रश्न पूछें सेक्शन */
.query-container {
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(18, 22, 64, 0.8), rgba(123, 44, 191, 0.2));
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    box-shadow: 0 15px 35px rgba(10, 14, 42, 0.5);
    backdrop-filter: blur(5px);
}

.query-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-group label {
    margin-bottom: 0.5rem;
    color: var(--light-gold);
    font-weight: 500;
}

.form-group input, .form-group textarea {
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    background-color: rgba(10, 14, 42, 0.7);
    color: white;
    font-size: 1rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.3s ease;
}

.form-group input:focus, .form-group textarea:focus {
    outline: none;
    border-color: var(--gold);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
    background-color: rgba(10, 14, 42, 0.9);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

/* भुगतान सेक्शन */
.payment-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    max-width: 800px;
    margin: 0 auto;
    background: linear-gradient(135deg, rgba(18, 22, 64, 0.8), rgba(114, 47, 55, 0.2));
    border-radius: 20px;
    padding: 3rem;
    border: 1px solid rgba(212, 175, 55, 0.3);
    backdrop-filter: blur(5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.payment-methods {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 3rem;
    margin-top: 2rem;
    width: 100%;
}

.qr-placeholder {
    background: linear-gradient(135deg, #f0f0f0, #d0d0d0);
    width: 200px;
    height: 200px;
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    border: 5px solid var(--gold);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite;
}

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

.qr-placeholder i {
    font-size: 5rem;
    color: #333;
}

.upi-details {
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.upi-id {
    font-size: 1.8rem;
    background: linear-gradient(45deg, var(--gold), var(--light-gold));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    font-weight: 700;
    margin-bottom: 1rem;
    font-family: monospace;
    padding: 10px;
    border-radius: 10px;
    background-color: rgba(10, 14, 42, 0.5);
    border: 1px solid var(--gold);
}

/* फुटर */
footer {
    background-color: rgba(10, 14, 42, 0.95);
    padding: 3rem 5% 2rem;
    border-top: 1px solid rgba(212, 175, 55, 0.2);
    margin-top: 5rem;
    backdrop-filter: blur(10px);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--gold);
    margin-bottom: 1rem;
}

.contact-info h4, .quick-links h4 {
    margin-bottom: 1.5rem;
    color: var(--light-gold);
}

.contact-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-link {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--gold);
    transform: translateX(5px);
}

.contact-link i {
    font-size: 1.2rem;
    width: 25px;
}

.quick-links ul {
    list-style: none;
}

.quick-links li {
    margin-bottom: 0.8rem;
}

.quick-links a {
    color: var(--light-text);
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    color: var(--gold);
    padding-left: 5px;
}

.copyright {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: var(--light-gold);
    font-size: 0.9rem;
}

/* रिस्पॉन्सिव डिजाइन */
@media (max-width: 992px) {
    .owner-container {
        flex-direction: column;
        text-align: center;
        gap: 2.5rem;
    }
    
    .owner-photo {
        flex: 0 0 auto;
    }
    
    .hero h1 {
        font-size: 2.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem 5%;
    }
    
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        flex-direction: column;
        background-color: rgba(10, 14, 42, 0.98);
        padding: 1.5rem;
        gap: 1.2rem;
        border-top: 1px solid rgba(212, 175, 55, 0.2);
        backdrop-filter: blur(10px);
    }
    
    .nav-links.active {
        display: flex;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero h1 {
        font-size: 2.3rem;
    }
    
    .hero p {
        font-size: 1.1rem;
    }
    
    section {
        padding: 4rem 5%;
    }
    
    .payment-methods {
        flex-direction: column;
        align-items: center;
        gap: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero h1 {
        font-size: 1.9rem;
    }
    
    .cta-button {
        padding: 0.8rem 1.8rem;
        font-size: 1rem;
    }
    
    .photo-placeholder {
        width: 250px;
        height: 250px;
    }
    
    .panchang-value {
        font-size: 1.2rem;
    }
    
    .query-container, .payment-container {
        padding: 2rem;
    }
}