/* Gradient Wave Login Form - Complete & Self-Contained */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(-45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientFlow 15s ease infinite;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    line-height: 1.6;
    overflow: hidden;
    position: relative;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Animated Wave Background */
.wave-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.wave {
    position: absolute;
    top: 0;
    left: -50%;
    width: 200%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    transform-origin: center;
}

.wave-1 {
    animation: waveMove 20s linear infinite;
    animation-delay: 0s;
}

.wave-2 {
    animation: waveMove 25s linear infinite reverse;
    animation-delay: -5s;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.05), transparent);
}

.wave-3 {
    animation: waveMove 30s linear infinite;
    animation-delay: -10s;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.08), transparent);
}

.wave-4 {
    animation: waveMove 35s linear infinite reverse;
    animation-delay: -15s;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.03), transparent);
}

@keyframes waveMove {
    0% { transform: translateX(-50%) skewX(-5deg); }
    100% { transform: translateX(50%) skewX(-5deg); }
}

/* Gradient Particles */
.gradient-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: radial-gradient(circle, rgba(255,255,255,0.8), transparent);
    border-radius: 50%;
    animation: particleFloat 15s linear infinite;
}

.particle:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.particle:nth-child(2) { top: 60%; left: 80%; animation-delay: -3s; }
.particle:nth-child(3) { top: 80%; left: 20%; animation-delay: -6s; }
.particle:nth-child(4) { top: 30%; left: 70%; animation-delay: -9s; }
.particle:nth-child(5) { top: 10%; left: 60%; animation-delay: -12s; }
.particle:nth-child(6) { top: 70%; left: 40%; animation-delay: -15s; }

@keyframes particleFloat {
    0%, 100% { transform: translateY(0) translateX(0) scale(1); opacity: 0; }
    10%, 90% { opacity: 1; }
    50% { transform: translateY(-100px) translateX(50px) scale(1.5); }
}

.login-container {
    width: 100%;
    max-width: 420px;
    position: relative;
    z-index: 10;
}

.login-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 24px;
    padding: 40px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
}

.login-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 35px 70px rgba(0, 0, 0, 0.2);
}

.card-glow {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #667eea, #764ba2, #f093fb, #f5576c);
    background-size: 400% 400%;
    animation: gradientFlow 8s ease infinite;
    border-radius: 24px;
    z-index: -1;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.login-card:hover .card-glow {
    opacity: 1;
}

.login-header {
    text-align: center;
    margin-bottom: 40px;
}

.gradient-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 24px;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.05));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.3);
}

.icon-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: iconWaveMove 3s ease-in-out infinite;
}

@keyframes iconWaveMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

.gradient-icon svg {
    width: 32px;
    height: 32px;
    color: rgba(255,255,255,0.9);
    z-index: 1;
}

.login-header h2 {
    color: rgba(255,255,255,0.95);
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 8px;
    background: linear-gradient(135deg, #ffffff, rgba(255,255,255,0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.login-header p {
    color: rgba(255,255,255,0.7);
    font-size: 16px;
    font-weight: 400;
}

/* Gradient Form Styles */
.form-group {
    margin-bottom: 28px;
    position: relative;
}

.input-container {
    position: relative;
    overflow: hidden;
    border-radius: 16px;
}

.input-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.input-container:focus-within .input-bg {
    background: rgba(255,255,255,0.15);
    border-color: rgba(255,255,255,0.4);
    box-shadow: 0 8px 25px rgba(0,0,0,0.1);
}

.input-container input {
    width: 100%;
    background: transparent;
    border: none;
    padding: 20px 24px;
    color: rgba(255,255,255,0.95);
    font-size: 16px;
    font-weight: 500;
    outline: none;
    position: relative;
    z-index: 2;
}

.input-container input::placeholder {
    color: transparent;
}

.input-container input:-webkit-autofill,
.input-container input:-webkit-autofill:hover,
.input-container input:-webkit-autofill:focus {
    -webkit-box-shadow: 0 0 0 30px rgba(255,255,255,0.1) inset;
    -webkit-text-fill-color: rgba(255,255,255,0.95);
}

.input-container label {
    position: absolute;
    left: 24px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.6);
    font-size: 16px;
    font-weight: 400;
    pointer-events: none;
    transition: all 0.3s ease;
    z-index: 3;
}

