* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background: linear-gradient(180deg, #E0F0FB 0%, #F0F7FD 40%, #E8F3FC 70%, #D8EBF9 100%);
    background-size: 200% 200%;
    animation: gradientFlow 15s ease infinite;
    min-height: 100vh;
    color: #FFFFFF;
    overflow-x: hidden;
    position: relative;
}

@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.wave-container {
    position: fixed;
    bottom: 70px;
    left: 0;
    right: 0;
    height: 120px;
    pointer-events: none;
    z-index: 0;
    overflow: hidden;
}

.wave {
    position: absolute;
    width: 200%;
    height: 100%;
    animation: waveMove 8s ease-in-out infinite;
}

.wave svg {
    width: 100%;
    height: 100%;
}

.wave-1 {
    bottom: 0;
    opacity: 0.25;
    animation-duration: 8s;
}

.wave-2 {
    bottom: 10px;
    opacity: 0.2;
    animation-duration: 10s;
    animation-delay: -2s;
}

.wave-3 {
    bottom: 20px;
    opacity: 0.15;
    animation-duration: 12s;
    animation-delay: -4s;
}

@keyframes waveMove {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-25%); }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #E0F0FB 0%, #F0F7FD 40%, #E8F3FC 70%, #D8EBF9 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 99999;
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.loading-screen.hidden {
    opacity: 0;
    transform: translateY(-100%);
    pointer-events: none;
}

.loading-content {
    text-align: center;
    padding: 40px 30px;
    max-width: 320px;
}

.loading-logo {
    width: 80px;
    height: 80px;
    margin: 0 auto 30px;
    display: block;
    border-radius: 50%;
    animation: logoBounce 2s ease-in-out infinite;
}

@keyframes logoBounce {
    0%, 100% { transform: translateY(0) scale(1); }
    50% { transform: translateY(-15px) scale(1.05); }
}

.loading-title {
    font-size: 22px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 3px;
}

.loading-title .char {
    opacity: 0;
    transform: translateY(15px);
    display: inline-block;
    animation: charFadeIn 0.4s ease forwards;
}

.loading-title .char:nth-child(1) { animation-delay: 0.1s; }
.loading-title .char:nth-child(2) { animation-delay: 0.15s; }
.loading-title .char:nth-child(3) { animation-delay: 0.2s; }
.loading-title .char:nth-child(4) { animation-delay: 0.25s; }
.loading-title .char:nth-child(5) { animation-delay: 0.3s; }
.loading-title .char:nth-child(6) { animation-delay: 0.35s; }
.loading-title .char:nth-child(7) { animation-delay: 0.4s; }
.loading-title .char:nth-child(8) { animation-delay: 0.45s; }

@keyframes charFadeIn {
    from { opacity: 0; transform: translateY(15px); }
    to { opacity: 1; transform: translateY(0); }
}

.loading-subtitle {
    font-size: 13px;
    color: #95A5A6;
    margin-bottom: 40px;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.6s forwards;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.loading-progress-container {
    width: 100%;
    height: 6px;
    background: rgba(74, 144, 226, 0.15);
    border-radius: 3px;
    margin-bottom: 15px;
    overflow: hidden;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.8s forwards;
}

.loading-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4A90E2, #7CB8E8, #A8D4F0);
    border-radius: 3px;
    width: 0%;
    transition: width 0.3s ease;
    position: relative;
}

.loading-progress-bar::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

.loading-percent {
    font-size: 14px;
    font-weight: 600;
    color: #4A90E2;
    opacity: 0;
    animation: fadeIn 0.5s ease 0.8s forwards;
}

.tab-container {
    position: relative;
    z-index: 1;
    max-width: 480px;
    margin: 0 auto;
    padding-bottom: 80px;
}

.tab-content {
    display: none;
    animation: fadeIn 0.3s ease;
}

.tab-content.active {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 15px;
}

.header-logo {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-right: 12px;
}

.header-title {
    flex: 1;
    font-size: 17px;
    font-weight: 600;
    color: #2C3E50;
}

.header-badge {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 12px;
    font-size: 12px;
    color: #4A90E2;
}

/* Main Card */
.main-card {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 50%, #2980B9 100%);
    border-radius: 24px;
    padding: 25px;
    margin: 0 15px 20px;
    position: relative;
    overflow: hidden;
}

.main-card::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 200px;
    height: 200px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 50%;
}

