:root {
    --primary-color: #000000;
    --secondary-color: #ffa600;
    --accent-color: #8B6914;
    --text-color: #ffffff;
    --gradient: linear-gradient(45deg, var(--secondary-color), var(--accent-color));
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 166, 0, 0.1);
    --card-hover: rgba(255, 166, 0, 0.2);
}

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

body {
    font-family: 'Arial', sans-serif;
    background: var(--primary-color);
    color: var(--text-color);
    line-height: 1.6;
}

/* Navbar */
.navbar {
    background: rgba(0, 0, 0, 0.95);
    padding: 1.2rem 2rem;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 2px solid rgba(255, 166, 0, 0.3);
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.navbar.scrolled {
    padding: 0.8rem 2rem;
    background: rgba(0, 0, 0, 0.98);
    box-shadow: 0 5px 20px rgba(255, 166, 0, 0.15);
}

.nav-brand {
    font-size: 1.8rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-brand i {
    color: var(--secondary-color);
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    position: relative;
}

.nav-links a:hover,
.nav-links a.active {
    color: var(--secondary-color);
    background: rgba(255, 166, 0, 0.1);
}

.burger {
    display: none;
    cursor: pointer;
}

.burger div {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 5px;
    transition: all 0.3s ease;
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)),
                url('https://images.unsplash.com/photo-1511512578047-dfb367046420?w=1920') center/cover;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 2rem;
}

.hero-small {
    min-height: 40vh;
}

.hero-content {
    max-width: 800px;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient);
    color: #fff;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: bold;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(255, 166, 0, 0.3);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

/* Feature Grid */
.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature-card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    background: var(--card-hover);
    transform: translateY(-5px);
}

.feature-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

/* Stats Section */
.stats {
    background: rgba(255, 166, 0, 0.05);
    padding: 4rem 0;
}

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

.stat-card {
    text-align: center;
    padding: 2rem;
}

.stat-card i {
    font-size: 3rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.stat-card h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

/* Footer */
.footer {
    background: rgba(0, 0, 0, 0.95);
    padding: 3rem 0 1rem;
    border-top: 2px solid rgba(255, 166, 0, 0.3);
}

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

.footer-section h3 {
    color: var(--secondary-color);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

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

.footer-section a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: var(--secondary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.5);
}

/* Auth Loading */
.auth-loading {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 2rem;
}

.loading-spinner {
    width: 60px;
    height: 60px;
    border: 5px solid rgba(255, 166, 0, 0.1);
    border-top-color: var(--secondary-color);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Access Denied */
.access-denied {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    text-align: center;
    padding: 2rem;
}

.access-denied-content {
    max-width: 500px;
}

.access-denied-content i {
    font-size: 5rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
}

.access-denied-content h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

/* User Info Badge */
.user-info {
    margin-top: 2rem;
}

.user-badge {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 166, 0, 0.1);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 166, 0, 0.3);
}

.user-badge img {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid var(--secondary-color);
}

.logout-btn {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.3);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.logout-btn:hover {
    background: rgba(255, 0, 0, 0.4);
}

/* Staff Tabs */
.staff-tabs {
    padding: 2rem 0;
}

.tabs-header {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
    border-bottom: 2px solid rgba(255, 166, 0, 0.3);
}

.tab-button {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 1rem 2rem;
    font-size: 1.1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
}

.tab-button:hover {
    color: #fff;
}

.tab-button.active {
    color: var(--secondary-color);
    border-bottom-color: var(--secondary-color);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.3s ease;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Calendar */
.calendar-section {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
}

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

.calendar-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.calendar-controls button {
    background: rgba(255, 166, 0, 0.2);
    border: 1px solid var(--secondary-color);
    color: #fff;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.calendar-controls button:hover {
    background: rgba(255, 166, 0, 0.4);
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
    margin-bottom: 3rem;
}

.calendar-day-header {
    text-align: center;
    font-weight: bold;
    padding: 1rem;
    color: var(--secondary-color);
}

.calendar-day {
    aspect-ratio: 1;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 166, 0, 0.1);
    border-radius: 10px;
    padding: 0.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
}

.calendar-day:hover:not(.empty) {
    background: rgba(255, 166, 0, 0.1);
    transform: scale(1.05);
}

.calendar-day.empty {
    background: transparent;
    border: none;
    cursor: default;
}

.calendar-day.today {
    background: rgba(255, 166, 0, 0.2);
    border-color: var(--secondary-color);
}

.calendar-day.has-event {
    border-color: var(--secondary-color);
    box-shadow: 0 0 10px rgba(255, 166, 0, 0.3);
}

.day-number {
    font-size: 1.2rem;
    font-weight: bold;
}

.event-indicator {
    position: absolute;
    top: 5px;
    right: 5px;
    background: var(--secondary-color);
    color: #fff;
    border-radius: 50%;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.8rem;
}

/* Events List */
.events-list {
    margin-top: 3rem;
}

.events-list h3 {
    margin-bottom: 1.5rem;
    color: var(--secondary-color);
}

.event-item {
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 166, 0, 0.2);
    border-radius: 10px;
    padding: 1.5rem;
    margin-bottom: 1rem;
    display: flex;
    gap: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.event-item:hover {
    background: rgba(255, 166, 0, 0.1);
    transform: translateX(5px);
}

.event-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    border-radius: 10px;
    padding: 1rem;
    min-width: 80px;
}

.event-day {
    font-size: 2rem;
    font-weight: bold;
}

.event-month {
    font-size: 0.9rem;
    text-transform: uppercase;
}

