/* ============================================
   PORTFOLIO - PLANET SLIDER
   Pure CSS with 3D Effects
   ============================================ */

/* CSS Variables */
:root {
    --bg-dark: #0a0a1a;
    --bg-gradient: linear-gradient(135deg, #0a0a1a 0%, #1a1a3a 50%, #0a0a2a 100%);
    --text-primary: #ffffff;
    --text-secondary: rgba(255, 255, 255, 0.7);
    --accent-gold: #ffd700;
    --accent-blue: #4fc3f7;
    --accent-purple: #bb86fc;
    --glow-sun: rgba(255, 200, 50, 0.6);
    --transition-smooth: cubic-bezier(0.4, 0, 0.2, 1);
}

/* Reset & Base */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
    user-select: none;
}

html,
body {
    height: 100%;
    overflow: hidden;
    font-family: 'Segoe UI', system-ui, -apple-system, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
}

#app {
    width: 100vw;
    height: 100vh;
    position: relative;
    overflow: hidden;
}

/* Starfield Canvas */
#starfield {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    background: var(--bg-gradient);
}

/* Main Content */
.main-content {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;
    padding: 20px;
}

.brand-title {
    font-size: clamp(1.5rem, 5vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--accent-gold), #ff8c00, var(--accent-gold));
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease infinite;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.3);
}

