/* 全局样式 */
:root {
    --primary-bg: #0c0614;
    --secondary-bg: #1a0b2e;
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --primary-text: #ffffff;
    --secondary-text: #a0a0b9;
    --neon-purple: #9d4edd;
    --neon-purple-light: #c77dff;
    --neon-purple-dark: #7b2cbf;
    --neon-blue: #5a189a;
    --neon-pink: #ff00ff;
    --neon-red: #ff2a6d;
    --neon-green: #05ffa1;
    --neon-yellow: #ffff00;
    --neon-orange: #ff9900;
    --blur-amount: 10px;
    --border-radius: 12px;
    --box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    background-color: var(--primary-bg);
    color: var(--primary-text);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
}

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

a {
    color: var(--primary-text);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: var(--neon-purple-light);
}

/* 背景效果 */
.background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    overflow: hidden;
}

.gradient-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, var(--primary-bg) 0%, var(--secondary-bg) 100%);
}

.noise-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0.05;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciIHdpZHRoPSIzMDAiIGhlaWdodD0iMzAwIj48ZmlsdGVyIGlkPSJhIiB4PSIwIiB5PSIwIj48ZmVUdXJidWxlbmNlIGJhc2VGcmVxdWVuY3k9Ii43NSIgc3RpdGNoVGlsZXM9InN0aXRjaCIgdHlwZT0iZnJhY3RhbE5vaXNlIi8+PGZlQ29sb3JNYXRyaXggdHlwZT0ic2F0dXJhdGUiIHZhbHVlcz0iMCIvPjwvZmlsdGVyPjxwYXRoIGQ9Ik0wIDBoMzAwdjMwMEgweiIgZmlsdGVyPSJ1cmwoI2EpIiBvcGFjaXR5PSIuMDUiLz48L3N2Zz4=');
}

.glow-effect {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.15;
}

.glow-1 {
    top: 20%;
    left: 15%;
    width: 300px;
    height: 300px;
    background-color: var(--neon-purple);
    animation: float 15s ease-in-out infinite;
}

.glow-2 {
    bottom: 10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background-color: var(--neon-blue);
    animation: float 20s ease-in-out infinite reverse;
}

.glow-3 {
    top: 50%;
    right: 30%;
    width: 250px;
    height: 250px;
    background-color: var(--neon-pink);
    animation: float 18s ease-in-out infinite;
}

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

/* 毛玻璃效果 */
.glass-effect {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
}

/* 顶部导航栏 */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    margin-bottom: 30px;
    transition: var(--transition);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
}

.logo-icon {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    display: flex;
    justify-content: center;
    align-items: center;
    margin-right: 15px;
    position: relative;
    overflow: hidden;
}

.logo-icon::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(transparent, rgba(255, 255, 255, 0.5), transparent 30%);
    animation: rotate 4s linear infinite;
}

.logo-icon i {
    position: relative;
    z-index: 1;
    color: var(--primary-text);
    font-size: 18px;
}

.logo-text {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(to right, var(--neon-purple-light), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav ul {
    display: flex;
    list-style: none;
}

.nav ul li {
    margin-left: 30px;
}

.nav-link {
    font-weight: 500;
    padding: 8px 15px;
    border-radius: 20px;
    position: relative;
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 20px;
    height: 3px;
    background: linear-gradient(to right, var(--neon-purple), var(--neon-pink));
    border-radius: 3px;
}

.mobile-menu-toggle {
    display: none;
    font-size: 24px;
    cursor: pointer;
}

/* 移动端菜单 */
.mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 80%;
    max-width: 300px;
    height: 100vh;
    background: rgba(26, 11, 46, 0.95);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    z-index: 1000;
    transition: right 0.3s ease;
    padding: 60px 20px 20px;
}

.mobile-menu.active {
    right: 0;
}

.mobile-menu-close {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 24px;
    cursor: pointer;
}

.mobile-menu ul {
    list-style: none;
}

.mobile-menu ul li {
    margin-bottom: 20px;
}

.mobile-nav-link {
    display: block;
    padding: 10px 15px;
    font-size: 18px;
    border-radius: var(--border-radius);
    transition: var(--transition);
}

.mobile-nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

/* 申诉页面标题区 */
.appeal-hero-section {
    padding: 60px 0;
    text-align: center;
}

.appeal-hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    margin-bottom: 20px;
    position: relative;
}

