/**
 * Maratha Empire Roleplay - Main Stylesheet
 * Saffron (Bhāgva) themed design with modern, minimal UI
 */

/* ===========================
   CSS Variables & Root Styles
   =========================== */
:root {
    /* Brand Colors - Enhanced for Dark Theme */
    --saffron: #FF9933;
    --saffron-dark: #E67A00;
    --saffron-light: #FFAD5C;
    --saffron-glow: rgba(255, 153, 51, 0.4);
    
    /* Dark Theme Base Colors */
    --bg-primary: #0a0e27;
    --bg-secondary: #151a35;
    --bg-tertiary: #1e2542;
    --bg-card: rgba(30, 37, 66, 0.6);
    
    /* Text Colors */
    --text: #e5e7eb;
    --text-primary: #f9fafb;
    --text-muted: #9ca3af;
    --text-light: #6b7280;
    
    /* Accent Colors */
    --accent-blue: #3b82f6;
    --accent-purple: #8b5cf6;
    --accent-cyan: #06b6d4;
    --accent-pink: #ec4899;
    
    /* UI Colors */
    --success: #10b981;
    --danger: #ef4444;
    --warning: #f59e0b;
    --info: #3b82f6;
    
    /* Discord Color */
    --discord: #5865F2;
    
    /* Glassmorphism - Dark Theme */
    --glass-bg: rgba(30, 37, 66, 0.3);
    --glass-bg-hover: rgba(30, 37, 66, 0.5);
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    
    /* Shadows */
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 20px var(--saffron-glow);
    
    /* Borders */
    --border-radius: 8px;
    --border-radius-sm: 4px;
    --border-radius-lg: 12px;
    
    /* Spacing */
    --spacing-unit: 8px;
    
    /* Transitions */
    --transition: all 0.3s ease;
}

/* ===========================
   Reset & Base Styles
   =========================== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: linear-gradient(135deg, var(--bg-primary) 0%, var(--bg-secondary) 100%);
    background-attachment: fixed;
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    min-height: 100vh;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

h1 { font-size: 2.5rem; }
h2 { font-size: 2rem; }
h3 { font-size: 1.5rem; }
h4 { font-size: 1.25rem; }
h5 { font-size: 1.125rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
}

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

a:hover {
    color: var(--saffron-dark);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ===========================
   Container & Layout
   =========================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 1.5rem;
}

main {
    min-height: calc(100vh - 80px - 300px); /* Viewport - Navbar - Footer */
}

/* ===========================
   Navbar
   =========================== */
.navbar {
    background: rgba(10, 14, 39, 0.8);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border-bottom: 1px solid rgba(255, 153, 51, 0.2);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 1rem 0;
}

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

.navbar-brand {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.navbar-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    font-size: 1.25rem;
    color: var(--text-primary);
    text-shadow: 0 0 10px var(--saffron-glow);
}

.logo-icon {
    font-size: 1.5rem;
}

.navbar-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
}

.navbar-toggle span {
    width: 25px;
    height: 3px;
    background-color: var(--text);
    border-radius: 2px;
    transition: var(--transition);
}

.navbar-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.navbar-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.navbar-link {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem 0;
    position: relative;
    transition: var(--transition);
}

.navbar-link:hover {
    color: var(--saffron);
    text-shadow: 0 0 10px var(--saffron-glow);
}

.navbar-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--saffron), var(--accent-purple));
    transition: width 0.3s ease;
}

.navbar-link:hover::after {
    width: 100%;
}

.navbar-actions {
    display: flex;
    gap: 1rem;
}

/* ===========================
   Buttons
   =========================== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 1rem;
    border: none;
    border-radius: var(--border-radius);
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
}

.btn-primary {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
    color: white;
    box-shadow: 0 4px 15px var(--saffron-glow);
}

.btn-primary:hover {
    background: linear-gradient(135deg, var(--saffron-light) 0%, var(--saffron) 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 8px 25px var(--saffron-glow), var(--shadow-glow);
}

.btn-primary:disabled,
.btn-primary.disabled {
    background: linear-gradient(135deg, #666 0%, #555 100%) !important;
    color: #999 !important;
    cursor: not-allowed !important;
    transform: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
    opacity: 0.6 !important;
}

.btn-primary:disabled:hover,
.btn-primary.disabled:hover {
    background: linear-gradient(135deg, #666 0%, #555 100%) !important;
    transform: none !important;
    box-shadow: 0 2px 5px rgba(0,0,0,0.2) !important;
}

.btn-secondary {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.3);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: rgba(30, 37, 66, 0.8);
    color: var(--saffron);
    transform: translateY(-2px);
    box-shadow: 0 8px 32px 0 rgba(255, 153, 51, 0.3);
    border-color: var(--saffron);
}

.btn-discord {
    background-color: var(--discord);
    color: white;
}

.btn-discord:hover {
    background-color: #4752C4;
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-lg);
}

.btn-text {
    background: none;
    color: var(--saffron);
    padding: 0.5rem 1rem;
}

.btn-text:hover {
    color: var(--saffron-dark);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.125rem;
}

.btn-block {
    width: 100%;
}

/* ===========================
   Hero Section
   =========================== */
