
body { font-family: 'Inter', sans-serif; }
.gradient-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.tab-active { border-bottom: 3px solid #7c3aed; background-color: #f8fafc; }

/* Exciting Hero Background */
.hero-bg {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #f093fb 100%);
    position: relative;
    overflow: hidden;
}
        
.hero-bg::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="confetti" x="0" y="0" width="20" height="20" patternUnits="userSpaceOnUse"><circle cx="2" cy="2" r="1" fill="%23FFD700" opacity="0.8"><animate attributeName="opacity" values="0.8;0.3;0.8" dur="3s" repeatCount="indefinite"/></circle><rect x="8" y="8" width="2" height="2" fill="%23FF6B6B" opacity="0.7" transform="rotate(45)"><animate attributeName="opacity" values="0.7;0.2;0.7" dur="2.5s" repeatCount="indefinite"/></rect><polygon points="15,15 17,17 15,19 13,17" fill="%234ECDC4" opacity="0.6"><animate attributeName="opacity" values="0.6;0.1;0.6" dur="4s" repeatCount="indefinite"/></polygon></pattern></defs><rect width="100" height="100" fill="url(%23confetti)"/></svg>') repeat;
    opacity: 0.3;
    animation: float 20s ease-in-out infinite;
}
        
.hero-bg::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: sparkle 15s linear infinite;
}
        
@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}
        
@keyframes sparkle {
    0% { transform: rotate(0deg) scale(1); }
    100% { transform: rotate(360deg) scale(1.1); }
}
        
.hero-content {
    position: relative;
    z-index: 10;
}
        
/* Floating Icons Animation */
.floating-icon {
    position: absolute;
    font-size: 2rem;
    opacity: 0.2;
    animation: floatIcon 8s ease-in-out infinite;
    z-index: 5;
}
        
.floating-icon:nth-child(1) { top: 20%; left: 10%; animation-delay: 0s; }
.floating-icon:nth-child(2) { top: 30%; right: 15%; animation-delay: 2s; }
.floating-icon:nth-child(3) { bottom: 25%; left: 20%; animation-delay: 4s; }
.floating-icon:nth-child(4) { bottom: 35%; right: 10%; animation-delay: 6s; }
.floating-icon:nth-child(5) { top: 50%; left: 5%; animation-delay: 1s; }
.floating-icon:nth-child(6) { top: 60%; right: 8%; animation-delay: 3s; }
        
@keyframes floatIcon {
    0%, 100% { transform: translateY(0px) rotate(0deg); opacity: 0.2; }
    25% { transform: translateY(-15px) rotate(90deg); opacity: 0.4; }
    50% { transform: translateY(-25px) rotate(180deg); opacity: 0.3; }
    75% { transform: translateY(-10px) rotate(270deg); opacity: 0.5; }
}
        
/* Enhanced Title Effects */
.hero-title {
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    position: relative;
}
        
.hero-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, #FFD700, #FF6B6B, #4ECDC4, #FFD700);
    border-radius: 2px;
    animation: shimmer 2s ease-in-out infinite;
}
        
@keyframes shimmer {
    0% { background-position: -200% center; }
    100% { background-position: 200% center; }
}
        
/* Pulse Animation for CTA Buttons */
.pulse-glow {
    box-shadow: 0 0 20px rgba(255, 212, 96, 0.4);
    animation: pulseGlow 2s ease-in-out infinite;
}
        
@keyframes pulseGlow {
    0%, 100% { 
        box-shadow: 0 0 20px rgba(255, 212, 96, 0.4);
        transform: scale(1);
    }
    50% { 
        box-shadow: 0 0 30px rgba(255, 212, 96, 0.8);
        transform: scale(1.05);
    }
}
.card-hover { transition: transform 0.3s ease, box-shadow 0.3s ease; }
.card-hover:hover { transform: translateY(-5px); box-shadow: 0 20px 40px rgba(0,0,0,0.1); }
.prize-glow { animation: prizeGlow 2s ease-in-out infinite alternate; }
@keyframes prizeGlow {
    from { box-shadow: 0 0 20px rgba(102, 126, 234, 0.3); }
    to { box-shadow: 0 0 30px rgba(118, 75, 162, 0.6); }
}
        
/* Demo Wheel Styles */
.demo-wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    border: 1px solid rgba(255,255,255,0.3);
}
        
.demo-wheel-text {
    position: absolute;
    left: 60%;
    top: 45%;
    font-size: 8px;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    white-space: nowrap;
    transform-origin: 0 0;
}
        
/* Mobile Frame Styles */
.mobile-frame {
    filter: drop-shadow(0 20px 40px rgba(0,0,0,0.3));
}
        