.input-container input:focus + label,
.input-container input:not(:placeholder-shown) + label {
    top: 12px;
    font-size: 12px;
    color: rgba(255,255,255,0.8);
    transform: translateY(0);
}

.input-wave {
    position: absolute;
    bottom: 0;
    left: -100%;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.8), transparent);
    transition: all 0.3s ease;
    z-index: 4;
}

.input-container:focus-within .input-wave {
    left: 100%;
    animation: inputWaveFlow 1s ease-in-out;
}

@keyframes inputWaveFlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Password Toggle */
.password-container {
    padding-right: 60px;
}

.password-toggle {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 12px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    overflow: hidden;
    transition: all 0.3s ease;
}

.toggle-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border-radius: 12px;
    opacity: 0;
    transition: all 0.3s ease;
}

.password-toggle:hover .toggle-bg {
    opacity: 1;
}

.toggle-icon {
    position: relative;
    z-index: 1;
    width: 20px;
    height: 20px;
    color: rgba(255,255,255,0.7);
}

.toggle-icon svg {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: all 0.3s ease;
}

.eye-closed {
    opacity: 0;
    transform: scale(0.8);
}

.password-toggle.show-password .eye-open {
    opacity: 0;
    transform: scale(0.8);
}

.password-toggle.show-password .eye-closed {
    opacity: 1;
    transform: scale(1);
}

/* Form Options */
.form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.checkbox-container {
    display: flex;
    align-items: center;
    cursor: pointer;
}

.checkbox-container input[type="checkbox"] {
    display: none;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
    color: rgba(255,255,255,0.8);
    font-size: 14px;
    font-weight: 500;
}

.gradient-checkbox {
    width: 20px;
    height: 20px;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
}

.checkbox-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 6px;
    transition: all 0.3s ease;
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-label .checkbox-bg {
    background: linear-gradient(135deg, #667eea, #764ba2);
    border-color: rgba(255,255,255,0.5);
}

.gradient-checkbox svg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    width: 12px;
    height: 12px;
    color: white;
    transition: all 0.3s ease;
    z-index: 1;
}

.checkbox-container input[type="checkbox"]:checked + .checkbox-label svg {
    transform: translate(-50%, -50%) scale(1);
}

.forgot-link {
    color: rgba(255,255,255,0.8);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.forgot-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255,255,255,0.8);
    transition: width 0.3s ease;
}

.forgot-link:hover::after {
    width: 100%;
}

.forgot-link:hover {
    color: rgba(255,255,255,1);
}

/* Gradient Button */
.gradient-button {
    width: 100%;
    background: transparent;
    border: none;
    border-radius: 16px;
    padding: 0;
    cursor: pointer;
    position: relative;
    margin-bottom: 28px;
    overflow: hidden;
    height: 56px;
}

.button-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255,255,255,0.2), rgba(255,255,255,0.1));
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 16px;
    transition: all 0.3s ease;
}

.gradient-button:hover .button-bg {
    background: linear-gradient(135deg, rgba(255,255,255,0.3), rgba(255,255,255,0.15));
    border-color: rgba(255,255,255,0.5);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: rgba(255,255,255,0.95);
    font-size: 16px;
    font-weight: 600;
}

