* { margin: 0; padding: 0; box-sizing: border-box; }
body { font-family: 'Inter', 'Segoe UI', system-ui, sans-serif; background: #f0f2f5; min-height: 100vh; display: flex; justify-content: center; align-items: center; padding: 24px; color: #1a1a2e; }
.container { max-width: 900px; width: 100%; }
.card { background: #fff; border-radius: 16px; padding: 40px; box-shadow: 0 1px 3px rgba(0,0,0,0.04), 0 8px 32px rgba(0,0,0,0.06); animation: fadeIn 0.4s ease; }
@keyframes fadeIn { from { opacity: 0; transform: translateY(12px); } to { opacity: 1; transform: translateY(0); } }
.header { text-align: center; margin-bottom: 36px; }
.header h1 { font-size: 1.75rem; font-weight: 700; color: #1a1a2e; letter-spacing: -0.5px; }
.header .subtitle { color: #6b7280; font-size: 0.9rem; }
.form-group { margin-bottom: 20px; }
.form-group label { display: block; margin-bottom: 6px; font-weight: 600; color: #374151; font-size: 0.85rem; }
.form-group input, .form-group select, .form-group textarea { width: 100%; padding: 12px 16px; border: 1.5px solid #e5e7eb; border-radius: 10px; font-size: 0.9rem; background: #f9fafb; color: #1a1a2e; font-family: inherit; transition: all 0.2s; }
.form-group input:focus, .form-group select:focus, .form-group textarea:focus { outline: none; border-color: #4f46e5; box-shadow: 0 0 0 3px rgba(79,70,229,0.08); background: #fff; }
.btn { display: inline-block; padding: 12px 28px; border: none; border-radius: 10px; font-weight: 600; font-size: 0.9rem; cursor: pointer; transition: all 0.2s; text-decoration: none; text-align: center; }
.btn:hover { transform: translateY(-1px); box-shadow: 0 4px 16px rgba(0,0,0,0.12); }
.btn-primary { background: #4f46e5; color: #fff; } .btn-primary:hover { background: #4338ca; }
.btn-secondary { background: #fff; color: #4f46e5; border: 1.5px solid #4f46e5; } .btn-secondary:hover { background: #f5f3ff; }
.btn-success { background: #10b981; color: #fff; } .btn-success:hover { background: #059669; }
.btn-danger { background: #ef4444; color: #fff; } .btn-danger:hover { background: #dc2626; }
.btn-block { width: 100%; display: block; margin-bottom: 10px; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }
.btn-row { display: flex; gap: 12px; justify-content: center; flex-wrap: wrap; margin-top: 8px; }
.alert { padding: 14px 18px; border-radius: 10px; margin-bottom: 20px; font-size: 0.85rem; font-weight: 500; display: none; }
.alert-success { background: #ecfdf5; color: #065f46; border: 1px solid #a7f3d0; }
.alert-error { background: #fef2f2; color: #991b1b; border: 1px solid #fecaca; }
.alert-info { background: #eff6ff; color: #1e40af; border: 1px solid #bfdbfe; }
.service-grid { display: grid; gap: 16px; margin-bottom: 8px; }
.service-card { background: #fff; border: 1.5px solid #e5e7eb; border-radius: 12px; padding: 24px; cursor: pointer; transition: all 0.2s; position: relative; }
.service-card:hover { border-color: #4f46e5; box-shadow: 0 4px 16px rgba(79,70,229,0.08); }
.service-card.selected { border-color: #4f46e5; background: #f5f3ff; }
.service-card h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 4px; }
.service-card .price { font-size: 1.5rem; font-weight: 800; color: #4f46e5; margin: 8px 0; }
.service-card .price span { font-size: 0.7em; font-weight: 500; color: #6b7280; }
.service-card .detail { color: #6b7280; font-size: 0.85rem; }
.service-card .badge { position: absolute; top: 16px; right: 16px; background: #4f46e5; color: #fff; padding: 4px 12px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; }
.profile-section { display: flex; align-items: center; gap: 24px; margin-bottom: 32px; padding-bottom: 24px; border-bottom: 1px solid #f3f4f6; }
.profile-image-wrapper { position: relative; cursor: pointer; flex-shrink: 0; }
.profile-image { width: 96px; height: 96px; border-radius: 50%; object-fit: cover; border: 3px solid #e5e7eb; transition: all 0.2s; }
.profile-image:hover { border-color: #4f46e5; }
.profile-image-overlay { position: absolute; bottom: 0; right: 0; background: #4f46e5; color: #fff; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; font-size: 0.8rem; border: 3px solid #fff; }
.user-details h2 { font-size: 1.3rem; font-weight: 700; margin-bottom: 4px; }
.user-details p { color: #6b7280; font-size: 0.85rem; margin: 2px 0; }
.section-title { font-size: 1rem; font-weight: 700; color: #1a1a2e; margin: 28px 0 16px; padding-bottom: 10px; border-bottom: 2px solid #f3f4f6; }
.subscription-list { display: grid; gap: 12px; margin-bottom: 8px; }
.sub-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; padding: 20px; }
.sub-card.active { border-left: 4px solid #10b981; background: #f9fafb; }
.sub-card.pending { border-left: 4px solid #f59e0b; background: #f9fafb; }
.sub-card.expired { border-left: 4px solid #ef4444; background: #f9fafb; opacity: 0.75; }
.sub-card h4 { font-weight: 600; margin-bottom: 6px; }
.status-badge { display: inline-block; padding: 4px 10px; border-radius: 20px; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; margin-bottom: 8px; }
.status-active { background: #ecfdf5; color: #065f46; }
.status-pending { background: #fffbeb; color: #92400e; }
.status-expired { background: #fef2f2; color: #991b1b; }
.timer { font-size: 1rem; font-weight: 700; color: #4f46e5; margin-top: 6px; }
.sub-date { font-size: 0.8rem; color: #6b7280; }
.youtube-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 16px; margin-bottom: 8px; }
.youtube-card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; overflow: hidden; }
.youtube-thumb { position: relative; padding-bottom: 56.25%; height: 0; background: #1a1a2e; }
.youtube-thumb iframe { position: absolute; top: 0; left: 0; width: 100%; height: 100%; border: none; }
.announcement-item { background: #fffbeb; border-left: 4px solid #f59e0b; padding: 14px 16px; margin-bottom: 8px; border-radius: 8px; font-size: 0.85rem; color: #78350f; }
.ann-date { font-size: 0.75rem; color: #92400e; margin-top: 4px; }
.nav-bar { display: flex; justify-content: space-between; align-items: center; margin-bottom: 28px; }
.footer-text { text-align: center; margin-top: 24px; color: #9ca3af; font-size: 0.8rem; }
.link-text { text-align: center; margin-top: 18px; font-size: 0.85rem; }
.loading-text, .empty-state { text-align: center; padding: 32px 20px; color: #9ca3af; font-size: 0.85rem; }
.hidden { display: none !important; }
a { color: #4f46e5; text-decoration: none; font-weight: 500; }
a:hover { text-decoration: underline; }
@media (max-width: 640px) { .card { padding: 24px; } .header h1 { font-size: 1.4rem; } .profile-section { flex-direction: column; text-align: center; } .youtube-grid { grid-template-columns: 1fr; } }