:root {
    --primary-orange: #f97316; /* Vibrant Orange */
    --primary-hover: #ea580c; /* Rich Burnt Orange */
    --primary-shadow: #c2410c; /* Deep Shadow Orange */
    --accent-orange: #fb923c; /* Soft Amber */
    --bg-blue: #0d1117;
    --card-bg: #161b22;
    --text-dark: #f0f6fc;
    --text-muted: #8b949e;
    --soft-blue: #1f2937;
    --border-color: rgba(255, 255, 255, 0.1);
    --primary-green: #22c55e;
    --transition: all 0.3s ease;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #000000;
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    width: 90%;
    margin: auto;
    max-width: 1200px;
}

/* Navbar */
.navbar {
    background: transparent;
    padding: 1.5rem 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: var(--transition);
}

.navbar.scrolled {
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(10px);
    padding: 0.8rem 0;
    border-bottom: 1px solid var(--bg-blue);
    box-shadow: 0 10px 30px -10px rgba(0,0,0,0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
}

.logo-img {
    height: 45px;
    width: auto;
    display: block;
    filter: drop-shadow(0 2px 10px rgba(255, 255, 255, 0.5));
}

.nav-links {
    display: flex;
    list-style: none;
    align-items: center;
    margin-left: auto;
}

.nav-links li a {
    color: var(--text-dark);
    text-decoration: none;
    margin-left: 16px;
    transition: var(--transition);
    font-weight: 700;
    position: relative;
    font-size: 0.9rem;
    text-transform: uppercase;
}

.nav-links li a:hover {
    color: var(--primary-orange);
}

/* Prevent button text from vanishing on hover in the navbar */
.nav-links li a.btn-discord:hover,
.nav-links li a.btn-patreon:hover,
.nav-links li a.btn-login:hover {
    color: white;
    opacity: 0.9;
}

.nav-links li a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 0;
    background-color: var(--primary-orange);
    transition: var(--transition);
}

.nav-links li a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    padding: 0;
    background: #000000;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 1;
    pointer-events: none;
}

.hero::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(at 0% 0%, rgba(249, 115, 22, 0.15) 0px, transparent 50%),
        radial-gradient(at 100% 0%, rgba(251, 146, 60, 0.15) 0px, transparent 50%),
        radial-gradient(at 50% 100%, rgba(13, 17, 23, 1) 0px, transparent 80%),
        rgba(0, 0, 0, 0.4);
    z-index: 2;
    pointer-events: none;
}

.hero .container {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 4rem;
    align-items: center;
    text-align: left;
    position: relative;
    z-index: 3;
}

@media (max-width: 992px) {
    .hero .container {
        grid-template-columns: 1fr;
        text-align: center;
    }
}

.hero-content {
    z-index: 2;
}

.hero-subtitle {
    text-transform: uppercase;
    letter-spacing: 3px;
    font-weight: 700;
    color: var(--primary-orange);
    display: block;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s ease-out;
}

