/* Would You Rather - TikTok/Instagram Vibes Theme 🎨 */

/* CSS Variables for the new color scheme */
:root {
    /* Primary Colors */
    --hot-pink: #FF3B81;
    --electric-blue: #3B82F6;
    
    /* Secondary/Accent Colors */
    --neon-purple: #A855F7;
    --lime-green: #84CC16;
    --bright-orange: #FB923C;
    
    /* Background/Neutral */
    --charcoal: #1F2937;
    --light-gray: #F9FAFB;
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, #FF3B81 0%, #A855F7 50%, #3B82F6 100%);
    --gradient-pink-purple: linear-gradient(135deg, #FF3B81 0%, #A855F7 100%);
    --gradient-blue-purple: linear-gradient(135deg, #3B82F6 0%, #A855F7 100%);
    --gradient-green-orange: linear-gradient(135deg, #84CC16 0%, #FB923C 100%);
}

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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    overflow-x: hidden;
    background: var(--charcoal);
    min-height: 100vh;
    color: white;
    background-image: 
        radial-gradient(circle at 20% 80%, rgba(255, 59, 129, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 40% 40%, rgba(168, 85, 247, 0.1) 0%, transparent 50%);
}

/* Page Management */
.page {
    display: none;
    min-height: 100vh;
    position: relative;
}

.page.active {
    display: block;
}

/* Global Loading Overlay */
#global-loading {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--charcoal);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999999;
}

#global-loading.hidden {
    display: none;
}

.loading-content {
    text-align: center;
}

.spinner {
    width: 50px;
    height: 50px;
    border: 4px solid rgba(255, 59, 129, 0.2);
    border-top: 4px solid var(--hot-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
    margin: 0 auto 20px;
}

.spinner-small {
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 59, 129, 0.2);
    border-top: 2px solid var(--hot-pink);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Cards */
.card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 28px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    border: 2px solid transparent;
    margin-bottom: 24px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--charcoal);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    border-color: var(--hot-pink);
}

.card h1, .card h2, .card h3, .card p, .card span, .card div {
    color: var(--charcoal);
}

/* Buttons */
.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 18px 32px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 18px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(255, 59, 129, 0.3);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn-primary:hover::before {
    left: 100%;
}

.btn-primary:hover:not(:disabled) {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 15px 35px rgba(255, 59, 129, 0.4);
}

.btn-primary:active:not(:disabled) {
    transform: translateY(-1px) scale(0.98);
}

.btn-primary:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.btn-secondary {
    background: var(--gradient-blue-purple);
    color: white;
    border: none;
    padding: 16px 28px;
    border-radius: 14px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    box-shadow: 0 6px 20px rgba(59, 130, 246, 0.3);
}

.btn-secondary:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.4);
}

.btn-add-option {
    background: var(--gradient-green-orange);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 15px rgba(132, 204, 22, 0.3);
}

.btn-add-option:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(132, 204, 22, 0.4);
}

/* Special Button Sizes */
.btn-huge {
    padding: 24px 40px;
    font-size: 20px;
    border-radius: 20px;
}

.btn-big {
    padding: 20px 36px;
    font-size: 18px;
    border-radius: 18px;
}

/* Input Fields */
input[type="text"], input[type="email"], select, textarea {
    width: 100%;
    padding: 16px 20px;
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: white;
    color: var(--charcoal);
}

input[type="text"]:focus, input[type="email"]:focus, select:focus, textarea:focus {
    outline: none;
    border-color: var(--hot-pink);
    box-shadow: 0 0 0 3px rgba(255, 59, 129, 0.1);
    transform: translateY(-1px);
}

/* Error Messages */
.error-message {
    color: #EF4444;
    font-size: 14px;
    margin-top: 8px;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

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

/* Progress Bar */
.progress-container {
    background: #E5E7EB;
    border-radius: 8px;
    height: 6px;
    overflow: hidden;
    margin: 12px 0;
}

.progress-bar {
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 8px;
    transition: width 0.3s ease;
    position: relative;
}

.progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: shimmer 2s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Question Cards */
.question-card {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 24px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.question-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.question-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--neon-purple);
}