.event-details {
    flex: 1;
}

.event-details h4 {
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
}

.event-details p {
    margin-bottom: 0.3rem;
    color: rgba(255, 255, 255, 0.8);
}

.event-details small {
    color: rgba(255, 255, 255, 0.5);
}

.edit-icon {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

.no-events {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    padding: 2rem;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    animation: fadeIn 0.3s ease;
}

.modal-content {
    background: #000;
    border: 2px solid var(--secondary-color);
    border-radius: 15px;
    margin: 5% auto;
    padding: 2rem;
    max-width: 600px;
    position: relative;
    animation: slideDown 0.3s ease;
}

@keyframes slideDown {
    from {
        transform: translateY(-50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

.close {
    color: #fff;
    float: right;
    font-size: 2rem;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--secondary-color);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--secondary-color);
    font-weight: bold;
}

.form-group input,
.form-group textarea,
.form-group select {
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 166, 0, 0.3);
    border-radius: 5px;
    color: #fff;
    font-size: 1rem;
    font-family: inherit;
}

.form-group input:focus,
.form-group textarea:focus,
.form-group select:focus {
    outline: none;
    border-color: var(--secondary-color);
    background: rgba(255, 255, 255, 0.08);
}

.form-buttons {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    margin-top: 2rem;
}

.cancel-button {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.delete-button {
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid rgba(255, 0, 0, 0.5);
    color: #fff;
    padding: 0.8rem 1.5rem;
    border-radius: 5px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.delete-button:hover {
    background: rgba(255, 0, 0, 0.4);
}

/* Rules Container */
.rules-container {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 15px;
    padding: 2rem;
}

.rules-container h2 {
    color: var(--secondary-color);
    margin-bottom: 2rem;
    text-align: center;
}

.rule-category {
    margin-bottom: 3rem;
}

.rule-category h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 166, 0, 0.3);
}

.rule-item {
    background: rgba(255, 255, 255, 0.03);
    border-left: 3px solid var(--secondary-color);
    padding: 1.5rem;
    margin-bottom: 1rem;
    border-radius: 5px;
}

.rule-item h4 {
    color: var(--secondary-color);
    margin-bottom: 0.5rem;
}

.rule-item p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
}

.important-note {
    background: rgba(255, 166, 0, 0.1);
    border: 1px solid var(--secondary-color);
    border-radius: 10px;
    padding: 1.5rem;
    margin-top: 2rem;
    display: flex;
    gap: 1rem;
}

.important-note i {
    color: var(--secondary-color);
    font-size: 1.5rem;
}

/* Responsive */
@media (max-width: 768px) {
    .burger {
        display: block;
    }

    .nav-links {
        position: fixed;
        right: -100%;
        top: 70px;
        flex-direction: column;
        background: rgba(0, 0, 0, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 2rem 0;
    }

    .nav-links.nav-active {
        right: 0;
    }

    .hero h1 {
        font-size: 2rem;
    }

    .calendar-grid {
        gap: 5px;
    }

    .calendar-day {
        padding: 0.3rem;
    }

    .day-number {
        font-size: 1rem;
    }

    .event-item {
        flex-direction: column;
    }

    .tabs-header {
        flex-direction: column;
    }

    .tab-button {
        padding: 0.8rem 1rem;
    }
}
/* ===== TEAM PAGE ===== */
.team-container {
    max-width: 1200px;
    margin: 120px auto 50px;
    padding: 2rem;
}

.team-header {
    text-align: center;
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease;
}

.team-header h2 {
    font-size: 3rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 1rem;
}

.team-header p {
    color: #888;
    font-size: 1.2rem;
}

.team-section {
    margin-bottom: 4rem;
    animation: fadeInUp 0.8s ease;
}

.team-section h3 {
    font-size: 2rem;
    color: var(--secondary-color);
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(255, 166, 0, 0.3);
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.team-card {
    background: rgba(0, 0, 0, 0.7);
    border: 1px solid rgba(255, 166, 0, 0.2);
    border-radius: 15px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.team-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 166, 0, 0.2),
        transparent
    );
    transform: skewX(-25deg);
    transition: 0.5s;
}

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 10px 30px rgba(255, 166, 0, 0.3);
    border-color: var(--secondary-color);
}

.team-card:hover::before {
    left: 150%;
}

.team-avatar {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 1.5rem;
}

.team-avatar img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 3px solid var(--secondary-color);
    object-fit: cover;
    transition: all 0.3s ease;
}

.team-card:hover .team-avatar img {
    transform: scale(1.1);
    box-shadow: 0 0 20px rgba(255, 166, 0, 0.5);
}

.team-status {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    border: 3px solid #000;
}

.team-status.online {
    background: #43b581;
}

.team-status.offline {
    background: #d69641;
}

.team-info {
    animation: fadeInUp 0.5s ease 0.2s backwards;
}

.team-info h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: #fff;
}

.team-role {
    color: var(--secondary-color);
    font-weight: bold;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.team-description {
    color: #888;
    line-height: 1.6;
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.team-contact {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(88, 101, 242, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    color: #ffa600;
    font-size: 0.9rem;
    border: 1px solid rgba(88, 101, 242, 0.3);
    transition: all 0.3s ease;
}

.team-card:hover .team-contact {
    background: rgba(88, 101, 242, 0.3);
    transform: scale(1.05);
}

@media (max-width: 768px) {
    .team-grid {
        grid-template-columns: 1fr;
    }
    
    .team-header h2 {
        font-size: 2rem;
    }
    
    .team-section h3 {
        font-size: 1.5rem;
    }
}
