/* ============================================
   抽象网站样式表 - 作者自己都绷不住了
   字体：Comic Sans（抽象的根基）
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+SC:wght@400;700;900&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Comic Sans MS', 'Noto Sans SC', '微软雅黑', cursive, sans-serif;
}

body {
    background: linear-gradient(-45deg, #ff00ff, #00ffff, #ffff00, #00ff00, #ff0000, #8a2be2);
    background-size: 400% 400%;
    animation: gradientMove 3s ease infinite;
    min-height: 100vh;
    overflow-x: hidden;
    cursor: url("data:image/svg+xml;utf8,<svg xmlns='http://www.w3.org/2000/svg' width='32' height='32' viewBox='0 0 32 32'><text y='24' font-size='24'>👆</text></svg>") 0 0, auto;
}

@keyframes gradientMove {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* === 导航栏 === */
.navbar {
    position: sticky;
    top: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 10px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 3px solid #ffd700;
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.5);
}

.navbar .logo {
    font-size: 28px;
    font-weight: 900;
    background: linear-gradient(to right, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowText 2s linear infinite;
    text-shadow: none;
    cursor: pointer;
    user-select: none;
}

@keyframes rainbowText {
    0% { filter: hue-rotate(0deg); }
    100% { filter: hue-rotate(360deg); }
}

.navbar .nav-links {
    display: flex;
    gap: 15px;
    list-style: none;
}

.navbar .nav-links a {
    color: #00ff00;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 16px;
    border: 2px solid #00ff00;
    border-radius: 20px;
    transition: all 0.1s;
    background: rgba(0, 255, 0, 0.1);
}

.navbar .nav-links a:hover {
    background: #00ff00;
    color: #000;
    transform: rotate(360deg) scale(1.5);
    transition: all 0.5s;
}

/* === 主容器 === */
.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 20px;
}

/* === Hero区域 === */
.hero {
    text-align: center;
    padding: 60px 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 20px;
    margin: 20px 0;
    border: 5px dashed #ffd700;
    backdrop-filter: blur(5px);
}

.hero h1 {
    font-size: 48px;
    color: #fff;
    text-shadow: 3px 3px 0 #ff0000, -3px -3px 0 #0000ff, 3px -3px 0 #00ff00, -3px 3px 0 #ffff00;
    animation: shake 0.3s infinite;
    margin-bottom: 20px;
}

@keyframes shake {
    0% { transform: translate(2px, 1px) rotate(-1deg); }
    25% { transform: translate(-1px, -2px) rotate(1deg); }
    50% { transform: translate(-2px, 1px) rotate(0deg); }
    75% { transform: translate(1px, 2px) rotate(1deg); }
    100% { transform: translate(2px, -1px) rotate(-1deg); }
}

.hero .subtitle {
    font-size: 20px;
    color: #ffff00;
    text-shadow: 2px 2px 0 #000;
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

/* === 通用卡片 === */
.card {
    background: rgba(255, 255, 255, 0.92);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    border: 3px solid #333;
    position: relative;
    overflow: hidden;
}

.card h2 {
    font-size: 28px;
    color: #333;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 3px solid #ff00ff;
    display: inline-block;
}

.card h2::before {
    content: '🎮 ';
}

/* === 登录表单 === */
.login-form {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 400px;
    margin: 0 auto;
}

.login-form input {
    padding: 14px 18px;
    font-size: 16px;
    border: 3px solid #ccc;
    border-radius: 10px;
    outline: none;
    transition: all 0.3s;
    font-family: 'Comic Sans MS', cursive;
}

.login-form input:focus {
    border-color: #ff00ff;
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.5);
    transform: scale(1.05);
}

.login-form .btn {
    padding: 14px 30px;
    font-size: 18px;
    font-weight: bold;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s;
    font-family: 'Comic Sans MS', cursive;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(102, 126, 234, 0.5);
}

.btn-danger {
    background: linear-gradient(135deg, #ff5858 0%, #f09819 100%);
    color: #fff;
}

.btn-rainbow {
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 200% auto;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    animation: rainbowMove 1.5s linear infinite;
}

@keyframes rainbowMove {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}

/* === 消息提示 === */
.toast {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%) translateY(-100px);
    background: #fff;
    color: #333;
    padding: 16px 30px;
    border-radius: 10px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    font-size: 16px;
    z-index: 10000;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    border: 3px solid #ff00ff;
    max-width: 90%;
    text-align: center;
}

.toast.show {
    transform: translateX(-50%) translateY(0);
}

.toast.error {
    border-color: #ff0000;
    background: #fff0f0;
}

.toast.success {
    border-color: #00ff00;
    background: #f0fff0;
}

.toast.warning {
    border-color: #ffa500;
    background: #fff8e1;
}