.btn-loader {
    position: absolute;
    display: flex;
    gap: 4px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.loader-wave {
    width: 4px;
    height: 16px;
    background: rgba(255,255,255,0.8);
    border-radius: 2px;
    animation: loaderWave 1.2s ease-in-out infinite;
}

.loader-wave:nth-child(2) { animation-delay: 0.1s; }
.loader-wave:nth-child(3) { animation-delay: 0.2s; }

@keyframes loaderWave {
    0%, 80%, 100% { transform: scaleY(0.5); opacity: 0.5; }
    40% { transform: scaleY(1); opacity: 1; }
}

.gradient-button.loading .btn-text {
    opacity: 0;
}

.gradient-button.loading .btn-loader {
    opacity: 1;
}

.button-ripple {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 16px;
    overflow: hidden;
    pointer-events: none;
}

/* Divider */
.divider {
    display: flex;
    align-items: center;
    margin: 28px 0;
    gap: 16px;
}

.divider-line {
    flex: 1;
    height: 1px;
    position: relative;
    overflow: hidden;
}

.line-gradient {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    animation: lineFlow 3s ease-in-out infinite;
}

@keyframes lineFlow {
    0%, 100% { left: -100%; }
    50% { left: 100%; }
}

.divider span {
    color: rgba(255,255,255,0.6);
    font-size: 13px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Social Login */
.social-login {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 28px;
}

.social-btn {
    width: 50px;
    height: 50px;
    background: transparent;
    border: none;
    border-radius: 14px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.social-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 14px;
    transition: all 0.3s ease;
}

.google-bg {
    background: rgba(255,255,255,0.1);
}

.facebook-bg {
    background: rgba(24, 119, 242, 0.1);
}

.apple-bg {
    background: rgba(0,0,0,0.1);
}

.social-btn:hover .social-bg {
    background: rgba(255,255,255,0.2);
    border-color: rgba(255,255,255,0.4);
    transform: scale(1.05);
}

.social-btn svg {
    width: 22px;
    height: 22px;
    color: rgba(255,255,255,0.8);
    z-index: 1;
    transition: all 0.3s ease;
}

.social-btn:hover svg {
    color: rgba(255,255,255,1);
}

/* Signup Link */
.signup-link {
    text-align: center;
}

.signup-link p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

.signup-link a {
    color: rgba(255,255,255,0.9);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
}

.signup-link a::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 1px;
    background: rgba(255,255,255,0.9);
    transition: width 0.3s ease;
}

.signup-link a:hover::after {
    width: 100%;
}

/* Error States */
.error-message {
    color: #ff6b6b;
    font-size: 12px;
    font-weight: 500;
    margin-top: 8px;
    margin-left: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    background: rgba(255, 107, 107, 0.1);
    padding: 4px 8px;
    border-radius: 6px;
    backdrop-filter: blur(10px);
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.form-group.error .input-bg {
    background: rgba(255, 107, 107, 0.1);
    border-color: rgba(255, 107, 107, 0.4);
}

/* Success Message */
.success-message {
    display: none;
    text-align: center;
    padding: 40px 20px;
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.5s ease;
    position: relative;
    overflow: hidden;
}

.success-message.show {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.success-wave {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
    animation: successWaveMove 2s ease-in-out;
}

@keyframes successWaveMove {
    0% { left: -100%; }
    100% { left: 100%; }
}

.success-content {
    position: relative;
    z-index: 1;
}

.success-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4facfe, #00f2fe);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: white;
    animation: successPulse 0.6s ease-out;
}

@keyframes successPulse {
    0% { transform: scale(0); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.success-icon svg {
    width: 28px;
    height: 28px;
}

.success-message h3 {
    color: rgba(255,255,255,0.95);
    font-size: 1.5rem;
    margin-bottom: 8px;
}

.success-message p {
    color: rgba(255,255,255,0.7);
    font-size: 14px;
}

/* Mobile Responsive */
@media (max-width: 480px) {
    body {
        padding: 16px;
    }
    
    .login-card {
        padding: 28px;
        border-radius: 20px;
    }
    
    .login-header h2 {
        font-size: 1.875rem;
    }
    
    .gradient-icon {
        width: 64px;
        height: 64px;
    }
    
    .form-options {
        flex-direction: column;
        align-items: flex-start;
        gap: 16px;
    }
    
    .wave {
        width: 150%;
        left: -25%;
    }
}

/* ================================================
   TAROT CARDS BACKGROUND
   Paste bagian ini di paling bawah style.css lu
   ================================================ */
 
.tarot-bg {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 3;
}
 
.tarot-card {
    position: absolute;
    width: 72px;
    height: 115px;
    border-radius: 10px;
}
 
.tarot-card-inner {
    width: 100%;
    height: 100%;
    border-radius: 10px;
    position: relative;
    overflow: hidden;
    background: linear-gradient(155deg, #1e0645 0%, #4a1280 50%, #1e0645 100%);
    border: 1.5px solid rgba(255, 220, 100, 0.35);
    box-shadow:
        0 10px 40px rgba(0, 0, 0, 0.45),
        inset 0 0 18px rgba(160, 60, 255, 0.25);
}
 
.tarot-card-back {
    position: absolute;
    inset: 0;
    background-image:
        repeating-linear-gradient(
             45deg, transparent, transparent 5px,
             rgba(255,255,255,0.045) 5px, rgba(255,255,255,0.045) 6px
        ),
        repeating-linear-gradient(
            -45deg, transparent, transparent 5px,
             rgba(255,255,255,0.045) 5px, rgba(255,255,255,0.045) 6px
        );
}
 
.tarot-border-outer {
    position: absolute;
    inset: 5px;
    border: 1px solid rgba(255, 210, 80, 0.35);
    border-radius: 6px;
}
 
.tarot-border-inner {
    position: absolute;
    inset: 9px;
    border: 1px solid rgba(255, 210, 80, 0.18);
    border-radius: 4px;
}
 
.tarot-dot {
    position: absolute;
    width: 5px;
    height: 5px;
    background: rgba(255, 210, 80, 0.4);
    border-radius: 50%;
}
.tarot-dot.tl { top: 13px;    left: 10px;  }
.tarot-dot.tr { top: 13px;    right: 10px; }
.tarot-dot.bl { bottom: 13px; left: 10px;  }
.tarot-dot.br { bottom: 13px; right: 10px; }
 
.tarot-symbol {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    color: rgba(255, 210, 90, 0.55);
    text-shadow: 0 0 14px rgba(255, 170, 30, 0.5);
    z-index: 2;
}
 
/* ===== Posisi 30 kartu ===== */
 
/* Tepi kiri */
.tc1  { top: 2%;    left: 1%;    animation: tf1  14s ease-in-out infinite; }
.tc2  { top: 26%;   left: 0.5%;  animation: tf2  19s ease-in-out infinite; animation-delay: -4s; }
.tc3  { top: 53%;   left: 1%;    animation: tf3  16s ease-in-out infinite; animation-delay: -8s; }
.tc4  { bottom: 3%; left: 2%;    animation: tf4  21s ease-in-out infinite; animation-delay: -12s; }
 
/* Tepi kanan */
.tc5  { top: 2%;    right: 1%;   animation: tf5  13s ease-in-out infinite; animation-delay: -2s; }
.tc6  { top: 28%;   right: 0.5%; animation: tf6  18s ease-in-out infinite; animation-delay: -6s; }
.tc7  { top: 55%;   right: 1%;   animation: tf7  20s ease-in-out infinite; animation-delay: -10s; }
.tc8  { bottom: 3%; right: 2%;   animation: tf8  15s ease-in-out infinite; animation-delay: -7s; }
 
/* Kolom kiri 2 */
.tc9  { top: 2%;    left: 11%;   animation: tf9  23s ease-in-out infinite; animation-delay: -3s;  opacity: .7; }
.tc10 { top: 27%;   left: 10%;   animation: tf10 26s ease-in-out infinite; animation-delay: -9s;  opacity: .65; }
.tc11 { top: 54%;   left: 11%;   animation: tf11 22s ease-in-out infinite; animation-delay: -15s; opacity: .65; }
.tc12 { bottom: 3%; left: 12%;   animation: tf12 17s ease-in-out infinite; animation-delay: -5s;  opacity: .7; }
 
/* Kolom kanan 2 */
.tc13 { top: 2%;    right: 11%;  animation: tf13 20s ease-in-out infinite; animation-delay: -7s;  opacity: .7; }
.tc14 { top: 29%;   right: 10%;  animation: tf14 25s ease-in-out infinite; animation-delay: -11s; opacity: .65; }
.tc15 { top: 56%;   right: 11%;  animation: tf15 18s ease-in-out infinite; animation-delay: -3s;  opacity: .65; }
.tc16 { bottom: 3%; right: 12%;  animation: tf16 24s ease-in-out infinite; animation-delay: -14s; opacity: .7; }
 
/* Kolom kiri 3 — dekat form */
.tc17 { top: 3%;    left: 22%;   animation: tf17 28s ease-in-out infinite; animation-delay: -6s;  opacity: .45; }
.tc18 { top: 30%;   left: 20%;   animation: tf18 30s ease-in-out infinite; animation-delay: -16s; opacity: .4; }
.tc19 { top: 57%;   left: 21%;   animation: tf19 27s ease-in-out infinite; animation-delay: -9s;  opacity: .4; }
.tc20 { bottom: 3%; left: 23%;   animation: tf20 29s ease-in-out infinite; animation-delay: -4s;  opacity: .45; }
 
/* Kolom kanan 3 — dekat form */
.tc21 { top: 3%;    right: 22%;  animation: tf21 26s ease-in-out infinite; animation-delay: -13s; opacity: .45; }
.tc22 { top: 32%;   right: 20%;  animation: tf22 31s ease-in-out infinite; animation-delay: -7s;  opacity: .4; }
.tc23 { top: 58%;   right: 21%;  animation: tf23 28s ease-in-out infinite; animation-delay: -18s; opacity: .4; }
.tc24 { bottom: 3%; right: 23%;  animation: tf24 25s ease-in-out infinite; animation-delay: -11s; opacity: .45; }
 
/* Atas & bawah tengah — mengisi gap */
.tc25 { top: 2%;    left: 34%;   animation: tf25 32s ease-in-out infinite; animation-delay: -5s;  opacity: .3; }
.tc26 { top: 2%;    right: 34%;  animation: tf26 29s ease-in-out infinite; animation-delay: -20s; opacity: .3; }
.tc27 { bottom: 3%; left: 34%;   animation: tf27 33s ease-in-out infinite; animation-delay: -8s;  opacity: .3; }
.tc28 { bottom: 3%; right: 34%;  animation: tf28 27s ease-in-out infinite; animation-delay: -17s; opacity: .3; }
.tc29 { top: 50%;   left: 32%;   animation: tf29 35s ease-in-out infinite; animation-delay: -22s; opacity: .25; }
.tc30 { top: 50%;   right: 32%;  animation: tf30 34s ease-in-out infinite; animation-delay: -10s; opacity: .25; }
 
/* ===== Keyframes ===== */
@keyframes tf1  { 0%,100%{transform:translateY(0) rotate(-14deg);}  50%{transform:translateY(-22px) rotate(-8deg);} }
@keyframes tf2  { 0%,100%{transform:translateY(0) rotate(20deg);}   50%{transform:translateY(-16px) rotate(14deg);} }
@keyframes tf3  { 0%,100%{transform:translateY(0) rotate(8deg);}    50%{transform:translateY(-20px) rotate(13deg);} }
@keyframes tf4  { 0%,100%{transform:translateY(0) rotate(-5deg);}   50%{transform:translateY(-18px) rotate(-11deg);} }
@keyframes tf5  { 0%,100%{transform:translateY(0) rotate(16deg);}   50%{transform:translateY(-26px) rotate(10deg);} }
@keyframes tf6  { 0%,100%{transform:translateY(0) rotate(-19deg);}  50%{transform:translateY(-18px) rotate(-12deg);} }
@keyframes tf7  { 0%,100%{transform:translateY(0) rotate(-9deg);}   50%{transform:translateY(-22px) rotate(-15deg);} }
@keyframes tf8  { 0%,100%{transform:translateY(0) rotate(6deg);}    50%{transform:translateY(-19px) rotate(12deg);} }
@keyframes tf9  { 0%,100%{transform:translateY(0) scale(.82) rotate(-25deg);} 50%{transform:translateY(-14px) scale(.82) rotate(-18deg);} }
@keyframes tf10 { 0%,100%{transform:translateY(0) scale(.78) rotate(18deg);}  50%{transform:translateY(-12px) scale(.78) rotate(11deg);} }
@keyframes tf11 { 0%,100%{transform:translateY(0) scale(.8)  rotate(-8deg);}  50%{transform:translateY(-15px) scale(.8)  rotate(-14deg);} }
@keyframes tf12 { 0%,100%{transform:translateY(0) scale(.75) rotate(28deg);}  50%{transform:translateY(-13px) scale(.75) rotate(20deg);} }
@keyframes tf13 { 0%,100%{transform:translateY(0) scale(.8)  rotate(-22deg);} 50%{transform:translateY(-14px) scale(.8)  rotate(-15deg);} }
@keyframes tf14 { 0%,100%{transform:translateY(0) scale(.77) rotate(10deg);}  50%{transform:translateY(-12px) scale(.77) rotate(16deg);} }
@keyframes tf15 { 0%,100%{transform:translateY(0) scale(.79) rotate(-30deg);} 50%{transform:translateY(-13px) scale(.79) rotate(-22deg);} }
@keyframes tf16 { 0%,100%{transform:translateY(0) scale(.76) rotate(15deg);}  50%{transform:translateY(-11px) scale(.76) rotate(8deg);} }
@keyframes tf17 { 0%,100%{transform:translateY(0) scale(.62) rotate(-30deg);} 50%{transform:translateY(-10px) scale(.62) rotate(-22deg);} }
@keyframes tf18 { 0%,100%{transform:translateY(0) scale(.58) rotate(25deg);}  50%{transform:translateY(-9px)  scale(.58) rotate(17deg);} }
@keyframes tf19 { 0%,100%{transform:translateY(0) scale(.6)  rotate(-15deg);} 50%{transform:translateY(-8px)  scale(.6)  rotate(-8deg);} }
@keyframes tf20 { 0%,100%{transform:translateY(0) scale(.63) rotate(32deg);}  50%{transform:translateY(-10px) scale(.63) rotate(24deg);} }
@keyframes tf21 { 0%,100%{transform:translateY(0) scale(.61) rotate(-5deg);}  50%{transform:translateY(-9px)  scale(.61) rotate(-12deg);} }
@keyframes tf22 { 0%,100%{transform:translateY(0) scale(.59) rotate(18deg);}  50%{transform:translateY(-8px)  scale(.59) rotate(11deg);} }
@keyframes tf23 { 0%,100%{transform:translateY(0) scale(.62) rotate(-28deg);} 50%{transform:translateY(-10px) scale(.62) rotate(-20deg);} }
@keyframes tf24 { 0%,100%{transform:translateY(0) scale(.6)  rotate(12deg);}  50%{transform:translateY(-9px)  scale(.6)  rotate(6deg);} }
@keyframes tf25 { 0%,100%{transform:translateY(0) scale(.5)  rotate(-20deg);} 50%{transform:translateY(-7px)  scale(.5)  rotate(-12deg);} }
@keyframes tf26 { 0%,100%{transform:translateY(0) scale(.48) rotate(22deg);}  50%{transform:translateY(-6px)  scale(.48) rotate(14deg);} }
@keyframes tf27 { 0%,100%{transform:translateY(0) scale(.52) rotate(-8deg);}  50%{transform:translateY(-8px)  scale(.52) rotate(-15deg);} }
@keyframes tf28 { 0%,100%{transform:translateY(0) scale(.49) rotate(16deg);}  50%{transform:translateY(-7px)  scale(.49) rotate(9deg);} }
@keyframes tf29 { 0%,100%{transform:translateY(0) scale(.45) rotate(-35deg);} 50%{transform:translateY(-6px)  scale(.45) rotate(-26deg);} }
@keyframes tf30 { 0%,100%{transform:translateY(0) scale(.47) rotate(30deg);}  50%{transform:translateY(-5px)  scale(.47) rotate(21deg);} }
 
/* Responsive */
@media (max-width: 480px) {
    .tarot-card { width: 56px; height: 90px; }
    .tarot-symbol { font-size: 22px; }
    .tc17, .tc18, .tc19, .tc20,
    .tc21, .tc22, .tc23, .tc24,
    .tc25, .tc26, .tc27, .tc28,
    .tc29, .tc30 { display: none; }
}