.hero-title .gradient-text {
    background: linear-gradient(to right, var(--neon-purple-light), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: block;
}

.hero-title .subtitle {
    font-size: 1.8rem;
    display: block;
    margin-top: 10px;
    color: var(--secondary-text);
}

.hero-description {
    font-size: 1.2rem;
    color: var(--secondary-text);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* 申诉选择区 */
.appeal-options-section {
    padding: 40px 0 80px;
}

.appeal-options-container {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-top: 20px;
}

.appeal-option-card {
    flex: 1;
    max-width: 350px;
    padding: 40px 30px;
    text-align: center;
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.appeal-option-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 5px;
    background: linear-gradient(to right, var(--neon-purple), var(--neon-pink));
}

.appeal-option-card:hover {
    transform: translateY(-10px);
}

.option-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--neon-purple-light), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.option-title {
    font-size: 2rem;
    margin-bottom: 15px;
    color: var(--primary-text);
}

.option-desc {
    color: var(--secondary-text);
    margin-bottom: 30px;
    font-size: 1.1rem;
}

.option-features {
    list-style: none;
    margin-bottom: 30px;
    text-align: left;
}

.option-features li {
    margin-bottom: 10px;
    color: var(--secondary-text);
    display: flex;
    align-items: center;
}

.option-features li i {
    color: var(--neon-green);
    margin-right: 10px;
}

.option-button {
    margin-top: auto;
    width: 100%;
}

.option-badge {
    position: absolute;
    top: 20px;
    right: -30px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    color: white;
    padding: 5px 30px;
    transform: rotate(45deg);
    font-size: 0.9rem;
    font-weight: bold;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    z-index: 1;
}

/* 申诉流程 */
.appeal-process-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 15px;
    background: linear-gradient(to right, var(--neon-purple-light), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 10px rgba(157, 78, 221, 0.3);
}

.section-desc {
    color: var(--secondary-text);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

.process-steps {
    display: flex;
    justify-content: space-between;
    gap: 30px;
    margin-top: 40px;
}

.process-step {
    flex: 1;
    padding: 30px 20px;
    text-align: center;
    position: relative;
    transition: var(--transition);
}

.process-step:hover {
    transform: translateY(-10px);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-pink));
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    font-size: 1.2rem;
    color: var(--primary-text);
}

.step-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--neon-purple-light), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.step-title {
    font-size: 1.3rem;
    margin-bottom: 10px;
    color: var(--primary-text);
}

.step-desc {
    color: var(--secondary-text);
}

/* 申诉须知 */
.appeal-notice-section {
    padding: 40px 0 80px;
}

.notice-content {
    padding: 40px;
    max-width: 900px;
    margin: 0 auto;
}

.notice-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}

.notice-icon {
    font-size: 2.5rem;
    margin-right: 20px;
    color: var(--neon-yellow);
}

.notice-title {
    font-size: 2rem;
    color: var(--primary-text);
}

.notice-body p {
    margin-bottom: 15px;
    color: var(--secondary-text);
    font-size: 1.1rem;
}

.notice-body p:last-child {
    margin-bottom: 0;
}

/* 快速访问区 */
.quick-access-section {
    padding: 80px 0;
    position: relative;
    z-index: 2;
}

