:root {
    --bg-dark: #050505;
    --bg-card: #1a1a2e;
    --primary-red: #E63946;
    --primary-gold: #FFD700;
    --text-light: #f1f1f1;
    --text-muted: #a0a0b0;
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Inter', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-light);
    line-height: 1.6;
    overflow-x: hidden;
}

h1,
h2,
h3,
h4 {
    font-family: var(--font-heading);
    color: #fff;
    margin-bottom: 0.5rem;
}

.container {
    width: 90%;
    max-width: 600px;
    /* Mobile focused max-width for content flow */
    margin: 0 auto;
    padding: 0 15px;
}

/* Hero Section */
.hero {
    text-align: center;
    padding: 40px 0;
    background: radial-gradient(circle at center, #16213e 0%, #050505 100%);
}

.hero h1 {
    font-size: 2.2rem;
    background: linear-gradient(to right, #fff, #e0e0e0);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
    margin-bottom: 10px;
}

.subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    margin-bottom: 25px;
}

/* Gallery */
.hero-image-container {
    /* Keeping for legacy reference, but overridden by gallery styles below */
    display: none;
}

.main-image-container {
    position: relative;
    margin: 10px auto;
    width: 100%;
    max-width: 400px;
}

.hero-image {
    width: 100%;
    border-radius: 10px;
    box-shadow: 0 0 30px rgba(230, 57, 70, 0.2);
    transition: opacity 0.3s ease;
}

.gallery-thumbs {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.7;
    transition: all 0.2s;
}

.thumb:hover {
    opacity: 1;
}

.thumb.active {
    border-color: var(--primary-gold);
    opacity: 1;
    transform: scale(1.05);
}

/* Shipping Badge */
.shipping-badge {
    color: #4CAF50;
    /* Success green */
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: rgba(76, 175, 80, 0.1);
    padding: 8px;
    border-radius: 4px;
    display: inline-block;
}

/* Color Selection */
.color-selection {
    margin-bottom: 25px;
}

.color-selection p {
    margin-bottom: 15px;
    font-size: 1rem;
    color: #ddd;
    font-weight: 500;
}

.color-options {
    display: flex;
    justify-content: center;
    gap: 20px;
}

.color-option {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    border: 3px solid #333;
    transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.color-option.red {
    background: radial-gradient(circle at 30% 30%, #ff4d5a, #b30012);
}

.color-option.blue {
    background: radial-gradient(circle at 30% 30%, #4d7aff, #001f80);
}

.color-option.purple {
    background-color: #800080;
}

.color-option.pink {
    background: radial-gradient(circle at 30% 30%, #ffb3c1, #c71585);
}

.swatch-label {
    position: absolute;
    bottom: -25px;
    font-size: 0.75rem;
    color: #aaa;
    white-space: nowrap;
}

.color-option:hover {
    transform: scale(1.1);
}

.color-option.active {
    border-color: var(--primary-gold);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
    transform: scale(1.1);
}

.color-option.active .swatch-label {
    color: var(--primary-gold);
    font-weight: bold;
}

/* Simulated Video/Glow Demo */
.glow-demo {
    margin: 30px 0;
    text-align: center;
    border-top: 1px solid #333;
    padding-top: 20px;
}

.glow-demo h3 {
    color: var(--primary-gold);
    font-size: 1.2rem;
    margin-bottom: 15px;
}

.video-placeholder {
    position: relative;
    width: 100%;
    max-width: 400px;
    margin: 0 auto;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.glow-demo-img {
    width: 100%;
    display: block;
    filter: brightness(0.8);
}

.twinkle-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        radial-gradient(2px 2px at 20% 30%, white, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 40% 70%, white, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 60% 20%, white, rgba(0, 0, 0, 0)),
        radial-gradient(2px 2px at 80% 80%, white, rgba(0, 0, 0, 0));
    background-size: 100% 100%;
    opacity: 0;
    animation: twinkle 3s infinite ease-in-out;
}

@keyframes twinkle {

    0%,
    100% {
        opacity: 0.3;
    }

    50% {
        opacity: 0.8;
    }
}

.play-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(255, 215, 0, 0.8);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.5rem;
    color: #000;
    pointer-events: none;
    /* Just for decoration */
    animation: pulse 2s infinite;
}

.caption {
    font-size: 0.85rem;
    color: #aaa;
    margin-top: 8px;
    font-style: italic;
}

/* Testimonials */
.mini-testimonials {
    margin: 35px 0;
    padding: 20px 0;
    background: #0d0d12;
    border-radius: 10px;
}

.mini-testimonials h3 {
    text-align: center;
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: #fff;
}

.mini-testimonials h3 i {
    color: #4CAF50;
}

.testimonial-card {
    background: #1a1a2e;
    padding: 15px;
    margin-bottom: 15px;
    border-radius: 8px;
    border: 1px solid #333;
    font-size: 0.9rem;
}

.testimonial-card:last-child {
    margin-bottom: 0;
}

.stars {
    color: var(--primary-gold);
    margin-bottom: 5px;
    font-size: 0.8rem;
}

.testimonial-card small {
    display: block;
    margin-top: 8px;
    color: #888;
    font-weight: 600;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    background: radial-gradient(circle, rgba(230, 57, 70, 0.1) 0%, transparent 70%);
    pointer-events: none;
    z-index: -1;
}

.price-container {
    margin: 10px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
}

.original-price {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 1.2rem;
}

.current-price {
    color: var(--primary-gold);
    font-size: 2rem;
    font-weight: 700;
}

.badge-discount {
    background: var(--primary-red);
    color: white;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.8rem;
    font-weight: 600;
}

.cta-button {
    display: inline-block;
    background: linear-gradient(135deg, var(--primary-red), #c91e2b);
    color: white;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: 600;
    text-decoration: none;
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.4);
    transition: transform 0.2s, box-shadow 0.2s;
    width: 100%;
    max-width: 350px;
}

.cta-button:active {
    transform: scale(0.98);
}

.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0.4);
    }

    70% {
        box-shadow: 0 0 0 10px rgba(230, 57, 70, 0);
    }

    100% {
        box-shadow: 0 0 0 0 rgba(230, 57, 70, 0);
    }
}

.urgency-bar {
    margin-top: 20px;
    font-size: 0.9rem;
    color: #ddd;
}

.stock-warning {
    color: var(--primary-gold);
    font-weight: 600;
    margin-top: 5px;
}

/* Benefits Section */
.benefits {
    padding: 50px 0;
    background-color: #000;
}

.benefits h2 {
    text-align: center;
    margin-bottom: 30px;
    color: var(--primary-gold);
}

.benefits-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

@media (max-width: 480px) {
    .benefits-grid {
        grid-template-columns: 1fr;
        /* Stack visually on very small screens */
    }
}

.benefit-item {
    background: #111;
    padding: 20px;
    border-radius: 10px;
    text-align: center;
    border: 1px solid #222;
}

.icon-box {
    font-size: 2rem;
    color: var(--primary-red);
    margin-bottom: 10px;
}

.benefit-item h3 {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.benefit-item p {
    font-size: 0.9rem;
    color: var(--text-muted);
}

/* Timer Section */
.offer-timer {
    background: linear-gradient(45deg, #222, #111);
    padding: 30px 0;
    text-align: center;
    border-top: 1px solid var(--primary-gold);
    border-bottom: 1px solid var(--primary-gold);
}

.timer {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 15px;
    font-family: monospace;
    font-size: 1.5rem;
    color: var(--primary-red);
    align-items: center;
}

.time-block {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.time-block small {
    font-size: 0.5rem;
    color: var(--text-muted);
    font-family: var(--font-body);
}

/* Checkout Section */
.checkout {
    padding: 50px 0;
    background: #080808;
}

.checkout-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid #333;
}

.checkout-card h2 {
    text-align: center;
    margin-bottom: 20px;
}

.product-summary {
    display: flex;
    align-items: center;
    gap: 15px;
    padding-bottom: 20px;
    border-bottom: 1px solid #333;
    margin-bottom: 20px;
}

.mini-thumb {
    width: 60px;
    height: 60px;
    object-fit: cover;
    border-radius: 8px;
}

.strike {
    text-decoration: line-through;
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-left: 10px;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-size: 0.9rem;
    color: #ccc;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    color: white;
    font-family: var(--font-body);
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-gold);
}

.form-row {
    display: flex;
    gap: 10px;
}

.form-row .form-group {
    flex: 1;
}

.paypal-button {
    width: 100%;
    background: #0070ba;
    /* PayPal Blue */
    color: white;
    padding: 15px;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
}

.paypal-button:hover {
    background: #005ea6;
}

.trust-icons {
    display: flex;
    justify-content: center;
    gap: 15px;
    margin-top: 20px;
    font-size: 0.75rem;
    color: var(--text-muted);
    flex-wrap: wrap;
}

/* Footer */
footer {
    background: #000;
    padding: 60px 0 30px;
    border-top: 1px solid #222;
    margin-top: 50px;
    font-size: 0.9rem;
}

.footer-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 40px;
    text-align: center;
}

.footer-section h4 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.footer-section p {
    color: #888;
    margin-bottom: 15px;
}

.footer-email {
    color: #fff;
    text-decoration: none;
    border: 1px solid #333;
    padding: 10px 20px;
    border-radius: 30px;
    transition: all 0.3s;
    display: inline-block;
}

.footer-email:hover {
    border-color: var(--primary-gold);
    color: var(--primary-gold);
}

.footer-links {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
    justify-content: center;
}

.footer-links a {
    color: #aaa;
    text-decoration: none;
    font-size: 0.85rem;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: #fff;
    text-decoration: underline;
}

.copyright p {
    color: #555;
    font-size: 0.8rem;
    margin-top: 20px;
}

@media (min-width: 768px) {
    .footer-content {
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        text-align: left;
    }

    .footer-section {
        flex: 1;
    }

    .footer-section:nth-child(2) {
        display: flex;
        justify-content: center;
    }

    .footer-section:last-child {
        text-align: right;
    }

    .copyright p {
        margin-top: 0;
    }
}