@font-face {
    font-family: 'CustomTitle';
    src: url('./font/zh-cn.ttf') format('truetype');
}

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #FFFEF0;
    --primary-dark: #E8E8D0;
    --secondary-color: #8338EC;
    --success-color: #10b981;
    --danger-color: #ef4444;
    --warning-color: #f59e0b;
    --bg-color: #0f3460;
    --card-bg: #1a1a2e;
    --text-color: #FFFEF0;
    --text-light: #E8E8D0;
    --border-color: #8338EC;
    --shadow: 0 0 20px rgba(255, 0, 110, 0.2);
    --shadow-lg: 0 0 40px rgba(255, 0, 110, 0.4);
    --anime-accent: #3A86FF;
    --anime-light: #FB5607;
    --title-font: 'CustomTitle', sans-serif;
    --body-font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
}

body {
    font-family: var(--body-font);
    line-height: 1.6;
    color: var(--text-color);
    position: relative;
    overflow-x: hidden;
}

h1,
h2,
h3,
.logo {
    font-family: var(--title-font);
    letter-spacing: 2px;
}

/* Particle Canvas */
#particleCanvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

/* Fade In Animation */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(12px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Fade In On Scroll */
@keyframes fadeInScale {
    from {
        opacity: 0;
        transform: translateY(20px) scale(0.97);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

/* Fade Out Animation */
@keyframes fadeOut {
    from {
        opacity: 1;
        transform: translateY(0);
    }
    to {
        opacity: 0;
        transform: translateY(20px);
    }
}

/* Spinner Animation */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Loading Screen */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    transition: opacity 0.5s ease-out, visibility 0.5s ease-out;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loading-container {
    text-align: center;
}

.spinner {
    width: 80px;
    height: 80px;
    border: 5px solid rgba(255, 0, 110, 0.2);
    border-top: 5px solid #FF006E;
    border-right: 5px solid #8338EC;
    border-radius: 50%;
    animation: spin 2s linear infinite;
    margin: 0 auto 2rem;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.loading-container h2 {
    color: #FF006E;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 20px rgba(131, 56, 236, 0.5);
}

.loading-container p {
    color: #BB86FC;
    font-size: 1.1rem;
    letter-spacing: 2px;
}

/* Glow Animation */
@keyframes glow {
    0%, 100% {
        text-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--secondary-color);
    }
    50% {
        text-shadow: 0 0 20px var(--primary-color), 0 0 40px var(--secondary-color);
    }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navbar */
.navbar {
    background: linear-gradient(90deg, #1a1a2e 0%, #16213e 100%);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 2px solid var(--primary-color);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 20px;
}

.logo {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-light);
    font-weight: 500;
    transition: all 0.3s;
    position: relative;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -3px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--primary-color);
}

.nav-links a:hover::after,
.nav-links a.active::after {
    width: 100%;
}

.btn-admin {
    background: linear-gradient(135deg, var(--primary-color), var(--anime-light));
    color: white !important;
    padding: 0.5rem 1rem;
    border-radius: 6px;
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
    transition: all 0.3s ease;
}

.btn-admin:hover {
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.8);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
    color: white;
    padding: 5rem 0;
    text-align: center;
    border-top: 2px solid var(--primary-color);
    border-bottom: 2px solid var(--secondary-color);
    animation: fadeIn 0.8s ease-out;
}

.hero h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--primary-color);
    animation: glow 3s ease-in-out infinite;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    color: #FFFEF0;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 6px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
    z-index: -1;
}

.btn:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--anime-light));
    color: white;
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--anime-light), var(--primary-color));
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.8);
}

.btn-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--anime-accent));
    color: white;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 15px rgba(131, 56, 236, 0.5);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, var(--anime-accent), var(--secondary-color));
    box-shadow: 0 0 25px rgba(131, 56, 236, 0.8);
    transform: translateY(-2px);
}

.btn-block {
    width: 100%;
}

/* Features Section */
.features {
    padding: 5rem 0;
    animation: fadeIn 1s ease-out;
}

.features h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.4) 0%, rgba(255, 0, 110, 0.3) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.2);
    text-align: center;
    transition: transform 0.3s, box-shadow 0.3s;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.3));
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.feature-icon img {
    width: 80px;
    height: 80px;
    object-fit: contain;
}

.feature-card h3 {
    margin-bottom: 0.5rem;
    color: #FFFEF0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(131, 56, 236, 0.5);
}

.feature-card p {
    color: #FFFFFF;
    opacity: 0.95;
}

/* Featured Anime Section */
.featured-anime {
    padding: 5rem 0;
    animation: fadeIn 1s ease-out;
    background: linear-gradient(180deg, rgba(15, 52, 96, 0.5) 0%, rgba(26, 26, 46, 0.5) 100%);
}

.featured-anime h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

.section-subtitle {
    text-align: center;
    color: #BB86FC;
    font-size: 1.1rem;
    margin-bottom: 3rem;
    letter-spacing: 0.5px;
}

