/* Reset & Base Styles */
:root {
    --bg-color: #0d0d0d;
    --card-bg: #1a1a1a;
    --text-color: #f0f0f0;
    --gold-color: #D4AF37;
    --gold-light: #F4C430;
    --gold-dark: #AA8C2C;
    --secondary-text: #a0a0a0;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3 {
    font-family: 'Playfair Display', serif;
    color: var(--gold-color);
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

a {
    text-decoration: none;
    color: inherit;
}

/* Typography */
.text-center {
    text-align: center;
}

.gold-text {
    color: var(--gold-color);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--gold-color), var(--gold-dark));
    color: #000;
    box-shadow: 0 4px 15px rgba(212, 175, 55, 0.3);
    border: 2px solid transparent;
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--gold-light), var(--gold-color));
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-large {
    font-size: 1.25rem;
    padding: 18px 48px;
    width: 100%;
    max-width: 400px;
}

/* Animations included in btn */
.glow-effect {
    animation: glow 3s infinite alternate;
}

@keyframes glow {
    from {
        box-shadow: 0 0 10px rgba(212, 175, 55, 0.2);
    }

    to {
        box-shadow: 0 0 20px rgba(212, 175, 55, 0.6);
    }
}

.pulse-animation {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.05);
    }

    100% {
        transform: scale(1);
    }
}

/* Particles */
#particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    pointer-events: none;
    overflow: hidden;
}

.particle {
    position: absolute;
    background: radial-gradient(circle, #D4AF37 0%, transparent 70%);
    border-radius: 50%;
    opacity: 0;
    animation: float-up linear infinite;
}

@keyframes float-up {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }

    20% {
        opacity: 0.8;
    }

    80% {
        opacity: 0.5;
    }

    100% {
        transform: translateY(-10vh) scale(1.5);
        opacity: 0;
    }
}

/* Floating Badge */
.floating-badge {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid var(--gold-color);
    padding: 12px 24px;
    border-radius: 50px;
    color: #fff;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    gap: 10px;
}

.pulse-dot {
    width: 10px;
    height: 10px;
    background-color: #ff4444;
    border-radius: 50%;
    display: inline-block;
    box-shadow: 0 0 10px #ff4444;
    animation: pulse-red 1.5s infinite;
}

@keyframes pulse-red {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.5);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

/* Enhanced Hero */
.hero {
    min-height: 100vh;
    /* Full screen impact */
    background: radial-gradient(circle at 70% 30%, #2a2a2a 0%, #000000 80%);
}

.badges-container {
    display: flex;
    gap: 15px;
    justify-content: flex-start;
}

.luxury-pill {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--gold-color);
    color: var(--gold-color);
    padding: 8px 16px;
    border-radius: 30px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    display: inline-block;
    /* margin-bottom removed, handled by container */
}

.home-service {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.3);
    color: #fff;
}

