/* Reset i podstawowe style */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.7;
    color: #1a1a1a;
    background: linear-gradient(135deg, #61605c 0%, #4a4a47 100%);
    background-attachment: fixed;
    min-height: 100vh;
    font-size: 16px;
    letter-spacing: -0.01em;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    z-index: -1;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 1rem;
}

h1 {
    font-size: 2.5rem;
    font-weight: 800;
}

h2 {
    font-size: 2rem;
    font-weight: 700;
}

h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

h4 {
    font-size: 1.25rem;
    font-weight: 600;
}

p {
    margin-bottom: 1rem;
    line-height: 1.7;
}

a {
    color: #61605c;
    text-decoration: none;
    transition: color 0.2s ease;
}

a:hover {
    color: #4a4a47;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography improvements */
.text-large {
    font-size: 1.125rem;
    line-height: 1.8;
}

.text-small {
    font-size: 0.875rem;
    line-height: 1.6;
}

.text-muted {
    color: #6c757d;
    opacity: 0.8;
}

.font-weight-medium {
    font-weight: 500;
}

.font-weight-semibold {
    font-weight: 600;
}

.font-weight-bold {
    font-weight: 700;
}

.text-gradient {
    background: linear-gradient(135deg, #61605c, #4a4a47);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Spacing utilities */
.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 0.25rem; }
.mb-2 { margin-bottom: 0.5rem; }
.mb-3 { margin-bottom: 1rem; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2rem; }
.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 0.25rem; }
.mt-2 { margin-top: 0.5rem; }
.mt-3 { margin-top: 1rem; }
.mt-4 { margin-top: 1.5rem; }
.mt-5 { margin-top: 2rem; }
/* Header i nawigacja */
.header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 1rem;
    min-width: 0;
}

.nav-countdown {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.35rem 0.6rem;
    border-radius: 999px;
    background: rgba(97, 96, 92, 0.08);
    border: 1px solid rgba(97, 96, 92, 0.18);
    color: #4a5568;
    font-weight: 600;
    white-space: nowrap;
}

.nav-countdown-label {
    opacity: 0.85;
}

.nav-countdown-timer {
    font-variant-numeric: tabular-nums;
    letter-spacing: 0.02em;
}

.brand-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    color: #61605c;
    font-size: 1.5rem;
    font-weight: bold;
    transition: transform 0.3s ease;
}

.brand-link:hover {
    transform: scale(1.05);
}

.brand-logo {
    width: 40px;
    height: 40px;
    margin-right: 10px;
    border-radius: 50%;
}