.featured-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
}

.featured-card {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.3) 0%, rgba(255, 0, 110, 0.2) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.2);
    transition: transform 0.3s, box-shadow 0.3s, border-color 0.3s;
}

.featured-card:hover {
    transform: translateY(-10px) scale(1.02);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.featured-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.featured-card:hover .featured-image img {
    transform: scale(1.1);
}

.featured-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.featured-card:hover .featured-overlay {
    opacity: 1;
}

.btn-small {
    padding: 0.8rem 1.5rem !important;
    font-size: 0.9rem !important;
}

.featured-info {
    padding: 1.5rem;
}

.featured-info h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(131, 56, 236, 0.5);
}

.genre-tag {
    color: #BB86FC;
    font-size: 0.9rem;
    margin-bottom: 1rem;
    font-weight: 600;
}

.featured-desc {
    color: #E8E8D0;
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Page Header */
.page-header {
    background: rgba(10, 30, 50, 0.85);
    backdrop-filter: blur(15px);
    color: white;
    padding: 3rem 0;
    text-align: center;
    border-bottom: 2px solid var(--secondary-color);
    animation: slideDown 0.6s ease-out;
}

@keyframes slideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.page-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

.page-header p {
    color: #FFFEF0;
    opacity: 0.95;
}

/* Content Sections */
.content-section {
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text h2 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    margin-top: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.about-text h2:first-child {
    margin-top: 0;
}

.feature-list {
    list-style: none;
    padding-left: 0;
}

.feature-list li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: #FFFFFF;
}

.feature-list li:before {
    content: "✓";
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: bold;
}

.placeholder-image {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.4), rgba(255, 0, 110, 0.3));
    backdrop-filter: blur(10px);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #FFFEF0;
    font-weight: 600;
    animation: fadeIn 0.8s ease-out;
}

.placeholder-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
}

/* Team/Values Section */
.team-section {
    background: transparent;
    padding: 4rem 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.value-card {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.4) 0%, rgba(255, 0, 110, 0.3) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid var(--secondary-color);
    padding: 2rem;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    animation: fadeIn 0.8s ease-out backwards;
}

.value-card:nth-child(1) { animation-delay: 0.1s; }
.value-card:nth-child(2) { animation-delay: 0.2s; }
.value-card:nth-child(3) { animation-delay: 0.3s; }

.value-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.value-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #FFFEF0;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(131, 56, 236, 0.5);
}

.value-card p {
    color: #FFFFFF;
    opacity: 0.95;
}

.team-profiles-section {
    padding: 4rem 0;
}

.team-profiles-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

.team-profiles-grid {
    display: grid;
    grid-template-columns: repeat(4, minmax(200px, 1fr));
    gap: 2rem;
}

.team-profile-card {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.4) 0%, rgba(255, 0, 110, 0.3) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    padding: 1.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-profile-card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-color);
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.4);
}

.team-profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid var(--secondary-color);
    margin-bottom: 1rem;
}

.team-profile-card h3 {
    color: #FFFEF0;
    margin-bottom: 0.35rem;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 0.8px;
}

.team-profile-card p {
    color: #FFFFFF;
    opacity: 0.9;
    font-size: 0.95rem;
}

/* Gallery */
.gallery-section {
    padding: 4rem 0;
    animation: fadeIn 1s ease-out;
}

.gallery-filters {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 3rem;
    flex-wrap: wrap;
}

.filter-btn {
    padding: 0.5rem 1.5rem;
    border: 2px solid var(--secondary-color);
    background: transparent;
    color: #FFFEF0;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.filter-btn:hover {
    background: var(--secondary-color);
    color: white;
    border-color: var(--primary-color);
    transform: scale(1.05);
}

.filter-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--anime-light));
    color: white;
    border-color: var(--anime-light);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.5);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
}

.gallery-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.4s ease;
    border: 2px solid var(--secondary-color);
    animation: fadeIn 0.6s ease-out backwards;
}

.gallery-item:nth-child(1) { animation-delay: 0.1s; }
.gallery-item:nth-child(2) { animation-delay: 0.2s; }
.gallery-item:nth-child(3) { animation-delay: 0.3s; }
.gallery-item:nth-child(4) { animation-delay: 0.4s; }
.gallery-item:nth-child(5) { animation-delay: 0.5s; }
.gallery-item:nth-child(6) { animation-delay: 0.6s; }

.gallery-item img {
    display: block;
    width: 100%;
    height: 220px;
    object-fit: cover;
    cursor: zoom-in;
    transition: transform 0.4s ease;
}

