@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
    /* Core palette from target site */
    --bg-deep: #050010;
    --bg-dark: #0a0118;
    --bg-card: #0d001a;
    --primary: #9333ea;
    /* Purple */
    --secondary: #ec4899;
    /* Vibrant Pink */
    --accent: #f59e0b;
    /* Amber */

    --text-primary: #ffffff;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;

    --gradient-primary: linear-gradient(90deg, #9333ea 0%, #db2777 50%, #ec4899 100%);
    --gradient-logo: linear-gradient(90deg, #db2777 0%, #f59e0b 100%);
    --gradient-glow: radial-gradient(circle at 50% 50%, rgba(147, 51, 234, 0.15), transparent 70%);

    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-blur: blur(12px);

    --shadow-soft: 0 10px 30px -10px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(147, 51, 234, 0.3);

    --radius-full: 9999px;
    --radius-lg: 1.5rem;
    --radius-md: 1rem;
    --radius-sm: 0.5rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-deep);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100svh;
}

/* --- News Ticker --- */
.ticker-wrap {
    width: 100%;
    background: var(--bg-dark);
    border-bottom: 1px solid var(--glass-border);
    padding: 0.6rem 0;
    overflow: hidden;
    display: flex;
    align-items: center;
}

.ticker {
    display: flex;
    white-space: nowrap;
    animation: marquee 30s linear infinite;
}

.ticker-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    margin-right: 3rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    font-weight: 500;
}

.ticker-item i {
    color: var(--accent);
}

.ticker-item .highlight {
    color: white;
    font-weight: 700;
}

.ticker-label {
    background: var(--primary);
    color: white;
    padding: 0.4rem 1rem;
    font-size: 0.75rem;
    font-weight: 900;
    text-transform: uppercase;
    display: inline-block;
    border-radius: 0 4px 4px 0;
    margin-right: 1rem;
    flex-shrink: 0;
    z-index: 10;
    position: relative;
}

@keyframes marquee {
    0% {
        transform: translateX(0);
    }

    100% {
        transform: translateX(-50%);
    }
}

/* --- Navigation Refinement --- */
.nav-btn {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.6rem 1rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-btn:hover {
    color: white;
    background: rgba(255, 255, 255, 0.05);
}

.nav-btn.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

/* --- Utility Cards --- */
.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    backdrop-filter: var(--glass-blur);
    border-radius: var(--radius-lg);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.glass-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-5px);
}

/* --- Hero Refinement --- */
.hero-badge {
    background: rgba(147, 51, 234, 0.1);
    border: 1px solid rgba(147, 51, 234, 0.2);
    padding: 0.5rem 1.2rem;
    border-radius: 100px;
    display: inline-flex;
    align-items: center;
    gap: 0.6rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 2rem;
}

.hero-badge i {
    color: var(--accent);
}

.hero-title {
    font-size: 7rem;
    font-weight: 900;
    line-height: 0.85;
    letter-spacing: -3px;
    text-transform: uppercase;
    margin-bottom: 2.5rem;
    color: #ffffff;
    text-shadow:
        0 1px 0 #cccccc,
        0 2px 0 #c5c5c5,
        0 3px 0 #bbbbbb,
        0 4px 0 #b1b1b1,
        0 5px 0 #aaaaaa,
        0 6px 1px rgba(0, 0, 0, .1),
        0 0 5px rgba(0, 0, 0, .1),
        0 1px 3px rgba(0, 0, 0, .3),
        0 3px 5px rgba(0, 0, 0, .2),
        0 5px 10px rgba(0, 0, 0, .25),
        0 10px 10px rgba(0, 0, 0, .2),
        0 20px 20px rgba(0, 0, 0, .15);
}

.hero-title .jump-word {
    display: inline-block;
    animation: ludoBounce 3s ease-in-out infinite;
    transform-style: preserve-3d;
}

.hero-title .jump-word:nth-of-type(1) {
    animation-delay: 0s;
}

.hero-title .jump-word:nth-of-type(2) {
    animation-delay: 0.4s;
}

.hero-title .baloch {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 5px 15px rgba(147, 51, 234, 0.4));
}

@keyframes ludoBounce {

    0%,
    100% {
        transform: translateY(0) rotateX(10deg);
    }

    50% {
        transform: translateY(-30px) rotateX(15deg) scale(1.05);
    }
}