/* Single Question Card */
.question-card-single {
    background: var(--light-gray);
    border-radius: 20px;
    padding: 28px;
    margin-bottom: 20px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
    border: 2px solid transparent;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.question-card-single::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 20px 20px 0 0;
}

.question-card-single:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    border-color: var(--neon-purple);
}

.question-header {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 24px;
    text-align: center;
}

.question-content {
    margin-top: 20px;
}

.question-number {
    background: var(--gradient-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(255, 59, 129, 0.3);
}

.question-text {
    font-size: 24px;
    font-weight: 800;
    color: var(--charcoal);
    line-height: 1.3;
    text-align: center;
    width: 100%;
}

/* Options */
.options-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.option-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border: 2px solid #E5E7EB;
    border-radius: 14px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.option-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
    border-color: var(--electric-blue);
}

.option-item.selected {
    background: var(--gradient-pink-purple);
    color: white;
    border-color: var(--hot-pink);
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 59, 129, 0.3);
}

.option-item.incorrect {
    background: #FEE2E2;
    border-color: #EF4444;
    color: #DC2626;
}

.option-radio {
    width: 20px;
    height: 20px;
    border: 2px solid #D1D5DB;
    border-radius: 50%;
    margin-right: 16px;
    transition: all 0.3s ease;
    position: relative;
}

.option-item.selected .option-radio {
    background: white;
    border-color: white;
}

.option-item.selected .option-radio::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 8px;
    height: 8px;
    background: var(--hot-pink);
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.option-text {
    flex: 1;
    font-size: 16px;
    font-weight: 500;
    color: var(--charcoal);
}

.option-item.selected .option-text {
    color: white;
}

/* Single Card Quiz Layout */
.single-question-container {
    position: relative;
    margin-bottom: 80px; /* Space for dice button */
}

.options-split {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: 24px;
    align-items: center;
}

.option-half {
    background: white;
    border: 3px solid #E5E7EB;
    border-radius: 20px;
    padding: 32px 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    text-align: center;
    min-height: 120px;
    width: 100%;
    max-width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 0;
}

.option-half:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    border-color: var(--electric-blue);
}

.option-half.selected {
    background: var(--gradient-pink-purple);
    color: white;
    border-color: var(--hot-pink);
    transform: translateY(-4px) scale(1.05);
    box-shadow: 0 20px 40px rgba(255, 59, 129, 0.4);
}

.option-half.incorrect {
    background: #FEE2E2;
    border-color: #EF4444;
    color: #DC2626;
}

.option-half.disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.or-divider {
    text-align: center;
    font-weight: 700;
    font-size: 18px;
    color: var(--neon-purple);
    background: var(--light-gray);
    padding: 8px 16px;
    border-radius: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0;
    box-shadow: 0 4px 15px rgba(168, 85, 247, 0.3);
    border: 2px solid white;
    width: fit-content;
}

.option-text {
    font-size: 20px;
    font-weight: 600;
    line-height: 1.3;
}

/* Dice Container and Button */
.dice-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 1000;
}

#dice-btn {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    color: white;
    font-size: 24px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 8px 25px rgba(255, 59, 129, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
}

#dice-btn:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: 0 15px 35px rgba(255, 59, 129, 0.5);
}

#dice-btn.clicked {
    animation: diceRoll 0.6s ease-in-out;
}

@keyframes diceRoll {
    0%, 100% { transform: rotate(0deg) scale(1); }
    25% { transform: rotate(90deg) scale(1.1); }
    50% { transform: rotate(180deg) scale(1.2); }
    75% { transform: rotate(270deg) scale(1.1); }
}

/* Step Numbers */
.step-number {
    background: var(--gradient-primary);
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    box-shadow: 0 4px 15px rgba(255, 59, 129, 0.3);
    flex-shrink: 0;
}