.gallery-item:hover {
    transform: scale(1.08);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
    border-color: var(--primary-color);
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(to top, rgba(10, 25, 50, 0.95), transparent);
    color: white;
    padding: 1.5rem;
    transform: translateY(100%);
    transition: transform 0.4s ease;
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

.gallery-item:hover .gallery-overlay {
    transform: translateY(0);
}

/* Form Sections */
.form-section {
    padding: 4rem 0;
}

.form-container {
    max-width: 800px;
    margin: 0 auto;
}

.user-form {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.form-group {
    margin-bottom: 1.5rem;
    animation: fadeIn 0.6s ease-out backwards;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: #FFFEF0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 1rem;
    font-family: inherit;
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    color: white;
}

.form-group select option,
select option {
    background: #1a1a2e;
    color: #FFFEF0;
    padding: 0.75rem;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-light);
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
    background: rgba(255, 0, 110, 0.05);
}

.checkbox-group label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 400;
    color: var(--text-light);
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    cursor: pointer;
}

.form-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
}

/* Success Message */
.success-message {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.2) 0%, rgba(255, 0, 110, 0.1) 100%);
    border: 2px solid var(--secondary-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
    text-align: center;
    animation: fadeIn 0.8s ease-out;
}

.success-message h3 {
    color: var(--success-color);
    font-size: 2rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Submissions/Table */
.submissions-section {
    padding: 4rem 0;
    animation: fadeIn 1s ease-out;
}

.table-controls {
    display: flex;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-box input {
    padding: 0.75rem;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    width: 300px;
    font-size: 1rem;
    background: rgba(131, 56, 236, 0.3);
    backdrop-filter: blur(10px);
    color: #FFFEF0;
    font-weight: 500;
    transition: all 0.3s ease;
}

.search-box input::placeholder {
    color: rgba(255, 254, 240, 0.8);
    font-weight: 400;
}

.search-box input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
    background: rgba(255, 0, 110, 0.05);
}

.filter-controls select {
    padding: 0.75rem;
    border: 2px solid var(--secondary-color);
    border-radius: 6px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.05);
    color: white;
    transition: all 0.3s ease;
}

.filter-controls select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

.filter-controls select option {
    background: #1a1a2e;
    color: #FFFEF0;
    padding: 0.75rem;
}

.table-wrapper {
    background: rgba(26, 26, 46, 0.5);
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.2);
}

.table-wrapper > div {
    overflow-x: auto;
}

.table-wrapper::-webkit-scrollbar {
    height: 8px;
}

.table-wrapper::-webkit-scrollbar-track {
    background: rgba(26, 26, 46, 0.5);
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 10px;
}

.table-wrapper::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

.submissions-table,
.admin-table {
    width: 100%;
    border-collapse: collapse;
}

.submissions-table th,
.admin-table th {
    background: var(--secondary-color);
    padding: 1rem;
    text-align: left;
    font-weight: 600;
    border-bottom: 2px solid var(--anime-light);
    color: white;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.submissions-table td,
.admin-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(131, 56, 236, 0.2);
    color: #FFFFFF;
}

.submissions-table tr,
.admin-table tr {
    transition: all 0.3s ease;
    animation: fadeIn 0.6s ease-out backwards;
}

.submissions-table tbody tr:nth-child(1),
.admin-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.submissions-table tbody tr:nth-child(2),
.admin-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.submissions-table tbody tr:nth-child(3),
.admin-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.submissions-table tbody tr:nth-child(4),
.admin-table tbody tr:nth-child(4) { animation-delay: 0.4s; }

.submissions-table tr:hover,
.admin-table tr:hover {
    background: linear-gradient(90deg, rgba(255, 0, 110, 0.2), rgba(131, 56, 236, 0.2));
    transform: scale(1.01);
}

