/* Modern Neo Black Theme for Team-SharkToons */

:root {
    --primary-color: #00ff88;
    --secondary-color: #0066ff;
    --accent-color: #ff0066;
    --bg-primary: #0a0a0a;
    --bg-secondary: #111111;
    --bg-tertiary: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #cccccc;
    --text-muted: #888888;
    --gradient-primary: linear-gradient(135deg, #00ff88, #0066ff);
    --gradient-secondary: linear-gradient(135deg, #ff0066, #ff6600);
    --shadow-glow: 0 0 20px rgba(0, 255, 136, 0.3);
    --shadow-dark: 0 4px 20px rgba(0, 0, 0, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Rajdhani', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Smooth Scrolling */
html {
    scroll-behavior: smooth;
}

/* Audio Control - Fixed positioning to avoid navigation overlap */
.audio-control {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 10000;
}

.audio-btn {
    background: var(--gradient-primary);
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-glow);
    /* Add safe area margins for mobile */
    margin-bottom: env(safe-area-inset-bottom, 0px);
    margin-right: env(safe-area-inset-right, 0px);
}

.audio-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

.audio-btn i {
    font-size: 1.2rem;
    color: var(--bg-primary);
}

/* Add focus indicator for accessibility */
.audio-btn:focus {
    outline: 2px solid var(--primary-color);
    outline-offset: 4px;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    z-index: 9999;
    padding: 1rem 0;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
}

.nav-logo .logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
}

.nav-logo .highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-menu {
    display: flex;
    gap: 2rem;
}

.nav-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

/* Authentication Navigation - Improved accessibility and touch targets */
.nav-auth {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.auth-btn {
    padding: 0.75rem 1.25rem;
    border: none;
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
    min-width: 44px;
    min-height: 44px;
    /* Improved contrast ratios */
    position: relative;
}

/* Add visible text labels for better accessibility */
.auth-text {
    font-weight: 600;
    font-family: 'Rajdhani', sans-serif;
}

.login-btn {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.login-btn:hover, .login-btn:focus {
    background: var(--primary-color);
    color: var(--bg-primary);
    outline: none;
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.4);
}

.register-btn {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

.register-btn:hover, .register-btn:focus {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.3);
    outline: none;
}

/* User Menu */
.user-menu {
    position: relative;
}

.user-avatar {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-avatar:hover {
    transform: scale(1.1);
}

.user-avatar i {
    color: var(--bg-primary);
}

.dropdown {
    position: absolute;
    top: 50px;
    right: 0;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    padding: 0.5rem 0;
    min-width: 180px;
    box-shadow: var(--shadow-dark);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
}

.user-menu:hover .dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-btn {
    width: 100%;
    padding: 0.75rem 1rem;
    background: none;
    border: none;
    color: var(--text-secondary);
    text-align: left;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.dropdown-btn:hover {
    background: var(--bg-tertiary);
    color: var(--primary-color);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    height: 100vh;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 255, 136, 0.1) 0%, rgba(10, 10, 10, 0.8) 70%);
}

.particles {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, rgba(0, 255, 136, 0.3), transparent),
        radial-gradient(2px 2px at 40px 70px, rgba(0, 102, 255, 0.3), transparent),
        radial-gradient(1px 1px at 90px 40px, rgba(255, 0, 102, 0.3), transparent);
    animation: float 20s ease-in-out infinite;
}

.grid-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 136, 0.1) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 136, 0.1) 1px, transparent 1px);
    background-size: 50px 50px;
    opacity: 0.3;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    text-align: center;
    z-index: 2;
    max-width: 800px;
    padding: 0 2rem;
}

.hero-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.glitch {
    position: relative;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glitch 2s infinite;
}

.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.glitch::before {
    animation: glitch-1 0.5s infinite;
    color: var(--accent-color);
    z-index: -1;
}

.glitch::after {
    animation: glitch-2 0.5s infinite;
    color: var(--secondary-color);
    z-index: -2;
}

@keyframes glitch {
    0%, 100% { transform: translate(0); }
    20% { transform: translate(-2px, 2px); }
    40% { transform: translate(-2px, -2px); }
    60% { transform: translate(2px, 2px); }
    80% { transform: translate(2px, -2px); }
}

@keyframes glitch-1 {
    0%, 100% { transform: translate(0); opacity: 1; }
    10% { transform: translate(-2px, -2px); opacity: 0.8; }
    20% { transform: translate(2px, 2px); opacity: 0.8; }
    30% { transform: translate(-2px, 2px); opacity: 0.8; }
    40% { transform: translate(2px, -2px); opacity: 0.8; }
}

@keyframes glitch-2 {
    0%, 100% { transform: translate(0); opacity: 1; }
    10% { transform: translate(2px, 2px); opacity: 0.8; }
    20% { transform: translate(-2px, -2px); opacity: 0.8; }
    30% { transform: translate(2px, -2px); opacity: 0.8; }
    40% { transform: translate(-2px, 2px); opacity: 0.8; }
}