.quick-access-buttons {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.quick-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 30px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.quick-button:hover {
    transform: translateY(-10px);
    border-color: var(--neon-purple);
}

.quick-button.active-button {
    border-color: var(--neon-purple);
    background: rgba(157, 78, 221, 0.1);
}

.button-icon {
    font-size: 2.5rem;
    margin-bottom: 20px;
    background: linear-gradient(to right, var(--neon-purple-light), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.button-text {
    font-size: 1.2rem;
    font-weight: 500;
    color: var(--primary-text);
}

/* 页脚 */
.footer {
    padding: 60px 0 20px;
    position: relative;
    z-index: 2;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    margin-bottom: 40px;
}

.footer-logo {
    display: flex;
    align-items: center;
}

.footer-links {
    display: flex;
    gap: 60px;
}

.footer-links-title {
    font-size: 1.2rem;
    margin-bottom: 20px;
    color: var(--primary-text);
}

.footer-links-column ul {
    list-style: none;
}

.footer-links-column ul li {
    margin-bottom: 10px;
}

.footer-links-column ul li a {
    color: var(--secondary-text);
    transition: var(--transition);
}

.footer-links-column ul li a:hover {
    color: var(--neon-purple-light);
}

.footer-links-column ul li a i {
    margin-right: 10px;
}

.footer-bottom {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    color: var(--secondary-text);
}

/* 回到顶部按钮 */
.back-to-top {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--neon-purple), var(--neon-blue));
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-size: 20px;
    cursor: pointer;
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.back-to-top.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top:hover {
    transform: translateY(-5px);
}

/* 霓虹按钮 */
.neon-button {
    position: relative;
    padding: 12px 24px;
    background: transparent;
    border: none;
    border-radius: 30px;
    color: var(--primary-text);
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    overflow: hidden;
    transition: var(--transition);
    outline: none;
    text-align: center;
    display: inline-block;
}

.neon-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    border-radius: 30px;
    z-index: -2;
}

.neon-button::after {
    content: '';
    position: absolute;
    top: 2px;
    left: 2px;
    right: 2px;
    bottom: 2px;
    background-color: rgba(12, 6, 20, 0.9);
    border-radius: 28px;
    z-index: -1;
    transition: var(--transition);
}

.neon-button:hover::after {
    background-color: rgba(12, 6, 20, 0.7);
}

.neon-button-text {
    position: relative;
    z-index: 1;
}

.neon-button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border-radius: 30px;
    filter: blur(15px);
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
    opacity: 0;
    z-index: -3;
    transition: var(--transition);
}

.neon-button:hover .neon-button-glow {
    opacity: 0.5;
}

.neon-button:active {
    transform: scale(0.95);
}

.neon-button.primary::before {
    background: linear-gradient(45deg, var(--neon-purple), var(--neon-pink));
}

.neon-button.secondary::before {
    background: linear-gradient(45deg, var(--neon-blue), var(--neon-purple));
}

.neon-button.tertiary::before {
    background: linear-gradient(45deg, var(--neon-orange), var(--neon-yellow));
}