.message-cell {
    max-width: 250px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.875rem;
    font-weight: 600;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge-action {
    background: linear-gradient(135deg, var(--primary-color), #ff4757);
    color: white;
    box-shadow: 0 0 10px var(--primary-color);
}

.badge-fantasy {
    background: linear-gradient(135deg, var(--secondary-color), #7c3aed);
    color: white;
    box-shadow: 0 0 10px var(--secondary-color);
}

.badge-adventure {
    background: linear-gradient(135deg, var(--anime-accent), #5865f2);
    color: white;
    box-shadow: 0 0 10px var(--anime-accent);
}

.badge-drama {
    background: linear-gradient(135deg, var(--anime-light), #ff7f50);
    color: white;
    box-shadow: 0 0 10px var(--anime-light);
}

.rating-badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 0.85rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, var(--primary-color), var(--anime-light));
    color: white;
    box-shadow: 0 0 10px var(--primary-color);
}

.action-buttons {
    display: flex;
    gap: 0.5rem;
}

.btn-icon {
    background: transparent;
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    transition: all 0.3s ease;
    width: 40px;
    height: 40px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.btn-icon:hover {
    background: var(--secondary-color);
    color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px var(--secondary-color);
}

.btn-edit:hover {
    border-color: var(--anime-light);
    background: var(--anime-light);
}

.btn-delete:hover {
    border-color: var(--primary-color);
    background: var(--primary-color);
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    margin-top: 2rem;
}

.page-info {
    color: #FFFEF0;
    font-weight: 600;
    font-size: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(131, 56, 236, 0.4);
    backdrop-filter: blur(10px);
    border: 2px solid var(--border-color);
    border-radius: 6px;
}

.btn-page {
    padding: 0.5rem 1rem;
    border: 2px solid var(--border-color);
    background: rgba(131, 56, 236, 0.6) !important;
    backdrop-filter: blur(10px);
    color: #FFFEF0 !important;
    font-weight: 600;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s;
}

.btn-page:hover {
    background: var(--primary-color);
    color: white;
    border-color: var(--primary-color);
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s ease-out;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid var(--secondary-color);
    margin: 5% auto;
    padding: 2rem;
    border-radius: 12px;
    width: 90%;
    max-width: 600px;
    max-height: 80vh;
    overflow-y: auto;
    box-shadow: 0 0 50px rgba(131, 56, 236, 0.5);
    animation: slideUp 0.4s ease-out;
}

@keyframes slideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.modal-large {
    max-width: 800px;
}

.modal-content h2 {
    color: var(--primary-color);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1.5rem;
}

.close {
    color: var(--primary-color);
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
    transition: all 0.3s ease;
}

.close:hover {
    text-shadow: 0 0 15px var(--primary-color);
    transform: scale(1.2);
}

.modal-details {
    margin-top: 1.5rem;
}

.modal-details p {
    margin-bottom: 0.75rem;
    color: #FFFFFF;
}

.image-modal-content {
    position: relative;
    margin: 2% auto;
    width: 92%;
    max-width: 1200px;
    max-height: 92vh;
    display: flex;
    justify-content: center;
    align-items: center;
    background: transparent;
    border: none;
    padding: 0;
}

#fullImagePreview {
    width: auto;
    max-width: 100%;
    max-height: 92vh;
    object-fit: contain;
    border-radius: 10px;
    border: 2px solid var(--secondary-color);
    box-shadow: 0 0 30px rgba(131, 56, 236, 0.45);
}

.image-modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    font-size: 2.2rem;
    font-weight: 700;
    color: var(--primary-color);
    cursor: pointer;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
    line-height: 1;
    z-index: 2;
}

.image-modal-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 44px;
    height: 44px;
    border: 2px solid var(--secondary-color);
    border-radius: 50%;
    background: rgba(26, 26, 46, 0.8);
    color: var(--primary-color);
    font-size: 1.4rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    z-index: 2;
}

.image-modal-nav:hover {
    border-color: var(--primary-color);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.45);
    transform: translateY(-50%) scale(1.05);
}

.image-modal-prev {
    left: 14px;
}

.image-modal-next {
    right: 14px;
}

.modal-details strong {
    color: #FFFEF0;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* SweetAlert Theme */
.swal2-popup.swal-theme-popup {
    border: 2px solid var(--secondary-color);
    border-radius: 12px;
    box-shadow: 0 0 35px rgba(131, 56, 236, 0.45);
}

.swal2-title.swal-theme-title {
    color: var(--primary-color) !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.swal2-confirm.swal-theme-confirm,
.swal2-cancel.swal-theme-cancel {
    border: none;
    border-radius: 6px;
    color: #fff;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    padding: 10px 18px;
    margin: 0 6px;
    transition: all 0.25s ease;
}

.swal2-confirm.swal-theme-confirm {
    background: linear-gradient(135deg, var(--secondary-color), var(--anime-accent));
    box-shadow: 0 0 15px rgba(131, 56, 236, 0.45);
}

.swal2-confirm.swal-theme-confirm.danger {
    background: linear-gradient(135deg, #ef4444, #ff6b6b);
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.45);
}

.swal2-cancel.swal-theme-cancel {
    background: linear-gradient(135deg, var(--anime-light), var(--primary-color));
    box-shadow: 0 0 15px rgba(251, 86, 7, 0.4);
}

.swal2-confirm.swal-theme-confirm:hover,
.swal2-cancel.swal-theme-cancel:hover {
    transform: translateY(-2px);
    filter: brightness(1.08);
}

/* Admin Login */
.login-page {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.login-container {
    width: 100%;
    max-width: 450px;
    padding: 2rem;
    animation: fadeIn 0.8s ease-out;
}

.login-box {
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.95) 0%, rgba(22, 33, 62, 0.95) 100%);
    border: 2px solid var(--secondary-color);
    padding: 3rem;
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(131, 56, 236, 0.5);
}

.login-header {
    text-align: center;
    margin-bottom: 2rem;
}

.login-header h1 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    animation: glow 3s ease-in-out infinite;
}

.login-header p {
    color: #FFFEF0;
    opacity: 0.95;
}

.login-form .form-group {
    margin-bottom: 1.5rem;
}

