/* 3D Carousel Styles Extracted */
.hero-variants {
    margin: 4rem 0;
    position: relative;
    height: 400px;
    perspective: 1200px;
    perspective-origin: center center;
    overflow: visible;
}

.variants-wheel {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 1.2s cubic-bezier(0.77, 0, 0.175, 1);
    will-change: transform;
    transform: translateZ(0);
}

.variant-card {
    position: absolute;
    width: 400px;
    height: 250px;
    left: 50%;
    top: 50%;
    margin-left: -200px;
    margin-top: -125px;
    border-radius: 25px;
    cursor: pointer;
    transition: opacity 0.5s cubic-bezier(0.4,0.2,0.2,1), filter 0.5s cubic-bezier(0.4,0.2,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0.2,0.2,1);
    transform-style: preserve-3d;
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.3);
    will-change: transform, opacity, filter;
    backface-visibility: visible;
    transform: translateZ(0);
}

.variant-card:nth-child(1) {
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.95) 0%, rgba(255, 142, 142, 0.9) 50%, rgba(255, 107, 107, 0.95) 100%);
}
.variant-card:nth-child(2) {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.95) 0%, rgba(118, 75, 162, 0.9) 50%, rgba(102, 126, 234, 0.95) 100%);
}
.variant-card:nth-child(3) {
    background: linear-gradient(135deg, rgba(76, 217, 100, 0.95) 0%, rgba(68, 160, 141, 0.9) 50%, rgba(76, 217, 100, 0.95) 100%);
}

/* Subtle dot pattern INSIDE each card */
.variant-card::after {
    content: '';
    position: absolute;
    inset: 0;
    pointer-events: none;
    background-image:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.1) 2px, transparent 2px),
        radial-gradient(circle at 40% 70%, rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 50px 50px, 30px 30px, 70px 70px;
    opacity: 0.3;
}

.variant-card-inner {
    animation: floatSmall 4s ease-in-out infinite;
    animation-delay: 0s;
}
.variant-card.active .variant-card-inner {
    animation: float 4s ease-in-out infinite;
    animation-delay: 0s;
}
.variant-card:not(.active):nth-child(2) .variant-card-inner {
    animation-delay: 2s;
}
.variant-card:not(.active):nth-child(3) .variant-card-inner {
    animation-delay: 1s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}
@keyframes floatSmall {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-4px); }
}

.variant-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(255, 255, 255, 0.1) 50%, transparent 70%);
    opacity: 0;
    transition: opacity 0.6s ease;
    pointer-events: none;
}
.variant-card:hover::before {
    opacity: 1;
    animation: hologram 2s ease-in-out infinite;
}
@keyframes hologram {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.variant-header {
    display: flex;
    align-items: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}
.variant-icon {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
    font-size: 1.5rem;
    color: white;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}
.variant-label {
    font-size: 1.1rem;
    font-weight: 800;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}
.variant-text {
    font-size: 1rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
    position: relative;
    z-index: 2;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.3);
}

@media (min-width: 769px) {
  .variant-card {
    transition: opacity 0.5s cubic-bezier(0.4,0.2,0.2,1), filter 0.5s cubic-bezier(0.4,0.2,0.2,1), box-shadow 0.5s cubic-bezier(0.4,0.2,0.2,1);
    backface-visibility: visible;
  }
}
@media (max-width: 768px) {
  .variant-card {
    opacity: 1 !important;
    filter: none !important;
    z-index: 1 !important;
    pointer-events: auto !important;
  }
}
/* Additional Carousel Widget Styles */

/* Control Panel */
.carousel-controls {
    position: absolute;
    bottom: -60px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.control-btn {
    width: 50px;
    height: 50px;
    border: none;
    border-radius: 50%;
    background: var(--glass-bg);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    color: white;
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.control-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.1);
    box-shadow: 0 10px 30px rgba(255, 107, 107, 0.3);
}

/* Progress Ring */
.progress-ring {
    width: 70px;
    height: 70px;
    position: relative;
}

.progress-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.progress-ring circle {
    fill: none;
    stroke-width: 3;
}

.progress-bg {
    stroke: rgba(255, 255, 255, 0.2);
}

.progress-bar {
    stroke: #ff6b6b;
    stroke-linecap: round;
    stroke-dasharray: 188.5;
    stroke-dashoffset: 188.5;
    transition: stroke-dashoffset 0.1s linear;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 0.8rem;
    font-weight: bold;
}

/* Quantum Particles */
.quantum-particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
}

.quantum-particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.8);
    border-radius: 50%;
    animation: quantum-float 6s ease-in-out infinite;
}

@keyframes quantum-float {
    0%, 100% {
        transform: translateY(0) scale(0.5);
        opacity: 0;
    }
    10%, 90% {
        opacity: 1;
    }
    50% {
        transform: translateY(-100px) scale(1);
        opacity: 0.8;
    }
}

/* End 3D Carousel Styles */

/* Hide background particles completely */
.particles { display: none !important; }

/* Hide quantum overlay particles */
.quantum-particles { display: none !important; }
