:root {
    --bg-color: #031d2e;
    --primary-color: #fdbb2d;
    --secondary-color: #22e1ff;
    --text-color: #ffffff;
    --glass-bg: rgba(7, 39, 60, 0.7);
    --glass-border: rgba(255, 255, 255, 0.1);
    --accent-glow: rgba(253, 187, 45, 0.4);
}

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

body {
    background-color: var(--bg-color);
    color: var(--text-color);
    font-family: 'Outfit', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Background Animation */
.stars-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(ellipse at bottom, #1B2735 0%, #090A0F 100%);
    overflow: hidden;
}

.star {
    position: absolute;
    background: white;
    border-radius: 50%;
    opacity: 0.5;
    animation: twinkle var(--duration) infinite ease-in-out;
}

@keyframes twinkle {

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

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

@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

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

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

/* Slider System */
.slider-container {
    position: relative;
    width: 100%;
    height: 85vh;
    overflow: hidden;
    background: radial-gradient(circle at center, rgba(3, 29, 46, 0.5) 0%, transparent 70%);
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease-in-out;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 10%;
    pointer-events: none;
}

.slide.active {
    opacity: 1;
    z-index: 1;
    pointer-events: auto;
}

.slide-content {
    max-width: 600px;
    z-index: 2;
}

.slide-content p {
    margin-bottom: 2rem;
    font-size: 1.1rem;
    color: #ccc;
}

.slide-image {
    position: relative;
    flex-shrink: 0;
    width: 450px;
    height: 450px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.spinning-zodiac {
    width: 100%;
    height: 100%;
    animation: spin 60s linear infinite;
    filter: drop-shadow(0 0 30px var(--accent-glow));
}

@media (max-width: 1024px) {
    .slide {
        flex-direction: column;
        justify-content: center;
        text-align: center;
    }

    .slide-image {
        width: 300px;
        height: 300px;
        margin-top: 2rem;
    }
}

/* Glassmorphism Classes */
.glass-card {
    background: var(--glass-bg);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    padding: 2rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.glass-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--accent-glow);
    border-color: rgba(253, 187, 45, 0.3);
}

/* Header & Nav */
header {
    background: rgba(3, 29, 46, 0.8);
    backdrop-filter: blur(10px);
    position: fixed;
    width: 100%;
    z-index: 1000;
    padding: 0.5rem 5%;
    border-bottom: 1px solid var(--glass-border);
}

nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 90px;
    max-width: 1400px;
    /* Kept from original */
    margin: 0 auto;
    /* Added to center nav content */
}

.logo {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
}

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

.cart-icon {
    position: relative;
    cursor: pointer;
    transition: transform 0.2s;
}

.cart-icon:hover {
    transform: scale(1.1);
}

@media (max-width: 768px) {
    .hamburger {
        display: block !important;
    }

    .nav-links {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 75px;
        left: 0;
        right: 0;
        background: rgba(0, 0, 0, 0.95);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
    }

    .nav-links.active {
        display: flex;
    }
}

/* Hero Section */
.hero {
    height: 80vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0 1.5rem;
}

.hero h1 {
    font-size: 4rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fff 0%, #fdbb2d 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero h3 {
    font-size: 1.5rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 1rem 2rem;
    font-size: 1rem;
    font-weight: 600;
    background: linear-gradient(45deg, var(--primary-color), #ff8c00);
    color: #000;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s, background 0.3s;
    text-decoration: none;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px var(--accent-glow);
}

.cta-button.secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border: 1px solid var(--glass-border);
}

.cta-button.secondary:hover {
    background: rgba(255, 255, 255, 0.2);
}

/* About Grid Layout */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 4rem;
    align-items: center;
}

/* Portrait Styling */
.portrait-container {
    padding-right: 2rem;
}

.portrait-img {
    width: 100%;
    max-width: 450px;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
    border: 1px solid var(--glass-border);
    display: block;
    margin: 0 auto;
}