.hero h1 {
    font-size: clamp(3.5rem, 12vw, 6rem);
    font-family: 'Montserrat', sans-serif;
    margin-bottom: 1.5rem;
    color: var(--text-dark);
    text-transform: uppercase;
    letter-spacing: -2px;
    white-space: nowrap;
    animation: fadeInUp 0.8s ease-out;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

@media (max-width: 768px) {
    .hero h1 {
        white-space: normal;
    }
}

.hero-description {
    margin-bottom: 3rem;
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 600px;
    margin-left: 0;
    animation: fadeInUp 1s ease-out;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.hero-stats {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1rem;
    margin-bottom: 2rem;
}

@media (max-width: 992px) {
    .hero-description {
        margin-left: auto;
        margin-right: auto;
    }
}

.stat-box {
    background: var(--card-bg);
    padding: 25px 30px 30px;
    border-radius: 30px;
    text-align: center;
    border: 1px solid var(--border-color);
    box-shadow: 
        0 10px 25px -5px rgba(0,0,0,0.05),
        0 8px 10px -6px rgba(0,0,0,0.05);
    transition: var(--transition);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-box:first-child {
    padding: 10px 18px 28px;
}

.stat-box i {
    color: var(--primary-orange);
    font-size: 2.8rem;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 3.5rem;
    margin-bottom: 12px;
}

.discord-icon {
    color: #5865F2 !important;
}

.stat-box .count {
    color: var(--accent-orange);
    font-size: 2.4rem;
    font-weight: 800;
    line-height: 1;
}

.stat-box p {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-weight: 700;
    color: var(--text-muted);
    margin-top: 8px;
}

.status-card {
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(20px);
    padding: 2rem 2rem 1.2rem;
    border-radius: 32px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 
        0 25px 50px -12px rgba(0, 0, 0, 0.5),
        inset 0 0 30px rgba(255, 255, 255, 0.02);
    animation: fadeInUp 1.2s ease-out;
}

.ip-container {
    background: rgba(255, 255, 255, 0.05);
    padding: 8px 8px 8px 20px;
    border-radius: 12px;
    display: inline-flex;
    align-items: center;
    border: 2px solid var(--accent-orange);
    animation: fadeInUp 1.6s ease-out;
}

.btn-copy {
    background: var(--primary-orange);
    color: white;
    border: none;
    padding: 10px 20px;
    margin-left: 15px;
    cursor: pointer;
    font-weight: 700;
    border-radius: 10px;
    transition: var(--transition);
    box-shadow: 0 4px 0px var(--primary-shadow);
}

.btn-copy:hover {
    background: var(--primary-hover);
    transform: scale(1.05);
}

/* Navigation Buttons */
.btn-discord, .btn-patreon, .btn-youtube, .btn-tiktok, .btn-login, .btn-logout {
    color: white;
    display: inline-block;
    text-decoration: none;
    transition: var(--transition);
    font-weight: 700;
}

/* Navbar Specific Buttons */
.nav-links .btn-discord, 
.nav-links .btn-patreon {
    padding: 10px 20px;
    border-radius: 8px;
    margin-left: 12px;
    font-size: 0.9rem;
}

.btn-discord {
    background: #5865F2;
}

.btn-patreon {
    background: #f96854;
}

.btn-youtube {
    background: #FF0000;
}

.btn-tiktok {
    background: #222222;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.5);
}

.btn-patreon:hover {
    background: #e85b46;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(249, 104, 84, 0.5);
}

/* Standard hover effects for footer/other areas (optional) */
.footer-social .btn-discord:hover {
    background: #4752C4;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(88, 101, 242, 0.5);
}

.btn-patreon:hover {
    background: #e85b46;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(249, 104, 84, 0.5);
}

.btn-youtube:hover {
    background: #cc0000;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(255, 0, 0, 0.4);
}

.btn-tiktok:hover {
    background: #FE2C55;
    transform: translateY(-2px);
    box-shadow: 0 0 0 3px rgba(37, 244, 238, 0.4);
}

.btn-login {
    background: var(--primary-orange);
    padding: 10px 20px;
    border-radius: 8px;
    margin-left: 12px;
    font-size: 0.9rem;
}

.btn-login:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 0 20px rgba(249, 115, 22, 0.4);
}

/* User Dropdown System - Rebuilt from Scratch */
.user-dropdown {
    position: relative;
    display: inline-block;
    margin-left: 15px;
}

.user-profile {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid transparent;
}

.user-profile span {
    font-weight: 700;
    font-size: 0.9rem;
    color: var(--text-dark);
}

.user-dropdown:hover .user-profile {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--border-color);
}

.dropdown-icon {
    font-size: 0.7rem;
    opacity: 0.5;
    transition: transform 0.3s ease;
}

.user-dropdown:hover .dropdown-icon {
    transform: rotate(180deg);
    color: var(--primary-orange);
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    background: #161b22;
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-color);
    border-radius: 14px;
    width: max-content;
    min-width: 160px;
    padding: 6px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.5);
    z-index: 1100;
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    pointer-events: none;
}

.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -15px;
    left: 0;
    width: 100%;
    height: 15px;
}

.user-dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
    pointer-events: auto;
}

.dropdown-item {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    width: fit-content;
    gap: 12px;
    padding: 10px 8px;
    color: var(--text-muted);
    text-decoration: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 700;
    transition: var(--transition);
}
.dropdown-item:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--primary-orange);
}
.dropdown-item.logout-item:hover {
    color: #ff4d4d;
    background: rgba(255, 77, 77, 0.05);
}

.user-avatar {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    border: 2px solid var(--primary-orange);
}

