body { margin: 0; }
.gradient-hero { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); color: #fff; }
.page-container { width: 1000px; margin: 0 auto; }
.card { background: #fff; border: 1px solid #e5e7eb; border-radius: 12px; box-shadow: 0 10px 20px rgba(0,0,0,0.06); }
.card:hover { transform: translateY(-3px); transition: all .2s ease; }
.badge { display: inline-flex; align-items: center; gap: 6px; height: 28px; padding: 0 12px; border-radius: 16px; font-size: 12px; }
.btn-primary { background: #4F46E5; color: #fff; border: none; border-radius: 24px; height: 44px; padding: 0 20px; cursor: pointer; }
.btn-primary:hover { background: #4338CA; }
.btn-secondary { background: transparent; color: #fff; border: 2px solid #fff; border-radius: 24px; height: 44px; padding: 0 20px; cursor: pointer; }
.btn-secondary:hover { background: rgba(255,255,255,0.1); }
.price { font-weight: 700; color: #111827; }
.line { height: 1px; background: #eef2f7; margin: 16px 0; }
.modal-mask { position: fixed; inset: 0; background: rgba(0,0,0,.5); display: none; align-items: center; justify-content: center; z-index: 9999; }
.modal { background: #fff; border-radius: 12px; width: 420px; max-width: calc(100% - 32px); box-shadow: 0 20px 40px rgba(0,0,0,.18); }
.modal-header { padding: 16px 20px; display: flex; align-items: center; justify-content: space-between; border-bottom: 1px solid #f3f4f6; }
.modal-body { padding: 16px 20px; }
.modal-footer { padding: 16px 20px; display: flex; gap: 12px; justify-content: flex-end; }
.close-btn { background: transparent; border: none; cursor: pointer; font-size: 18px; color: #6b7280; }
.qr-box { width: 160px; height: 160px; border: 1px solid #e5e7eb; border-radius: 10px; display: flex; align-items: center; justify-content: center; margin: 0 auto; background: #fff; }
.muted { color: #6b7280; font-size: 12px; text-align: center; margin-top: 8px; }

.content-auto { content-visibility: auto; }
.text-shadow { text-shadow: 0 2px 4px rgba(0,0,0,0.1); }
.bg-gradient-custom { background: linear-gradient(135deg, #4F46E5 0%, #7C3AED 100%); }
.bg-glass { backdrop-filter: blur(8px); background-color: rgba(255, 255, 255, 0.8); }
.transition-smooth { transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1); }

@keyframes float { 0%, 100% { transform: translateY(0);} 50% { transform: translateY(-10px);} }
.float-animation { animation: float 5s ease-in-out infinite; }
html { scroll-behavior: smooth; }
.skeleton-loading { position: relative; overflow: hidden; background-color: #E5E7EB; }
.skeleton-loading::after { content: ""; position: absolute; inset: 0; transform: translateX(-100%); background-image: linear-gradient(90deg, rgba(255,255,255,0) 0, rgba(255,255,255,0.2) 20%, rgba(255,255,255,0.5) 60%, rgba(255,255,255,0)); animation: shimmer 2s infinite; }
@keyframes shimmer { 100% { transform: translateX(100%);} }

.card-hover { transition: all 0.3s ease; }
.card-hover:hover { transform: translateY(-5px); }
.no-hover { cursor: default !important; }
.no-hover:hover { color: inherit !important; text-decoration: none !important; background-color: transparent !important; }

#loginModal, #purchaseModal { animation: fadeIn 0.3s ease-out; }
#loginModal div, #purchaseModal div { animation: scaleIn 0.3s ease-out; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
@keyframes scaleIn { from { transform: scale(0.9); opacity: 0; } to { transform: scale(1); opacity: 1; } }

.payment-option { transition: all 0.2s ease; border-bottom: 2px solid transparent; }
.payment-option.active { background-color: rgba(0, 102, 255, 0.1); border-bottom: 2px solid #0066ff; }
.payment-option:hover { background-color: #f9fafb; }
#qr-code-container { transition: all 0.3s ease; }
#loginModal input:focus, #purchaseModal input:focus { transition: all 0.2s ease; }
#loginBtn, #confirm-purchase-btn { transition: all 0.3s ease; }
#loginBtn:hover, #confirm-purchase-btn:hover { transform: translateY(-1px); box-shadow: 0 4px 12px rgba(0, 102, 255, 0.2); }

.role-card { transition: all 0.3s ease; min-width: 330px; width: 330px; }
.role-card:hover { transform: translateY(-5px); box-shadow: 0 12px 20px rgba(0, 0, 0, 0.1); }
.hint-list::-webkit-scrollbar { width: 6px; }
.hint-list::-webkit-scrollbar-track { background: #f1f1f1; border-radius: 3px; }
.hint-list::-webkit-scrollbar-thumb { background: #cbd5e1; border-radius: 3px; }
.hint-list::-webkit-scrollbar-thumb:hover { background: #94a3b8; }
.hint-list .flex span:first-child { cursor: pointer; transition: all 0.2s ease; }
.hint-list .flex span:first-child:not(.no-hover):hover { color: #2563eb; text-decoration: underline; }
.hint-list .flex span.no-hover { cursor: default !important; pointer-events: none; }

#payment-methods .border { border-color: #e2e8f0; }
#qr-code-container .w-40 { display: flex; align-items: center; justify-content: center; }
#purchaseModal button { transition: all 0.2s ease; }
#purchaseModal button:hover { transform: translateY(-1px); box-shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06); }