.login-form label {
    color: #FFFEF0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.login-form input {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--secondary-color);
    color: white;
    padding: 10px;
    border-radius: 6px;
    transition: all 0.3s ease;
}

.login-form input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
    background: rgba(255, 0, 110, 0.05);
}

.login-form input::placeholder {
    color: var(--text-light);
}

.checkbox-group label {
    color: var(--text-light);
}

.login-footer {
    text-align: center;
    margin-top: 1.5rem;
}

.login-footer a {
    color: var(--anime-accent);
    text-decoration: none;
    transition: all 0.3s ease;
}

.login-footer a:hover {
    color: var(--primary-color);
    text-shadow: 0 0 10px var(--primary-color);
}

/* Admin Dashboard */
.admin-layout {
    display: flex;
    min-height: 100vh;
}

.admin-sidebar {
    width: 250px;
    background: rgba(10, 30, 50, 0.85);
    backdrop-filter: blur(10px);
    color: white;
    position: fixed;
    height: 100vh;
    overflow-y: auto;
    border-right: 2px solid var(--primary-color);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.2);
}

.sidebar-header {
    padding: 2rem 1.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sidebar-nav {
    padding: 1rem 0;
}

.nav-item {
    display: block;
    padding: 1rem 1.5rem;
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: all 0.3s;
}

.nav-item:hover,
.nav-item.active {
    background: rgba(255, 255, 255, 0.1);
    color: white;
}

.nav-item.logout {
    margin-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.admin-main {
    margin-left: 250px;
    flex: 1;
}

.admin-header {
    background: rgba(10, 30, 50, 0.7);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.admin-content {
    padding: 2rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.stat-card {
    background: var(--card-bg);
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
    display: flex;
    gap: 1rem;
    align-items: center;
}

.stat-icon {
    font-size: 2.5rem;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: var(--primary-color);
}

.admin-section {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 12px;
    box-shadow: var(--shadow);
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
}

/* Footer */
.footer {
    background: rgba(10, 30, 50, 0.85);
    backdrop-filter: blur(15px);
    color: white;
    text-align: center;
    padding: 2rem 0;
    margin-top: 4rem;
    border-top: 2px solid var(--secondary-color);
    box-shadow: 0 -10px 30px rgba(131, 56, 236, 0.2);
}

/* Gallery Management */
.gallery-management-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.gallery-management-item {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.2) 0%, rgba(255, 0, 110, 0.1) 100%);
    border: 2px solid var(--anime-secondary);
    border-radius: 12px;
    overflow: hidden;
    animation: fadeIn 0.6s ease-out backwards;
    transition: all 0.3s ease;
}

.gallery-management-item:hover {
    transform: translateY(-10px);
    border-color: var(--anime-primary);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5);
}

.gallery-item-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
}

.gallery-item-info {
    padding: 1.5rem;
}

.gallery-item-info h3 {
    color: #FFFEF0;
    font-size: 1rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.gallery-item-info p {
    color: #FFFFFF;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.gallery-item-category {
    display: inline-block;
    padding: 4px 8px;
    background: linear-gradient(135deg, var(--anime-secondary), var(--anime-accent));
    color: white;
    border-radius: 4px;
    font-size: 0.8rem;
    margin-bottom: 1rem;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

.gallery-item-actions {
    display: flex;
    gap: 0.5rem;
    justify-content: flex-end;
}

.gallery-item-actions .btn-icon {
    width: 36px;
    height: 36px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
}

#imagePreview {
    max-width: 200px;
}

#imagePreview img {
    width: 100%;
    height: auto;
    border-radius: 6px;
    border: 2px solid var(--anime-secondary);
}

@keyframes galleryGlow {
    0%, 100% {
        text-shadow: 0 0 10px var(--anime-primary), 0 0 20px var(--anime-secondary);
    }
    50% {
        text-shadow: 0 0 20px var(--anime-primary), 0 0 40px var(--anime-secondary);
    }
}

/* Admin Gallery Page */
.admin-gallery-page {
    --anime-primary: #FF006E;
    --anime-secondary: #8338EC;
    --anime-accent: #3A86FF;
    --anime-light: #FB5607;
    --anime-dark: #1a1a2e;
    --anime-bg: #0f3460;
    background: var(--anime-dark);
    color: #fff;
    overflow-x: hidden;
}

.admin-gallery-page #particleCanvas {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
}

.admin-gallery-page .admin-layout {
    animation: fadeIn 0.5s ease-out;
}