/* === 原神牛逼专区 === */
.genshin-section {
    text-align: center;
    padding: 40px 20px;
    background: linear-gradient(135deg, #1a1a2e, #16213e, #0f3460);
    border-radius: 15px;
    margin: 20px 0;
    border: 3px solid #e94560;
    overflow: hidden;
    position: relative;
}

.genshin-section h2 {
    color: #e94560;
    font-size: 42px;
    text-shadow: 0 0 20px #e94560, 0 0 40px #e94560;
    animation: pulse 1s infinite;
    border: none;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.genshin-section .ysnb {
    font-size: 36px;
    color: #ffd700;
    font-weight: 900;
    text-shadow: 0 0 20px #ffd700;
    animation: rainbowText 2s linear infinite;
    margin: 20px 0;
}

.genshin-section .praise {
    color: #fff;
    font-size: 18px;
    line-height: 2;
    margin: 15px 0;
}

.genshin-section .praise span {
    display: inline-block;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-15px); }
}

/* === 跑路按钮 === */
.runaway-btn {
    position: absolute;
    padding: 12px 24px;
    background: linear-gradient(135deg, #ff6b6b, #ee5a6f);
    color: #fff;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.05s;
    font-family: 'Comic Sans MS', cursive;
}

/* === 充值区域 === */
.paywall {
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    border-radius: 15px;
    padding: 30px;
    margin: 20px 0;
    text-align: center;
    border: 5px solid #b8860b;
    box-shadow: 0 0 50px rgba(255, 215, 0, 0.5);
}

.paywall h3 {
    font-size: 32px;
    color: #8b0000;
    margin-bottom: 15px;
    text-shadow: 2px 2px 0 #fff;
}

.paywall .price {
    font-size: 64px;
    color: #8b0000;
    font-weight: 900;
    text-shadow: 3px 3px 0 #fff;
}

.paywall .price small {
    font-size: 24px;
}

.paywall .features {
    list-style: none;
    margin: 20px 0;
    text-align: left;
    display: inline-block;
}

.paywall .features li {
    padding: 8px 0;
    color: #333;
    font-size: 16px;
}

.paywall .features li::before {
    content: '✅ ';
}

/* === 抽象验证码 === */
.captcha-box {
    background: #f5f5f5;
    border: 3px dashed #999;
    border-radius: 10px;
    padding: 20px;
    margin: 15px 0;
    text-align: center;
}

.captcha-box .captcha-question {
    font-size: 18px;
    color: #333;
    margin-bottom: 15px;
    font-weight: bold;
}

.captcha-box .captcha-options {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    justify-content: center;
}

.captcha-box .captcha-option {
    padding: 12px 20px;
    background: #fff;
    border: 3px solid #ccc;
    border-radius: 8px;
    cursor: pointer;
    font-size: 16px;
    transition: all 0.2s;
    font-family: 'Comic Sans MS', cursive;
}

.captcha-box .captcha-option:hover {
    border-color: #ff00ff;
    transform: scale(1.1);
    background: #fff0ff;
}

/* === 弹窗 === */
.popup {
    position: fixed;
    background: #fff;
    border-radius: 10px;
    box-shadow: 0 10px 50px rgba(0, 0, 0, 0.5);
    z-index: 10001;
    padding: 0;
    min-width: 300px;
    max-width: 400px;
    animation: popupIn 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

@keyframes popupIn {
    from { transform: scale(0.5) rotate(180deg); opacity: 0; }
    to { transform: scale(1) rotate(0deg); opacity: 1; }
}

.popup-header {
    background: linear-gradient(135deg, #667eea, #764ba2);
    color: #fff;
    padding: 12px 20px;
    border-radius: 10px 10px 0 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: bold;
}

.popup-close {
    background: rgba(255, 255, 255, 0.2);
    border: none;
    color: #fff;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.popup-close:hover {
    background: #ff4444;
    transform: rotate(180deg);
}

.popup-body {
    padding: 20px;
    font-size: 16px;
    color: #333;
    line-height: 1.6;
}

.popup-footer {
    padding: 0 20px 20px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.popup-footer button {
    padding: 8px 20px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-size: 14px;
    font-family: 'Comic Sans MS', cursive;
    transition: all 0.2s;
}

.popup-footer .btn-confirm {
    background: #667eea;
    color: #fff;
}

.popup-footer .btn-cancel {
    background: #e0e0e0;
    color: #333;
}

/* === 加载条 === */
.loading-bar-container {
    width: 100%;
    height: 30px;
    background: #e0e0e0;
    border-radius: 15px;
    overflow: hidden;
    margin: 15px 0;
    border: 2px solid #999;
}

.loading-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #4b0082, #9400d3);
    background-size: 200% 100%;
    animation: rainbowMove 1s linear infinite;
    border-radius: 15px;
    transition: width 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
    font-size: 14px;
    white-space: nowrap;
}

/* === 倒计时 === */
.countdown {
    text-align: center;
    padding: 30px;
    background: #1a1a2e;
    border-radius: 15px;
    margin: 20px 0;
    border: 3px solid #e94560;
}

.countdown .label {
    color: #fff;
    font-size: 20px;
    margin-bottom: 15px;
}

.countdown .timer {
    font-size: 48px;
    font-weight: 900;
    color: #00ff00;
    text-shadow: 0 0 20px #00ff00;
    font-family: 'Courier New', monospace;
}

/* === FAQ === */
.faq-item {
    border: 2px solid #ddd;
    border-radius: 10px;
    margin: 10px 0;
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    border-color: #ff00ff;
    box-shadow: 0 5px 20px rgba(255, 0, 255, 0.2);
}

.faq-question {
    padding: 15px 20px;
    background: #f8f8f8;
    cursor: pointer;
    font-weight: bold;
    color: #333;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.3s;
}

.faq-question:hover {
    background: #ff0;
}

.faq-answer {
    padding: 15px 20px;
    color: #666;
    display: none;
    border-top: 1px solid #ddd;
    background: #fff;
}

.faq-answer.show {
    display: block;
    animation: fadeIn 0.3s;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* === 页脚 === */
footer {
    text-align: center;
    padding: 40px 20px;
    color: #fff;
    background: rgba(0, 0, 0, 0.8);
    margin-top: 40px;
    border-top: 5px solid #ffd700;
}

footer p {
    margin: 10px 0;
    font-size: 14px;
}

footer .copyright {
    font-size: 12px;
    opacity: 0.6;
}

footer .icp {
    color: #00ff00;
    text-decoration: none;
    cursor: pointer;
}

/* === Cookie提示 === */
.cookie-notice {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    color: #fff;
    padding: 20px;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    border-top: 3px solid #ffd700;
    box-shadow: 0 -10px 40px rgba(0, 0, 0, 0.5);
}

.cookie-notice p {
    font-size: 14px;
    max-width: 600px;
}

.cookie-notice button {
    padding: 10px 24px;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Comic Sans MS', cursive;
    font-weight: bold;
    transition: all 0.2s;
}

/* === 旋转元素 === */
.spinner {
    display: inline-block;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* === 跑马灯 === */
.marquee {
    overflow: hidden;
    white-space: nowrap;
    background: #000;
    color: #ff0000;
    padding: 10px 0;
    margin: 10px 0;
    border: 2px solid #ff0000;
}

.marquee-content {
    display: inline-block;
    animation: marquee 10s linear infinite;
    font-size: 18px;
    font-weight: bold;
}

@keyframes marquee {
    from { transform: translateX(100%); }
    to { transform: translateX(-100%); }
}

/* === 响应式（当然要适配手机看抽象） === */
@media (max-width: 768px) {
    .hero h1 { font-size: 32px; }
    .navbar .nav-links { gap: 8px; }
    .navbar .nav-links a { font-size: 12px; padding: 6px 10px; }
    .genshin-section h2 { font-size: 28px; }
    .paywall .price { font-size: 48px; }
    .container { padding: 10px; }
    .card { padding: 20px; }
}

/* === 选择文字效果 === */
::selection {
    background: #ff00ff;
    color: #fff;
}

/* === 滚动条 === */
::-webkit-scrollbar {
    width: 12px;
}

::-webkit-scrollbar-track {
    background: #1a1a2e;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #ff00ff, #00ffff);
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #00ffff, #ff00ff);
}

/* === 禁用右键提示 === */
.no-right-click {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    background: #fff;
    padding: 30px 40px;
    border-radius: 15px;
    box-shadow: 0 0 50px rgba(255, 0, 0, 0.5);
    z-index: 10001;
    text-align: center;
    border: 3px solid #ff0000;
    transition: transform 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.no-right-click.show {
    transform: translate(-50%, -50%) scale(1);
}

.no-right-click h3 {
    color: #ff0000;
    font-size: 24px;
    margin-bottom: 10px;
}

.no-right-click p {
    color: #333;
    font-size: 14px;
}

/* === 弹幕 === */
.danmaku-container {
    position: fixed;
    top: 60px;
    left: 0;
    width: 100%;
    height: 200px;
    pointer-events: none;
    z-index: 5000;
    overflow: hidden;
}

.danmaku {
    position: absolute;
    white-space: nowrap;
    font-size: 24px;
    font-weight: bold;
    text-shadow: 2px 2px 0 #000;
    animation: danmakuMove 8s linear;
}

@keyframes danmakuMove {
    from { transform: translateX(100vw); }
    to { transform: translateX(-100%); }
}