.mobile-frame::before {
    content: '';
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 6px;
    background: #333;
    border-radius: 3px;
    z-index: 20;
}
        
.mobile-frame::after {
    content: '';
    position: absolute;
    top: 35px;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 12px;
    background: #333;
    border-radius: 50%;
    z-index: 20;
}
        
.demo-prize-popup {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: white;
    padding: 2rem;
    border-radius: 1rem;
    box-shadow: 0 25px 50px rgba(0,0,0,0.3);
    z-index: 1000;
    text-align: center;
    min-width: 300px;
    transition: transform 0.3s ease;
}
        
.demo-prize-popup.show {
    transform: translate(-50%, -50%) scale(1);
}
        
.demo-confetti {
    position: fixed;
    width: 8px;
    height: 8px;
    z-index: 999;
    animation: demo-confetti-fall 3s linear forwards;
}
        
@keyframes demo-confetti-fall {
    0% { transform: translateY(-100vh) rotateZ(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotateZ(720deg); opacity: 0; }
}
        
/* Grid Game Styles */
.grid-box {
    aspect-ratio: 1;
    background: linear-gradient(135deg, #f3f4f6, #e5e7eb);
    border: 2px solid #d1d5db;
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 12px;
    font-weight: bold;
    color: #6b7280;
}
        
.grid-box:hover {
    background: linear-gradient(135deg, #e5e7eb, #d1d5db);
    transform: scale(1.05);
}
        
.grid-box.revealed {
    cursor: default;
    transform: scale(1);
}
        
.grid-box.revealed:hover {
    transform: scale(1);
}
        
.grid-box.winning {
    background: linear-gradient(135deg, #10b981, #059669);
    color: white;
    border-color: #047857;
    animation: gridWinPulse 1s ease-in-out;
}
        
.grid-box.losing {
    background: linear-gradient(135deg, #6b7280, #4b5563);
    color: white;
    border-color: #374151;
}
        
.grid-box.other-prize {
    background: linear-gradient(135deg, #3b82f6, #2563eb);
    color: white;
    border-color: #1d4ed8;
}
        
@keyframes gridWinPulse {
    0%, 100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(16, 185, 129, 0.7); }
    50% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(16, 185, 129, 0); }
}

/*=== create-event.html ===*/
.color-picker {
    width: 40px;
    height: 40px;
    border: 2px solid #e5e7eb;
    border-radius: 8px;
    cursor: pointer;
}
        
.brand-preview {
    background: linear-gradient(135deg, #f3f4f6 0%, #e5e7eb 100%);
    border: 2px dashed #d1d5db;
    transition: all 0.3s ease;
}
        
.brand-preview.has-logo {
    background: white;
    border: 2px solid #10b981;
}
        
.prize-row {
    animation: slideIn 0.3s ease-out;
}
        
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}
        
.file-drop-zone {
    transition: all 0.3s ease;
}
        
.file-drop-zone.dragover {
    background-color: #eff6ff;
    border-color: #3b82f6;
    transform: scale(1.02);
}

        
/* Spinning Wheel Styles */
.wheel-container {
    position: relative;
    width: 350px;
    height: 350px;
    margin: 0 auto;
}
        
.wheel {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 8px solid #4f46e5;
    position: relative;
    overflow: hidden;
    transition: transform 4s cubic-bezier(0.17, 0.67, 0.12, 0.99);
}
        
.wheel-segment {
    position: absolute;
    width: 50%;
    height: 50%;
    transform-origin: 100% 100%;
    border: 1px solid rgba(255,255,255,0.3);
}
        
.wheel-text {
    position: absolute;
    left: 60%;
    top: 45%;
    transform: rotate(0deg);
    font-size: 12px;
    font-weight: 600;
    color: white;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.7);
    white-space: nowrap;
}
        
.wheel-pointer {
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 20px solid transparent;
    border-right: 20px solid transparent;
    border-top: 30px solid #ef4444;
    z-index: 10;
    filter: drop-shadow(0 2px 4px rgba(0,0,0,0.3));
}
        
.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    border: 4px solid white;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 5;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}
        
.gradient-bg { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.prize-popup { animation: prizePopup 0.5s ease-out; }
@keyframes prizePopup {
    0% { transform: scale(0) rotate(180deg); opacity: 0; }
    100% { transform: scale(1) rotate(0deg); opacity: 1; }
}
        
.confetti {
    position: fixed;
    width: 10px;
    height: 10px;
    z-index: 100;
}
        
@keyframes confetti-fall {
    0% { transform: translateY(-100vh) rotateZ(0deg); opacity: 1; }
    100% { transform: translateY(100vh) rotateZ(720deg); opacity: 0; }
}