/* Creator Name Highlight */
.creator-name-highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Leaderboard */
.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    background: white;
    border-radius: 14px;
    margin-bottom: 12px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    gap: 12px;
}

.leaderboard-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
}

.leaderboard-rank {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 18px;
    margin-right: 16px;
    color: white;
}

.rank-1 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.4);
}

.rank-2 {
    background: linear-gradient(135deg, #C0C0C0 0%, #A0A0A0 100%);
    box-shadow: 0 4px 15px rgba(192, 192, 192, 0.4);
}

.rank-3 {
    background: linear-gradient(135deg, #CD7F32 0%, #B8860B 100%);
    box-shadow: 0 4px 15px rgba(205, 127, 50, 0.4);
}

.leaderboard-name {
    flex: 1;
    font-weight: 600;
    color: var(--charcoal);
    font-size: 16px;
}

.leaderboard-score {
    font-weight: 700;
    color: var(--hot-pink);
    font-size: 18px;
}

.leaderboard-view-btn {
    background: linear-gradient(135deg, var(--electric-blue) 0%, var(--neon-purple) 100%);
    color: white;
    border: none;
    border-radius: 20px;
    padding: 8px 16px;
    font-size: 12px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-left: auto;
    white-space: nowrap;
}

.leaderboard-view-btn:hover {
    transform: translateY(-2px) scale(1.05);
    box-shadow: 0 4px 15px rgba(59, 130, 246, 0.4);
}

/* Answer Modal Styles */
.answer-item {
    background: white;
    border-radius: 12px;
    padding: 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    border-left: 4px solid var(--electric-blue);
}

.answer-item.correct {
    border-left-color: #10B981;
    background: linear-gradient(135deg, #F0FDF4 0%, #ECFDF5 100%);
}

.answer-item.incorrect {
    border-left-color: #EF4444;
    background: linear-gradient(135deg, #FEF2F2 0%, #FEE2E2 100%);
}

.answer-question {
    font-weight: 600;
    color: var(--charcoal);
    margin-bottom: 8px;
    font-size: 16px;
}

.answer-selected {
    color: var(--hot-pink);
    font-weight: 500;
    margin-bottom: 4px;
}

.answer-correct {
    color: #10B981;
    font-weight: 500;
    font-size: 14px;
}

/* Modal Styles */
.modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    backdrop-filter: blur(4px);
}

.modal.hidden {
    display: none;
}

.modal-content {
    background: white;
    border-radius: 20px;
    max-width: 90%;
    max-height: 80%;
    width: 500px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    animation: modalSlideIn 0.3s ease-out;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.modal-header {
    background: linear-gradient(135deg, var(--hot-pink) 0%, var(--neon-purple) 100%);
    color: white;
    padding: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header h3 {
    margin: 0;
    font-size: 20px;
    font-weight: 700;
}

.modal-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    transition: all 0.3s ease;
}

.modal-close:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.1);
}

.modal-body {
    padding: 20px;
    max-height: 400px;
    overflow-y: auto;
}

/* Share Buttons */
.share-btn {
    padding: 16px 24px;
    border-radius: 16px;
    font-weight: 700;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    border: none;
    margin-bottom: 12px;
    width: 100%;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.share-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.share-btn:hover::before {
    left: 100%;
}

.share-btn.whatsapp {
    background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(37, 211, 102, 0.3);
}

.share-btn.messenger {
    background: linear-gradient(135deg, #006AFF 0%, #0047AB 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 106, 255, 0.3);
}

.share-btn.facebook {
    background: linear-gradient(135deg, #1877F2 0%, #0D47A1 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(24, 119, 242, 0.3);
}

.share-btn.twitter {
    background: linear-gradient(135deg, #1DA1F2 0%, #0D47A1 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(29, 161, 242, 0.3);
}

.share-btn.instagram {
    background: linear-gradient(45deg, #F58529 0%, #DD2A7B 50%, #8134AF 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(221, 42, 123, 0.3);
}

.share-btn.snapchat {
    background: linear-gradient(135deg, #FFFC00 0%, #FFD700 100%);
    color: #000;
    box-shadow: 0 6px 20px rgba(255, 252, 0, 0.3);
}

.share-btn.tiktok {
    background: linear-gradient(135deg, #000 0%, #333 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.share-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.2);
}

/* Action Buttons */
.action-btn {
    padding: 14px 24px;
    border-radius: 12px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    display: flex;
    align-items: center;
    gap: 8px;
}

.action-btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: 0 6px 20px rgba(255, 59, 129, 0.3);
}

.action-btn.danger {
    background: linear-gradient(135deg, #EF4444 0%, #DC2626 100%);
    color: white;
    box-shadow: 0 6px 20px rgba(239, 68, 68, 0.3);
}

.action-btn:hover {
    transform: translateY(-2px);
}

/* Final Card */
.final-card {
    text-align: center;
    padding: 40px 20px;
}

.final-card h3 {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 16px;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.final-card p {
    font-size: 18px;
    color: var(--charcoal);
    margin-bottom: 32px;
    line-height: 1.5;
}

.final-actions {
    display: flex;
    gap: 16px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Confetti Animation */
@keyframes confetti-fall {
    0% {
        transform: translateY(-100vh) rotate(0deg);
        opacity: 1;
    }
    100% {
        transform: translateY(100vh) rotate(720deg);
        opacity: 0;
    }
}

.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    background: var(--hot-pink);
    animation: confetti-fall 3s linear infinite;
    z-index: 1000;
}

/* Responsive Design */
@media (max-width: 768px) {
    .card {
        padding: 20px;
        margin-bottom: 16px;
    }
    
    .btn-primary {
        padding: 16px 24px;
        font-size: 16px;
    }
    
    .option-half {
        padding: 20px;
        min-height: 70px;
    }
    
    .option-text {
        font-size: 16px;
    }
    
    .final-actions {
        flex-direction: column;
    align-items: center;
}

    #dice-btn {
        width: 50px;
        height: 50px;
        font-size: 20px;
        bottom: 20px;
        right: 20px;
    }
}

/* Micro-animations */
@keyframes bounce {
    0%, 20%, 53%, 80%, 100% {
        transform: translate3d(0,0,0);
    }
    40%, 43% {
        transform: translate3d(0, -8px, 0);
    }
    70% {
        transform: translate3d(0, -4px, 0);
    }
    90% {
        transform: translate3d(0, -2px, 0);
    }
}

.bounce {
    animation: bounce 1s;
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

.pulse {
    animation: pulse 2s infinite;
}

/* Loading States */
.btn-loading {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-loading.hidden {
    display: none;
}

/* Utility Classes */
.text-center { text-align: center; }
.hidden { display: none !important; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-center { justify-content: center; }
.gap-2 { gap: 8px; }
.gap-4 { gap: 16px; }
.mb-4 { margin-bottom: 16px; }
.mb-6 { margin-bottom: 24px; }
.mb-8 { margin-bottom: 32px; }
.mt-4 { margin-top: 16px; }
.mt-6 { margin-top: 24px; }
.mt-8 { margin-top: 32px; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.relative { position: relative; }
.absolute { position: absolute; }
.fixed { position: fixed; }
.z-10 { z-index: 10; }
.z-50 { z-index: 50; }
.z-1000 { z-index: 1000; }
.overflow-hidden { overflow: hidden; }
.rounded-lg { border-radius: 8px; }
.rounded-xl { border-radius: 12px; }
.rounded-2xl { border-radius: 16px; }
.shadow-lg { box-shadow: 0 10px 15px -3px rgba(0, 0, 0, 0.1); }
.shadow-xl { box-shadow: 0 20px 25px -5px rgba(0, 0, 0, 0.1); }