.hero-subtitle {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.anime-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.cta-button {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.cta-button.primary {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    box-shadow: var(--shadow-glow);
}

.cta-button.primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.6);
}

.cta-button.secondary {
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.cta-button.secondary:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
}

.scroll-arrow {
    width: 2px;
    height: 30px;
    background: var(--primary-color);
    position: relative;
    animation: scroll-bounce 2s infinite;
}

.scroll-arrow::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: -3px;
    width: 0;
    height: 0;
    border-left: 4px solid transparent;
    border-right: 4px solid transparent;
    border-top: 6px solid var(--primary-color);
}

@keyframes scroll-bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
section {
    padding: 5rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.title-underline {
    width: 80px;
    height: 4px;
    background: var(--gradient-primary);
    margin: 0 auto;
    border-radius: 2px;
}

/* About Section */
.about {
    background: var(--bg-secondary);
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.8;
}

.lead-text {
    font-size: 1.3rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.about-text p {
    margin-bottom: 1.5rem;
    color: var(--text-secondary);
}

.highlight {
    color: var(--primary-color);
    font-weight: 600;
}

.about-stats {
    display: grid;
    grid-template-columns: 1fr;
    gap: 1.5rem;
    width: 100%;
    max-width: 300px;
    margin: 0 auto;
    /* Fallback for older browsers */
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
    -webkit-box-orient: vertical;
    -webkit-box-direction: normal;
    -ms-flex-direction: column;
    flex-direction: column;
    /* Re-enable grid for modern browsers */
    display: grid;
}

/* Ensure consistent box model */
.about-stats * {
    box-sizing: border-box;
}

.stat-item {
    text-align: center;
    padding: 1.5rem;
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 120px;
    /* Prevent shrinking */
    flex-shrink: 0;
    /* Ensure consistent width */
    width: 100%;
}

.stat-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ff88 !important;
    line-height: 1;
    margin-bottom: 0.5rem;
    display: block;
    text-shadow: 
        0 0 10px rgba(0, 255, 136, 0.8),
        0 0 20px rgba(0, 255, 136, 0.6),
        0 0 30px rgba(0, 255, 136, 0.4);
    filter: brightness(1.3) contrast(1.2);
    animation: neoGlow 2s ease-in-out infinite alternate;
}

@keyframes neoGlow {
    0% {
        text-shadow: 
            0 0 10px rgba(0, 255, 136, 0.8),
            0 0 20px rgba(0, 255, 136, 0.6),
            0 0 30px rgba(0, 255, 136, 0.4);
    }
    100% {
        text-shadow: 
            0 0 15px rgba(0, 255, 136, 1),
            0 0 25px rgba(0, 255, 136, 0.8),
            0 0 35px rgba(0, 255, 136, 0.6);
    }
}

/* Ensure neo green visibility with animation */
@supports (-webkit-background-clip: text) {
    .stat-number {
        color: #00ff88 !important;
        background: none;
        -webkit-background-clip: initial;
        -webkit-text-fill-color: initial;
        background-clip: initial;
    }
}

.stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    line-height: 1.2;
    margin: 0;
    display: block;
}

/* Timeline */
.project {
    background: var(--bg-primary);
}

.timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
}

.timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    top: 0;
    bottom: 0;
    width: 2px;
    background: var(--gradient-primary);
    transform: translateX(-50%);
}

.timeline-item {
    position: relative;
    margin: 3rem 0;
    display: flex;
    align-items: center;
}

.timeline-item:nth-child(odd) {
    flex-direction: row-reverse;
}

.timeline-marker {
    width: 20px;
    height: 20px;
    background: var(--primary-color);
    border-radius: 50%;
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    box-shadow: 0 0 10px var(--primary-color);
}

.timeline-marker.active {
    background: var(--accent-color);
    box-shadow: 0 0 20px var(--accent-color);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: translateX(-50%) scale(1); }
    50% { transform: translateX(-50%) scale(1.2); }
}

.timeline-content {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 15px;
    width: 45%;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.timeline-content:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.timeline-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.timeline-date {
    color: var(--text-muted);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Team Section */
.team {
    background: var(--bg-secondary);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.team-member {
    transition: all 0.3s ease;
}

.member-card {
    background: var(--bg-tertiary);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
    height: 100%;
}

.member-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-glow);
}

.member-avatar {
    width: 80px;
    height: 80px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 1.5rem;
    font-size: 2rem;
    color: var(--bg-primary);
}

.member-card h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
    font-size: 1.3rem;
}