/* 渐变文字 */
.gradient-text {
    background: linear-gradient(to right, var(--neon-purple-light), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* 滚动显示动画 */
.scroll-reveal {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s ease, transform 0.8s ease;
}

.scroll-reveal.revealed {
    opacity: 1;
    transform: translateY(0);
}

/* 波纹效果 */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: scale(0);
    animation: ripple 0.6s linear;
    pointer-events: none;
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

/* 旋转动画 */
@keyframes rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 响应式设计 */
@media (max-width: 1200px) {
    .process-steps {
        flex-wrap: wrap;
    }
    
    .process-step {
        flex: 0 0 calc(50% - 15px);
        margin-bottom: 40px;
    }
}

@media (max-width: 992px) {
    .appeal-options-container {
        flex-direction: column;
        align-items: center;
    }
    
    .appeal-option-card {
        width: 100%;
        max-width: 600px;
        margin-bottom: 30px;
    }
    
    .quick-access-buttons {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        gap: 40px;
    }
    
    .footer-links {
        flex-wrap: wrap;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .process-steps {
        flex-direction: column;
    }
    
    .process-step {
        flex: 0 0 100%;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 30px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-title .subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
    
    .quick-access-buttons {
        grid-template-columns: 1fr;
    }
    
    .notice-content {
        padding: 20px;
    }
}

/* Fix for input text visibility on mobile */
.glass-input, .glass-textarea {
    /* Ensure text color has enough contrast */
    color: #e0e0e0; /* Slightly off-white for better visibility */
    /* Adjust placeholder color for contrast */
}

.glass-input::placeholder, .glass-textarea::placeholder {
    color: #888; /* Darker placeholder */
    opacity: 1; /* Ensure placeholder is visible */
}

/* Ensure focus styles provide clear indication */
.glass-input:focus, .glass-textarea:focus {
    outline: none;
    border-color: var(--neon-purple-light); /* Use a bright color for focus */
    box-shadow: 0 0 15px rgba(199, 125, 255, 0.5); /* Matching glow */
    color: #ffffff; /* Make text white again on focus for clarity */
}

/* Add specific styles for disabled input */
.glass-input:disabled {
    background: rgba(255, 255, 255, 0.05); /* Slightly different background */
    color: #aaa; /* Greyed out text */
    cursor: not-allowed;
    opacity: 0.7;
}



/* === Cool Animated Input Field === */
.cool-input-wrapper {
    position: relative;
    margin-bottom: 35px; /* Increased margin to accommodate floating label */
}

.cool-input {
    width: 100%;
    padding: 15px 15px 15px 45px; /* Add padding for icon */
    border: none; /* Remove default border */
    border-radius: var(--border-radius);
    background: rgba(255, 255, 255, 0.08); /* Slightly different glass bg */
    color: #000000; /* Black text */
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    box-shadow: inset 0 1px 3px rgba(0,0,0,0.2);
}

.cool-input-wrapper .input-icon {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--neon-purple-light);
    z-index: 2;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.cool-input-wrapper .cool-label {
    position: absolute;
    left: 45px; /* Position after icon */
    top: 16px;
    color: #aaa; /* Placeholder-like color */
    pointer-events: none;
    transition: all 0.2s ease;
    z-index: 2;
    font-size: 1rem;
    background: none; /* Ensure no background interferes */
    padding: 0 5px; /* Padding for label text */
}

/* Floating label effect */
/* Input needs placeholder=" " for :placeholder-shown to work correctly */
.cool-input:focus + .cool-label,
.cool-input:not(:placeholder-shown) + .cool-label {
    top: -10px;
    left: 40px;
    font-size: 0.85rem;
    color: var(--neon-purple-light);
    /* Need a background matching the container to cover the border */
    background: var(--glass-bg); /* Use the container's glass background */
    padding: 0 5px;
    z-index: 3; /* Ensure label is above border */
    border-radius: 3px; /* Optional: slightly round the label background */
}

/* Animated Border */
.cool-input-wrapper::before {
    content: '';
    position: absolute;
    top: -2px; left: -2px; right: -2px; bottom: -2px;
    background: linear-gradient(120deg, var(--neon-purple), var(--neon-pink), var(--neon-blue));
    background-size: 300% 300%;
    border-radius: calc(var(--border-radius) + 2px);
    z-index: 0;
    opacity: 0;
    transition: opacity 0.4s ease, background-position 0.5s ease-in-out;
    animation: gradient-animation 6s ease infinite;
}

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

.cool-input-wrapper:focus-within::before {
    opacity: 1;
}

.cool-input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15); /* Slightly lighter on focus */
    box-shadow: inset 0 1px 2px rgba(0,0,0,0.1), 0 0 15px rgba(157, 78, 221, 0.3); /* Inner shadow + glow */
}

.cool-input-wrapper:focus-within .input-icon {
    color: var(--neon-pink); /* Change icon color on focus */
}

/* Remove browser default validation styles */
.cool-input:invalid {
    box-shadow: none;
}

/* Style for disabled state */
.cool-input:disabled {
    background: rgba(255, 255, 255, 0.05);
    color: #555; /* Darker grey for disabled text */
    cursor: not-allowed;
    opacity: 0.7;
}
.cool-input:disabled + .cool-label {
    color: #777;
}
.cool-input-wrapper:has(.cool-input:disabled)::before {
    opacity: 0.2; /* Dim border for disabled */
}

/* Ensure label background matches container */
.glass-effect .cool-input:focus + .cool-label,
.glass-effect .cool-input:not(:placeholder-shown) + .cool-label {
    background: var(--glass-bg); /* Match .glass-effect background */
}


