/* ==========================================================================
   Jewelix3D - Custom 3D Experiences Section Redesign
   Matching luxury serif branding, vibrant blue gradient, and bespoke buttons
   ========================================================================== */

.jewelix-custom-3d-root {
    position: relative;
    width: 100%;
    max-width: 1280px;
    margin-left: auto;
    margin-right: auto;
    padding: 4rem 1.5rem 5rem 1.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    box-sizing: border-box;
    opacity: 1 !important;
    transform: none !important;
    visibility: visible !important;
}

@media (min-width: 768px) {
    .jewelix-custom-3d-root {
        padding: 5.5rem 2rem 6.5rem 2rem;
    }
}

.jewelix-top-divider {
    width: 280px;
    max-width: 60%;
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(203, 213, 225, 0.9) 50%, transparent 100%);
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-radius: 9999px;
}

/* Circular Seal Logo */
.jewelix-seal-wrap {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.25rem;
}

.jewelix-seal-img {
    width: 92px;
    height: 92px;
    object-fit: contain;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.3s ease;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.04));
}

.jewelix-seal-img:hover {
    transform: rotate(8deg) scale(1.06);
}

/* Luxury Serif Heading */
.jewelix-custom-title {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-size: clamp(2.25rem, 4.2vw, 3.65rem);
    font-weight: 500;
    line-height: 1.16;
    letter-spacing: -0.015em;
    color: #0b0f19;
    margin: 0 0 1rem 0;
    padding: 0;
}

.jewelix-3d-gradient {
    font-family: 'Playfair Display', Georgia, 'Times New Roman', serif;
    font-weight: 600;
    background: linear-gradient(135deg, #1d4ed8 0%, #2563eb 50%, #3b82f6 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

/* Subtitle Description */
.jewelix-custom-desc {
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    font-size: clamp(1rem, 1.25vw, 1.15rem);
    font-weight: 400;
    line-height: 1.65;
    color: #555e6d;
    max-width: 780px;
    margin: 0 auto 2.25rem auto;
    padding: 0 1rem;
}

/* Buttons Container */
.jewelix-btn-row {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
    width: 100%;
}

@media (min-width: 640px) {
    .jewelix-btn-row {
        flex-direction: row;
        gap: 1.15rem;
    }
}

/* Primary Dark Button */
.jewelix-btn-dark {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #090d16;
    color: #ffffff !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.965rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    padding: 0.85rem 1.65rem;
    border-radius: 0.65rem;
    border: 1px solid #1e293b;
    box-shadow: 0 4px 14px rgba(9, 13, 22, 0.18);
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.jewelix-btn-dark:hover {
    background-color: #111827;
    border-color: #334155;
    transform: translateY(-2px);
    box-shadow: 0 8px 24px rgba(9, 13, 22, 0.28);
    opacity: 1 !important;
}

.jewelix-btn-dark:active {
    transform: translateY(0);
    box-shadow: 0 2px 8px rgba(9, 13, 22, 0.18);
}

/* Secondary Light Button */
.jewelix-btn-light {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    background-color: #ffffff;
    color: #0f172a !important;
    font-family: system-ui, -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 0.965rem;
    font-weight: 500;
    letter-spacing: -0.01em;
    line-height: 1;
    padding: 0.85rem 1.65rem;
    border-radius: 0.65rem;
    border: 1.5px solid #243046;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    text-decoration: none !important;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    white-space: nowrap;
}

.jewelix-btn-light:hover {
    background-color: #f8fafc;
    border-color: #090d16;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
    opacity: 1 !important;
}

.jewelix-btn-light:active {
    transform: translateY(0);
    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.04);
}

.jewelix-arrow-icon {
    display: inline-block;
    font-size: 1.1rem;
    line-height: 1;
    transition: transform 0.2s ease;
}

.jewelix-btn-dark:hover .jewelix-arrow-icon,
.jewelix-btn-light:hover .jewelix-arrow-icon {
    transform: translateX(3px);
}

/* Showcase Graphic Wrapper */
.jewelix-showcase-box {
    width: 100%;
    max-width: 1140px;
    margin: 0 auto;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.jewelix-showcase-visual {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    filter: drop-shadow(0 15px 35px rgba(0, 0, 0, 0.06));
    transition: transform 0.5s ease;
}

.jewelix-showcase-visual:hover {
    transform: translateY(-2px);
}

/* Dark Mode Overrides */
html.dark .jewelix-custom-title {
    color: #f8fafc;
}

html.dark .jewelix-custom-desc {
    color: #94a3b8;
}

html.dark .jewelix-seal-img {
    filter: invert(1) brightness(1.2);
}

html.dark .jewelix-btn-dark {
    background-color: #ffffff;
    color: #090d16 !important;
    border-color: #ffffff;
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.15);
}

html.dark .jewelix-btn-dark:hover {
    background-color: #f1f5f9;
    box-shadow: 0 6px 24px rgba(255, 255, 255, 0.25);
}

html.dark .jewelix-btn-light {
    background-color: rgba(255, 255, 255, 0.05);
    color: #f8fafc !important;
    border-color: #475569;
}

html.dark .jewelix-btn-light:hover {
    background-color: rgba(255, 255, 255, 0.1);
    border-color: #94a3b8;
}