.member-role {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.member-desc {
    color: var(--text-muted);
    line-height: 1.6;
}

/* Progress Section - Fixed clipping and container sizing */
.progress-section {
    background: var(--bg-primary);
}

.progress-content {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
    overflow: visible;
}

.progress-main {
    display: flex;
    align-items: center;
    gap: 4rem;
    max-width: 100%;
}

.progress-circle {
    position: relative;
    background: transparent;
    /* Prevent overflow and ensure container sizing */
    width: 220px;
    height: 220px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.progress-ring {
    transform: rotate(-90deg);
    width: 200px;
    height: 200px;
    /* Ensure SVG doesn't overflow */
    max-width: 100%;
    max-height: 100%;
}

.progress-ring-circle {
    stroke-dasharray: 565.48;
    stroke-dashoffset: 0; /* 100% progress */
    transition: stroke-dashoffset 2s ease;
    filter: drop-shadow(0 0 15px var(--primary-color));
    /* Ensure proper positioning */
    transform-origin: center;
}

.progress-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    text-align: center;
    background: transparent;
    /* Ensure text doesn't overflow */
    max-width: 140px;
    overflow: hidden;
}

.progress-percentage {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 900;
    color: #00ff88 !important;
    display: block;
    line-height: 1;
    text-shadow: none;
    filter: none;
}

/* Ensure neo green visibility for progress */
@supports (-webkit-background-clip: text) {
    .progress-percentage {
        color: #00ff88 !important;
        background: none;
        -webkit-background-clip: initial;
        -webkit-text-fill-color: initial;
        background-clip: initial;
    }
}

.progress-label {
    color: #00ff88;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
    margin-top: 0.25rem;
    font-weight: 600;
    text-shadow: 
        0 0 8px rgba(0, 255, 136, 0.5),
        0 0 12px rgba(0, 255, 136, 0.3);
}

.progress-details {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    /* Ensure details don't overflow on smaller screens */
    flex: 1;
    min-width: 0;
}

.detail-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    min-width: 280px;
    /* Ensure text doesn't overflow */
    word-wrap: break-word;
}

.detail-label {
    color: var(--text-secondary);
    font-weight: 500;
}

.detail-value {
    color: var(--primary-color);
    font-weight: 600;
}

.status-active {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 700;
}

/* Coming Soon Section */
/* Watch Now Section */
.watch-now {
    background: var(--bg-secondary);
    text-align: center;
    padding: 4rem 0;
}

.watch-now-content {
    max-width: 800px;
    margin: 0 auto;
}

.watch-now-desc {
    font-size: 1.2rem;
    margin: 2rem 0;
    color: var(--text-secondary);
}

.watch-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 2rem;
}

.watch-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
}

.watch-btn.primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-glow);
}

.watch-btn.primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 255, 136, 0.5);
}

.watch-btn.secondary {
    background: rgba(0, 102, 255, 0.1);
    border: 2px solid var(--secondary-color);
    color: var(--secondary-color);
}

.watch-btn.secondary:hover {
    background: var(--secondary-color);
    color: white;
    transform: translateY(-2px);
}

@media (max-width: 768px) {
    .watch-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .watch-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Community Section */
.community {
    background: var(--bg-primary);
    min-height: 80vh;
}

.auth-required {
    text-align: center;
    padding: 4rem 0;
}

.auth-required-content {
    max-width: 500px;
    margin: 0 auto;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.auth-required-content i {
    font-size: 4rem;
    color: var(--primary-color);
    margin-bottom: 1.5rem;
}

.auth-required-content h3 {
    color: var(--primary-color);
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.auth-required-content p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.6;
}

.scroll-hint {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--primary-color);
    animation: bounce 2s infinite;
}

.scroll-hint i {
    font-size: 1.5rem !important;
    margin-bottom: 0 !important;
}

.scroll-hint span {
    font-size: 0.9rem;
    font-weight: 500;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Post Creator */
.post-creator {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.creator-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.creator-header h3 {
    color: var(--primary-color);
    font-size: 1.5rem;
}

.creator-tabs {
    display: flex;
    gap: 1rem;
}

.tab-btn {
    padding: 0.5rem 1rem;
    background: transparent;
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    color: var(--text-secondary);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.tab-btn.active {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border-color: transparent;
}

.tab-btn:hover:not(.active) {
    color: var(--primary-color);
    border-color: var(--primary-color);
}

/* Form Styles */
.form-group {
    margin-bottom: 1.5rem;
}

.form-input, .form-textarea {
    width: 100%;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
    resize: none;
}

.form-input:focus, .form-textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.form-textarea {
    min-height: 120px;
    font-family: inherit;
}

.form-input::placeholder, .form-textarea::placeholder {
    color: var(--text-muted);
}

/* Tags Input - Improved styling and functionality */
.tags-input-container {
    position: relative;
}

.tags-display {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    min-height: 40px;
    align-items: flex-start;
    padding: 0.5rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 255, 136, 0.2);
    border-radius: 10px;
}

.tag-item {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    animation: slideIn 0.3s ease;
    max-width: 200px;
}

@keyframes slideIn {
    from { opacity: 0; transform: translateY(-10px); }
    to { opacity: 1; transform: translateY(0); }
}

.tag-text {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 150px;
}

.tag-remove {
    background: none;
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    font-size: 0.7rem;
    padding: 2px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
    opacity: 0.7;
}

.tag-remove:hover {
    background: rgba(0, 0, 0, 0.2);
    opacity: 1;
    transform: scale(1.1);
}

.tags-input {
    margin-bottom: 0;
    border: none;
    background: transparent;
}

.tags-input:focus {
    border: none;
    box-shadow: none;
    outline: none;
}

.tag-counter {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-align: right;
    margin-top: 0.25rem;
    font-style: italic;
}

.tags-display:not(:empty) + .tags-input {
    margin-top: 0.5rem;
}

/* Tag Filters - Enhanced styling */
.tag-filters {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
    margin-top: 0.5rem;
}

.filter-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
    font-weight: 500;
}

.filter-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(0, 255, 136, 0.2);
    position: relative;
    overflow: hidden;
}

.filter-tag::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-primary);
    transition: left 0.3s ease;
    z-index: -1;
}