.hero {
    position: relative;
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #0a0e27 0%, #1e2542 50%, #0a0e27 100%);
    /* TODO: Add actual GTA V background image */
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    color: white;
    text-align: center;
    padding: 4rem 0;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 50%, rgba(255, 153, 51, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 80% 80%, rgba(139, 92, 246, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 40% 20%, rgba(59, 130, 246, 0.1) 0%, transparent 50%);
    animation: gradientShift 15s ease infinite;
}

@keyframes gradientShift {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(10, 14, 39, 0.3);
    z-index: 1;
}

.hero-content {
    position: relative;
    z-index: 2;
    background: rgba(30, 37, 66, 0.4);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.3);
    border-radius: var(--border-radius-lg);
    padding: 3rem 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), 0 0 60px rgba(255, 153, 51, 0.2);
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--saffron-light), var(--saffron-light), var(--saffron-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--saffron-glow));
}

.hero-subtitle {
    font-size: 2rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: var(--saffron-light);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-description {
    font-size: 1.25rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

/* ===========================
   Server Status Widget
   =========================== */
.server-status-card {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.3);
    color: var(--text-primary);
    border-radius: var(--border-radius-lg);
    padding: 1.5rem;
    max-width: 400px;
    margin: 0 auto;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 153, 51, 0.15);
}

.status-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 1rem;
    font-size: 1.125rem;
    font-weight: 600;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background-color: var(--success);
}

