:root {
    --primary: #06b6d4;
    --primary-dark: #0891b2;
    --primary-light: #22d3ee;
    --secondary: #14b8a6;
    --success: #10b981;
    --warning: #f59e0b;
    --danger: #ef4444;
    --pink: #ec4899;
    --gradient-1: linear-gradient(135deg, #06b6d4 0%, #14b8a6 100%);
    --gradient-2: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    --gradient-3: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    --shadow-sm: 0 2px 8px rgba(6, 182, 212, 0.15);
    --shadow: 0 4px 16px rgba(6, 182, 212, 0.2);
    --shadow-lg: 0 8px 32px rgba(6, 182, 212, 0.25);
    --shadow-xl: 0 16px 48px rgba(6, 182, 212, 0.3);
    --radius-sm: 8px;
    --radius: 12px;
    --radius-lg: 16px;
    --radius-xl: 24px;
}

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

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, "PingFang SC", "Microsoft YaHei", sans-serif;
    background: linear-gradient(135deg, #0891b2 0%, #06b6d4 50%, #2dd4bf 100%);
    min-height: 100vh;
    color: #1f2937;
    line-height: 1.6;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(circle at 20% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 40% 70%, rgba(45, 212, 191, 0.15) 0%, transparent 40%);
    pointer-events: none;
    z-index: 0;
}

.floating-shapes {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
    z-index: 0;
}

.floating-shape {
    position: absolute;
    border-radius: 50%;
    opacity: 0.1;
    animation: float 20s infinite ease-in-out;
}

.floating-shape:nth-child(1) {
    width: 300px;
    height: 300px;
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    top: -100px;
    left: -100px;
    animation-delay: 0s;
}

.floating-shape:nth-child(2) {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    top: 20%;
    right: -50px;
    animation-delay: -5s;
}

.floating-shape:nth-child(3) {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #22d3ee 0%, #06b6d4 100%);
    bottom: 10%;
    left: 10%;
    animation-delay: -10s;
}

.floating-shape:nth-child(4) {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    bottom: -80px;
    right: 20%;
    animation-delay: -15s;
}

@keyframes float {
    0%, 100% { transform: translate(0, 0) rotate(0deg); }
    25% { transform: translate(30px, -30px) rotate(5deg); }
    50% { transform: translate(-20px, 20px) rotate(-5deg); }
    75% { transform: translate(20px, 10px) rotate(3deg); }
}

.container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: var(--radius-xl);
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow-lg);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-xl);
}

.header-section {
    padding: 48px 0;
    text-align: center;
    position: relative;
    z-index: 1;
}

.folder-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 24px;
    background: var(--gradient-1);
    border-radius: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    position: relative;
    animation: bounceIn 0.6s ease;
}

.folder-icon-wrapper::before {
    content: '';
    position: absolute;
    inset: -4px;
    background: var(--gradient-1);
    border-radius: 36px;
    opacity: 0.3;
    z-index: -1;
    animation: pulse 2s infinite;
}

.folder-icon-wrapper i {
    font-size: 56px;
    color: #fff;
}

@keyframes bounceIn {
    0% { opacity: 0; transform: scale(0.5); }
    60% { transform: scale(1.1); }
    100% { opacity: 1; transform: scale(1); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.3; }
    50% { transform: scale(1.05); opacity: 0.5; }
}

.folder-title {
    font-size: 32px;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    animation: fadeInUp 0.6s ease 0.2s both;
}

.folder-meta {
    display: flex;
    justify-content: center;
    gap: 24px;
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    animation: fadeInUp 0.6s ease 0.3s both;
}

.folder-meta span {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    padding: 8px 16px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.content-section {
    padding: 0 0 48px;
    position: relative;
    z-index: 1;
}

.stats-cards {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.4s both;
}

.stat-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: var(--radius-lg);
    padding: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: var(--shadow);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.stat-card i {
    font-size: 28px;
    margin-bottom: 8px;
}

.stat-card.folders i {
    color: #fbbf24;
}

.stat-card.files i {
    color: var(--primary);
}

.stat-value {
    font-size: 32px;
    font-weight: 700;
    color: #1f2937;
    line-height: 1.2;
}

.stat-label {
    font-size: 13px;
    color: #6b7280;
    margin-top: 4px;
}

.notice-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid rgba(0, 0, 0, 0.08);
    margin-bottom: 24px;
    animation: fadeInUp 0.6s ease 0.5s both;
}

.notice-card .card-header {
    background: linear-gradient(90deg, rgba(6, 182, 212, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-bottom: 1px solid rgba(0, 0, 0, 0.08);
    padding: 16px 20px;
}

.notice-card .card-header i {
    background: var(--gradient-1);
    color: #fff;
}

.notice-content {
    padding: 20px;
    line-height: 1.8;
    color: #374151;
    font-size: 15px;
}

.file-list-card {
    animation: fadeInUp 0.6s ease 0.6s both;
}

.file-list-header {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.05) 0%, rgba(255, 255, 255, 1) 100%);
    border-bottom: 1px solid rgba(102, 126, 234, 0.1);
    padding: 16px 20px;
    display: flex;
    align-items: center;
    gap: 12px;
    font-weight: 600;
    color: #1f2937;
}