/* Section Shell */
.horoscope-section {
    padding: 6rem 5%;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

/* Original Theme Backgrounds - Fallbacks for corrupted files */
.section-bg-about {
    background-image: linear-gradient(rgba(3, 29, 46, 0.9), rgba(3, 29, 46, 0.9)),
        radial-gradient(circle at top right, rgba(212, 175, 55, 0.1), transparent);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-bg-zodiac {
    background-image: linear-gradient(rgba(3, 29, 46, 0.92), rgba(3, 29, 46, 0.92)),
        radial-gradient(circle at 20% 30%, rgba(138, 43, 226, 0.15), transparent),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.1), transparent);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

.section-bg-store {
    background-image: linear-gradient(rgba(3, 29, 46, 0.9), rgba(3, 29, 46, 0.9)),
        radial-gradient(circle at center, rgba(255, 255, 255, 0.05), transparent);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.5rem;
}

.service-card {
    text-align: center;
    padding: 2rem;
    min-height: 380px;
    justify-content: space-between;
}

.service-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.5rem;
    filter: drop-shadow(0 0 10px var(--primary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.service-icon img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
}

.service-card h3 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
    font-size: 1.25rem;
}

.service-subtitle {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.service-price {
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 700;
    margin-bottom: 1.5rem;
}

/* Testimonials */
.testimonial-card p {
    font-style: italic;
    font-size: 1.1rem;
    line-height: 1.8;
}

.testimonial-author {
    margin-top: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
    display: block;
}

/* Zodiac Grid */
.horoscope-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.sign-card {
    text-align: center;
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.sign-icon {
    width: 50px;
    height: 50px;
    margin-bottom: 0.8rem;
    filter: drop-shadow(0 0 5px var(--accent-glow));
}

.sign-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.sign-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-color);
}

.sign-card:hover {
    background: rgba(253, 187, 45, 0.1);
    border-color: var(--primary-color);
    box-shadow: 0 0 15px var(--accent-glow);
    transform: translateY(-5px);
}

/* Video & Review Sections */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.video-card {
    position: relative;
    padding-bottom: 177.78%;
    /* 9:16 Aspect Ratio for Shorts */
    height: 0;
    overflow: hidden;
    border-radius: 15px;
    border: 1px solid var(--glass-border);
}

.video-card iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

/* Review Slider */
.review-slider-wrapper {
    position: relative;
    overflow: hidden;
    padding: 2rem 0;
}

.review-track {
    display: flex;
    transition: transform 0.5s ease-in-out;
    gap: 2rem;
}

.slider-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--glass-border);
    color: var(--primary-color);
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.slider-nav:hover {
    background: var(--primary-color);
    color: #000;
    box-shadow: 0 0 15px var(--accent-glow);
}

.slider-nav.prev {
    left: 10px;
}

.slider-nav.next {
    right: 10px;
}

@media (max-width: 768px) {
    .slider-nav {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
}

.testimonial-card {
    flex: 0 0 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.review-photo {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 2px solid var(--primary-color);
    margin-bottom: 1rem;
    object-fit: cover;
}

/* WhatsApp Floating Button */
.whatsapp-float {
    position: fixed;
    bottom: 20px;
    right: 20px;
    width: 60px;
    height: 60px;
    background-color: #25d366;
    color: #FFF;
    border-radius: 50px;
    text-align: center;
    box-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
}

.whatsapp-float:hover {
    transform: scale(1.1);
}

/* Footer */
.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 3rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 3rem;
}

.payment-icons {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    flex-wrap: wrap;
}

.payment-icons img {
    height: 30px;
    filter: grayscale(1) brightness(1.5);
    opacity: 0.7;
    transition: all 0.3s;
}

.payment-icons img:hover {
    filter: none;
    opacity: 1;
}

/* Responsive */
/* Responsive Adjustments */
@media (max-width: 1024px) {
    .about-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .portrait-container {
        padding-right: 0;
    }

    .slide {
        flex-direction: column;
        justify-content: center;
        text-align: center;
        padding: 5rem 5%;
    }

    .slide-image {
        width: 300px;
        height: 300px;
    }
}

@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }

    .hamburger {
        display: block !important;
    }

    .nav-links {
        display: none !important;
        flex-direction: column;
        position: absolute;
        top: 80px;
        left: 0;
        right: 0;
        background: rgba(3, 29, 46, 0.98);
        padding: 2rem;
        border-bottom: 1px solid var(--glass-border);
        z-index: 1000;
        gap: 1.5rem;
    }

    .nav-links.active {
        display: flex !important;
    }

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

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

    .horoscope-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .logo img {
        height: 35px;
    }

    section {
        padding: 4rem 5% !important;
    }

    .slide {
        padding: 3rem 5%;
    }

    .slide-image {
        width: 250px;
        height: 250px;
    }
}

@media (max-width: 480px) {
    .horoscope-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 2rem;
    }
}