.admin-gallery-page .admin-sidebar {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-right: 3px solid var(--anime-primary);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.admin-gallery-page .sidebar-header h2 {
    color: var(--anime-primary);
    animation: galleryGlow 3s ease-in-out infinite;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.admin-gallery-page .nav-item {
    position: relative;
    color: #fff;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 10px 0;
    padding: 12px 16px;
}

.admin-gallery-page .nav-item:hover {
    border-left-color: var(--anime-primary);
    background: rgba(255, 0, 110, 0.1);
    transform: translateX(5px);
}

.admin-gallery-page .nav-item.active {
    border-left-color: var(--anime-light);
    background: rgba(251, 86, 7, 0.2);
}

.admin-gallery-page .admin-header {
    background: linear-gradient(90deg, #16213e 0%, #0f3460 100%);
    border-bottom: 2px solid var(--anime-secondary);
    padding: 20px;
}

.admin-gallery-page .admin-header h1 {
    color: var(--anime-primary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-gallery-page .section-header {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--anime-secondary);
    padding-bottom: 15px;
}

.admin-gallery-page .section-header h2 {
    color: var(--anime-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-gallery-page .btn {
    background: linear-gradient(135deg, var(--anime-primary), var(--anime-light));
    border: none;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    padding: 12px 24px;
    border-radius: 6px;
}

.admin-gallery-page .btn:hover {
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.8);
    transform: translateY(-3px);
}

.admin-gallery-page .status-inline {
    margin-bottom: 20px;
    padding: 12px 14px;
    border-radius: 8px;
    border: 2px solid;
    font-weight: 600;
}

.admin-gallery-page .status-inline.success {
    border-color: #10b981;
    background: rgba(16, 185, 129, 0.18);
}

.admin-gallery-page .status-inline.error {
    border-color: #ef4444;
    background: rgba(239, 68, 68, 0.18);
}

.admin-gallery-page .inline-form {
    display: inline;
}

.admin-gallery-page .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
}

.admin-gallery-page .modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid var(--anime-secondary);
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(131, 56, 236, 0.5);
    color: white;
    margin: 4% auto;
    max-width: 760px;
    padding: 24px;
}

.admin-gallery-page .close {
    color: var(--anime-primary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    float: right;
    line-height: 1;
}

.admin-gallery-page .close:hover {
    text-shadow: 0 0 15px var(--anime-primary);
}

.admin-gallery-page .form-group label {
    color: #FFFEF0;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-gallery-page .form-group input,
.admin-gallery-page .form-group select {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid var(--anime-secondary);
    color: #FFFEF0;
    border-radius: 6px;
    padding: 10px;
    font-weight: 500;
}

.admin-gallery-page .form-group input::placeholder {
    color: rgba(255, 254, 240, 0.6);
}

.admin-gallery-page .form-group input:focus,
.admin-gallery-page .form-group select:focus {
    outline: none;
    border-color: var(--anime-primary);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

.admin-gallery-page .image-preview-box {
    margin-top: 10px;
    min-height: 80px;
}

.admin-gallery-page .image-preview-box img {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border-radius: 8px;
    border: 2px solid var(--anime-secondary);
}

.anime-swal-popup {
    background: #1a1a2e !important;
    border: 2px solid #8338EC !important;
    box-shadow: 0 0 30px rgba(131, 56, 236, 0.5) !important;
}

.anime-swal-title {
    color: #FF006E !important;
    text-transform: uppercase !important;
    font-weight: bold !important;
}

.anime-swal-confirm {
    background: linear-gradient(135deg, #FB5607, #FF006E) !important;
    border: none !important;
    box-shadow: 0 0 15px rgba(251, 86, 7, 0.5) !important;
}

.anime-swal-confirm:hover {
    box-shadow: 0 0 25px rgba(251, 86, 7, 0.8) !important;
}

.anime-swal-cancel {
    background: #3A86FF !important;
    border: none !important;
}

.anime-swal-cancel:hover {
    background: #2a76ef !important;
}

@keyframes adminDashboardFadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes adminDashboardGlow {
    0%, 100% {
        text-shadow: 0 0 10px var(--anime-primary), 0 0 20px var(--anime-secondary);
    }
    50% {
        text-shadow: 0 0 20px var(--anime-primary), 0 0 40px var(--anime-secondary);
    }
}

@keyframes adminDashboardSlideDown {
    from {
        transform: translateY(-30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes adminDashboardSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Admin Dashboard Page */
.admin-dashboard-page {
    --anime-primary: #FF006E;
    --anime-secondary: #8338EC;
    --anime-accent: #3A86FF;
    --anime-light: #FB5607;
    --anime-dark: #1a1a2e;
    --anime-bg: #0f3460;
    background: var(--anime-dark);
    color: #fff;
    overflow-x: hidden;
}

.admin-dashboard-page #particleCanvas {
    background: linear-gradient(135deg, #0f3460 0%, #16213e 50%, #1a1a2e 100%);
}

.admin-dashboard-page .admin-layout {
    animation: adminDashboardFadeIn 0.8s ease-out;
}

.admin-dashboard-page .admin-sidebar {
    background: linear-gradient(180deg, #1a1a2e 0%, #16213e 100%);
    border-right: 3px solid var(--anime-primary);
    box-shadow: 0 0 20px rgba(255, 0, 110, 0.3);
}

.admin-dashboard-page .sidebar-header h2 {
    color: var(--anime-primary);
    animation: adminDashboardGlow 3s ease-in-out infinite;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.admin-dashboard-page .nav-item {
    position: relative;
    color: #fff;
    border-left: 3px solid transparent;
    transition: all 0.3s ease;
    margin: 10px 0;
    padding: 12px 16px;
}

.admin-dashboard-page .nav-item:hover {
    border-left-color: var(--anime-primary);
    background: rgba(255, 0, 110, 0.1);
    transform: translateX(5px);
}

.admin-dashboard-page .nav-item.active {
    border-left-color: var(--anime-light);
    background: rgba(251, 86, 7, 0.2);
}

.admin-dashboard-page .admin-header {
    background: linear-gradient(90deg, #16213e 0%, #0f3460 100%);
    border-bottom: 2px solid var(--anime-secondary);
    padding: 20px;
    animation: adminDashboardSlideDown 0.6s ease-out;
}

.admin-dashboard-page .admin-header h1 {
    color: var(--anime-primary);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-dashboard-page .admin-user {
    color: var(--anime-accent);
}

.admin-dashboard-page .stat-card {
    background: linear-gradient(135deg, rgba(131, 56, 236, 0.4) 0%, rgba(255, 0, 110, 0.3) 100%);
    backdrop-filter: blur(10px);
    border: 2px solid var(--anime-secondary);
    border-radius: 12px;
    padding: 20px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
    animation: adminDashboardFadeIn 0.8s ease-out backwards;
}

.admin-dashboard-page .stat-card:nth-child(1) { animation-delay: 0.1s; }
.admin-dashboard-page .stat-card:nth-child(2) { animation-delay: 0.2s; }
.admin-dashboard-page .stat-card:nth-child(3) { animation-delay: 0.3s; }
.admin-dashboard-page .stat-card:nth-child(4) { animation-delay: 0.4s; }

.admin-dashboard-page .stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.6s ease;
}

.admin-dashboard-page .stat-card:hover::before {
    left: 100%;
}

.admin-dashboard-page .stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: var(--anime-primary);
    box-shadow: 0 0 30px rgba(255, 0, 110, 0.5), inset 0 0 20px rgba(255, 0, 110, 0.1);
}

.admin-dashboard-page .stat-icon {
    margin-bottom: 10px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 110, 0.3));
}

.admin-dashboard-page .stat-info h3 {
    color: #FFFEF0;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-shadow: 0 0 5px rgba(131, 56, 236, 0.5);
}

.admin-dashboard-page .stat-number {
    color: var(--anime-primary) !important;
    text-shadow: 0 0 10px var(--anime-primary);
}

.admin-dashboard-page .admin-section {
    animation: adminDashboardFadeIn 1s ease-out 0.5s backwards;
}

.admin-dashboard-page .section-header {
    margin-bottom: 20px;
    border-bottom: 2px solid var(--anime-secondary);
    padding-bottom: 15px;
}

.admin-dashboard-page .section-header h2 {
    color: var(--anime-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-dashboard-page .admin-table {
    background: rgba(131, 56, 236, 0.05);
    border: 2px solid var(--anime-secondary);
    border-radius: 8px;
    overflow: hidden;
}

.admin-dashboard-page .admin-table thead {
    background: linear-gradient(90deg, var(--anime-secondary), var(--anime-primary));
    color: white;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-dashboard-page .admin-table thead th {
    padding: 15px;
    text-align: left;
}

.admin-dashboard-page .admin-table tbody tr {
    border-bottom: 1px solid rgba(131, 56, 236, 0.2);
    transition: all 0.3s ease;
    animation: adminDashboardFadeIn 0.6s ease-out backwards;
}

.admin-dashboard-page .admin-table tbody tr:nth-child(1) { animation-delay: 0.1s; }
.admin-dashboard-page .admin-table tbody tr:nth-child(2) { animation-delay: 0.2s; }
.admin-dashboard-page .admin-table tbody tr:nth-child(3) { animation-delay: 0.3s; }
.admin-dashboard-page .admin-table tbody tr:nth-child(4) { animation-delay: 0.4s; }

.admin-dashboard-page .admin-table tbody tr:hover {
    background: linear-gradient(90deg, rgba(255, 0, 110, 0.2), rgba(131, 56, 236, 0.2));
    transform: scale(1.02);
}

.admin-dashboard-page .admin-table td {
    padding: 12px 15px;
    color: #fff;
}

.admin-dashboard-page .badge {
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    display: inline-block;
}

.admin-dashboard-page .badge-inquiry {
    background: linear-gradient(135deg, var(--anime-accent), #5865f2);
    color: white;
    box-shadow: 0 0 10px var(--anime-accent);
}

.admin-dashboard-page .badge-support {
    background: linear-gradient(135deg, var(--anime-light), #ff7f50);
    color: white;
    box-shadow: 0 0 10px var(--anime-light);
}

.admin-dashboard-page .badge-feedback {
    background: linear-gradient(135deg, var(--anime-primary), #ff4757);
    color: white;
    box-shadow: 0 0 10px var(--anime-primary);
}

.admin-dashboard-page .badge-partnership {
    background: linear-gradient(135deg, var(--anime-secondary), #7c3aed);
    color: white;
    box-shadow: 0 0 10px var(--anime-secondary);
}

.admin-dashboard-page .btn {
    background: linear-gradient(135deg, var(--anime-primary), var(--anime-light));
    border: none;
    color: white;
    text-transform: uppercase;
    font-weight: bold;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.admin-dashboard-page .btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.admin-dashboard-page .btn:hover::before {
    width: 300px;
    height: 300px;
}

.admin-dashboard-page .btn-primary {
    background: linear-gradient(135deg, var(--anime-primary), var(--anime-light));
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
}

.admin-dashboard-page .btn-primary:hover {
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.8);
    transform: translateY(-3px);
}

.admin-dashboard-page .btn-secondary {
    background: linear-gradient(135deg, var(--anime-secondary), var(--anime-accent));
    box-shadow: 0 0 15px rgba(131, 56, 236, 0.5);
}

.admin-dashboard-page .btn-secondary:hover {
    box-shadow: 0 0 25px rgba(131, 56, 236, 0.8);
}

.admin-dashboard-page .btn-icon {
    background: transparent;
    border: 2px solid var(--anime-secondary);
    color: var(--anime-secondary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    margin: 0 4px;
    transition: all 0.3s ease;
    cursor: pointer;
    font-size: 1.1rem;
}

.admin-dashboard-page .btn-icon:hover {
    background: var(--anime-secondary);
    color: white;
    transform: scale(1.2) rotate(10deg);
    box-shadow: 0 0 15px var(--anime-secondary);
}

.admin-dashboard-page .btn-delete:hover {
    border-color: var(--anime-primary);
}

.admin-dashboard-page .btn-delete:hover {
    background: var(--anime-primary);
}

.admin-dashboard-page .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    animation: adminDashboardFadeIn 0.3s ease-out;
}

.admin-dashboard-page .modal-content {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
    border: 2px solid var(--anime-secondary);
    border-radius: 12px;
    box-shadow: 0 0 50px rgba(131, 56, 236, 0.5);
    color: white;
    animation: adminDashboardSlideUp 0.4s ease-out;
}

.admin-dashboard-page .modal-content h2 {
    color: var(--anime-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-dashboard-page .form-group label {
    color: var(--anime-accent);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.admin-dashboard-page .form-group input,
.admin-dashboard-page .form-group select,
.admin-dashboard-page .form-group textarea {
    background: rgba(255, 255, 255, 0.05);
    border: 2px solid var(--anime-secondary);
    color: white;
    border-radius: 6px;
    padding: 10px;
    transition: all 0.3s ease;
}

.admin-dashboard-page .form-group input:focus,
.admin-dashboard-page .form-group select:focus,
.admin-dashboard-page .form-group textarea:focus {
    outline: none;
    border-color: var(--anime-primary);
    box-shadow: 0 0 15px rgba(255, 0, 110, 0.5);
    background: rgba(255, 0, 110, 0.05);
}

.admin-dashboard-page .close {
    color: var(--anime-primary);
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
}

.admin-dashboard-page .close:hover {
    text-shadow: 0 0 15px var(--anime-primary);
}

.admin-dashboard-page .inline-delete-form {
    display: inline-block;
}

.admin-dashboard-page .anime-swal-popup {
    border: 2px solid #8338EC !important;
    border-radius: 14px !important;
    box-shadow: 0 0 25px rgba(255, 0, 110, 0.35), 0 0 45px rgba(131, 56, 236, 0.28) !important;
}

.admin-dashboard-page .anime-swal-title {
    color: #FF006E !important;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-dashboard-page .anime-swal-text {
    color: #e9e9ff !important;
}

.admin-dashboard-page .anime-swal-confirm,
.admin-dashboard-page .anime-swal-cancel {
    font-weight: 700 !important;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border: none !important;
    box-shadow: none !important;
}

.admin-dashboard-page .anime-swal-confirm:hover,
.admin-dashboard-page .anime-swal-cancel:hover {
    transform: translateY(-1px);
    filter: brightness(1.08);
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .about-content {
        grid-template-columns: 1fr;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }

    .team-profiles-grid {
        grid-template-columns: repeat(2, minmax(140px, 1fr));
    }
    
    .table-controls {
        flex-direction: column;
    }
    
    .search-box input {
        width: 100%;
    }
    
    .admin-sidebar {
        width: 100%;
        position: static;
        height: auto;
    }
    
    .admin-main {
        margin-left: 0;
    }
    
    .admin-layout {
        flex-direction: column;
    }
}