.file-list-header i {
    background: var(--gradient-1);
    color: #fff;
    width: 40px;
    height: 40px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.file-list {
    list-style: none;
}

.file-item {
    display: flex;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    cursor: pointer;
}

.file-item:last-child {
    border-bottom: none;
}

.file-item:hover {
    background: linear-gradient(90deg, rgba(102, 126, 234, 0.08) 0%, rgba(102, 126, 234, 0.02) 100%);
    transform: translateX(8px);
}

.file-icon {
    width: 52px;
    height: 52px;
    border-radius: var(--radius);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 22px;
    margin-right: 16px;
    flex-shrink: 0;
    transition: transform 0.3s ease;
}

.file-item:hover .file-icon {
    transform: scale(1.1) rotate(5deg);
}

.icon-folder {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.icon-image {
    background: linear-gradient(135deg, #f472b6 0%, #ec4899 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(244, 114, 182, 0.4);
}

.icon-video {
    background: linear-gradient(135deg, #f87171 0%, #ef4444 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(248, 113, 113, 0.4);
}

.icon-audio {
    background: linear-gradient(135deg, #a78bfa 0%, #8b5cf6 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(167, 139, 250, 0.4);
}

.icon-document {
    background: linear-gradient(135deg, #60a5fa 0%, #3b82f6 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(96, 165, 250, 0.4);
}

.icon-spreadsheet {
    background: linear-gradient(135deg, #34d399 0%, #10b981 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(52, 211, 153, 0.4);
}

.icon-presentation {
    background: linear-gradient(135deg, #fb923c 0%, #f97316 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(251, 146, 60, 0.4);
}

.icon-archive {
    background: linear-gradient(135deg, #a8a29e 0%, #78716c 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(168, 162, 158, 0.4);
}

.icon-code {
    background: linear-gradient(135deg, #2dd4bf 0%, #14b8a6 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(45, 212, 191, 0.4);
}

.icon-executable,
.icon-file {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.file-info {
    flex: 1;
    min-width: 0;
}

.file-name {
    font-weight: 600;
    color: #1f2937;
    margin-bottom: 4px;
    word-break: break-word;
    font-size: 15px;
}

.file-name a {
    color: #1f2937;
    text-decoration: none;
    transition: color 0.2s;
}

.file-item.is-folder .file-name a,
.file-name a:hover {
    color: var(--primary);
}

.file-meta {
    font-size: 13px;
    color: #9ca3af;
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.file-meta span {
    display: flex;
    align-items: center;
    gap: 4px;
}

.file-action {
    margin-left: 12px;
    flex-shrink: 0;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 10px 18px;
    border-radius: var(--radius);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient-1);
    color: #fff;
    box-shadow: 0 4px 12px rgba(6, 182, 212, 0.4);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(6, 182, 212, 0.5);
}

.btn-success {
    background: linear-gradient(135deg, #10b981 0%, #34d399 100%);
    color: #fff;
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.4);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(16, 185, 129, 0.5);
}

.empty-state {
    text-align: center;
    padding: 64px 20px;
    color: #9ca3af;
}

.empty-state i {
    font-size: 80px;
    margin-bottom: 20px;
    opacity: 0.3;
}

.empty-state p {
    font-size: 18px;
    font-weight: 500;
}

.footer-section {
    text-align: center;
    padding: 32px 20px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    position: relative;
    z-index: 1;
}

.footer-section a {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
}

.footer-section a:hover {
    text-decoration: underline;
}

.breadcrumb {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 0;
    font-size: 14px;
    color: rgba(255, 255, 255, 0.8);
    animation: fadeInUp 0.6s ease 0.1s both;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.2s;
}

.breadcrumb a:hover {
    color: #fff;
}

.breadcrumb span {
    opacity: 0.5;
}

@media (max-width: 768px) {
    .container {
        padding: 0 12px;
    }

    .header-section {
        padding: 32px 0 36px;
    }

    .folder-icon-wrapper {
        width: 96px;
        height: 96px;
        border-radius: 24px;
    }

    .folder-icon-wrapper i {
        font-size: 44px;
    }

    .folder-title {
        font-size: 24px;
    }

    .folder-meta {
        gap: 12px;
    }

    .folder-meta span {
        padding: 6px 12px;
        font-size: 12px;
    }

    .stats-cards {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }

    .stat-card {
        padding: 16px;
    }

    .stat-card i {
        font-size: 24px;
    }

    .stat-value {
        font-size: 28px;
    }

    .stat-label {
        font-size: 12px;
    }

    .file-item {
        padding: 14px 16px;
    }

    .file-icon {
        width: 44px;
        height: 44px;
        font-size: 18px;
        margin-right: 12px;
    }

    .file-name {
        font-size: 14px;
    }

    .file-meta {
        font-size: 12px;
        gap: 12px;
    }

    .file-action {
        margin-left: 8px;
    }

    .btn {
        padding: 8px 14px;
        font-size: 13px;
    }

    .btn span {
        display: none;
    }

    .empty-state {
        padding: 48px 16px;
    }

    .empty-state i {
        font-size: 64px;
    }

    .empty-state p {
        font-size: 16px;
    }
}

@media (max-width: 480px) {
    .file-item {
        flex-wrap: wrap;
    }

    .file-info {
        flex: 1 1 calc(100% - 56px);
    }

    .file-action {
        flex: 1 1 100%;
        margin-left: 56px;
        margin-top: 8px;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }
}