.main-card-badge {
    display: inline-block;
    padding: 5px 15px;
    background: rgba(255, 255, 255, 0.25);
    border-radius: 15px;
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 15px;
}

.main-card-title {
    font-size: 28px;
    font-weight: 700;
    color: #FFFFFF;
    line-height: 1.3;
    margin-bottom: 10px;
}

.main-card-desc {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 20px;
}

.main-card-actions {
    display: flex;
    gap: 12px;
    margin-bottom: 20px;
}

.btn-primary {
    flex: 1;
    padding: 16px 24px;
    min-height: 48px;
    background: #FFFFFF;
    color: #4A90E2;
    border-radius: 25px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-primary:hover,
.btn-primary:active {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

.btn-primary:active {
    transform: translateY(-1px);
    box-shadow: 0 3px 10px rgba(74, 144, 226, 0.3);
}

.btn-secondary {
    flex: 1;
    padding: 16px 24px;
    min-height: 48px;
    background: rgba(255, 255, 255, 0.2);
    color: #FFFFFF;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    touch-action: manipulation;
    -webkit-tap-highlight-color: transparent;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.main-sprite {
    position: absolute;
    right: 15px;
    bottom: -10px;
    font-size: 100px;
    opacity: 0.25;
    transform: rotate(15deg);
}

/* Assistant Card */
.assistant-card {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F8FF 100%);
    border-radius: 24px;
    padding: 20px;
    margin: 0 15px 20px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1);
}

.assistant-avatar {
    width: 55px;
    height: 55px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 28px;
    flex-shrink: 0;
    animation: float 3s ease-in-out infinite;
}

.assistant-content {
    flex: 1;
}

.assistant-title {
    font-size: 15px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
}

.assistant-desc {
    font-size: 13px;
    color: #7F8C8D;
    line-height: 1.5;
}

/* Hero Section */
.hero-section {
    padding: 30px 15px 20px;
    text-align: center;
}

.hero-sprite {
    margin-bottom: 20px;
}

.sprite-body {
    width: 100px;
    height: 100px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 50%;
    position: relative;
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

.sprite-body.small {
    width: 60px;
    height: 60px;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.sprite-face {
    position: absolute;
    top: 25%;
    left: 50%;
    transform: translateX(-50%);
    width: 60%;
}

.sprite-eye {
    width: 12px;
    height: 12px;
    background: #FFFFFF;
    border-radius: 50%;
    position: absolute;
    top: 0;
}

.sprite-eye-left { left: 15%; }
.sprite-eye-right { right: 15%; }

.sprite-eye::after {
    content: '';
    position: absolute;
    width: 6px;
    height: 6px;
    background: #2C3E50;
    border-radius: 50%;
    top: 3px;
    left: 3px;
}

.sprite-mouth {
    width: 20px;
    height: 10px;
    border-bottom: 3px solid #FFFFFF;
    border-radius: 0 0 10px 10px;
    position: absolute;
    bottom: -15px;
    left: 50%;
    transform: translateX(-50%);
}

.sprite-body-inner {
    position: absolute;
    top: 60%;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: rgba(255,255,255,0.3);
    border-radius: 5px;
}

.sprite-arm {
    width: 15px;
    height: 30px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 8px;
    position: absolute;
    top: 40%;
}

.sprite-arm-left { left: -10px; transform: rotate(-20deg); }
.sprite-arm-right { right: -10px; transform: rotate(20deg); }

.hero-title {
    font-size: 24px;
    font-weight: 700;
    color: #2C3E50;
    margin-bottom: 8px;
}

.hero-subtitle {
    font-size: 14px;
    color: #7F8C8D;
    margin-bottom: 20px;
}

.hero-counter {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 20px;
}

.counter-label {
    font-size: 13px;
    color: #7F8C8D;
}

.counter-value {
    font-size: 18px;
    font-weight: 700;
    color: #4A90E2;
}

/* Data Cards */
.data-cards {
    display: flex;
    gap: 12px;
    padding: 0 15px 20px;
}

.data-card {
    flex: 1;
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px 12px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.data-value {
    font-size: 26px;
    font-weight: 700;
    color: #4A90E2;
}

.data-unit {
    font-size: 13px;
    color: #95A5A6;
}

.data-label {
    font-size: 11px;
    color: #7F8C8D;
    margin-top: 4px;
}

/* Quick Actions */
.quick-actions {
    padding: 20px 15px;
}

.section-title {
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.action-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.action-card {
    background: #FFFFFF;
    border-radius: 16px;
    padding: 18px 10px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
}

.action-icon {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 12px;
    margin-bottom: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.action-name {
    font-size: 13px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 3px;
}

.action-desc {
    font-size: 10px;
    color: #7F8C8D;
}

/* Page Header */
.page-header {
    display: flex;
    align-items: center;
    padding: 15px 15px 10px;
    background: #FFFFFF;
    margin-bottom: 15px;
}

.back-btn {
    width: 36px;
    height: 36px;
    background: #F5F5F5;
    border-radius: 50%;
    border: none;
    font-size: 18px;
    color: #2C3E50;
    cursor: pointer;
    transition: all 0.3s ease;
}

.back-btn:hover {
    background: #E8E8E8;
}

.page-title {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-left: 15px;
}

.header-badge {
    padding: 5px 12px;
    background: rgba(74, 144, 226, 0.1);
    border-radius: 12px;
    font-size: 12px;
    color: #4A90E2;
}

/* Map Section */
.map-container {
    background: white;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    margin: 0 15px 20px;
    position: relative;
}

.map-bg {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 400px;
    object-fit: contain;
    display: block;
    margin: 0 auto;
}

.map-points {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.map-points .map-point {
    pointer-events: auto;
}

.map-point {
    position: absolute;
    width: 40px;
    height: 40px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 16px;
}

.map-point:hover,
.map-point.active {
    transform: scale(1.1);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.4);
}

/* Points List Styles */
.points-list {
    margin: 0 15px 20px;
}

.list-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.list-title {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0;
}

.list-count {
    font-size: 13px;
    color: #95A5A6;
}

.points-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.point-card {
    display: flex;
    align-items: center;
    background: white;
    border-radius: 16px;
    padding: 15px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.point-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(74, 144, 226, 0.15);
    border-color: rgba(74, 144, 226, 0.2);
}

.point-card-icon {
    width: 56px;
    height: 56px;
    border-radius: 14px;
    overflow: hidden;
    flex-shrink: 0;
    margin-right: 14px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
}

.point-card-icon img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.point-card-info {
    flex: 1;
    min-width: 0;
}

.point-card-name {
    font-size: 15px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 4px 0;
}

.point-card-desc {
    font-size: 12px;
    color: #95A5A6;
    margin: 0;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.point-card-btn {
    padding: 10px 20px;
    background: linear-gradient(135deg, #4A90E2 0%, #7CB8E8 100%);
    border: none;
    border-radius: 20px;
    color: white;
    font-size: 13px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    flex-shrink: 0;
    box-shadow: 0 4px 12px rgba(74, 144, 226, 0.3);
}

.point-card-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 16px rgba(74, 144, 226, 0.4);
}

.point-card-btn.disabled {
    background: #F5F5F5;
    color: #BDC3C7;
    box-shadow: none;
    cursor: not-allowed;
}

.point-card-btn.disabled:hover {
    transform: none;
    box-shadow: none;
}

.map-filter {
    display: none;
}

.filter-btn.active {
    background: #4A90E2;
    color: white;
}

.point-detail {
    padding: 20px;
}

.detail-placeholder {
    text-align: center;
    color: #95A5A6;
    padding: 30px;
}

.detail-header {
    display: flex;
    align-items: center;
    gap: 15px;
    margin-bottom: 15px;
}

.detail-icon {
    width: 60px;
    height: 60px;
}

.detail-info h3 {
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
}

.detail-info p {
    font-size: 12px;
    color: #7F8C8D;
}

.detail-media {
    margin-bottom: 15px;
}

.media-placeholder {
    height: 120px;
    background: #F5F5F5;
    border-radius: 12px;
}

.detail-desc {
    font-size: 14px;
    color: #7F8C8D;
    line-height: 1.6;
    margin-bottom: 15px;
}

.detail-stats {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.stat {
    font-size: 13px;
    color: #95A5A6;
}

.stat-num {
    color: #4A90E2;
    font-weight: 600;
}

.btn-detail {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-detail:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(74, 144, 226, 0.3);
}

/* Challenge Section */
.challenge-section {
    padding: 20px 15px;
}

.challenge-header {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F8FF 100%);
    border-radius: 20px;
    padding: 25px 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1);
}

.challenge-title {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.challenge-stats {
    display: flex;
    justify-content: space-around;
}

.challenge-stat {
    text-align: center;
}

.challenge-stat-value {
    font-size: 28px;
    font-weight: 700;
    color: #4A90E2;
}

.challenge-stat-label {
    font-size: 12px;
    color: #95A5A6;
}

.stamp-wall {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.wall-title {
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
}

.wall-desc {
    font-size: 12px;
    color: #7F8C8D;
    margin-bottom: 15px;
}

.stamp-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 15px;
}

.stamp-item {
    aspect-ratio: 1;
    background: #F8F9FA;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stamp-item.completed {
    background: linear-gradient(135deg, #FFF5E6, #FFE8C8);
}

.stamp-icon {
    width: 48px;
    height: 48px;
    object-fit: cover;
    border-radius: 6px;
    margin-bottom: 5px;
}

.stamp-number {
    font-size: 11px;
    color: #7F8C8D;
}

.task-list {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.task-title {
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.task-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 15px 0;
    border-bottom: 1px solid #F0F0F0;
}

.task-item:last-child {
    border-bottom: none;
}

.task-info {
    flex: 1;
}

.task-name {
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
}

.task-desc {
    font-size: 12px;
    color: #7F8C8D;
}

.task-btn {
    padding: 8px 20px;
    background: #4A90E2;
    color: white;
    border-radius: 20px;
    border: none;
    font-size: 13px;
    cursor: pointer;
}

.start-btn {
    width: 100%;
    padding: 15px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border-radius: 25px;
    border: none;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}

.reset-btn {
    width: 100%;
    padding: 12px;
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
    border-radius: 25px;
    border: none;
    font-size: 13px;
    cursor: pointer;
}

/* Create Section */
.create-section {
    padding: 20px 15px;
}

.creator-card {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 20px;
    padding: 25px 20px;
    color: white;
    margin-bottom: 20px;
    text-align: center;
}

.creator-sprite {
    margin-bottom: 15px;
}

.creator-content h3 {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
}

.creator-content p {
    font-size: 13px;
    opacity: 0.9;
}

.form-section {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.form-title {
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 10px;
}

.form-select,
.form-input {
    width: 100%;
    padding: 12px 15px;
    background: #F8F9FA;
    border-radius: 12px;
    border: 1px solid #E8E8E8;
    font-size: 14px;
    color: #2C3E50;
    margin-bottom: 15px;
}

.form-btn {
    width: 100%;
    padding: 12px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
    margin-bottom: 10px;
}

.form-btn.secondary {
    background: rgba(74, 144, 226, 0.1);
    color: #4A90E2;
}

.result-section {
    background: white;
    border-radius: 20px;
    padding: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.result-title {
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.result-preview {
    height: 200px;
    background: #F5F5F5;
    border-radius: 12px;
    margin-bottom: 15px;
}

.preview-placeholder {
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100%;
    color: #95A5A6;
}

.save-btn {
    width: 100%;
    padding: 12px;
    background: #4A90E2;
    color: white;
    border-radius: 25px;
    border: none;
    font-size: 14px;
    font-weight: 600;
    cursor: pointer;
}

/* Mine Section */
.mine-section {
    padding: 20px 15px;
}

.user-card {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F8FF 100%);
    border-radius: 20px;
    padding: 30px 20px;
    margin-bottom: 20px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.1);
}

.user-sprite {
    margin-bottom: 15px;
}

.user-info h3 {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 5px;
}

.user-info p {
    font-size: 12px;
    color: #7F8C8D;
}

.mine-stats {
    display: flex;
    justify-content: space-around;
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.mine-stat {
    text-align: center;
}

.stat-num {
    font-size: 24px;
    font-weight: 700;
    color: #4A90E2;
}

.stat-name {
    font-size: 12px;
    color: #7F8C8D;
}

.medals-section {
    background: white;
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.medals-title {
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 15px;
}

.medals-progress {
    text-align: center;
    margin-bottom: 20px;
}

.progress-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2, #7CB8E8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.progress-num {
    font-size: 20px;
    font-weight: 700;
    color: white;
}

.progress-total {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
}

.progress-label {
    font-size: 13px;
    color: #95A5A6;
}

.medals-grid {
    display: grid;
    grid-template-columns: repeat(5, 1fr);
    gap: 12px;
}

.medal-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    border-radius: 12px;
    background: #F8F9FA;
    transition: all 0.3s ease;
}

.medal-item.completed {
    background: linear-gradient(135deg, #FFF5E6, #FFE8C8);
}

.medal-item.locked {
    opacity: 0.5;
}

.medal-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    object-fit: cover;
    margin-bottom: 6px;
}

.medal-placeholder {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: #E8E8E8;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    margin-bottom: 6px;
}

.medal-name {
    font-size: 10px;
    color: #666;
    text-align: center;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.work-preview {
    display: none;
}

.work-info {
    text-align: center;
}

.work-name {
    font-size: 12px;
    font-weight: 600;
    color: #2C3E50;
}

.work-status {
    font-size: 10px;
    color: #7F8C8D;
}

.menu-section {
    background: white;
    border-radius: 20px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
}

.menu-item {
    display: flex;
    align-items: center;
    padding: 15px 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.menu-item:hover {
    background: #F8F9FA;
}

.menu-icon {
    font-size: 20px;
    margin-right: 15px;
}

.menu-name {
    flex: 1;
    font-size: 14px;
    color: #2C3E50;
}

.menu-arrow {
    color: #7F8C8D;
}

/* Bottom Tab */
.bottom-tab {
    position: fixed;
    bottom: 0;
    left: 15px;
    right: 15px;
    background: #FFFFFF;
    display: flex;
    justify-content: space-around;
    padding: 8px 0;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    z-index: 1000;
    border-radius: 20px;
    margin-bottom: calc(15px + env(safe-area-inset-bottom));
}

.tab-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    width: 60px;
    padding: 10px 0;
    border: none;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    color: #95A5A6;
    position: relative;
}

.tab-btn.active {
    color: #4A90E2;
}

.tab-btn.active::before {
    content: '';
    position: absolute;
    top: -8px;
    width: 8px;
    height: 8px;
    background: #4A90E2;
    border-radius: 50%;
}

.tab-btn svg {
    width: 26px;
    height: 26px;
    margin-bottom: 4px;
    transition: transform 0.3s ease;
}

.tab-btn.active svg {
    transform: scale(1.15);
}

.tab-btn span {
    font-size: 11px;
    font-weight: 500;
}

/* Responsive */
@media (max-width: 480px) {
    .hero-title {
        font-size: 20px;
    }
    
    .data-cards {
        flex-wrap: wrap;
    }
    
    .data-card {
        min-width: calc(50% - 10px);
    }
    
    .action-grid {
        flex-wrap: wrap;
    }
    
    .action-card {
        min-width: calc(50% - 10px);
    }
}

@media (min-width: 768px) {
    .tab-container {
        padding: 20px;
        padding-bottom: 100px;
    }
    
    .hero-section {
        padding: 60px 20px 40px;
    }
    
    .sprite-body {
        width: 120px;
        height: 120px;
    }
    
    .hero-title {
        font-size: 28px;
    }
}

@media (min-width: 1024px) {
    .tab-container {
        max-width: 600px;
        padding: 30px;
        padding-bottom: 120px;
    }
}

/* Mobile Touch */
@media (hover: none) {
    .action-card:hover,
    .btn-detail:hover,
    .map-point:hover {
        transform: none;
    }
}

/* Safe Area */
@supports (padding-bottom: env(safe-area-inset-bottom)) {
    .bottom-tab {
        padding-bottom: calc(10px + env(safe-area-inset-bottom));
    }
}

/* Print */
@media print {
    .salt-particles,
    .bottom-tab {
        display: none;
    }

    body {
        background: white;
    }
}

/* Floating Sprite */
.floating-sprite {
    position: fixed;
    right: 15px;
    bottom: 90px;
    z-index: 100;
    cursor: pointer;
    animation: spriteFloat 3s ease-in-out infinite;
}

@keyframes spriteFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

.floating-sprite-body {
    width: 55px;
    height: 55px;
    border-radius: 50%;
    object-fit: cover;
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.3);
    transition: all 0.3s ease;
}

.floating-sprite:hover .floating-sprite-body {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(74, 144, 226, 0.4);
}

/* Sprite Dialog */
.sprite-dialog {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: flex-end;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.sprite-dialog.active {
    opacity: 1;
    visibility: visible;
}

.sprite-dialog-content {
    background: #FFFFFF;
    border-radius: 20px 20px 0 0;
    padding: 20px;
    width: 100%;
    max-width: 480px;
    max-height: 70vh;
    overflow-y: auto;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.sprite-dialog.active .sprite-dialog-content {
    transform: translateY(0);
}

.sprite-dialog-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 30px;
    height: 30px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border: none;
    font-size: 18px;
    color: #666;
    cursor: pointer;
}

.sprite-dialog-header {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    padding-right: 30px;
}

.sprite-dialog-avatar {
    width: 45px;
    height: 45px;
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F8FF 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.sprite-dialog-info {
    display: flex;
    flex-direction: column;
}

.sprite-dialog-name {
    font-size: 16px;
    font-weight: 600;
    color: #2C3E50;
}

.sprite-dialog-badge {
    font-size: 12px;
    color: #4A90E2;
    background: rgba(74, 144, 226, 0.1);
    padding: 2px 8px;
    border-radius: 10px;
    display: inline-block;
    width: fit-content;
    margin-top: 4px;
}

.sprite-dialog-body {
    background: #F8F9FA;
    border-radius: 12px;
    padding: 15px;
    margin-bottom: 15px;
}

.sprite-dialog-text {
    font-size: 14px;
    color: #2C3E50;
    line-height: 1.6;
}

.sprite-dialog-footer {
    display: flex;
    justify-content: center;
}

.sprite-dialog-btn {
    padding: 10px 30px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border-radius: 20px;
    border: none;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.sprite-dialog-btn:hover {
    transform: scale(1.05);
}

/* Guide Popup */
.guide-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.guide-popup.active {
    opacity: 1;
    visibility: visible;
}

.guide-content {
    background: white;
    border-radius: 24px;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.guide-popup.active .guide-content {
    transform: scale(1) translateY(0);
}

.guide-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: #F5F5F5;
    border-radius: 50%;
    font-size: 18px;
    color: #95A5A6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.guide-close:hover {
    background: #E8E8E8;
}

.guide-header {
    text-align: center;
    margin-bottom: 25px;
}

.guide-sprite {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    animation: float 2s ease-in-out infinite;
}

.guide-title {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0;
}

.guide-steps {
    min-height: 180px;
    position: relative;
    overflow: hidden;
}

.guide-step {
    display: none;
    align-items: center;
    gap: 15px;
    padding: 15px;
    background: #FAFBFC;
    border-radius: 16px;
    transition: all 0.3s ease;
}

.guide-step.active {
    display: flex;
    animation: fadeIn 0.3s ease;
}

.step-number {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4A90E2, #7CB8E8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: 700;
    color: white;
    flex-shrink: 0;
}

.step-content {
    flex: 1;
}

.step-title {
    font-size: 15px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 6px 0;
}

.step-desc {
    font-size: 13px;
    color: #7F8C8D;
    margin: 0;
    line-height: 1.5;
}

.guide-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin: 20px 0;
}

.guide-prev,
.guide-next {
    padding: 12px 24px;
    border: none;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.guide-prev {
    background: #F5F5F5;
    color: #7F8C8D;
}

.guide-prev:hover:not(:disabled) {
    background: #E8E8E8;
}

.guide-prev:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.guide-next {
    background: linear-gradient(135deg, #4A90E2, #7CB8E8);
    color: white;
}

.guide-next:hover {
    transform: scale(1.05);
}

.guide-dots {
    display: flex;
    gap: 8px;
}

.dot {
    width: 8px;
    height: 8px;
    background: #E8E8E8;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.dot.active {
    background: #4A90E2;
    width: 20px;
    border-radius: 4px;
}

.guide-start {
    width: 100%;
    padding: 16px;
    background: linear-gradient(135deg, #FF6B6B, #FF8E53);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
}

.guide-start:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateX(-10px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* Sprite Usage Dialog */
.sprite-usage-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
    z-index: 1000;
}

.sprite-usage-popup.active {
    opacity: 1;
    visibility: visible;
}

.sprite-usage-content {
    background: white;
    border-radius: 24px;
    padding: 25px;
    width: 90%;
    max-width: 400px;
    position: relative;
    transform: scale(0.9) translateY(20px);
    transition: all 0.3s ease;
}

.sprite-usage-popup.active .sprite-usage-content {
    transform: scale(1) translateY(0);
}

.sprite-usage-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 32px;
    height: 32px;
    border: none;
    background: #F5F5F5;
    border-radius: 50%;
    font-size: 18px;
    color: #95A5A6;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.sprite-usage-close:hover {
    background: #E8E8E8;
}

.sprite-usage-header {
    text-align: center;
    margin-bottom: 25px;
}

.sprite-usage-avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 12px;
    animation: float 2s ease-in-out infinite;
}

.sprite-usage-title {
    font-size: 20px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0;
}

.sprite-usage-body {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.usage-section {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    padding: 15px;
    background: #FAFBFC;
    border-radius: 14px;
}

.usage-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #4A90E2, #7CB8E8);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    flex-shrink: 0;
}

.usage-content {
    flex: 1;
}

.usage-title {
    font-size: 14px;
    font-weight: 600;
    color: #2C3E50;
    margin: 0 0 6px 0;
}

.usage-desc {
    font-size: 13px;
    color: #7F8C8D;
    margin: 0;
    line-height: 1.5;
}

.sprite-usage-footer {
    margin-top: 20px;
    padding-top: 15px;
    border-top: 1px solid #E8E8E8;
}

.usage-tip {
    font-size: 13px;
    color: #4A90E2;
    text-align: center;
    margin: 0;
}

.sprite-dialog-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Salt Find Difference Game */
.game-stats {
    display: flex;
    justify-content: space-around;
    background: white;
    border-radius: 16px;
    padding: 15px 20px;
    margin: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.game-stat {
    text-align: center;
}

.stat-label {
    display: block;
    font-size: 12px;
    color: #999;
    margin-bottom: 5px;
}

.stat-value {
    font-size: 20px;
    font-weight: 600;
    color: #4A90E2;
}

.stat-value.timer {
    color: #C63D2B;
    font-size: 24px;
}

.game-container {
    padding: 0 15px;
}

.game-instruction {
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F7FD 100%);
    border-radius: 12px;
    padding: 15px;
    text-align: center;
    margin-bottom: 15px;
}

.game-instruction p {
    margin: 0;
    color: #4A90E2;
    font-size: 14px;
}

.target-display {
    text-align: center;
    margin-bottom: 20px;
}

.target-label {
    font-size: 12px;
    color: #999;
    margin-bottom: 10px;
}

.target-box {
    width: 80px;
    height: 80px;
    margin: 0 auto;
    border-radius: 12px;
    background: linear-gradient(135deg, #FAF6F1 0%, #E8E4DD 100%);
    border: 3px dashed #4A90E2;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 40px;
}

.match-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 20px;
}

.grid-item {
    aspect-ratio: 1;
    background: white;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.08);
    cursor: pointer;
    transition: all 0.2s ease;
    border: 2px solid transparent;
    overflow: hidden;
}

.grid-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.grid-item:hover {
    transform: scale(1.05);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.2);
}

.grid-item.selected {
    border-color: #4A90E2;
    background: #E8F4FD;
}

.grid-item.correct {
    border-color: #28A745;
    background: #D4EDDA;
    animation: pulse 0.5s ease;
}

.grid-item.wrong {
    border-color: #DC3545;
    background: #F8D7DA;
    animation: shake 0.3s ease;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.game-controls {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.game-btn {
    padding: 12px 30px;
    border-radius: 20px;
    border: none;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.game-btn.start-btn {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
}

.game-btn.reset-btn {
    background: #F0F0F0;
    color: #666;
}

.game-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

.result-feedback {
    text-align: center;
    padding: 10px 15px;
    border-radius: 10px;
    margin: 0 15px 15px;
    opacity: 0;
    transition: all 0.3s ease;
}

.result-feedback.show {
    opacity: 1;
}

.result-feedback.success {
    background: #D4EDDA;
    color: #155724;
}

.result-feedback.error {
    background: #F8D7DA;
    color: #721C24;
}

.game-over-modal,
.success-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.game-over-modal.active,
.success-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: white;
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    width: 80%;
    max-width: 320px;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.game-over-modal.active .modal-content,
.success-modal.active .modal-content {
    transform: scale(1);
}

.modal-icon {
    font-size: 50px;
    margin-bottom: 15px;
}

.modal-title {
    font-size: 22px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 10px;
}

.modal-score,
.modal-level,
.modal-text {
    font-size: 15px;
    color: #666;
    margin-bottom: 5px;
}

.modal-score span,
.modal-level span {
    color: #4A90E2;
    font-weight: 600;
}

.modal-btn {
    margin-top: 20px;
    padding: 12px 40px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-size: 15px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Task Popup */
.task-popup {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.task-popup.active {
    opacity: 1;
    visibility: visible;
}

.task-popup-content {
    background: #FFFFFF;
    border-radius: 20px;
    padding: 20px;
    width: 90%;
    max-width: 420px;
    max-height: 80vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.task-popup.active .task-popup-content {
    transform: scale(1);
}

.task-popup-close {
    position: absolute;
    top: 15px;
    right: 15px;
    width: 35px;
    height: 35px;
    background: rgba(0, 0, 0, 0.1);
    border-radius: 50%;
    border: none;
    font-size: 20px;
    color: #666;
    cursor: pointer;
}

/* Video Container */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    background: linear-gradient(135deg, #E8F4FD 0%, #F0F7FD 100%);
    border-radius: 12px;
    overflow: hidden;
    margin-bottom: 15px;
}

.video-placeholder {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
}

.play-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 24px;
    margin-bottom: 10px;
    transition: all 0.3s ease;
}

.video-placeholder:hover .play-icon {
    transform: scale(1.1);
    box-shadow: 0 4px 20px rgba(74, 144, 226, 0.4);
}

.video-text {
    font-size: 16px;
    color: #4A90E2;
    font-weight: 500;
    margin-bottom: 5px;
}

.video-hint {
    font-size: 12px;
    color: #999;
}

.task-video {
    width: 100%;
    height: 100%;
    display: none;
}

.video-progress {
    width: 100%;
    height: 4px;
    background: #E8F4FD;
    border-radius: 2px;
    margin-bottom: 8px;
}

.video-progress-bar {
    height: 100%;
    background: linear-gradient(90deg, #4A90E2 0%, #7CB8E8 100%);
    border-radius: 2px;
    width: 0%;
    transition: width 0.3s ease;
}

.video-timer {
    font-size: 12px;
    color: #666;
    text-align: center;
    margin-bottom: 12px;
}

.video-exit-btn {
    display: block;
    width: 100%;
    padding: 10px;
    background: #F5F5F5;
    border: none;
    border-radius: 8px;
    color: #666;
    font-size: 14px;
    cursor: pointer;
    transition: all 0.2s ease;
}

.video-exit-btn:hover {
    background: #E8E8E8;
}

/* Quiz Styles */
.quiz-content {
    position: relative;
}

.quiz-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.quiz-point {
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 13px;
    font-weight: 600;
}

.quiz-progress {
    font-size: 14px;
    color: #666;
}

.quiz-question {
    font-size: 18px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 20px;
    line-height: 1.5;
}

.quiz-options {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-bottom: 20px;
}

.quiz-option {
    padding: 15px 20px;
    background: #F8F9FA;
    border-radius: 12px;
    border: 2px solid transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 15px;
    color: #2C3E50;
}

.quiz-option:hover {
    background: #E8F4FD;
    border-color: #4A90E2;
}

.quiz-option.selected {
    background: #E8F4FD;
    border-color: #4A90E2;
    color: #4A90E2;
}

.quiz-option.correct {
    background: #D4EDDA;
    border-color: #28A745;
    color: #28A745;
}

.quiz-option.incorrect {
    background: #F8D7DA;
    border-color: #DC3545;
    color: #DC3545;
}

.quiz-feedback {
    padding: 12px 15px;
    border-radius: 10px;
    margin-bottom: 15px;
    display: none;
    font-size: 14px;
    line-height: 1.5;
}

.quiz-feedback.correct {
    display: block;
    background: #D4EDDA;
    color: #155724;
}

.quiz-feedback.incorrect {
    display: block;
    background: #F8D7DA;
    color: #721C24;
}

.quiz-next-btn,
.quiz-finish-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.quiz-next-btn:hover,
.quiz-finish-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}

/* Result Styles */
.result-content {
    text-align: center;
    padding: 30px 20px;
}

.result-icon {
    font-size: 60px;
    margin-bottom: 15px;
}

.result-title {
    font-size: 24px;
    font-weight: 600;
    color: #2C3E50;
    margin-bottom: 10px;
}

.result-score {
    font-size: 18px;
    color: #666;
    margin-bottom: 5px;
}

.result-points {
    font-size: 16px;
    color: #4A90E2;
    font-weight: 500;
    margin-bottom: 25px;
}

.result-close-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, #4A90E2 0%, #357ABD 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 16px;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.result-close-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(74, 144, 226, 0.3);
}