.status-indicator.offline {
    background-color: var(--danger);
    animation: none;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.status-details {
    display: flex;
    justify-content: space-around;
    gap: 1rem;
}

.status-item {
    text-align: center;
}

.status-value {
    display: block;
    font-size: 2rem;
    font-weight: 700;
    color: var(--saffron);
}

.status-text {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===========================
   Features Section
   =========================== */
.features {
    padding: 5rem 0;
    background-color: var(--bg-white);
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-8px);
    background: rgba(30, 37, 66, 0.8);
    box-shadow: 0 8px 32px 0 rgba(255, 153, 51, 0.4);
    border-color: var(--saffron);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.5rem;
    margin-bottom: 1rem;
    background: linear-gradient(135deg, var(--saffron), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.feature-description {
    color: var(--text-muted);
    line-height: 1.7;
}

/* ===========================
   Latest Updates Section
   =========================== */
.latest-news {
    padding: 5rem 0;
    background: transparent;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.news-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px 0 rgba(255, 153, 51, 0.4);
    background: rgba(30, 37, 66, 0.8);
    border-color: var(--saffron);
}

.news-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    background-color: var(--text-light);
}

.news-content {
    padding: 1.5rem;
}

.news-date {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.news-title {
    font-size: 1.25rem;
    margin-bottom: 0.75rem;
}

.news-title a {
    color: var(--text);
}

.news-title a:hover {
    color: var(--saffron);
}

.news-summary {
    color: var(--text-muted);
    margin-bottom: 1rem;
    line-height: 1.6;
}

.news-link {
    color: var(--saffron);
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

/* Discord CTA section removed - using webhook integration instead */

/* ===========================
   Footer
   =========================== */
.footer {
    background: linear-gradient(135deg, #0a0e27 0%, #151a35 100%);
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    color: var(--text-light);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-title {
    color: var(--saffron);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.footer-heading {
    color: var(--saffron-light);
    font-size: 1.125rem;
    margin-bottom: 1rem;
}

.footer-description {
    color: var(--text-light);
    line-height: 1.7;
    margin-bottom: 1rem;
}

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

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--text-light);
}

.footer-links a:hover {
    color: var(--saffron-light);
}

.server-status-mini {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-top: 1rem;
}

.server-info {
    margin-top: 0.5rem;
}

.copy-box {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background-color: rgba(30, 37, 66, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.2);
    padding: 0.5rem;
    border-radius: var(--border-radius-sm);
    margin-top: 0.5rem;
}

.copy-box code {
    flex: 1;
    font-family: 'Courier New', monospace;
    color: var(--saffron-light);
}

.copy-btn {
    background: none;
    border: none;
    color: var(--text-light);
    cursor: pointer;
    font-size: 1.25rem;
    padding: 0.25rem;
    transition: var(--transition);
}

.copy-btn:hover {
    color: var(--saffron);
    transform: scale(1.2);
}

.footer-bottom {
    border-top: 1px solid rgba(139, 92, 246, 0.2);
    padding-top: 1.5rem;
    text-align: center;
    color: var(--text-light);
}

.footer-disclaimer {
    font-size: 0.875rem;
    margin-top: 0.5rem;
    color: rgba(255, 255, 255, 0.5);
}

/* ===========================
   Page Header
   =========================== */

/* Softer, modern page header for admin panels */
.page-header {
    background: rgba(30, 37, 66, 0.7);
    color: var(--text-primary);
    padding: 2.5rem 2rem 2rem 2rem;
    text-align: left;
    border-radius: 18px;
    margin-bottom: 2rem;
    box-shadow: 0 4px 32px 0 rgba(0,0,0,0.18), 0 0 0 1.5px var(--glass-border);
    position: relative;
    overflow: hidden;
}
.page-header h1, .page-header .section-title {
    font-size: 2.1rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}
.page-header .subtitle {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin-bottom: 0;
}

.page-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
    background: linear-gradient(135deg, var(--saffron-light), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    filter: drop-shadow(0 0 20px var(--saffron-glow));
}

.page-subtitle {
    font-size: 1.25rem;
    opacity: 0.9;
    position: relative;
    z-index: 1;
    color: var(--text);
}

/* ===========================
   Content Section
   =========================== */
.content-section {
    padding: 4rem 0;
}

/* ===========================
   Forms
   =========================== */
.form-container {
    max-width: 700px;
    margin: 0 auto;
}

.form-intro {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.requirements-list {
    list-style: none;
    padding: 0;
}

.requirements-list li {
    padding: 0.5rem 0;
    color: var(--text-muted);
}

.application-form,
.contact-form,
.auth-form {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-label {
    display: block;
    font-weight: 600;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 0.75rem;
    background: rgba(10, 14, 39, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: var(--border-radius);
    font-family: inherit;
    font-size: 1rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    background: rgba(10, 14, 39, 0.8);
    border-color: var(--saffron);
    box-shadow: 0 0 0 3px rgba(255, 153, 51, 0.2), 0 4px 16px 0 rgba(255, 153, 51, 0.3);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-help {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-top: 0.25rem;
}

.form-error {
    color: var(--danger);
    font-size: 0.875rem;
    margin-top: 0.25rem;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.form-check-input {
    width: auto;
    margin: 0;
}

.form-check-label {
    margin: 0;
    font-weight: normal;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 2rem;
}

.form-note {
    margin-top: 1.5rem;
    padding: 1rem;
    background-color: var(--bg);
    border-radius: var(--border-radius);
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* ===========================
   Staff Grid
   =========================== */
.staff-grid {
    display: flex;
    justify-content: center;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 3rem;
    width: 100%;
    padding: 0 1rem;
}

.staff-card {
    flex: 0 0 220px;
    max-width: 220px;
    width: 220px;
}

.staff-card {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
    transition: var(--transition);
}

.staff-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 8px 32px 0 rgba(255, 153, 51, 0.4);
    background: rgba(30, 37, 66, 0.8);
    border-color: var(--saffron);
}

.staff-avatar {
    width: 100%;
    height: 120px;
    overflow: hidden;
    background-color: var(--bg);
}

.staff-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.staff-info {
    padding: 0.75rem;
}

.staff-name {
    font-size: 1rem;
    margin-bottom: 0.3rem;
    color: var(--text-primary);
}

.staff-role {
    color: var(--saffron);
    font-weight: 600;
    margin-bottom: 0.4rem;
    font-size: 0.9rem;
}

.staff-discord {
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-bottom: 0.4rem;
}

.staff-bio {
    font-size: 0.875rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.staff-info-box {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    text-align: center;
    box-shadow: var(--shadow-md);
}


/* ===========================
   Rules Page
   =========================== */
.rules-container {
    max-width: 900px;
    margin: 0 auto;
}

.rules-intro {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.rules-category {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    margin-bottom: 2rem;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.category-title {
    background: linear-gradient(135deg, var(--saffron), var(--accent-purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    border-bottom: 3px solid var(--saffron);
    padding-bottom: 0.5rem;
    margin-bottom: 1.5rem;
}

.rules-list {
    list-style: none;
    padding: 0;
}

.rules-list li {
    padding: 0.75rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.rules-list li:last-child {
    border-bottom: none;
}

.rules-footer {
    margin-top: 3rem;
}

.important-notice {
    background: rgba(255, 153, 51, 0.1);
    border-left: 4px solid var(--saffron);
    border: 1px solid rgba(255, 153, 51, 0.3);
    padding: 1.5rem;
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.important-notice h3 {
    color: var(--saffron);
    margin-bottom: 0.5rem;
}

.important-notice p {
    color: var(--text-light);
}

.rules-cta {
    text-align: center;
    padding: 2rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===========================
   News Pages
   =========================== */
.news-list {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    margin-bottom: 3rem;
}

.news-item {
    background-color: var(--bg-white);
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    display: flex;
    transition: var(--transition);
}

.news-item:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-lg);
}

.news-item-image {
    width: 300px;
    flex-shrink: 0;
    background-size: cover;
    background-position: center;
    background-color: var(--bg);
}

.news-item-content {
    padding: 2rem;
    flex: 1;
}

.news-item-date {
    display: block;
    font-size: 0.875rem;
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.news-item-title {
    font-size: 1.75rem;
    margin-bottom: 1rem;
}

.news-item-title a {
    color: var(--text);
}

.news-item-title a:hover {
    color: var(--saffron);
}

.news-item-summary {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.7;
}

.news-item-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.news-author {
    font-size: 0.875rem;
    color: var(--text-muted);
}

/* Post Page */
.post-page {
    background-color: var(--bg-white);
}

.post-header {
    background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%);
    color: white;
    padding: 4rem 0;
    text-align: center;
}

.post-meta {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    font-size: 0.875rem;
    opacity: 0.9;
}

.post-title {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.post-summary {
    font-size: 1.25rem;
    max-width: 800px;
    margin: 0 auto;
    opacity: 0.95;
}

.post-featured-image {
    max-width: 1200px;
    margin: -3rem auto 3rem;
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.post-featured-image img {
    width: 100%;
    height: auto;
}

.post-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 0;
    line-height: 1.8;
    font-size: 1.125rem;
}

.post-content h3 {
    color: var(--saffron-dark);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.post-content ul,
.post-content ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.post-content li {
    margin-bottom: 0.5rem;
}

.post-footer {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem 0;
    border-top: 1px solid #E5E7EB;
}

.related-posts {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 0;
}

/* Pagination */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1rem;
    padding: 2rem 0;
}

.pagination-link {
    padding: 0.75rem 1.5rem;
    background-color: var(--bg-white);
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
}

.pagination-link:hover {
    background-color: var(--saffron);
    color: white;
}

.pagination-info {
    color: var(--text-muted);
}

/* ===========================
   Auth Pages
   =========================== */
.auth-page {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
}

.auth-container {
    max-width: 450px;
    width: 100%;
    background-color: var(--bg-white);
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-xl);
}

.auth-header {
    text-align: center;
    margin-bottom: 2rem;
}

.auth-title {
    color: var(--saffron-dark);
    margin-bottom: 0.5rem;
}

.auth-subtitle {
    color: var(--text-muted);
    font-size: 1rem;
}

.auth-footer {
    text-align: center;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid #E5E7EB;
}

/* ===========================
   Error Pages
   =========================== */
.error-page {
    min-height: calc(100vh - 80px - 300px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 4rem 0;
    text-align: center;
}

.error-content {
    max-width: 600px;
}

.error-code {
    font-size: 8rem;
    font-weight: 700;
    color: var(--saffron);
    line-height: 1;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.error-description {
    color: var(--text-muted);
    font-size: 1.125rem;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

/* ===========================
   Flash Messages
   =========================== */
.flash-messages {
    position: fixed;
    top: 100px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-width: 400px;
}

.alert {
    padding: 1rem 1.5rem;
    border-radius: var(--border-radius);
    box-shadow: var(--shadow-lg);
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.3s ease;
}

@keyframes slideIn {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

.alert-success {
    background-color: #D1FAE5;
    color: #065F46;
    border-left: 4px solid var(--success);
}

.alert-danger {
    background-color: #FEE2E2;
    color: #991B1B;
    border-left: 4px solid var(--danger);
}

.alert-warning {
    background-color: #FEF3C7;
    color: #92400E;
    border-left: 4px solid var(--warning);
}

.alert-info {
    background-color: #DBEAFE;
    color: #1E40AF;
    border-left: 4px solid var(--info);
}

.alert-close {
    background: none;
    border: none;
    font-size: 1.5rem;
    cursor: pointer;
    color: inherit;
    opacity: 0.5;
    transition: opacity 0.2s;
}

.alert-close:hover {
    opacity: 1;
}

/* ===========================
   Utility Classes
   =========================== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: var(--text-muted);
}

/* Contact Page */
.contact-layout {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 3rem;
    align-items: start;
}

.contact-info {
    background: rgba(30, 37, 66, 0.6);
    backdrop-filter: blur(16px) saturate(180%);
    -webkit-backdrop-filter: blur(16px) saturate(180%);
    border: 1px solid rgba(255, 153, 51, 0.2);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.5);
}

.contact-methods {
    margin-top: 2rem;
}

.contact-method {
    display: flex;
    gap: 1rem;
    padding: 1.5rem 0;
    border-bottom: 1px solid #E5E7EB;
}

.contact-method:last-child {
    border-bottom: none;
}

.method-icon {
    font-size: 2rem;
}

.method-info h3 {
    font-size: 1.125rem;
    margin-bottom: 0.5rem;
}

.method-info p {
    color: var(--text-muted);
    margin-bottom: 0.5rem;
}

.contact-form-wrapper {
    background-color: var(--bg-white);
    padding: 2rem;
    border-radius: var(--border-radius-lg);
    box-shadow: var(--shadow-md);
}

/* ===========================
   Responsive Design
   =========================== */
@media (max-width: 768px) {
    /* Navbar */
    .navbar-toggle {
        display: flex;
    }
    
    .navbar-menu {
        display: none !important;
        position: absolute !important;
        top: 100% !important;
        left: 0 !important;
        right: 0 !important;
        background: rgba(10, 14, 39, 0.95) !important;
        background-color: rgba(10, 14, 39, 0.95) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        flex-direction: column !important;
        padding: 2rem !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 153, 51, 0.3) !important;
        border: 1px solid rgba(255, 153, 51, 0.4) !important;
        border-top: 3px solid #ff8c00 !important;
        border-radius: 0 0 15px 15px !important;
        z-index: 999999 !important;
        min-height: 280px !important;
        opacity: 1 !important;
        visibility: visible !important;
    }
    
    .navbar-menu.active {
        display: flex !important;
        visibility: visible !important;
        background: rgba(10, 14, 39, 0.95) !important;
        background-color: rgba(10, 14, 39, 0.95) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        opacity: 1 !important;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-10px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .navbar-links {
        flex-direction: column;
        width: 100%;
        gap: 0;
    }
    
    .navbar-link {
        width: 100%;
        padding: 1rem 1.5rem;
        border-bottom: 1px solid rgba(255, 153, 51, 0.2);
        background: rgba(30, 37, 66, 0.6) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        transition: all 0.3s ease;
        border-radius: 8px;
        margin: 4px 0;
        font-weight: 500;
        font-size: 1.1rem;
        color: var(--text-primary) !important;
        text-decoration: none !important;
        box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
        opacity: 1 !important;
    }
    
    .navbar-link:hover {
        background: linear-gradient(135deg, var(--saffron) 0%, var(--saffron-dark) 100%) !important;
        color: #ffffff !important;
        transform: translateX(5px);
        box-shadow: 0 4px 20px rgba(255, 153, 51, 0.4);
        border-color: var(--saffron);
    }
    
    .navbar-actions {
        width: 100%;
        padding: 1rem 0;
    }
    
    /* Hero */
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.5rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    /* Headings */
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.25rem; }
    
    /* Features */
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    /* News */
    .news-grid {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        flex-direction: column;
    }
    
    .news-item-image {
        width: 100%;
        height: 200px;
    }
    
    /* Staff */
    .staff-grid {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
        max-width: 320px;
    }
    
    .staff-card {
        flex: none;
        width: 100%;
        max-width: 320px;
    }
    
    /* Contact */
    .contact-layout {
        grid-template-columns: 1fr;
    }
    
    /* Post */
    .post-title {
        font-size: 2rem;
    }
    
    .post-content {
        font-size: 1rem;
    }
    
    /* Error */
    .error-code {
        font-size: 5rem;
    }
    
    .error-actions {
        flex-direction: column;
    }
    
    /* Flash messages */
    .flash-messages {
        left: 20px;
        right: 20px;
        top: 80px;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 1rem;
    }
    
    .btn-large {
        padding: 0.875rem 1.5rem;
        font-size: 1rem;
    }
    
    .hero-title {
        font-size: 1.75rem;
    }
    
    .hero-subtitle {
        font-size: 1.25rem;
    }
    
    .section-title {
        font-size: 1.75rem;
    }
}

/* ===========================
   Print Styles
   =========================== */
@media print {
    .navbar,
    .footer,
    .hero-actions,
    .btn,
    .flash-messages {
        display: none;
    }
    
    body {
        background-color: white;
    }
    
    .hero {
        background: none;
        color: black;
        min-height: auto;
        padding: 2rem 0;
    }
}

/* ===========================
   Enhanced Glass Effects
   =========================== */
@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

.glass-shimmer {
    position: relative;
    overflow: hidden;
}

.glass-shimmer::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    animation: shimmer 3s infinite;
}

/* ===========================
   MOBILE MENU FORCE OVERRIDE
   =========================== */
@media screen and (max-width: 768px) {
    .navbar-menu,
    .navbar-menu.active,
    #navbarMenu,
    #navbarMenu.active {
        background: rgba(10, 14, 39, 0.95) !important;
        background-color: rgba(10, 14, 39, 0.95) !important;
        backdrop-filter: blur(20px) saturate(180%) !important;
        -webkit-backdrop-filter: blur(20px) saturate(180%) !important;
        opacity: 1 !important;
        visibility: visible !important;
        border: 1px solid rgba(255, 153, 51, 0.4) !important;
        border-top: 3px solid #ff8c00 !important;
        z-index: 9999999 !important;
        box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.6), 0 0 40px rgba(255, 153, 51, 0.3) !important;
    }
    
    .navbar-link {
        background: rgba(30, 37, 66, 0.6) !important;
        backdrop-filter: blur(10px) !important;
        -webkit-backdrop-filter: blur(10px) !important;
        color: var(--text-primary) !important;
        opacity: 1 !important;
        border-bottom: 1px solid rgba(255, 153, 51, 0.2) !important;
        margin: 4px 0 !important;
        padding: 1rem 1.5rem !important;
        font-size: 1.1rem !important;
        font-weight: 500 !important;
    }
}

/* ===========================
   DISCORD VALIDATION STYLES
   =========================== */
.discord-validation-status {
    margin-top: 0.5rem;
    padding: 0.75rem 1rem;
    border-radius: 0.5rem;
    font-size: 0.9rem;
    font-weight: 500;
    display: none;
    backdrop-filter: blur(10px);
    border: 1px solid transparent;
}

.discord-validation-status.verified {
    background: rgba(39, 174, 96, 0.2);
    color: #27ae60;
    border-color: rgba(39, 174, 96, 0.3);
    box-shadow: 0 4px 15px rgba(39, 174, 96, 0.2);
}

.discord-validation-status.not-in-server {
    background: rgba(243, 156, 18, 0.2);
    color: #f39c12;
    border-color: rgba(243, 156, 18, 0.3);
    box-shadow: 0 4px 15px rgba(243, 156, 18, 0.2);
}

.discord-validation-status.error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border-color: rgba(231, 76, 60, 0.3);
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.2);
}

.discord-validation-status.checking {
    background: rgba(52, 152, 219, 0.2);
    color: #3498db;
    border-color: rgba(52, 152, 219, 0.3);
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.2);
}

.discord-join-link {
    color: var(--saffron) !important;
    text-decoration: none;
    font-weight: bold;
    margin: 0 0.5rem;
}

.discord-join-link:hover {
    color: var(--saffron-light) !important;
    text-decoration: underline;
}

.discord-verify-button {
    background: rgba(52, 152, 219, 0.8);
    color: white;
    border: none;
    padding: 0.25rem 0.75rem;
    border-radius: 0.25rem;
    font-size: 0.8rem;
    cursor: pointer;
    margin-left: 0.5rem;
    transition: all 0.3s ease;
}

.discord-verify-button:hover {
    background: #3498db;
    transform: translateY(-1px);
}

/* ===========================
   File Manager
   =========================== */
.file-manager-container {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.file-manager-container .page-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.file-manager-container .eyebrow {
    text-transform: uppercase;
    letter-spacing: 0.25em;
    color: var(--text-muted);
    font-size: 0.75rem;
    margin-bottom: 0.3rem;
}

.file-manager-container .upload-btn {
    cursor: pointer;
}

.upload-panel {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 1.5rem;
}

.upload-dropzone {
    border: 1px dashed rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 1.75rem;
    display: flex;
    align-items: center;
    gap: 1.5rem;
    background: rgba(255, 255, 255, 0.01);
    transition: border-color 0.2s ease, background 0.2s ease;
}

.upload-dropzone.dragover {
    border-color: var(--saffron);
    background: rgba(244, 160, 0, 0.08);
}

.drop-icon {
    width: 72px;
    height: 72px;
    border-radius: 20px;
    background: rgba(244, 160, 0, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--saffron);
}

.drop-text h3 {
    margin: 0;
}

.drop-text p {
    margin: 0.1rem 0 0;
    color: var(--text-muted);
}

.drop-text .hint {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.upload-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.progress-label {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.progress-bar {
    width: 100%;
    height: 6px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.08);
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    border-radius: 999px;
    background: linear-gradient(90deg, var(--saffron), #ffbe3d);
    transition: width 0.2s ease;
}

.upload-status {
    font-size: 0.85rem;
    padding: 0.75rem 1rem;
    border-radius: 10px;
    background: rgba(76, 175, 80, 0.15);
    color: #9be7a5;
}

.upload-status.error {
    background: rgba(239, 68, 68, 0.15);
    color: #f9a8a8;
}

.file-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 1rem;
}

.stat-card {
    display: flex;
    align-items: center;
    gap: 0.85rem;
    padding: 1rem 1.25rem;
}

.stat-icon {
    width: 46px;
    height: 46px;
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.07);
    color: var(--saffron);
    font-size: 1.1rem;
}

.stat-info p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.stat-info h3 {
    margin: 0;
}

.toolbar {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem;
}

.filters {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
}

.filter-chip {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 999px;
    padding: 0.4rem 1rem;
    background: transparent;
    color: var(--text);
    cursor: pointer;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.2s ease;
}

.filter-chip.active,
.filter-chip:hover {
    background: rgba(244, 160, 0, 0.15);
    border-color: var(--saffron);
    color: var(--saffron);
}

.search {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    border-radius: 999px;
    padding: 0.35rem 0.9rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    min-width: 220px;
}

.search input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--text);
    width: 100%;
}

.files-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 1.25rem;
}

.file-card {
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    background: radial-gradient(circle at top, rgba(244, 160, 0, 0.14), rgba(7, 16, 45, 0.85));
}

.file-preview {
    height: 180px;
    background: rgba(255, 255, 255, 0.02);
    display: flex;
    align-items: center;
    justify-content: center;
}

.file-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.file-icon {
    width: 90px;
    height: 90px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
}

.file-info {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.file-name {
    font-weight: 600;
    margin-bottom: 0.25rem;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.file-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.file-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.2rem 0.65rem;
    font-size: 0.75rem;
    border-radius: 999px;
    margin-top: 0.5rem;
    background: rgba(244, 160, 0, 0.15);
    color: var(--saffron);
}

.file-actions {
    display: flex;
    gap: 0.5rem;
    padding: 0.75rem 1rem 1rem;
}

.btn-icon {
    flex: 1;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: rgba(255, 255, 255, 0.03);
    color: var(--text);
    cursor: pointer;
    text-decoration: none;
    padding: 0.5rem 0.75rem;
    transition: all 0.2s ease;
}

.btn-icon:hover {
    border-color: var(--saffron);
    color: var(--saffron);
}

.btn-icon.copied {
    background: rgba(76, 175, 80, 0.2);
    border-color: rgba(76, 175, 80, 0.5);
    color: #8af59f;
}

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem 1rem;
    border: 1px dashed rgba(255, 255, 255, 0.1);
    border-radius: 16px;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

