/* Spiral Animation Plugin Styles */
.spiral-anim-section {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    min-height: 600px;
}
.spiral-anim-container {
    position: relative;
    width: 576px;
    height: 512px;
    margin: 0 auto;
}
.spiral-anim-bg {
    width: 100%;
    height: 100%;
    position: absolute;
    left: 0;
    top: 0;
    z-index: 1;
    pointer-events: none;
    animation: spiralFadeIn 2.5s cubic-bezier(.4,0,.2,1) forwards;
}
@keyframes spiralFadeIn {
    0% { opacity: 0; transform: scale(0.92) rotate(-8deg); }
    100% { opacity: 1; transform: scale(1) rotate(0deg); }
}
.spiral-anim-icon {
    position: absolute;
    width: 90px;
    height: 90px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 2;
    transition: transform 0.4s cubic-bezier(.34,1.56,.64,1);
    outline: none;
}
.spiral-anim-icon img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    box-shadow: 0 8px 30px rgba(0,0,0,0.15);
    background: transparent;
}
.spiral-anim-label {
    margin-top: 8px;
    font-size: 14px;
    color: #222;
    background: rgba(255,255,255,0.85);
    border-radius: 8px;
    padding: 2px 10px;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08);
    pointer-events: none;
}
.spiral-anim-icon:focus-visible {
    box-shadow: 0 0 0 3px #0F4CFF;
}
.spiral-anim-icon:hover {
    transform: scale(1.05);
}
.spiral-anim-icon:active {
    transform: scale(0.98);
}
.spiral-anim-icon::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 120px;
    height: 120px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(15,76,255,0.12) 0%, transparent 70%);
    transform: translate(-50%, -50%) scale(0);
    opacity: 0;
    transition: all 0.6s cubic-bezier(.4,0,.2,1);
    z-index: 0;
}
.spiral-anim-icon:hover::before {
    transform: translate(-50%, -50%) scale(1.2);
    opacity: 1;
}
/* Position icons along spiral visually (adjust as needed) */
.icon-1 { top: 3%; left: 18%; }
.icon-2 { top: 22%; right: 30%; }
.icon-3 { bottom: 22%; right: 28%; }
.icon-4 { bottom: 18%; right: 5%; }
/* Modal Styles */
.spiral-anim-modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(8px);
    justify-content: center;
    align-items: center;
}
.spiral-anim-modal.active {
    display: flex;
}
.spiral-anim-modal-content {
    background: #1a1a1a;
    padding: 30px;
    border-radius: 20px;
    max-width: 95vw;
    width: 900px;
    box-shadow: 0 25px 80px rgba(0,0,0,0.6), 0 0 100px rgba(15,76,255,0.2);
    position: relative;
}
.spiral-anim-close {
    position: absolute;
    top: -15px;
    right: -15px;
    font-size: 28px;
    font-weight: bold;
    color: white;
    cursor: pointer;
    background: linear-gradient(135deg,#0F4CFF 0%,#4361C2 100%);
    border: none;
    z-index: 10000;
    width: 50px;
    height: 50px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 50%;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    transition: all 0.3s ease;
}
.spiral-anim-close:hover {
    background: linear-gradient(135deg,#FF4C4C 0%,#FF6B6B 100%);
    transform: rotate(90deg) scale(1.1);
    box-shadow: 0 6px 25px rgba(255,76,76,0.5);
}
.spiral-anim-video-wrap {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 8px 30px rgba(0,0,0,0.5);
}
.spiral-anim-video-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
}
@media (max-width: 768px) {
    .spiral-anim-container { width: 400px; height: 355px; }
    .spiral-anim-icon { width: 70px; height: 70px; }
    .spiral-anim-modal-content { padding: 20px; width: 95vw; }
    .spiral-anim-close { width: 45px; height: 45px; font-size: 24px; }
}
@media (max-width: 480px) {
    .spiral-anim-container { width: 320px; height: 284px; }
    .spiral-anim-icon { width: 60px; height: 60px; }
    .spiral-anim-modal-content { padding: 15px; border-radius: 15px; }
    .spiral-anim-close { width: 40px; height: 40px; font-size: 20px; }
}
