/* Common Styles */
:root {
    --primary-color: #4A90E2;
    --secondary-color: #FF9500;
    --success-color: #4CD964;
    --error-color: #FF6B9D;
    --bg-gradient: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --card-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    --card-shadow-hover: 0 8px 24px rgba(0, 0, 0, 0.15);
}

body {
    background: var(--bg-gradient);
    min-height: 100vh;
    display: flex;
    align-items: flex-start;
    justify-content: center;
    overflow-x: hidden;
}

#app {
    width: 100%;
    max-width: 800px;
    min-height: 100vh;
    background: white;
    position: relative;
    overflow-x: hidden;
}

/* Canvas for fireworks */
#fireworks-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 9999;
}

/* Common Button Styles */
.btn {
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 20px;
    font-weight: bold;
    color: white;
    transition: all 0.3s ease;
    box-shadow: var(--card-shadow);
    cursor: pointer;
    user-select: none;
}

.btn:active {
    transform: scale(0.95);
}

.btn-primary {
    background: var(--primary-color);
}

.btn-secondary {
    background: var(--secondary-color);
}

.btn-success {
    background: var(--success-color);
}

.btn:hover {
    box-shadow: var(--card-shadow-hover);
    transform: translateY(-2px);
}

/* Page Container */
.page {
    padding: 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.page-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 30px;
    padding-bottom: 20px;
    border-bottom: 2px solid #f0f0f0;
}

.back-btn {
    font-size: 24px;
    color: var(--primary-color);
    padding: 8px;
    transition: transform 0.3s ease;
}

.back-btn:active {
    transform: scale(0.9);
}

.page-title {
    font-size: 28px;
    font-weight: bold;
    color: #333;
    flex: 1;
    text-align: center;
}

/* Loading */
.loading {
    text-align: center;
    padding: 60px 20px;
    font-size: 18px;
    color: #999;
}

/* Responsive */
@media (max-width: 600px) {
    .page-title {
        font-size: 24px;
    }
    
    .btn {
        padding: 14px 28px;
        font-size: 18px;
    }
}
