/* CARD CSS */ /* Reveal Line Trigger */ .jrx-reveal-line { width: 100%; margin: 40px auto 0; text-align: center; padding: 14px 0; background: linear-gradient(90deg, #f8f9ff, #e9eaff, #ffffff); color: #444; font-weight: bold; font-size: 1.1rem; cursor: pointer; border-radius: 0; box-shadow: 0 0 14px #ddd, 0 0 28px #ccc, 0 0 56px rgba(220, 220, 255, 0.3); transition: all 0.4s ease; border: 2px solid #fff; } .jrx-reveal-line:hover { background: linear-gradient(90deg, #fff1f1, #f0faff, #ffffff); color: #666; transform: scale(1.05); box-shadow: 0 0 20px #fff, 0 0 40px #ddf, 0 0 80px rgba(220, 220, 255, 0.4); } /* Fullscreen Overlay */ .jrx-fullscreen-card { position: fixed; inset: 0; background: rgba(255, 255, 255, 0.96); display: none; align-items: center; justify-content: center; z-index: 9999; perspective: 1200px; transition: opacity 0.4s ease; overflow: hidden; } .jrx-fullscreen-card.active { display: flex; } /* 🎇 Light Streak Background */ .jrx-fullscreen-card::before { content: ""; position: absolute; width: 150%; height: 150%; background: linear-gradient(60deg, #fff5f9 20%, #e8f3ff 50%, #fff9f9 80%); opacity: 0.08; animation: streakMove 20s linear infinite; z-index: 0; } /* ✨ Particle Background */ .jrx-fullscreen-card::after { content: ""; position: absolute; width: 100%; height: 100%; background: radial-gradient(circle, #e8eaff 2px, transparent 2px); background-size: 40px 40px; opacity: 0.2; animation: particleDrift 60s linear infinite; z-index: 0; } /* Card Styling */ .jrx-card { background: rgba(255, 255, 255, 0.85); border: 3px solid transparent; border-radius: 18px; max-width: 460px; width: 90%; text-align: center; position: relative; z-index: 1; animation: cyber3dOpen 0.8s ease-in-out forwards, glowBorder 6s ease-in-out infinite; transform-style: preserve-3d; transform: perspective(1000px) rotateX(var(--rotateX, 0deg)) rotateY(var(--rotateY, 0deg)); transition: transform 0.2s ease-out; box-shadow: 0 0 30px #eef, 0 0 60px #ddf, inset 0 0 20px rgba(255, 255, 255, 0.5); overflow: hidden; backdrop-filter: blur(16px); --rotateX: 0deg; --rotateY: 0deg; } /* Glowing Border Animation */ @keyframes glowBorder { 0% { border-image: linear-gradient(45deg, #e0f7ff, #f0eaff, #fefefe) 1; } 50% { border-image: linear-gradient(225deg, #ffe0f7, #e0faff, #fefefe) 1; } 100% { border-image: linear-gradient(45deg, #e0f7ff, #f0eaff, #fefefe) 1; } } /* ✨ Particle Movement */ @keyframes particleDrift { 0% { background-position: 0 0; } 100% { background-position: 100px 200px; } } /* 🌠 Light Streak Animation */ @keyframes streakMove { 0% { transform: rotate(0deg) translate(-50%, -50%); } 100% { transform: rotate(360deg) translate(-50%, -50%); } } /* Card Image */ .jrx-card-img img { width: 100%; border-radius: 16px; margin-bottom: 18px; box-shadow: 0 0 20px rgba(200, 200, 255, 0.3); } /* Card Title */ .jrx-card-content h3 { font-family: 'Orbitron', sans-serif; font-size: 1.8rem; color: #444; text-shadow: 0 0 10px #eaeaff; } /* Card Body Text */ .jrx-card-content p { font-family: 'Share Tech Mono', monospace; color: #555; font-size: 0.95rem; line-height: 1.6; text-shadow: 0 0 4px #ddd; } /* Close Button */ .jrx-close-btn { position: absolute; top: 12px; right: 18px; font-size: 26px; font-weight: bold; color: #777; cursor: pointer; background: #fff; padding: 6px 12px; border-radius: 6px; box-shadow: 0 0 12px rgba(200, 200, 255, 0.5), 0 0 24px rgba(255, 200, 255, 0.4); transition: all 0.4s ease; z-index: 10; } .jrx-close-btn:hover { background: #ffe; color: #555; transform: scale(1.1) rotate(90deg); box-shadow: 0 0 16px #eef, 0 0 40px #eef; } /* Open Animation */ @keyframes cyber3dOpen { 0% { transform: rotateY(90deg) scale(0.5); opacity: 0; filter: blur(10px); } 50% { transform: rotateY(-10deg) scale(1.05); opacity: 0.8; filter: blur(2px); } 100% { transform: rotateY(0deg) scale(1); opacity: 1; filter: blur(0); } } /* Close Animation */ @keyframes cyber3dClose { 0% { transform: rotateY(0deg) scale(1); opacity: 1; filter: blur(0); } 100% { transform: rotateY(90deg) scale(0.5); opacity: 0; filter: blur(10px); } }