.glimmer-text {
    font-size: 4.5rem;
    color: #fff;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.gold-text-gradient {
    background: linear-gradient(135deg, #BF953F, #FCF6BA, #B38728, #FBF5B7, #AA771C);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-size: 200% auto;
    animation: shine 5s linear infinite;
}

.price-hero {
    margin: 30px 0;
    font-family: 'Playfair Display', serif;
}

.old-price {
    text-decoration: line-through;
    color: #666;
    font-size: 1.2rem;
    margin-right: 15px;
}

.new-price {
    font-size: 2.5rem;
    color: #fff;
    font-weight: 700;
}

.promo-alert {
    color: #ff4444;
    font-size: 0.9rem;
    margin-top: 15px;
    font-weight: 600;
    letter-spacing: 1px;
}

.image-wrapper {
    position: relative;
    padding: 20px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    border-radius: 100px 0 100px 0;
    /* Rotation effect */
    animation: float-img 6s ease-in-out infinite;
}

@keyframes float-img {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.hero-image img {
    border-radius: 80px 0 80px 0;
    /* Matches wrapper */
    box-shadow: none;
    /* Reset old shadow */
}

.floating-card {
    position: absolute;
    bottom: 40px;
    left: -30px;
    background: rgba(26, 26, 26, 0.9);
    padding: 15px 25px;
    border-radius: 12px;
    border-left: 4px solid var(--gold-color);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    animation: float-card 5s ease-in-out infinite reverse;
}

@keyframes float-card {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(10px);
    }
}

.floating-card span {
    display: block;
    font-size: 1.2rem;
    font-weight: bold;
    color: #fff;
}

.floating-card small {
    color: #aaa;
    font-size: 0.8rem;
    text-transform: uppercase;
}

/* Countdown */
.countdown-container {
    margin-bottom: 30px;
    background: rgba(0, 0, 0, 0.3);
    padding: 20px;
    border-radius: 12px;
    display: inline-block;
}

.countdown-container p {
    color: var(--gold-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.timer {
    display: flex;
    justify-content: center;
    gap: 15px;
    font-size: 2rem;
    font-family: 'Playfair Display', serif;
    font-weight: 700;
    color: #fff;
}

.timer div {
    display: flex;
    flex-direction: column;
    align-items: center;
    line-height: 1;
}

.timer span {
    color: var(--gold-light);
}

/* Responsive updates */
/* Responsive Design - Mobile Fixes */
@media (max-width: 768px) {

    /* Hero Section */
    .hero {
        padding-top: 100px;
        min-height: auto;
        padding-bottom: 60px;
    }

    .hero-content {
        flex-direction: column;
        gap: 50px;
        text-align: center;
    }

    .hero-text h1 {
        font-size: 2.5rem;
        /* Smaller font for mobile */
        line-height: 1.2;
    }

    .badges-container {
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 10px;
        margin-bottom: 20px;
    }

    .glimmer-text {
        font-size: 2.8rem;
        /* Fix huge text */
    }

    /* Center EVERYTHING on mobile */
    .section-title,
    .card,
    .offer-box,
    .benefits-list,
    footer {
        text-align: center;
    }

    .cards-grid {
        justify-items: center;
        /* Center cards in grid */
    }

    .benefits-list {
        display: inline-block;
        /* Allows text-align center on parent to work while keeping list left-aligned internally if needed, or center it too */
        text-align: center;
        /* Force center list items too if desired, or 'left' if only container should function */
        padding-left: 0;
    }

    .benefits-list li {
        list-style-position: inside;
        /* Helps with centering */
    }

    .hero-image {
        width: 100%;
        display: flex;
        justify-content: center;
    }

    .hero-image img {
        width: 80%;
        max-width: 300px;
    }

    .image-wrapper {
        width: auto;
        margin: 0;
        animation: none;
        /* Disable heavy animation on mobile if choppy */
    }

    /* Floating Elements */
    .floating-card {
        bottom: -20px;
        left: 50%;
        transform: translateX(-50%) !important;
        /* Center it */
        width: 80%;
        padding: 10px 15px;
        animation: none;
    }

    .floating-badge {
        bottom: 10px;
        right: 10px;
        padding: 8px 16px;
        font-size: 0.8rem;
        max-width: 90%;
        white-space: nowrap;
    }

    /* Price Tag */
    .price-tag {
        font-size: 3rem;
        flex-wrap: wrap;
    }

    .offer-box {
        padding: 30px 20px;
    }

    .offer-box h2 {
        font-size: 2rem;
    }

    .countdown-container {
        padding: 15px;
        width: 100%;
    }

    .timer {
        font-size: 1.5rem;
        gap: 10px;
    }

    /* Cards */
    .cards-grid {
        grid-template-columns: 1fr;
        /* Single column */
        gap: 20px;
    }

    .card:hover {
        transform: none;
        /* Disable hover movement on touch */
    }
}

/* Extra Small Devices */
@media (max-width: 480px) {
    .glimmer-text {
        font-size: 2.2rem;
    }

    .btn-large {
        padding: 15px 20px;
        font-size: 1rem;
    }

    .floating-card {
        bottom: -30px;
    }
}