/* --- Brand 3D Style --- */
.brand-3d {
    font-size: 1.5rem;
    font-weight: 900;
    text-transform: uppercase;
    background: linear-gradient(180deg, #ffd700 0%, #f59e0b 50%, #b45309 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 1px 0 #92400e) drop-shadow(0 2px 0 #92400e) drop-shadow(0 3px 0 #78350f) drop-shadow(0 4px 5px rgba(0, 0, 0, 0.5));
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    letter-spacing: 1px;
    animation: float3D 4s ease-in-out infinite;
    transform-style: preserve-3d;
}

@keyframes float3D {

    0%,
    100% {
        transform: perspective(500px) translateY(0) rotateX(0deg) rotateY(-5deg);
    }

    50% {
        transform: perspective(500px) translateY(-5px) rotateX(5deg) rotateY(10deg);
    }
}

.brand-3d:hover {
    animation-play-state: paused;
    transform: perspective(500px) scale(1.1) rotateX(10deg) rotateY(0deg);
    filter: drop-shadow(0 1px 0 #92400e) drop-shadow(0 4px 0 #92400e) drop-shadow(0 8px 15px rgba(245, 158, 11, 0.4));
}

/* --- Live Engagement Widget --- */
.engagement-widget {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    width: 380px;
    height: 500px;
    background: rgba(13, 0, 26, 0.95);
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(20px);
    border-radius: 24px;
    display: none;
    flex-direction: column;
    z-index: 1000;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5), var(--shadow-glow);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.widget-header {
    padding: 1.2rem;
    border-bottom: 1px solid var(--glass-border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.status-indicators {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.status-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--text-secondary);
}

.status-item.live {
    color: #ef4444;
}

.status-item.live .dot {
    width: 8px;
    height: 8px;
    background: #ef4444;
    border-radius: 50%;
    animation: pulse 1.5s infinite;
}

.status-item.mic {
    padding: 0.3rem 0.6rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.status-item.mic.active {
    color: var(--accent);
    background: rgba(245, 158, 11, 0.1);
}

.chat-container {
    flex: 1;
    overflow-y: auto;
    padding: 1.2rem;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    scrollbar-width: thin;
    scrollbar-color: var(--glass-border) transparent;
}

.message {
    font-size: 0.85rem;
    line-height: 1.4;
    max-width: 85%;
    margin-bottom: 0.2rem;
}

.message .user {
    font-weight: 800;
    margin-right: 0.5rem;
    color: var(--primary);
}

.message.ai {
    background: rgba(147, 51, 234, 0.1);
    padding: 0.8rem;
    border-radius: 12px;
    border-left: 3px solid var(--primary);
    align-self: flex-start;
}

.message.ai .user {
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 0.4rem;
    margin-bottom: 0.2rem;
}

.chat-input-area {
    padding: 1.2rem;
    border-top: 1px solid var(--glass-border);
    display: flex;
    gap: 0.8rem;
}

.chat-input-area input {
    flex: 1;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 12px;
    padding: 0.7rem 1rem;
    color: white;
    outline: none;
    font-size: 0.85rem;
}

.reaction-tray {
    display: flex;
    gap: 0.5rem;
    padding: 0 1.2rem 1.2rem 1.2rem;
}

.reaction-btn {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    width: 36px;
    height: 36px;
    border-radius: 10px;
    display: grid;
    place-items: center;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1.1rem;
}

.floating-reaction {
    position: absolute;
    pointer-events: none;
    z-index: 1001;
    animation: float-up 2s ease-out forwards;
    font-size: 1.5rem;
}

/* Background Effects */
.btn-primary:hover {
    transform: scale(1.05);
    box-shadow: 0 0 30px rgba(147, 51, 234, 0.5);
    filter: brightness(1.1);
}

.btn-secondary {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: white;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: var(--glass-border);
}

.btn-white {
    background: white;
    color: var(--primary);
    border: none;
    padding: 0.8rem 1.8rem;
    border-radius: var(--radius-full);
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    box-shadow: 0 10px 20px rgba(255, 255, 255, 0.1);
}

.btn-white:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 255, 255, 0.2);
}

.trust-card {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 12px;
    padding: 1.2rem 1rem;
    text-align: center;
    transition: all 0.3s ease;
}

.trust-card:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateY(-3px);
}

.trust-card i {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    display: block;
}

.trust-card h4 {
    font-size: 1rem;
    font-weight: 800;
    margin-bottom: 0.2rem;
    color: white;
}

.trust-card p {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- Featured Product Cards (Professional Glassmorphism) --- */
.featured-card {
    background: rgba(13, 0, 26, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(20px);
    border-radius: 28px;
    padding: 2.5rem 1.5rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.featured-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: rgba(255, 255, 255, 0.2);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 20px rgba(147, 51, 234, 0.1);
}

.featured-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 100%;
    background: radial-gradient(circle at top right, rgba(255, 255, 255, 0.05), transparent 70%);
    pointer-events: none;
}

.featured-card .icon-box {
    width: 64px;
    height: 64px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    display: grid;
    place-items: center;
    margin-bottom: 2rem;
    transform: rotate(45deg);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.featured-card .icon-box i {
    transform: rotate(-45deg);
    font-size: 1.8rem;
    filter: drop-shadow(0 0 10px currentColor);
}

.featured-card h3 {
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: -0.5px;
}

.featured-card .desc {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1.5rem;
    opacity: 0.8;
}

.featured-card .highlight {
    font-size: 2.8rem;
    font-weight: 900;
    margin: 0.5rem 0;
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.featured-card .delivery {
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 500;
}

.featured-card .price {
    font-size: 2rem;
    font-weight: 900;
    color: white;
    margin-bottom: 2.5rem;
    letter-spacing: -1px;
}

/* Diamond Theme */
.featured-card.diamonds {
    background: linear-gradient(145deg, rgba(30, 10, 50, 0.4), rgba(13, 0, 26, 0.6));
    border-color: rgba(147, 51, 234, 0.2);
}

.featured-card.diamonds .icon-box i {
    color: #a855f7;
}

.featured-card.diamonds .highlight {
    color: #a855f7;
}

.featured-card.diamonds:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(147, 51, 234, 0.2);
}

/* Coin Theme */
.featured-card.coins {
    background: linear-gradient(145deg, rgba(50, 30, 10, 0.4), rgba(26, 13, 0, 0.6));
    border-color: rgba(245, 158, 11, 0.2);
}

.featured-card.coins .icon-box i {
    color: #f59e0b;
}

.featured-card.coins .highlight {
    color: #f59e0b;
}

.featured-card.coins:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(245, 158, 11, 0.2);
}

/* Royal Theme */
.featured-card.royal {
    background: linear-gradient(145deg, rgba(30, 50, 80, 0.4), rgba(0, 5, 20, 0.6));
    border-color: rgba(59, 130, 246, 0.2);
}

.featured-card.royal .icon-box i {
    color: #3b82f6;
}

.featured-card.royal .highlight {
    color: #3b82f6;
}

.featured-card.royal:hover {
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.6), 0 0 30px rgba(59, 130, 246, 0.2);
}

.buy-btn {
    width: 100%;
    border-radius: 14px;
    padding: 1.2rem;
    font-size: 1.1rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 1px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    text-decoration: none;
    color: white;
    background: var(--gradient-primary);
    box-shadow: 0 10px 20px rgba(147, 51, 234, 0.3);
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 30px rgba(147, 51, 234, 0.5);
    filter: brightness(1.1);
}

/* --- Hero CTA Buttons (Image Match) --- */
.hero-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 1.2rem;
    padding: 1.5rem 4rem;
    font-size: 1.4rem;
    font-weight: 800;
    text-decoration: none;
    border-radius: 24px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    border: none;
    color: white !important;
}