/* Settings Page Styles */
.settings-card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    max-width: 600px;
    margin: 2rem auto;
    border: 1px solid var(--border-color);
}

.form-group {
    margin-bottom: 1.5rem;
    text-align: left;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 700;
    color: var(--text-muted);
}

.form-group input {
    width: 100%;
    padding: 12px 15px;
    background: var(--bg-blue);
    border: 1px solid var(--border-color);
    border-radius: 8px;
    color: white;
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
}

/* Form Messages */
.form-message {
    margin-top: 1.5rem;
    padding: 1rem;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: none;
    text-align: center;
    animation: fadeInUp 0.3s ease-out;
}

.form-message.error {
    display: block;
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.2);
}

.form-message.success {
    display: block;
    background: rgba(34, 197, 94, 0.1);
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.2);
}

/* Auth Modal Styles */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.85);
    backdrop-filter: blur(8px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3000;
    opacity: 0;
    visibility: hidden;
    transition: var(--transition);
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    background: var(--card-bg);
    width: 90%;
    max-width: 400px;
    padding: 2.5rem;
    border-radius: 24px;
    border: 1px solid var(--border-color);
    text-align: center;
    transform: translateY(20px);
    transition: var(--transition);
}

.modal-overlay.active .modal-content {
    transform: translateY(0);
}

.modal-header {
    margin-bottom: 1.5rem;
    position: relative;
}

.modal-header h3 {
    font-size: 1.4rem;
    color: var(--text-dark);
}

.modal-close {
    position: absolute;
    top: -15px;
    right: -15px;
    background: none;
    border: none;
    color: var(--text-muted);
    font-size: 1.5rem;
    cursor: pointer;
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: #000000;
}

.section-title {
    text-align: center;
    margin-bottom: 4rem;
}

.page-content {
    padding-top: 5rem;
}

.page-content .features {
    padding-top: 0;
}

.section-title h2 {
    font-family: 'Montserrat', sans-serif;
    font-size: clamp(2rem, 5vw, 3rem);
    text-transform: uppercase;
    color: var(--text-dark);
    margin-bottom: 0.5rem;
    letter-spacing: -1px;
}

.hero h1 span,
.section-title h2 span,
.team-cta-content h2 span {
    color: var(--accent-orange);
}

.section-title p {
    color: var(--text-muted);
    font-size: 1.1rem;
    max-width: 700px;
    margin: 0 auto;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: var(--card-bg);
    padding: 2.5rem;
    border-radius: 12px;
    text-align: center;
    transition: var(--transition);
    border: 1px solid var(--bg-blue);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: #1c2128;
    border-color: var(--primary-orange);
    box-shadow: 0 15px 45px rgba(249, 115, 22, 0.2);
}

.feature-card i {
    font-size: 2.5rem;
    color: var(--primary-orange);
    margin-bottom: 1.5rem;
    display: block;
}

.feature-card h3 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.feature-card:hover i {
    color: var(--primary-orange);
}

/* Crabby Style Filters */
.event-filters {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
}

.event-filters button {
    background: rgba(162, 210, 255, 0.1);
    border: 1px solid var(--bg-blue);
    color: var(--text-dark);
    padding: 8px 20px;
    border-radius: 20px;
    cursor: pointer;
    font-weight: 700;
    transition: var(--transition);
}

.event-filters button.active {
    background: var(--primary-orange);
    color: white;
    border-color: var(--primary-orange);
}

/* Event Grid Layout */
.events-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
}

.event-meta {
    display: flex;
    gap: 15px;
    margin-bottom: 10px;
    font-size: 0.85rem;
    color: var(--text-muted);
}

.event-meta span i {
    color: var(--primary-orange);
    margin-right: 4px;
}

.event-tags span {
    background: var(--bg-blue);
    padding: 4px 10px;
    border-radius: 8px;
    font-size: 11px;
    margin-right: 5px;
    color: var(--text-dark);
    font-weight: 700;
}

.app-badge {
    position: absolute;
    top: -12px;
    right: 45px;
    font-size: 0.6rem;
    padding: 5px 15px;
    border-radius: 50px;
    font-weight: 700;
    text-transform: uppercase;
    white-space: nowrap;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
}

.app-badge.open {
    background: #def7ec;
    color: #03543f;
}

.app-badge.closed {
    background: #fde8e8;
    color: #9b1c1c;
}