.brand-subtitle {
    font-size: clamp(0.8rem, 2.5vw, 1rem);
    color: var(--text-secondary);
    margin-top: 5px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

@keyframes gradientShift {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

/* Slider Container */
.slider-container {
    position: relative;
    width: 100%;
    max-width: 1200px;
    height: 60vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    perspective: 1000px;
}

.slider-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
    position: relative;
}

/* Planet Card */
.planet-card {
    position: absolute;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.6s var(--transition-smooth);
    opacity: 0;
    transform: translateX(200%) scale(0.5);
    pointer-events: none;
}

.planet-card.active {
    opacity: 1;
    transform: translateX(0) scale(1);
    pointer-events: auto;
    z-index: 10;
}

.planet-card.prev {
    opacity: 0.4;
    transform: translateX(-120%) scale(0.6);
    pointer-events: auto;
    z-index: 5;
    filter: blur(2px);
}

.planet-card.next {
    opacity: 0.4;
    transform: translateX(120%) scale(0.6);
    pointer-events: auto;
    z-index: 5;
    filter: blur(2px);
}

/* Hide prev/next on mobile */
@media (max-width: 768px) {

    .planet-card.prev,
    .planet-card.next {
        opacity: 0;
        pointer-events: none;
    }
}

/* Planet Sphere */
.planet-sphere {
    width: clamp(220px, 30vw, 280px);
    height: clamp(220px, 30vw, 280px);
    border-radius: 50%;
    position: relative;
    transition: all 0.4s var(--transition-smooth);
    cursor: pointer;
    /* No rotation - keep spherical gradient appearance */
}

.planet-sphere::before {
    content: '';
    position: absolute;
    top: 5%;
    left: 10%;
    width: 25%;
    height: 20%;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    filter: blur(10px);
}

.planet-sphere::after {
    content: '';
    position: absolute;
    inset: -20px;
    border-radius: 50%;
    background: inherit;
    filter: blur(30px);
    opacity: 0;
    /* opacity: 0.4; */
    z-index: -1;
    transition: all 0.4s var(--transition-smooth);
}

/* Planet Variations */
.planet-sun {
    background:
        radial-gradient(circle at 30% 30%, #fff7d4 0%, #ffd700 20%, #ff8c00 50%, #ff4500 80%, #cc3300 100%);
    box-shadow:
        inset -30px -30px 60px rgba(0, 0, 0, 0.4),
        inset 10px 10px 40px rgba(255, 255, 200, 0.6),
        0 0 60px var(--glow-sun),
        0 0 120px rgba(255, 150, 0, 0.4);
}

.planet-1 {
    background:
        radial-gradient(circle at 30% 30%, #a8e6cf 0%, #56ab91 40%, #2d6a4f 80%, #1b4332 100%);
    box-shadow:
        inset -25px -25px 50px rgba(0, 0, 0, 0.5),
        inset 8px 8px 30px rgba(168, 230, 207, 0.4),
        0 0 40px rgba(86, 171, 145, 0.5);
}

.planet-2 {
    background:
        radial-gradient(circle at 30% 30%, #ddd6fe 0%, #a78bfa 40%, #7c3aed 80%, #4c1d95 100%);
    box-shadow:
        inset -25px -25px 50px rgba(0, 0, 0, 0.5),
        inset 8px 8px 30px rgba(221, 214, 254, 0.4),
        0 0 40px rgba(167, 139, 250, 0.5);
}

.planet-3 {
    background:
        radial-gradient(circle at 30% 30%, #fecaca 0%, #f87171 40%, #dc2626 80%, #7f1d1d 100%);
    box-shadow:
        inset -25px -25px 50px rgba(0, 0, 0, 0.5),
        inset 8px 8px 30px rgba(254, 202, 202, 0.4),
        0 0 40px rgba(248, 113, 113, 0.5);
}

.planet-4 {
    background:
        radial-gradient(circle at 30% 30%, #bfdbfe 0%, #60a5fa 40%, #2563eb 80%, #1e3a8a 100%);
    box-shadow:
        inset -25px -25px 50px rgba(0, 0, 0, 0.5),
        inset 8px 8px 30px rgba(191, 219, 254, 0.4),
        0 0 40px rgba(96, 165, 250, 0.5);
}

.planet-5 {
    background:
        radial-gradient(circle at 30% 30%, #fef3c7 0%, #fbbf24 40%, #d97706 80%, #78350f 100%);
    box-shadow:
        inset -25px -25px 50px rgba(0, 0, 0, 0.5),
        inset 8px 8px 30px rgba(254, 243, 199, 0.4),
        0 0 40px rgba(251, 191, 36, 0.5);
}

/* Planet 6 - Pink/Magenta */
.planet-6 {
    background: radial-gradient(circle at 30% 30%, #fce7f3 0%, #f472b6 40%, #db2777 80%, #831843 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(252, 231, 243, 0.4), 0 0 40px rgba(244, 114, 182, 0.5);
}

/* Planet 7 - Cyan */
.planet-7 {
    background: radial-gradient(circle at 30% 30%, #cffafe 0%, #22d3ee 40%, #0891b2 80%, #164e63 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(207, 250, 254, 0.4), 0 0 40px rgba(34, 211, 238, 0.5);
}

/* Planet 8 - Indigo */
.planet-8 {
    background: radial-gradient(circle at 30% 30%, #e0e7ff 0%, #818cf8 40%, #4f46e5 80%, #312e81 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(224, 231, 255, 0.4), 0 0 40px rgba(129, 140, 248, 0.5);
}

/* Planet 9 - Rose */
.planet-9 {
    background: radial-gradient(circle at 30% 30%, #ffe4e6 0%, #fb7185 40%, #e11d48 80%, #881337 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(255, 228, 230, 0.4), 0 0 40px rgba(251, 113, 133, 0.5);
}

/* Planet 10 - Lime */
.planet-10 {
    background: radial-gradient(circle at 30% 30%, #ecfccb 0%, #a3e635 40%, #65a30d 80%, #365314 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(236, 252, 203, 0.4), 0 0 40px rgba(163, 230, 53, 0.5);
}

/* Planet 11 - Teal */
.planet-11 {
    background: radial-gradient(circle at 30% 30%, #ccfbf1 0%, #2dd4bf 40%, #0d9488 80%, #134e4a 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(204, 251, 241, 0.4), 0 0 40px rgba(45, 212, 191, 0.5);
}

/* Planet 12 - Sky */
.planet-12 {
    background: radial-gradient(circle at 30% 30%, #e0f2fe 0%, #38bdf8 40%, #0284c7 80%, #0c4a6e 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(224, 242, 254, 0.4), 0 0 40px rgba(56, 189, 248, 0.5);
}

/* Planet 13 - Fuchsia */
.planet-13 {
    background: radial-gradient(circle at 30% 30%, #fae8ff 0%, #e879f9 40%, #c026d3 80%, #701a75 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(250, 232, 255, 0.4), 0 0 40px rgba(232, 121, 249, 0.5);
}

/* Planet 14 - Violet */
.planet-14 {
    background: radial-gradient(circle at 30% 30%, #ede9fe 0%, #a78bfa 40%, #7c3aed 80%, #4c1d95 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(237, 233, 254, 0.4), 0 0 40px rgba(167, 139, 250, 0.5);
}

/* Planet 15 - Slate/Stone */
.planet-15 {
    background: radial-gradient(circle at 30% 30%, #e2e8f0 0%, #94a3b8 40%, #475569 80%, #1e293b 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(226, 232, 240, 0.4), 0 0 40px rgba(148, 163, 184, 0.5);
}

/* Planet 16 - Mars Red */
.planet-16 {
    background: radial-gradient(circle at 30% 30%, #fca5a5 0%, #ef4444 40%, #b91c1c 80%, #450a0a 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(252, 165, 165, 0.4), 0 0 40px rgba(239, 68, 68, 0.5);
}

/* Planet 17 - Neptune Blue */
.planet-17 {
    background: radial-gradient(circle at 30% 30%, #93c5fd 0%, #3b82f6 40%, #1d4ed8 80%, #1e3a8a 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(147, 197, 253, 0.4), 0 0 40px rgba(59, 130, 246, 0.5);
}

/* Planet 18 - Jupiter Orange */
.planet-18 {
    background: radial-gradient(circle at 30% 30%, #fed7aa 0%, #fb923c 40%, #ea580c 80%, #7c2d12 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(254, 215, 170, 0.4), 0 0 40px rgba(251, 146, 60, 0.5);
}

/* Planet 19 - Saturn Beige */
.planet-19 {
    background: radial-gradient(circle at 30% 30%, #fef9c3 0%, #facc15 40%, #ca8a04 80%, #713f12 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(254, 249, 195, 0.4), 0 0 40px rgba(250, 204, 21, 0.5);
}

/* Planet 20 - Uranus Aqua */
.planet-20 {
    background: radial-gradient(circle at 30% 30%, #a5f3fc 0%, #06b6d4 40%, #0e7490 80%, #164e63 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(165, 243, 252, 0.4), 0 0 40px rgba(6, 182, 212, 0.5);
}

/* Planet 21 - Mercury Gray */
.planet-21 {
    background: radial-gradient(circle at 30% 30%, #d4d4d8 0%, #a1a1aa 40%, #52525b 80%, #27272a 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(212, 212, 216, 0.4), 0 0 40px rgba(161, 161, 170, 0.5);
}

/* Planet 22 - Venus Gold */
.planet-22 {
    background: radial-gradient(circle at 30% 30%, #fef08a 0%, #eab308 40%, #a16207 80%, #422006 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(254, 240, 138, 0.4), 0 0 40px rgba(234, 179, 8, 0.5);
}

/* Planet 23 - Ice Blue */
.planet-23 {
    background: radial-gradient(circle at 30% 30%, #f0f9ff 0%, #7dd3fc 40%, #0ea5e9 80%, #075985 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(240, 249, 255, 0.4), 0 0 40px rgba(125, 211, 252, 0.5);
}

/* Planet 24 - Lava */
.planet-24 {
    background: radial-gradient(circle at 30% 30%, #fef3c7 0%, #f97316 40%, #dc2626 80%, #450a0a 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(254, 243, 199, 0.4), 0 0 40px rgba(249, 115, 22, 0.6);
}

@keyframes lavaPulse {

    0%,
    100% {
        box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), 0 0 40px rgba(249, 115, 22, 0.6);
    }

    50% {
        box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), 0 0 60px rgba(249, 115, 22, 0.8);
    }
}

/* Planet 25 - Toxic Green */
.planet-25 {
    background: radial-gradient(circle at 30% 30%, #d9f99d 0%, #84cc16 40%, #4d7c0f 80%, #1a2e05 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(217, 249, 157, 0.4), 0 0 40px rgba(132, 204, 22, 0.5);
}

/* Planet 26 - Deep Ocean */
.planet-26 {
    background: radial-gradient(circle at 30% 30%, #a5b4fc 0%, #6366f1 40%, #4338ca 80%, #1e1b4b 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(165, 180, 252, 0.4), 0 0 40px rgba(99, 102, 241, 0.5);
}

/* Planet 27 - Cherry */
.planet-27 {
    background: radial-gradient(circle at 30% 30%, #fda4af 0%, #f43f5e 40%, #be123c 80%, #4c0519 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(253, 164, 175, 0.4), 0 0 40px rgba(244, 63, 94, 0.5);
}

/* Planet 28 - Forest */
.planet-28 {
    background: radial-gradient(circle at 30% 30%, #86efac 0%, #22c55e 40%, #15803d 80%, #052e16 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(134, 239, 172, 0.4), 0 0 40px rgba(34, 197, 94, 0.5);
}

/* Planet 29 - Royal Purple */
.planet-29 {
    background: radial-gradient(circle at 30% 30%, #d8b4fe 0%, #a855f7 40%, #7e22ce 80%, #3b0764 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(216, 180, 254, 0.4), 0 0 40px rgba(168, 85, 247, 0.5);
}

/* Planet 30 - Sunset */
.planet-30 {
    background: radial-gradient(circle at 30% 30%, #fcd34d 0%, #f97316 50%, #be123c 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(252, 211, 77, 0.4), 0 0 40px rgba(249, 115, 22, 0.5);
}

/* Planet 31 - Aurora */
.planet-31 {
    background: radial-gradient(circle at 30% 30%, #67e8f9 0%, #a78bfa 50%, #f472b6 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(103, 232, 249, 0.4), 0 0 40px rgba(167, 139, 250, 0.5);
}

/* Planet 32 - Midnight */
.planet-32 {
    background: radial-gradient(circle at 30% 30%, #6366f1 0%, #3730a3 40%, #1e1b4b 80%, #0f0a1e 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.6), inset 8px 8px 30px rgba(99, 102, 241, 0.3), 0 0 40px rgba(99, 102, 241, 0.4);
}

/* Planet 33 - Coral */
.planet-33 {
    background: radial-gradient(circle at 30% 30%, #fecdd3 0%, #fb7185 40%, #e11d48 80%, #9f1239 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(254, 205, 211, 0.4), 0 0 40px rgba(251, 113, 133, 0.5);
}

/* Planet 34 - Mint */
.planet-34 {
    background: radial-gradient(circle at 30% 30%, #d1fae5 0%, #34d399 40%, #059669 80%, #064e3b 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(209, 250, 229, 0.4), 0 0 40px rgba(52, 211, 153, 0.5);
}

/* Planet 35 - Copper */
.planet-35 {
    background: radial-gradient(circle at 30% 30%, #fde68a 0%, #d97706 40%, #92400e 80%, #451a03 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(253, 230, 138, 0.4), 0 0 40px rgba(217, 119, 6, 0.5);
}

/* Planet 36 - Ocean Depths */
.planet-36 {
    background: radial-gradient(circle at 30% 30%, #22d3ee 0%, #0891b2 40%, #155e75 80%, #083344 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(34, 211, 238, 0.4), 0 0 40px rgba(8, 145, 178, 0.5);
}

/* Planet 37 - Ruby */
.planet-37 {
    background: radial-gradient(circle at 30% 30%, #fecaca 0%, #dc2626 40%, #991b1b 80%, #450a0a 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(254, 202, 202, 0.4), 0 0 40px rgba(220, 38, 38, 0.5);
}

/* Planet 38 - Sapphire */
.planet-38 {
    background: radial-gradient(circle at 30% 30%, #bfdbfe 0%, #2563eb 40%, #1e40af 80%, #1e3a8a 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(191, 219, 254, 0.4), 0 0 40px rgba(37, 99, 235, 0.5);
}

/* Planet 39 - Emerald */
.planet-39 {
    background: radial-gradient(circle at 30% 30%, #a7f3d0 0%, #10b981 40%, #047857 80%, #064e3b 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(167, 243, 208, 0.4), 0 0 40px rgba(16, 185, 129, 0.5);
}

/* Planet 40 - Amethyst */
.planet-40 {
    background: radial-gradient(circle at 30% 30%, #e9d5ff 0%, #a855f7 40%, #7e22ce 80%, #581c87 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(233, 213, 255, 0.4), 0 0 40px rgba(168, 85, 247, 0.5);
}

/* Planet 41 - Topaz */
.planet-41 {
    background: radial-gradient(circle at 30% 30%, #fff7ed 0%, #f59e0b 40%, #b45309 80%, #78350f 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(255, 247, 237, 0.4), 0 0 40px rgba(245, 158, 11, 0.5);
}

/* Planet 42 - Diamond Ice */
.planet-42 {
    background: radial-gradient(circle at 30% 30%, #ffffff 0%, #e0f2fe 40%, #7dd3fc 80%, #0ea5e9 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.3), inset 8px 8px 30px rgba(255, 255, 255, 0.6), 0 0 40px rgba(125, 211, 252, 0.5);
}

/* Planet 43 - Obsidian */
.planet-43 {
    background: radial-gradient(circle at 30% 30%, #71717a 0%, #3f3f46 40%, #27272a 80%, #18181b 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.6), inset 8px 8px 30px rgba(113, 113, 122, 0.3), 0 0 40px rgba(63, 63, 70, 0.5);
}

/* Planet 44 - Neon Pink */
.planet-44 {
    background: radial-gradient(circle at 30% 30%, #fdf4ff 0%, #f0abfc 40%, #d946ef 80%, #86198f 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(253, 244, 255, 0.4), 0 0 50px rgba(217, 70, 239, 0.6);
}

/* Planet 45 - Neon Cyan */
.planet-45 {
    background: radial-gradient(circle at 30% 30%, #ecfeff 0%, #67e8f9 40%, #06b6d4 80%, #0e7490 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(236, 254, 255, 0.4), 0 0 50px rgba(6, 182, 212, 0.6);
}

/* Planet 46 - Bubblegum */
.planet-46 {
    background: radial-gradient(circle at 30% 30%, #fbcfe8 0%, #ec4899 40%, #be185d 80%, #831843 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(251, 207, 232, 0.4), 0 0 40px rgba(236, 72, 153, 0.5);
}

/* Planet 47 - Electric */
.planet-47 {
    background: radial-gradient(circle at 30% 30%, #fef08a 0%, #facc15 40%, #eab308 80%, #a16207 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(254, 240, 138, 0.4), 0 0 50px rgba(234, 179, 8, 0.6);
}

/* Planet 48 - Holographic */
.planet-48 {
    background: radial-gradient(circle at 30% 30%, #c4b5fd 0%, #a78bfa 30%, #60a5fa 60%, #34d399 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(196, 181, 253, 0.4), 0 0 40px rgba(167, 139, 250, 0.5);
}

/* Planet 49 - Galaxy */
.planet-49 {
    background: radial-gradient(circle at 30% 30%, #c084fc 0%, #7c3aed 30%, #4f46e5 60%, #1e1b4b 100%);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.6), inset 8px 8px 30px rgba(192, 132, 252, 0.3), 0 0 50px rgba(124, 58, 237, 0.5);
}

/* Planet 50 - Cosmic Rainbow */
.planet-50 {
    background: conic-gradient(from 0deg at 30% 30%, #f87171, #fbbf24, #34d399, #22d3ee, #a78bfa, #f472b6, #f87171);
    box-shadow: inset -25px -25px 50px rgba(0, 0, 0, 0.5), inset 8px 8px 30px rgba(255, 255, 255, 0.3), 0 0 50px rgba(167, 139, 250, 0.5);
}

@keyframes planetRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

@keyframes sunPulse {

    0%,
    100% {
        box-shadow:
            inset -30px -30px 60px rgba(0, 0, 0, 0.4),
            inset 10px 10px 40px rgba(255, 255, 200, 0.6),
            0 0 60px var(--glow-sun),
            0 0 120px rgba(255, 150, 0, 0.4);
    }

    50% {
        box-shadow:
            inset -30px -30px 60px rgba(0, 0, 0, 0.4),
            inset 10px 10px 40px rgba(255, 255, 200, 0.6),
            0 0 80px var(--glow-sun),
            0 0 150px rgba(255, 150, 0, 0.5);
    }
}

/* Planet Logo - Image displayed on planet */
.planet-logo {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 50%;
    opacity: 0.5;
    z-index: 10;
    pointer-events: none;
    filter: drop-shadow(0 4px 15px rgba(0, 0, 0, 0.5));
    transition: all 0.4s var(--transition-smooth);
}

.planet-card.active:hover .planet-logo {
    opacity: 0.75;
    filter: drop-shadow(0 6px 20px rgba(0, 0, 0, 0.6));
}

/* Planet Info - Embedded in planet */
.planet-info {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    transition: all 0.4s var(--transition-smooth);
    opacity: 0.85;
    z-index: 10;
    width: 80%;
    pointer-events: none;
}

.planet-name {
    font-size: clamp(0.9rem, 2.5vw, 1.2rem);
    font-weight: 700;
    margin-bottom: 5px;
    color: var(--text-primary);
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.planet-desc {
    font-size: clamp(0.65rem, 1.8vw, 0.8rem);
    color: var(--text-secondary);
    max-width: 100%;
    line-height: 1.3;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.8);
}

/* Hover Effects on Active Planet */
.planet-card.active:hover .planet-sphere {
    transform: scale(1.1);
}

.planet-card.active:hover .planet-sphere::after {
    /* opacity: 0.7; */
    transform: scale(1.3);
}

/* Show planet info on hover */
.planet-card.active:hover .planet-info {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.05);
}

/* Click Indicator - Professional Design */
.click-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.8);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0;
    transition: all 0.4s var(--transition-smooth);
    z-index: 20;
    pointer-events: none;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 15px 20px;
}

.click-indicator svg {
    width: 32px;
    height: 32px;
    color: var(--accent-gold);
    filter: drop-shadow(0 0 8px var(--accent-gold));
}

.click-indicator span {
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--text-primary);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.planet-card.show-indicator .click-indicator {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.planet-card.show-indicator .click-indicator svg {
    animation: iconPulse 1.5s ease-in-out infinite;
}

@keyframes iconPulse {

    0%,
    100% {
        transform: scale(1);
        filter: drop-shadow(0 0 8px var(--accent-gold));
    }

    50% {
        transform: scale(1.1);
        filter: drop-shadow(0 0 15px var(--accent-gold));
    }
}

/* Product Details Overlay - Sci-Fi Hologram Design */
.product-details {
    position: fixed;
    top: 8%;
    left: 50%;
    transform: translateX(-50%) translateY(-30px) perspective(500px) rotateX(-5deg);
    background: linear-gradient(135deg,
            rgba(0, 255, 255, 0.05) 0%,
            rgba(10, 10, 40, 0.85) 50%,
            rgba(100, 0, 255, 0.05) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 4px;
    padding: 18px 28px;
    text-align: center;
    opacity: 0;
    pointer-events: none;
    transition: all 0.5s var(--transition-smooth);
    max-width: 380px;
    width: 90%;
    z-index: 100;
    box-shadow:
        0 0 30px rgba(0, 255, 255, 0.2),
        0 0 60px rgba(100, 0, 255, 0.1),
        inset 0 0 30px rgba(0, 255, 255, 0.05);
    clip-path: polygon(0 10px, 10px 0, calc(100% - 10px) 0, 100% 10px,
            100% calc(100% - 10px), calc(100% - 10px) 100%, 10px 100%, 0 calc(100% - 10px));
}

/* Hologram scan line effect */
.product-details::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(0deg,
            transparent,
            transparent 2px,
            rgba(0, 255, 255, 0.03) 2px,
            rgba(0, 255, 255, 0.03) 4px);
    pointer-events: none;
    animation: scanLines 8s linear infinite;
}

@keyframes scanLines {
    0% {
        background-position: 0 0;
    }

    100% {
        background-position: 0 100px;
    }
}

/* Corner decorations */
.product-details::after {
    content: '';
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    border: 1px solid rgba(0, 255, 255, 0.15);
    border-radius: 2px;
    pointer-events: none;
}

.product-details.visible {
    opacity: 1;
    transform: translateX(-50%) translateY(0) perspective(500px) rotateX(0deg);
    pointer-events: auto;
}

.detail-title {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 12px;
    background: linear-gradient(135deg, #00ffff 0%, #ffffff 50%, #bf00ff 100%);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: titleGlow 3s ease-in-out infinite;
    letter-spacing: 2px;
}

@keyframes titleGlow {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

.detail-description {
    font-size: 0.9rem;
    color: rgba(200, 230, 255, 0.9);
    margin-bottom: 18px;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Sci-Fi Glitch Transition Effects */
.glitch-out {
    animation: glitchOut 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

.glitch-in {
    animation: glitchIn 0.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
}

@keyframes glitchOut {
    0% {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
    }

    20% {
        opacity: 0.8;
        transform: translate(-4px, 2px);
        filter: blur(1px);
        text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
    }

    40% {
        opacity: 0.6;
        transform: translate(4px, -2px);
        filter: blur(2px);
        text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff;
    }

    60% {
        opacity: 0.4;
        transform: translate(-2px, 2px);
        filter: blur(3px);
    }

    100% {
        opacity: 0;
        transform: translate(0);
        filter: blur(5px);
    }
}

@keyframes glitchIn {
    0% {
        opacity: 0;
        transform: translate(0);
        filter: blur(5px);
    }

    20% {
        opacity: 0.4;
        transform: translate(4px, -2px);
        filter: blur(3px);
        text-shadow: 2px 0 #ff00ff, -2px 0 #00ffff;
    }

    40% {
        opacity: 0.6;
        transform: translate(-4px, 2px);
        filter: blur(2px);
        text-shadow: -2px 0 #ff00ff, 2px 0 #00ffff;
    }

    60% {
        opacity: 0.8;
        transform: translate(2px, -2px);
        filter: blur(1px);
    }

    100% {
        opacity: 1;
        transform: translate(0);
        filter: blur(0);
        text-shadow: none;
    }
}

.detail-cta {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-size: 0.9rem;
    color: #0a0a1a;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 12px 24px;
    border: none;
    border-radius: 4px;
    background: linear-gradient(135deg, #ffd700 0%, #ffaa00 50%, #ffd700 100%);
    background-size: 200% 200%;
    position: relative;
    z-index: 1;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow:
        0 0 20px rgba(255, 215, 0, 0.5),
        0 4px 15px rgba(0, 0, 0, 0.3);
    animation: ctaShine 3s ease-in-out infinite;
}

.detail-cta:hover {
    background: linear-gradient(135deg, #ffdd44 0%, #ffbb22 50%, #ffdd44 100%);
    transform: scale(1.08) translateY(-2px);
    box-shadow:
        0 0 30px rgba(255, 215, 0, 0.7),
        0 6px 20px rgba(0, 0, 0, 0.4);
}

.detail-cta::after {
    content: '→';
    font-size: 1.1rem;
    font-weight: bold;
    animation: arrowBounce 1s ease-in-out infinite;
}

@keyframes ctaShine {

    0%,
    100% {
        background-position: 0% 50%;
    }

    50% {
        background-position: 100% 50%;
    }
}

@keyframes arrowBounce {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-3px);
    }
}

@keyframes ctaPulse {

    0%,
    100% {
        box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    }

    50% {
        box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
    }
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

/* Swipe Hint */
.swipe-hint {
    display: none;
    align-items: center;
    gap: 15px;
    margin-top: 20px;
    color: var(--text-secondary);
    font-size: 0.85rem;
    animation: swipeHintPulse 2s ease-in-out infinite;
}

@media (max-width: 768px) {
    .swipe-hint {
        display: flex;
    }
}

.swipe-arrow {
    font-size: 1.2rem;
    animation: swipeArrow 1.5s ease-in-out infinite;
}

.swipe-arrow:first-child {
    animation-delay: 0.2s;
}

@keyframes swipeHintPulse {

    0%,
    100% {
        opacity: 0.6;
    }

    50% {
        opacity: 1;
    }
}

@keyframes swipeArrow {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(-5px);
    }
}

.swipe-arrow:last-child {
    animation-name: swipeArrowRight;
}

@keyframes swipeArrowRight {

    0%,
    100% {
        transform: translateX(0);
    }

    50% {
        transform: translateX(5px);
    }
}

/* Slider Dots */
.slider-dots {
    display: none;
    gap: 10px;
    margin-top: 20px;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--accent-gold);
    transform: scale(1.3);
    box-shadow: 0 0 10px var(--accent-gold);
}

.dot:hover {
    background: rgba(255, 255, 255, 0.6);
}

/* Ring Effect for Saturn-like planet */
.planet-ring {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 140%;
    height: 30%;
    transform: translate(-50%, -50%) rotateX(75deg);
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    pointer-events: none;
}

/* Special hover highlight effect */
.planet-card.active:hover::before {
    content: '';
    position: absolute;
    inset: -50px;
    background: radial-gradient(circle, rgba(255, 215, 0, 0.1) 0%, transparent 70%);
    border-radius: 50%;
    animation: highlightPulse 1.5s ease-in-out infinite;
    pointer-events: none;
    z-index: -1;
}

@keyframes highlightPulse {

    0%,
    100% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.2);
        opacity: 1;
    }
}

/* Responsive adjustments */
@media (max-width: 480px) {
    .main-content {
        padding: 15px;
    }

    .slider-container {
        height: 55vh;
    }

    .product-details {
        top: 5%;
        padding: 12px 16px;
    }

    .detail-title {
        font-size: 1rem;
        letter-spacing: 1px;
    }

    .detail-description {
        font-size: 0.8rem;
        margin-bottom: 12px;
    }

    .detail-cta {
        font-size: 0.7rem;
        padding: 6px 12px;
    }
}

/* Particle effects around planets */
.planet-particles {
    position: absolute;
    inset: -30px;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: white;
    border-radius: 50%;
    animation: particleFloat 3s ease-in-out infinite;
}

@keyframes particleFloat {

    0%,
    100% {
        transform: translateY(0) scale(1);
        opacity: 0.8;
    }

    50% {
        transform: translateY(-15px) scale(0.5);
        opacity: 0.3;
    }
}