.hero-cta-btn.primary-glow {
    background: var(--gradient-primary);
    box-shadow: 0 10px 30px rgba(147, 51, 234, 0.4);
}

.hero-cta-btn.primary-glow:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 50px rgba(147, 51, 234, 0.6), 0 0 40px rgba(236, 72, 153, 0.4);
    filter: brightness(1.1);
}

.hero-cta-btn.whatsapp-glow {
    background: linear-gradient(90deg, #25d366 0%, #128c7e 100%);
    box-shadow: 0 10px 30px rgba(37, 211, 102, 0.3);
}

.hero-cta-btn.whatsapp-glow:hover {
    transform: translateY(-5px) scale(1.03);
    box-shadow: 0 20px 50px rgba(37, 211, 102, 0.5), 0 0 40px rgba(34, 195, 94, 0.4);
    filter: brightness(1.1);
}

.hero-cta-btn i {
    font-size: 1.6rem;
    transition: transform 0.3s ease;
}

.hero-cta-btn:hover i {
    transform: rotate(-10deg) scale(1.2);
}

/* --- Checkout/Form Styles --- */
.checkout-grid {
    display: grid;
    grid-template-columns: 350px 1fr;
    gap: 2rem;
    align-items: start;
}

.checkout-section-title {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.6rem;
    color: white;
    font-size: 0.95rem;
    font-weight: 600;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    background: #1a1528;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 0.9rem 1.2rem;
    color: white;
    font-family: inherit;
    font-size: 0.95rem;
    outline: none;
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: var(--primary);
    background: #201a34;
}

.upload-area {
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    cursor: pointer;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
}

.upload-area:hover {
    border-color: var(--primary);
    background: rgba(147, 51, 234, 0.05);
}

.upload-area i {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    color: var(--text-secondary);
}

.upload-area span {
    display: block;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* Layout Utilities */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

.grid-cols-auto {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .checkout-grid {
        grid-template-columns: 1fr;
    }

    .grid-cols-auto {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }

    h1 {
        font-size: 2rem !important;
    }

    h2 {
        font-size: 1.5rem !important;
    }
}

@media (max-width: 480px) {
    .grid-cols-auto {
        grid-template-columns: 1fr;
    }
}