/* Role Badges for Admin Panel */
.badge { padding: 4px 8px; border-radius: 4px; font-size: 0.7rem; font-weight: 800; text-transform: uppercase; }
.badge-owner { background: #fef3c7; color: #92400e; }
.badge-superadmin { background: #dcfce7; color: #166534; }
.badge-admin { background: rgba(249, 115, 22, 0.1); color: var(--primary-orange); }
.badge-user { background: rgba(139, 148, 158, 0.1); color: var(--text-muted); }
.badge-banned {
    background: rgba(239, 68, 68, 0.1);
    color: #ef4444;
}

/* Calendar Widget on Home Page */
.calendar-widget {
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.03);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid var(--bg-blue);
    animation: fadeInUp 1.8s ease-out;
}

.widget-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
}

.view-all {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 700;
    font-size: 0.9rem;
}

.event-group-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    margin-bottom: 2.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.95rem;
    opacity: 0.6;
}

.event-list-mini {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.event-mini-item {
    display: flex;
    flex-direction: column;
    background: linear-gradient(145deg, #1c2128, #0d1117);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    margin-bottom: 1.5rem;
}

.event-mini-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 45px rgba(0, 0, 0, 0.5), 0 0 15px rgba(249, 115, 22, 0.1);
    border-color: rgba(249, 115, 22, 0.5);
    background: linear-gradient(145deg, #252b33, #11151a);
}

.event-main {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    gap: 2rem;
}

.event-info {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    flex: 1;
}

.event-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-event-apply {
    background: #ffffff;
    color: #000000;
    width: 100px;
    padding: 0;
    border: none;
    border-radius: 6px;
    text-decoration: none;
    font-size: 0.8rem;
    font-weight: 800;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
    height: 33px;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    white-space: nowrap;
}

.btn-event-apply:hover {
    background: var(--primary-orange);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(249, 115, 22, 0.4);
}

.btn-copy:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0px var(--primary-shadow);
}

.event-details {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    color: var(--text-muted);
    font-size: 0.95rem;
    line-height: 1.6;
}

.event-mini-item.active .event-details {
    max-height: 500px;
    opacity: 1;
    padding: 1.5rem 0 0.5rem;
    margin-top: 1.25rem;
    border-top: 1px solid rgba(162, 210, 255, 0.2);
}

.event-date-tag {
    background: var(--primary-orange);
    color: #ffffff;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    font-weight: 800;
    margin-right: 0;
    width: 100px;
    padding: 0;
    text-align: center;
    border: none;
    font-size: 0.8rem;
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.event-name {
    font-weight: 800;
    font-size: 1.1rem;
    color: #ffffff;
    margin-bottom: 4px;
}

.event-tags span {
    font-weight: 700;
}

.event-text-meta {
    display: flex;
    flex-direction: column;
}

.toggle-icon {
    color: var(--text-muted);
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    width: 33px;
    height: 33px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    background: #f8f9fa;
}

.event-mini-item.active .toggle-icon {
    transform: rotate(180deg);
    background: var(--bg-blue);
    color: var(--text-dark);
}
.event-time {
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Full Calendar Page */
.calendar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}

@media (min-width: 992px) {
    .calendar-grid {
        grid-template-columns: repeat(7, 1fr);
    }
}

.calendar-day {
    background: var(--card-bg);
    border: 1px solid var(--bg-blue);
    padding: 1rem;
    min-height: 100px;
    border-radius: 12px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Staff Page Styles */
.staff-section {
    margin-bottom: 5rem;
}

.role-title {
    font-family: 'Montserrat', sans-serif;
    color: var(--text-dark);
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 1rem;
    opacity: 0.7;
    border-left: 4px solid var(--primary-orange);
    padding-left: 15px;
}

.staff-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 2rem;
}

.staff-card {
    background: var(--card-bg);
    padding: 3rem 2rem;
    border-radius: 24px;
    text-align: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.03);
    transition: var(--transition);
    border: 1px solid rgba(0,0,0,0.02);
}

.staff-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(162, 210, 255, 0.25);
    border-color: var(--bg-blue);
}

.avatar {
    width: 100px;
    height: 100px;
    margin-bottom: 1.5rem;
    image-rendering: pixelated; /* Keeps Minecraft heads crisp */
}