.filter-tag:hover::before {
    left: 0;
}

.filter-tag:hover, .filter-tag.active {
    color: var(--bg-primary);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 255, 136, 0.3);
}

.filter-tag.active::before {
    left: 0;
}

.filter-tag-all {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    font-weight: 600;
}

.filter-tag-all:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(255, 0, 102, 0.3);
}

/* Submit Button */
.submit-btn, .auth-submit-btn {
    background: var(--gradient-primary);
    color: var(--bg-primary);
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    justify-content: center;
    width: 100%;
    font-size: 1rem;
}

.submit-btn:hover, .auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 136, 0.4);
}

/* Community Filters */
.community-filters {
    display: flex;
    gap: 2rem;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.search-bar {
    position: relative;
    flex: 1;
    min-width: 300px;
}

.search-input {
    width: 100%;
    padding: 1rem 3rem 1rem 1.5rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 25px;
    color: var(--text-primary);
    outline: none;
    transition: all 0.3s ease;
}

.search-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.search-bar i {
    position: absolute;
    right: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.filter-controls {
    display: flex;
    gap: 1rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-select {
    padding: 0.75rem 1rem;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 10px;
    color: var(--text-primary);
    outline: none;
    cursor: pointer;
}

.tag-filters {
    display: flex;
    gap: 0.5rem;
    align-items: center;
    flex-wrap: wrap;
}

.filter-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
    white-space: nowrap;
}

.filter-tag {
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid transparent;
}

.filter-tag:hover, .filter-tag.active {
    background: var(--gradient-primary);
    color: var(--bg-primary);
}

/* Posts Container */
.posts-container {
    margin-top: 2rem;
}

.posts-loading {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-secondary);
}

.posts-loading i {
    font-size: 2rem;
    margin-bottom: 1rem;
    display: block;
}

.posts-list {
    display: grid;
    gap: 1.5rem;
}

/* Post Card */
.post-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.post-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.post-meta {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.post-author {
    color: var(--primary-color);
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.post-date {
    color: var(--text-muted);
    font-size: 0.8rem;
}

.post-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.action-btn:hover {
    color: var(--primary-color);
    background: var(--bg-tertiary);
    transform: scale(1.1);
}

.edit-post-btn:hover {
    color: var(--primary-color);
}

.delete-post-btn:hover {
    color: var(--accent-color);
}

.post-interactions {
    display: flex;
    gap: 0.5rem;
}

.interact-btn {
    background: none;
    border: 1px solid rgba(0, 255, 136, 0.3);
    color: var(--text-secondary);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    min-width: 36px;
    min-height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interact-btn:hover {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
}

.like-btn.liked {
    color: var(--primary-color);
    border-color: var(--primary-color);
    background: rgba(0, 255, 136, 0.1);
}

.post-title {
    color: var(--text-primary);
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.post-content {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.post-tags {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.post-tag {
    background: var(--bg-tertiary);
    color: var(--primary-color);
    padding: 0.25rem 0.75rem;
    border-radius: 15px;
    font-size: 0.8rem;
    border: 1px solid rgba(0, 255, 136, 0.3);
}

.post-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid rgba(0, 255, 136, 0.1);
}

.post-stats {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.stat {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.load-more-container {
    text-align: center;
    margin-top: 2rem;
}

.load-more-btn {
    background: var(--bg-secondary);
    color: var(--primary-color);
    border: 1px solid var(--primary-color);
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin: 0 auto;
}

.load-more-btn:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}

/* Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal {
    background: var(--bg-secondary);
    border-radius: 20px;
    border: 1px solid rgba(0, 255, 136, 0.3);
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.modal-overlay.active .modal {
    transform: scale(1);
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 2rem;
    border-bottom: 1px solid rgba(0, 255, 136, 0.2);
}

.modal-header h2 {
    color: var(--primary-color);
    font-family: 'Orbitron', monospace;
    margin: 0;
}

.modal-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    font-size: 1.5rem;
    cursor: pointer;
    transition: color 0.3s ease;
}

.modal-close:hover {
    color: var(--primary-color);
}

.modal-body {
    padding: 2rem;
}

.modal-footer {
    padding: 1rem 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    text-align: center;
}

.auth-switch {
    color: var(--text-secondary);
    margin: 0;
}

.auth-switch-btn {
    background: none;
    border: none;
    color: var(--primary-color);
    cursor: pointer;
    text-decoration: underline;
    font-family: inherit;
}

.auth-switch-btn:hover {
    color: var(--accent-color);
}

/* Dashboard Modal */
.dashboard-modal {
    max-width: 800px;
    width: 95%;
}

.dashboard-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.dashboard-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.stat-card {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    align-items: center;
    gap: 1rem;
    transition: all 0.3s ease;
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
}

.stat-card i {
    font-size: 2rem;
    color: var(--primary-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
}

.stat-card .stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 700;
    color: #0066ff !important;
    text-shadow: 0 0 8px rgba(0, 102, 255, 0.4);
}

.stat-card .stat-label {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Admin Controls */
.admin-controls {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 102, 0.3);
}

.admin-controls h3 {
    color: var(--accent-color);
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.admin-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.admin-btn {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 500;
    position: relative;
}

.admin-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 102, 0.3);
}

.admin-badge {
    background: #ffd700;
    color: #000;
    padding: 2px 6px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 700;
    margin-left: 0.25rem;
}

/* Admin Panel Modal */
.admin-panel-modal {
    max-width: 900px;
    width: 95%;
    max-height: 90vh;
}

.admin-panel-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

/* Episode Manager */
.episode-manager {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.episode-list {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.episode-card {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.episode-info h4 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.episode-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.9rem;
}

.status-complete {
    color: var(--primary-color);
}

.status-incomplete {
    color: var(--accent-color);
}

.episode-actions {
    display: flex;
    gap: 0.5rem;
}

.action-btn-small {
    padding: 0.5rem;
    background: none;
    border: 1px solid var(--primary-color);
    border-radius: 5px;
    color: var(--primary-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.action-btn-small:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
}

/* User Management */
.user-management {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.user-list {
    max-height: 400px;
    overflow-y: auto;
    margin-top: 1rem;
}

.user-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-small {
    width: 40px;
    height: 40px;
    background: var(--gradient-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--bg-primary);
}

.user-details h5 {
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.user-meta {
    color: var(--text-muted);
    font-size: 0.8rem;
    display: flex;
    gap: 1rem;
}

.user-role {
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.role-admin {
    background: rgba(255, 215, 0, 0.2);
    color: #ffd700;
}

.role-moderator {
    background: rgba(0, 255, 136, 0.2);
    color: var(--primary-color);
}

.role-user {
    background: rgba(136, 136, 136, 0.2);
    color: var(--text-secondary);
}

/* Reports System */
.reports-system {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 0, 102, 0.3);
}

.report-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border-left: 4px solid var(--accent-color);
}

.report-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.report-type {
    background: rgba(255, 0, 102, 0.2);
    color: var(--accent-color);
    padding: 2px 8px;
    border-radius: 10px;
    font-size: 0.7rem;
    font-weight: 600;
    text-transform: uppercase;
}

.report-actions {
    display: flex;
    gap: 0.5rem;
    margin-top: 1rem;
}

.resolve-btn {
    background: var(--primary-color);
    color: var(--bg-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dismiss-btn {
    background: var(--text-muted);
    color: var(--text-primary);
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

/* Site Settings */
.site-settings {
    background: var(--bg-tertiary);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.settings-section {
    margin-bottom: 2rem;
}

.settings-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.setting-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.setting-toggle {
    background: var(--text-muted);
    border: none;
    width: 50px;
    height: 25px;
    border-radius: 25px;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.setting-toggle.active {
    background: var(--primary-color);
}

.setting-toggle::after {
    content: '';
    position: absolute;
    width: 19px;
    height: 19px;
    background: white;
    border-radius: 50%;
    top: 3px;
    left: 3px;
    transition: all 0.3s ease;
}

.setting-toggle.active::after {
    left: 28px;
}

.user-posts-section h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.user-posts-list {
    max-height: 300px;
    overflow-y: auto;
    padding-right: 1rem;
}

.loading-spinner {
    text-align: center;
    padding: 2rem 0;
    color: var(--text-secondary);
}

.loading-spinner i {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    display: block;
}

/* Notification System */
.notification {
    position: fixed;
    top: 100px;
    right: 20px;
    background: var(--bg-secondary);
    border: 1px solid var(--primary-color);
    border-radius: 10px;
    padding: 1rem 1.5rem;
    color: var(--text-primary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    box-shadow: var(--shadow-glow);
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification.error {
    border-color: var(--accent-color);
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.3);
}

.notification.success {
    border-color: var(--primary-color);
    box-shadow: var(--shadow-glow);
}

.notification-close {
    background: none;
    border: none;
    color: var(--text-secondary);
    cursor: pointer;
    margin-left: auto;
    padding: 0.25rem;
}

.notification-close:hover {
    color: var(--primary-color);
}

.neon-text h2 {
    font-family: 'Orbitron', monospace;
    font-size: 3rem;
    font-weight: 900;
    background: var(--gradient-secondary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-transform: uppercase;
    margin-bottom: 1rem;
    animation: neon-glow 2s ease-in-out infinite alternate;
}

@keyframes neon-glow {
    from { filter: drop-shadow(0 0 5px rgba(255, 0, 102, 0.5)); }
    to { filter: drop-shadow(0 0 20px rgba(255, 0, 102, 0.8)); }
}

.coming-soon-desc {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.notification-signup {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    max-width: 500px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    min-width: 250px;
    padding: 1rem 1.5rem;
    background: var(--bg-tertiary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50px;
    color: var(--text-primary);
    font-size: 1rem;
    outline: none;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 10px rgba(0, 255, 136, 0.3);
}

.email-input::placeholder {
    color: var(--text-muted);
}

.notify-btn {
    padding: 1rem 2rem;
    background: var(--gradient-secondary);
    border: none;
    border-radius: 50px;
    color: var(--text-primary);
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-transform: uppercase;
}

.notify-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 0 20px rgba(255, 0, 102, 0.5);
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid rgba(0, 255, 136, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.footer-section p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section ul li a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: var(--bg-secondary);
    border: 1px solid rgba(0, 255, 136, 0.3);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-link:hover {
    background: var(--primary-color);
    color: var(--bg-primary);
    transform: translateY(-3px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(0, 255, 136, 0.2);
    color: var(--text-muted);
}

.footer-bottom .disclaimer {
    margin-top: 0.5rem;
    font-size: 0.9rem;
}

.footer-bottom .disclaimer a {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
}

.footer-bottom .disclaimer a:hover {
    text-decoration: underline;
}

/* Footer Completion Status Styles */
.completion-status {
    margin: 1rem 0;
}

.complete-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--gradient-primary);
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 600;
    color: white;
    margin-bottom: 0.5rem;
}

.complete-badge i {
    color: #ffd700;
}

.episodes-count {
    font-size: 0.9rem;
    color: var(--text-secondary);
    margin: 0;
}

/* Desktop specific fixes for nav-auth */
@media (min-width: 769px) {
    .nav-container {
        justify-content: flex-start;
        gap: 3rem;
    }
    
    .nav-menu {
        display: flex;
        gap: 2.5rem;
        margin-left: 2rem;
    }

    .nav-auth {
        display: flex;
        align-items: center;
        gap: 1rem;
        margin-left: auto;
    }

    .auth-buttons-card {
        display: flex;
        align-items: center;
        gap: 1rem;
        background: rgba(15, 15, 30, 0.8);
        backdrop-filter: blur(10px);
        border: 1px solid rgba(0, 255, 136, 0.1);
        border-radius: 20px;
        padding: 0.5rem;
        box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    }

    .auth-btn {
        padding: 0.75rem 1.5rem !important;
        font-size: 0.9rem !important;
        min-width: 120px !important;
        min-height: 44px !important;
        white-space: nowrap;
        border-radius: 15px;
    }

    .user-menu {
        position: relative;
        margin-left: 1rem;
    }

    .user-avatar {
        width: 44px;
        height: 44px;
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-container {
        flex-wrap: wrap;
        padding: 0 1rem;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(10, 10, 10, 0.98);
        backdrop-filter: blur(20px);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
        order: 3;
        flex-basis: 100%;
        z-index: 999;
        border-top: 1px solid rgba(0, 255, 136, 0.2);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-auth {
        order: 2;
        gap: 0.5rem;
    }

    .auth-btn {
        font-size: 0.8rem;
        padding: 0.6rem 1rem;
        min-width: 44px;
        min-height: 44px;
    }

    .nav-toggle {
        display: flex;
        order: 1;
        cursor: pointer;
    }

    /* Hero Section Mobile */
    .hero-title {
        font-size: 2.5rem;
    }

    .anime-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }

    .cta-button {
        width: 250px;
        justify-content: center;
    }

    /* About Section Mobile */
    .about-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .about-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
        max-width: 100%;
        margin-top: 2rem;
    }

    .stat-item {
        padding: 1.25rem;
        min-height: 100px;
    }

    .stat-number {
        font-size: 2rem;
    }

    .stat-label {
        font-size: 0.8rem;
    }

    /* Timeline Mobile */
    .timeline::before {
        left: 0;
    }

    .timeline-item {
        flex-direction: column;
        align-items: flex-start;
        padding-left: 2rem;
    }

    .timeline-item:nth-child(odd) {
        flex-direction: column;
    }

    .timeline-marker {
        left: 0;
        transform: translateX(-50%);
    }

    .timeline-content {
        width: 100%;
        margin-top: 1rem;
    }

    /* Progress Section Mobile */
    .progress-main {
        flex-direction: column;
        gap: 1rem;
        align-items: center;
        padding: 1rem;
        overflow: visible;
    }

    .progress-circle {
        display: none; /* Hide the entire progress circle on mobile */
    }

    .progress-percentage {
        font-size: 2rem;
        color: #00ff88 !important;
        text-shadow: none;
        filter: none;
    }

    .detail-item {
        min-width: 250px;
        padding: 0.75rem;
    }

    /* Community Mobile */
    .community-filters {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }

    .search-bar {
        min-width: auto;
    }

    .filter-controls {
        justify-content: center;
        flex-wrap: wrap;
    }

    .creator-header {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .post-creator {
        padding: 1.5rem;
    }

    /* Modal Mobile */
    .modal {
        width: 95%;
        margin: 1rem;
        max-height: 90vh;
    }

    .modal-body {
        padding: 1.5rem;
        max-height: calc(90vh - 120px);
        overflow-y: auto;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .admin-actions {
        flex-direction: column;
    }

    .admin-btn {
        justify-content: flex-start;
    }

    /* Episode Manager Mobile */
    .episode-list {
        grid-template-columns: 1fr;
    }

    .episode-card {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    /* User Management Mobile */
    .user-item {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .user-meta {
        flex-direction: column;
        gap: 0.5rem;
    }

    /* Coming Soon Mobile */
    .notification-signup {
        flex-direction: column;
        align-items: center;
    }

    .email-input {
        min-width: 100%;
    }

    /* Audio Control Mobile */
    .audio-control {
        bottom: 100px;
        right: 15px;
    }

    .audio-btn {
        width: 50px;
        height: 50px;
    }

    /* Dropdown Mobile Fix */
    .dropdown {
        position: fixed;
        top: 70px;
        right: 1rem;
        left: 1rem;
        width: auto;
        margin-top: 0.5rem;
    }

    .user-menu:hover .dropdown {
        opacity: 1;
        visibility: visible;
        transform: translateY(0);
    }

    /* Touch Target Improvements */
    .nav-link {
        padding: 15px 30px;
        min-height: 44px;
        display: flex;
        align-items: center;
    }

    /* Form Mobile */
    .form-input, .form-textarea {
        font-size: 16px; /* Prevent zoom on iOS */
        padding: 1rem 1.25rem;
    }

    .auth-required-content {
        padding: 2rem;
        margin: 0 1rem;
    }

    .scroll-hint {
        margin-top: 1rem;
    }
}

/* Medium screens (tablets) */
@media (max-width: 1024px) and (min-width: 769px) {
    .about-content {
        gap: 3rem;
    }

    .about-stats {
        max-width: 250px;
    }

    .stat-item {
        padding: 1.25rem;
    }

    .stat-number {
        font-size: 2.2rem;
    }
}

/* User Post Items and Additional Mobile Styles */
.admin-badge, .mod-badge {
    font-size: 0.8rem;
    margin-left: 0.25rem;
}

.admin-badge {
    color: #ffd700;
}

.mod-badge {
    color: var(--primary-color);
}

.post-interactions {
    display: flex;
    gap: 0.5rem;
}

.interact-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 5px;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.interact-btn:hover {
    color: var(--primary-color);
    background: var(--bg-tertiary);
}

.interact-btn.liked {
    color: var(--primary-color);
}

.user-post-item {
    background: var(--bg-tertiary);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    transition: all 0.3s ease;
}

.user-post-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}
.posts-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 3rem 0;
    color: var(--text-secondary);
    gap: 1rem;
}

.posts-loading i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

.error-container {
    text-align: center;
    padding: 3rem 0;
    color: var(--accent-color);
}

.error-container i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: var(--accent-color);
}

.error-container h3 {
    color: var(--accent-color);
    margin-bottom: 0.5rem;
}

.retry-btn {
    background: var(--gradient-secondary);
    color: var(--text-primary);
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-top: 1rem;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.retry-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 0, 102, 0.3);
}

.no-posts {
    text-align: center;
    padding: 3rem 0;
    color: var(--text-muted);
    font-style: italic;
    font-size: 1.1rem;
}

.no-posts::before {
    content: '📝';
    display: block;
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Admin Post Styling */
.admin-post-item {
    background: var(--bg-secondary);
    padding: 1rem;
    border-radius: 10px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 136, 0.2);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.admin-post-item:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.admin-post-actions {
    display: flex;
    gap: 0.5rem;
}

.post-stats-small {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.post-stats-small span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Improved Loading States */
.loading-spinner {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 0;
    color: var(--text-secondary);
    gap: 1rem;
}

.loading-spinner i {
    font-size: 2rem;
    color: var(--primary-color);
    animation: spin 1s linear infinite;
}

/* Better Animation for Spin */
@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

/* Admin Stats Improvements */
.admin-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 2rem;
}

.admin-stats .stat-card {
    text-align: center;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    border: 1px solid rgba(0, 255, 136, 0.2);
}

.admin-stats .stat-card h4 {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.admin-stats .stat-number {
    font-family: 'Orbitron', monospace;
    font-size: 2rem;
    font-weight: 700;
    color: #0066ff !important;
    text-shadow: 0 0 10px rgba(0, 102, 255, 0.5);
}

/* Better Form Validation */
.form-input.error {
    border-color: var(--accent-color);
    box-shadow: 0 0 10px rgba(255, 0, 102, 0.3);
}

.form-error {
    color: var(--accent-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

.form-success {
    color: var(--primary-color);
    font-size: 0.8rem;
    margin-top: 0.25rem;
    display: flex;
    align-items: center;
    gap: 0.25rem;
}


.user-post-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 0.5rem;
}

.user-post-header h4 {
    color: var(--text-primary);
    margin: 0;
    font-size: 1rem;
}

.user-post-stats {
    display: flex;
    gap: 1rem;
    color: var(--text-muted);
    font-size: 0.9rem;
}

.user-post-stats span {
    display: flex;
    align-items: center;
    gap: 0.25rem;
}

/* Additional responsive improvements */
@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2rem;
    }

    .anime-title {
        font-size: 1.5rem;
    }

    .section-title {
        font-size: 1.8rem;
    }

    .neon-text h2 {
        font-size: 2rem;
    }

    .progress-circle {
        display: none !important; /* Hide progress circle on small mobile */
    }

    .progress-percentage {
        font-size: 2rem;
    }

    .detail-item {
        min-width: auto;
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }

    .about-stats {
        gap: 0.75rem;
        margin-top: 1.5rem;
    }

    .stat-item {
        padding: 0.75rem;
        min-height: 80px;
    }

    .stat-number {
        font-size: 1.8rem;
        line-height: 1;
        margin-bottom: 0.25rem;
    }

    .stat-label {
        font-size: 0.75rem;
        line-height: 1.2;
    }

    /* Mobile-specific community styles */
    .post-creator {
        padding: 1rem;
    }

    .creator-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }

    .creator-tabs {
        justify-content: center;
    }

    .form-input, .form-textarea {
        padding: 0.875rem 1rem;
        font-size: 16px; /* Prevent zoom on iOS */
    }

    .tags-display {
        min-height: 30px;
    }

    .tag-item {
        font-size: 0.75rem;
        padding: 0.2rem 0.6rem;
    }

    .post-card {
        padding: 1rem;
    }

    .post-header {
        flex-direction: column;
        gap: 0.5rem;
        align-items: flex-start;
    }

    .post-actions {
        align-self: flex-end;
    }

    .post-footer {
        flex-direction: column;
        gap: 1rem;
        align-items: flex-start;
    }

    .post-stats {
        gap: 1.5rem;
    }

    .auth-required-content {
        padding: 2rem 1.5rem;
    }

    .modal {
        width: 95%;
        max-height: 85vh;
    }

    .modal-header {
        padding: 1rem 1.5rem;
    }

    .modal-body {
        padding: 1.5rem;
    }

    .dashboard-stats {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .stat-card {
        padding: 1rem;
    }

    .stat-card i {
        font-size: 1.5rem;
    }

    .user-posts-list {
        max-height: 250px;
    }

    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
        transform: translateY(-100px);
    }

    .notification.show {
        transform: translateY(0);
    }
}

/* Very small screens */
@media (max-width: 320px) {
    .hero-title {
        font-size: 1.8rem;
    }

    .anime-title {
        font-size: 1.3rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .auth-btn {
        font-size: 0.75rem;
        padding: 0.3rem 0.6rem;
    }

    .post-card {
        padding: 0.75rem;
    }

    .form-input, .form-textarea {
        padding: 0.75rem;
    }

    .cta-button {
        width: 200px;
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
}

/* Touch device improvements */
@media (hover: none) and (pointer: coarse) {
    .cta-button, .auth-btn, .submit-btn {
        min-height: 44px; /* iOS touch target minimum */
    }

    .interact-btn, .action-btn {
        min-width: 44px;
        min-height: 44px;
    }

    .nav-link {
        padding: 0.5rem 0;
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }

    .dropdown-btn {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }

    /* Remove hover effects on touch devices */
    .member-card:hover,
    .stat-item:hover,
    .timeline-content:hover,
    .post-card:hover {
        transform: none;
        box-shadow: none;
    }

    /* Focus styles for accessibility */
    .form-input:focus,
    .form-textarea:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }

    .auth-btn:focus,
    .cta-button:focus,
    .submit-btn:focus {
        outline: 2px solid var(--primary-color);
        outline-offset: 2px;
    }
}

/* Dark mode adjustments for better mobile readability */
@media (prefers-color-scheme: dark) {
    :root {
        --text-primary: #ffffff;
        --text-secondary: #e0e0e0;
        --text-muted: #a0a0a0;
    }
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    :root {
        --primary-color: #00ff00;
        --secondary-color: #0080ff;
        --accent-color: #ff0080;
        --text-primary: #ffffff;
        --text-secondary: #f0f0f0;
        --bg-primary: #000000;
        --bg-secondary: #111111;
        --bg-tertiary: #222222;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }

    .glitch {
        animation: none !important;
    }

    .particles {
        animation: none !important;
    }

    .scroll-arrow {
        animation: none !important;
    }
}

/* Additional Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--gradient-primary);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-color);
}

/* Selection */
::selection {
    background: var(--primary-color);
    color: var(--bg-primary);
}

::-moz-selection {
    background: var(--primary-color);
    color: var(--bg-primary);
}