.brand-name {
    color: #61605c;
    font-weight: 700;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.nav-link {
    color: #4a5568;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    font-weight: 500;
    position: relative;
}

.nav-link::before {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #61605c, #4a4a47);
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

.nav-link:hover {
    color: #61605c;
    background-color: rgba(97, 96, 92, 0.1);
    transform: translateY(-2px);
}

.nav-link:hover::before {
    width: 80%;
}

.nav-user {
    display: flex;
    align-items: center;
    gap: 1rem;
    color: #4a5568;
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid white;
}

.user-avatar-large {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    border: 3px solid #61605c;
}

.user-avatar-small {
    width: 24px;
    height: 24px;
    border-radius: 50%;
}

.user-name {
    font-weight: 500;
}

.logout-link {
    background: linear-gradient(135deg, #61605c, #4a4a47);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.logout-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(97, 96, 92, 0.3);
}

.login-btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    text-decoration: none;
    font-weight: 600;
    border-radius: 8px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.login-btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

.login-btn-discord svg {
    flex-shrink: 0;
}

.login-btn-discord span {
    flex: 1;
    text-align: center;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background-color: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Main content */
.main {
    min-height: calc(100vh - 200px);
    padding: 2rem 0;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

/* Alert messages */
.alert {
    padding: 1rem 1.5rem;
    margin: 1rem 0;
    border-radius: 12px;
    font-weight: 500;
    border-left: 4px solid;
    position: relative;
    overflow: hidden;
    animation: slideInRight 0.3s ease;
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.alert-success {
    background: linear-gradient(135deg, rgba(212, 237, 218, 0.9), rgba(195, 230, 203, 0.9));
    color: #155724;
    border-left-color: #28a745;
    backdrop-filter: blur(10px);
}

.alert-error {
    background: linear-gradient(135deg, rgba(248, 215, 218, 0.9), rgba(245, 198, 203, 0.9));
    color: #721c24;
    border-left-color: #dc3545;
    backdrop-filter: blur(10px);
}

.alert-info {
    background: linear-gradient(135deg, rgba(209, 236, 241, 0.9), rgba(190, 229, 235, 0.9));
    color: #0c5460;
    border-left-color: #17a2b8;
    backdrop-filter: blur(10px);
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: linear-gradient(135deg, #797773, #5a5956);
    color: white;
    box-shadow: 0 4px 12px rgba(121, 119, 115, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(121, 119, 115, 0.4);
}

.btn-secondary {
    background: linear-gradient(135deg, #6c757d, #5a6268);
    color: white;
    box-shadow: 0 4px 12px rgba(97, 96, 92, 0.3);
}

.btn-secondary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(97, 96, 92, 0.4);
}

.btn-success {
    background: linear-gradient(135deg, #28a745, #20c997);
    color: white;
    box-shadow: 0 4px 12px rgba(40, 167, 69, 0.3);
}

.btn-success:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(40, 167, 69, 0.4);
}

.btn-danger {
    background: linear-gradient(135deg, #dc3545, #e74c3c);
    color: white;
    box-shadow: 0 4px 12px rgba(220, 53, 69, 0.3);
}

.btn-danger:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(220, 53, 69, 0.4);
}

.btn-warning {
    background: linear-gradient(135deg, #ffc107, #f39c12);
    color: #212529;
    box-shadow: 0 4px 12px rgba(255, 193, 7, 0.3);
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 193, 7, 0.4);
}

.btn-info {
    background: linear-gradient(135deg, #17a2b8, #138496);
    color: white;
    box-shadow: 0 4px 12px rgba(23, 162, 184, 0.3);
}

.btn-info:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(23, 162, 184, 0.4);
}

.btn-outline {
    background: transparent;
    border: 2px solid #797773;
    color: #797773;
    position: relative;
    z-index: 1;
}

.btn-outline::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #797773, #5a5956);
    z-index: -1;
    transform: scale(0);
    transition: transform 0.3s ease;
    border-radius: 6px;
}

.btn-outline:hover {
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(121, 119, 115, 0.3);
}

.btn-outline:hover::before {
    transform: scale(1);
}

.btn-large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2, #4752C4);
    color: white;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 12px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.4);
}

/* Hero section */
.hero {
    background: linear-gradient(135deg, rgba(97, 96, 92, 0.9), rgba(74, 74, 71, 0.9)),
                url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="10" cy="50" r="0.5" fill="rgba(255,255,255,0.05)"/><circle cx="90" cy="30" r="0.5" fill="rgba(255,255,255,0.05)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    color: white;
    padding: 6rem 0;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 3s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

.hero-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
}

.hero-title {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, #f0f0f0);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: fadeInUp 0.8s ease;
    line-height: 1.1;
    letter-spacing: -0.03em;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-subtitle {
    font-size: 1.25rem;
    margin-bottom: 2.5rem;
    opacity: 0.95;
    animation: fadeInUp 0.8s ease 0.2s both;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: -0.01em;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 0.8s ease 0.4s both;
}

/* Features section */
.features {
    padding: 6rem 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    position: relative;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(97, 96, 92, 0.05), rgba(74, 74, 71, 0.05));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    display: inline-block;
    transition: transform 0.3s ease;
}

.feature-card:hover .feature-icon {
    transform: scale(1.1) rotate(5deg);
}

.feature-card h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

/* Dashboard */
.dashboard-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
}

.dashboard-header {
    margin-bottom: 2rem;
}

.dashboard-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.dashboard-subtitle {
    color: #6c757d;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.dashboard-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.dashboard-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.card-header {
    background: linear-gradient(135deg, #61605c, #4a4a47);
    color: white;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
}

.card-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 4s infinite;
}

.card-header h2 {
    margin: 0;
    font-size: 1.3rem;
}

.card-content {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
}

.card-footer {
    padding: 1.5rem 2rem;
    background: rgba(248, 249, 250, 0.9);
    border-top: 1px solid rgba(222, 226, 230, 0.5);
}

.user-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-details h3 {
    margin-bottom: 0.5rem;
    color: #333;
}

.role-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.role-user {
    background-color: #e9ecef;
    color: #495057;
}

.role-organizer {
    background-color: #cce5ff;
    color: #004085;
}

.role-admin {
    background-color: #f8d7da;
    color: #721c24;
}

.user-id {
    font-size: 0.9rem;
    color: #666;
}

.quick-actions {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-list, .reservation-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.session-item, .reservation-item {
    background: rgba(248, 249, 250, 0.9);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid #61605c;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.session-item:hover, .reservation-item:hover {
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.session-item h4, .reservation-item h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.session-date, .reservation-date {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.session-creator, .session-players, .reservation-scenario, .reservation-train {
    font-size: 0.9rem;
    color: #666;
    margin-bottom: 0.25rem;
}

.empty-state {
    text-align: center;
    padding: 2rem;
    color: #666;
}

.empty-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

/* Sessions */
.sessions-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 3rem 20px;
}

.sessions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.sessions-header h1 {
    font-size: 2.5rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
    line-height: 1.2;
}

.sessions-subtitle {
    color: #6c757d;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

.sessions-actions {
    display: flex;
    gap: 1rem;
}

.sessions-filters {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.filter-form {
    display: flex;
    gap: 1rem;
    align-items: end;
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.filter-group label {
    font-weight: 500;
    color: #333;
}

.filter-group select,
.filter-group input {
    padding: 0.75rem;
    border: 2px solid rgba(97, 96, 92, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.filter-group select:focus,
.filter-group input:focus {
    outline: none;
    border-color: #61605c;
    box-shadow: 0 0 0 3px rgba(97, 96, 92, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.filter-actions {
    display: flex;
    gap: 0.5rem;
    align-items: end;
}

.sessions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.session-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.session-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(97, 96, 92, 0.02), rgba(74, 74, 71, 0.02));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.session-card:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
}

.session-card:hover::before {
    opacity: 1;
}

.session-header {
    background: linear-gradient(135deg, #61605c, #4a4a47);
    color: white;
    padding: 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.session-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 4s infinite;
}

.session-title {
    margin: 0;
    font-size: 1.3rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
}

.status-approved {
    background-color: #d4edda;
    color: #155724;
}

.status-pending {
    background-color: #fff3cd;
    color: #856404;
}

.status-cancelled {
    background-color: #f8d7da;
    color: #721c24;
}

.status-completed {
    background-color: #d1ecf1;
    color: #0c5460;
}

.session-body {
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
}

.session-info {
    margin-bottom: 1rem;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    color: #666;
}

.info-icon {
    font-size: 1rem;
}

.session-description {
    margin-bottom: 1rem;
}

.session-requirements {
    border-top: 1px solid #eee;
    padding-top: 1rem;
}

.session-requirements h4 {
    margin-bottom: 0.5rem;
    color: #333;
}

.session-footer {
    padding: 1.5rem 2rem;
    background: rgba(248, 249, 250, 0.9);
    border-top: 1px solid rgba(222, 226, 230, 0.5);
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Auth */
.auth-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.auth-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    overflow: hidden;
    max-width: 500px;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.auth-card:hover {
    transform: translateY(-5px);
}

.auth-header {
    background: linear-gradient(135deg, #61605c, #4a4a47);
    color: white;
    padding: 2.5rem;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.auth-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shimmer 4s infinite;
}

.auth-header h1 {
    margin-bottom: 0.75rem;
    font-size: 2rem;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.auth-content {
    padding: 2.5rem;
}

.discord-info {
    text-align: center;
    margin-bottom: 2.5rem;
}

.discord-icon {
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
}

.discord-icon svg {
    color: #5865F2;
    filter: drop-shadow(0 4px 8px rgba(88, 101, 242, 0.3));
    transition: transform 0.3s ease;
}

.discord-icon svg:hover {
    transform: scale(1.1);
}

.discord-info h3 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.25rem;
}

.requirements-list {
    text-align: left;
    background: rgba(97, 96, 92, 0.05);
    border: 1px solid rgba(97, 96, 92, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.requirements-list li {
    margin-bottom: 0.75rem;
    color: #4a5568;
    position: relative;
    padding-left: 1.5rem;
    line-height: 1.6;
}

.requirements-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: #61605c;
    font-weight: bold;
}

.requirements-list li:last-child {
    margin-bottom: 0;
}

.auth-actions {
    text-align: center;
}

.auth-note {
    margin-top: 1.5rem;
    font-size: 0.9rem;
    color: #6c757d;
    text-align: center;
    line-height: 1.6;
    padding: 1rem;
    background: rgba(108, 117, 125, 0.05);
    border-radius: 8px;
}

.auth-footer {
    background: rgba(248, 249, 250, 0.9);
    padding: 1.5rem 2.5rem;
    text-align: center;
    border-top: 1px solid rgba(222, 226, 230, 0.5);
    backdrop-filter: blur(10px);
}

.auth-footer p {
    margin: 0;
    color: #6c757d;
    font-size: 0.9rem;
}

.auth-footer a {
    color: #61605c;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.2s ease;
}

.auth-footer a:hover {
    color: #4a4a47;
    text-decoration: underline;
}

/* Forms */
.session-create-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 3rem 20px;
}

.session-create-header {
    text-align: center;
    margin-bottom: 2.5rem;
}

.session-create-header h1 {
    font-size: 2.5rem;
    margin-bottom: 0.75rem;
    color: #1a1a1a;
    font-weight: 700;
    letter-spacing: -0.02em;
}

.session-create-subtitle {
    color: #6c757d;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.6;
}

.session-form {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.session-form:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.form-section {
    padding: 2.5rem;
    border-bottom: 1px solid rgba(222, 226, 230, 0.5);
    background: rgba(255, 255, 255, 0.8);
}

.form-section:last-child {
    border-bottom: none;
}

.form-section h2 {
    margin-bottom: 1.5rem;
    color: #1a1a1a;
    font-weight: 600;
    font-size: 1.25rem;
    letter-spacing: -0.01em;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.75rem;
    font-weight: 500;
    color: #1a1a1a;
    font-size: 0.95rem;
}

.form-group label.required::after {
    content: ' *';
    color: #dc3545;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.875rem;
    border: 2px solid rgba(97, 96, 92, 0.2);
    border-radius: 8px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: #61605c;
    box-shadow: 0 0 0 3px rgba(97, 96, 92, 0.1);
    background: rgba(255, 255, 255, 0.95);
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
}

.form-info {
    background: rgba(97, 96, 92, 0.05);
    border: 1px solid rgba(97, 96, 92, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    display: flex;
    gap: 1rem;
    backdrop-filter: blur(10px);
}

.form-info .info-icon {
    font-size: 1.5rem;
    color: #61605c;
    flex-shrink: 0;
}

.form-info .info-content h4 {
    margin-bottom: 0.5rem;
    color: #61605c;
    font-weight: 600;
}

.form-info .info-content p {
    margin: 0;
    color: #4a5568;
    line-height: 1.6;
}

.form-actions {
    padding: 2.5rem;
    background: rgba(248, 249, 250, 0.9);
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    border-top: 1px solid rgba(222, 226, 230, 0.5);
    backdrop-filter: blur(10px);
}

/* Footer */
.footer {
    background-color: #2c3e50;
    color: white;
    padding: 3rem 0 1rem;
    margin-top: 4rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #bdc3c7;
    text-decoration: none;
}

.footer-section a:hover {
    color: white;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #bdc3c7;
}

/* Error page */
.error-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: calc(100vh - 200px);
    padding: 2rem;
}

.error-card {
    background: white;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    overflow: hidden;
    max-width: 600px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
}

.error-content {
    padding: 2rem;
}

.error-code {
    font-size: 4rem;
    font-weight: bold;
    color: #61605c;
    margin-bottom: 1rem;
}

.error-title {
    font-size: 2rem;
    margin-bottom: 1rem;
    color: #333;
}

.error-message {
    color: #666;
    margin-bottom: 2rem;
}

.error-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.error-image {
    background: linear-gradient(135deg, #61605c 0%, #4a4a47 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 2rem;
}

.train-illustration {
    font-size: 4rem;
    color: white;
}

.help-section {
    padding: 3rem 0;
    background-color: white;
}

.help-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.help-item h4 {
    color: #61605c;
    margin-bottom: 0.5rem;
}

.help-item p {
    color: #666;
}

.feature-card p {
    color: #4a5568;
    line-height: 1.7;
    font-size: 1rem;
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.2;
    font-weight: bold;
    color: #333;
}

.feature-title {
    font-size: 2rem;
    line-height: 1.2;
    font-weight: bold;
    color: #333;
}

.dashboard-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: bold;
    color: #333;
}

.admin-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2.5rem 20px;
}

.admin-header {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    margin-bottom: 1.5rem;
}

.admin-header h1 {
    margin-bottom: 0.5rem;
    color: #1a1a1a;
}

.admin-subtitle {
    margin: 0;
    color: #6c757d;
    font-size: 1.05rem;
    line-height: 1.6;
}

.admin-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.10);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-top: 1.25rem;
}

.table-responsive {
    width: 100%;
    overflow-x: auto;
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
    background: rgba(255, 255, 255, 0.9);
}

.sessions-table thead th {
    text-align: left;
    padding: 1rem;
    font-weight: 700;
    color: #1a1a1a;
    background: rgba(97, 96, 92, 0.06);
    border-bottom: 1px solid rgba(222, 226, 230, 0.7);
    white-space: nowrap;
}

.sessions-table tbody td {
    padding: 1rem;
    border-bottom: 1px solid rgba(222, 226, 230, 0.6);
    vertical-align: middle;
}

.sessions-table tbody tr:hover {
    background: rgba(97, 96, 92, 0.04);
}

.phone-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
    gap: 0.75rem;
}

.phone-link-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.9rem 1rem;
    border-radius: 12px;
    border: 2px solid rgba(97, 96, 92, 0.18);
    background: rgba(255, 255, 255, 0.85);
    transition: all 0.2s ease;
    cursor: pointer;
    user-select: none;
}

.phone-link-item:hover {
    border-color: rgba(97, 96, 92, 0.35);
    transform: translateY(-1px);
}

.phone-link-item input {
    width: 18px;
    height: 18px;
}

.phone-link-code {
    font-weight: 700;
    color: #1a1a1a;
}

.sessions-title {
    font-size: 2.5rem;
    line-height: 1.2;
    font-weight: bold;
    color: #333;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-countdown {
        display: none;
    }

    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.95);
        backdrop-filter: blur(20px);
        flex-direction: column;
        padding: 1rem;
        gap: 0;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
        border-radius: 0 0 20px 20px;
    }
    
    .nav-menu.active {
        display: flex;
        animation: slideDown 0.3s ease;
    }
    
    @keyframes slideDown {
        from {
            opacity: 0;
            transform: translateY(-20px);
        }
        to {
            opacity: 1;
            transform: translateY(0);
        }
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-toggle span {
        transition: all 0.3s ease;
    }
    
    .nav-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 5px);
    }
    
    .nav-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .nav-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(7px, -6px);
    }
    
    .nav-user {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
        padding: 1rem 0;
        border-top: 1px solid rgba(97, 96, 92, 0.2);
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero {
        padding: 4rem 0;
    }
    
    .hero-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
    
    .dashboard-container {
        padding: 2rem 20px;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .sessions-container {
        padding: 2rem 20px;
    }
    
    .sessions-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .filter-form {
        flex-direction: column;
        align-items: stretch;
    }
    
    .filter-actions {
        justify-content: stretch;
    }
    
    .filter-actions .btn {
        flex: 1;
    }
    
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .error-card {
        grid-template-columns: 1fr;
    }
    
    .error-image {
        display: none;
    }
    
    .footer-container {
        grid-template-columns: 1fr;
    }
    
    .session-card:hover {
        transform: translateY(-5px);
    }
    
    .feature-card:hover {
        transform: translateY(-5px);
    }
    
    .dashboard-card:hover {
        transform: translateY(-3px);
    }
}