.staff-name {
    font-weight: 700;
    font-size: 1.2rem;
    color: var(--text-dark);
    margin-bottom: 0.3rem;
}

.staff-role {
    font-weight: 700;
    font-size: 0.8rem;
    color: var(--primary-orange);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Scroll Indicator */
.scroll-indicator {
    position: absolute;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 1.5rem;
    color: var(--primary-orange);
    animation: bounce 2s infinite;
    cursor: pointer;
    z-index: 10;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {transform: translateY(0) translateX(-50%);}
    40% {transform: translateY(-10px) translateX(-50%);}
    60% {transform: translateY(-5px) translateX(-50%);}
}

/* Discord Widget Section */
.discord-widget-section {
    padding: 5rem 0;
    background: #ffffff;
}

.widget-container {
    display: flex;
    justify-content: center;
}

.widget-container iframe {
    border-radius: 12px;
    box-shadow: 0 15px 35px rgba(162, 210, 255, 0.2);
}

/* Footer */
footer {
    padding: 5rem 0 3rem;
    background: #000000;
    border-top: 1px solid var(--card-bg);
    color: var(--text-muted);
    text-align: left;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr auto auto;
    gap: 2.5rem;
    margin-bottom: 3rem;
}

.footer-brand p {
    font-size: 0.9rem;
    line-height: 1.8;
    max-width: 350px;
}

.footer-links h4, .footer-social h4 {
    color: var(--text-dark);
    margin-bottom: 1.5rem;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.footer-links ul {
    list-style: none;
}

.footer-links ul li {
    margin-bottom: 0.8rem;
}

.footer-links ul li a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 0.95rem;
}

.footer-links ul li a:hover {
    color: var(--primary-orange);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    font-size: 0.85rem;
}

.footer-legal {
    margin-top: 15px;
    display: flex;
    justify-content: center;
    gap: 20px;
}

.footer-legal a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.8rem;
    transition: var(--transition);
}

.footer-legal a:hover {
    color: var(--primary-orange);
}

@media (max-width: 768px) {
    .footer-grid {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    .footer-brand p {
        margin: 0 auto;
    }
    .footer-social .social-icons {
        justify-content: center;
        align-items: center;
    }
    .footer-social .social-row {
        justify-content: center;
    }
}

/* Footer Social Icons Layout */
.social-icons {
    display: flex;
    flex-direction: column;
    gap: 15px;
    margin-top: 10px;
}

.social-row {
    display: flex;
    gap: 12px;
    align-items: center;
}

.social-icons a {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    padding: 0;
    flex-shrink: 0;
}

.social-icons a i {
    margin: 0 !important;
    font-size: 1.2rem;
}

/* Team CTA Section */
.team-cta {
    margin-top: 0;
    padding: 4rem 0;
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border-top: 1px solid var(--border-color);
    width: 100%;
    animation: fadeInUp 2s ease-out;
}

.team-cta .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 2rem;
}

.team-cta-content h2 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.team-cta-content p {
    color: var(--text-muted);
    max-width: 600px;
}

.btn-staff {
    background: var(--primary-orange);
    color: white;
    padding: 15px 35px;
    border-radius: 12px;
    text-decoration: none;
    font-weight: 700;
    transition: var(--transition);
    white-space: nowrap;
    box-shadow: 0 4px 15px rgba(249, 115, 22, 0.3);
}

.btn-staff:hover {
    background: var(--primary-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(249, 115, 22, 0.4);
}

@media (max-width: 768px) {
    .team-cta {
        padding: 3rem 0;
    }
    .team-cta .container {
        flex-direction: column;
        text-align: center;
    }
}

/* Floating Discord Chat */
.floating-chat-wrapper {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 2000;
}

.chat-toggle-btn {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: #5865F2;
    color: white;
    border: none;
    cursor: pointer;
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.4);
    font-size: 1.5rem;
    transition: var(--transition);
    display: flex;
    align-items: center;
    justify-content: center;
}

.chat-toggle-btn:hover {
    transform: scale(1.1) translateY(-5px);
    background: #4752C4;
}

.chat-widget-popup {
    position: absolute;
    bottom: 80px;
    right: 0;
    display: none;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0,0,0,0.6);
    animation: fadeInUp 0.3s ease forwards;
}

.chat-widget-popup.active {
    display: block;
}