* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Montserrat', sans-serif;
    background-color: #050505;
    color: #ffffff;
    overflow-x: hidden;
    min-height: 100vh;
}

#bg-video {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    object-fit: cover;
    z-index: -2;
}

.video-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: linear-gradient(135deg, rgba(5, 5, 5, 0.95) 0%, rgba(15, 8, 25, 0.7) 100%);
    z-index: -1;
}

.top-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 90px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 5%;
    z-index: 100;
    background: linear-gradient(to bottom, rgba(0, 0, 0, 0.9) 0%, transparent 100%);
}

.nav-left {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo-icon {
    width: 35px;
    height: 35px;
    color: #fff;
}

.logo-text {
    font-size: 20px;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.nav-center {
    display: flex;
    gap: 40px;
}

.nav-link {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-family: inherit;
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 0;
}

.nav-link:hover {
    color: #fff;
}

.nav-link.active {
    color: #fff;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0%;
    height: 2px;
    background-color: #fff;
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

#guestControls,
#userControls {
    display: flex;
    align-items: center;
    gap: 20px;
}

#userControls {
    display: none;
}

.welcome-text {
    font-size: 13px;
    color: rgba(255, 255, 255, 0.7);
    letter-spacing: 1px;
}

.welcome-text strong {
    color: #00e5ff;
}

.auth-btn {
    background: none;
    border: none;
    font-family: inherit;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.login-btn {
    color: #fff;
}

.login-btn:hover {
    color: #00e5ff;
}

.register-btn {
    background: #fff;
    color: #000;
    padding: 10px 25px;
    border-radius: 50px;
}

.register-btn:hover {
    background: #00e5ff;
    color: #000;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.4);
}

.discord-btn {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-radius: 50%;
    text-decoration: none;
    transition: all 0.3s ease;
}

.discord-btn svg {
    width: 20px;
    height: 20px;
}

.discord-btn:hover {
    background: #5865F2;
    transform: translateY(-2px);
}

.content-wrapper {
    padding: 180px 10% 100px 10%;
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.tab-section {
    display: none;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.tab-section.active {
    display: block;
    opacity: 1;
    transform: translateY(0);
}

.hero-text-container {
    margin-bottom: 60px;
    max-width: 800px;
}

.subtitle {
    font-size: 14px;
    color: #00e5ff;
    letter-spacing: 4px;
    font-weight: 600;
    margin-bottom: 10px;
    text-transform: uppercase;
}

.title-outline {
    font-size: 6.5rem;
    font-weight: 900;
    color: transparent;
    -webkit-text-stroke: 1.5px rgba(255, 255, 255, 0.8);
    line-height: 0.9;
    letter-spacing: -2px;
}

.title-solid {
    font-size: 6.5rem;
    font-weight: 900;
    color: #fff;
    line-height: 0.9;
    letter-spacing: -2px;
    margin-bottom: 30px;
}

.hero-desc {
    font-size: 16px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    max-width: 600px;
}

.hero-actions {
    display: flex;
    gap: 20px;
}

.primary-btn {
    background: #fff;
    color: #000;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    transition: all 0.3s ease;
}

.primary-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(255, 255, 255, 0.3);
}

.primary-btn.full-width {
    width: 100%;
    margin-top: 20px;
}

.secondary-btn {
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.2);
    padding: 18px 40px;
    border-radius: 50px;
    font-family: inherit;
    font-size: 14px;
    font-weight: 800;
    letter-spacing: 2px;
    text-transform: uppercase;
    cursor: pointer;
    backdrop-filter: blur(5px);
    transition: all 0.3s ease;
}

.secondary-btn:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #fff;
}

.glass-panel {
    background: rgba(20, 20, 25, 0.4);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    padding: 50px;
    max-width: 800px;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.text-center {
    text-align: center;
    margin: 0 auto;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 20px;
}

.progress-title {
    font-size: 18px;
    font-weight: 800;
    letter-spacing: 2px;
}

.progress-percent {
    font-size: 48px;
    font-weight: 900;
    color: #00e5ff;
    line-height: 1;
}

.progress-track {
    width: 100%;
    height: 12px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 40px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.5);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #00e5ff, #b500ff);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    border-radius: 10px;
    transition: width 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.admin-controls {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 30px;
    display: none;
}

.admin-label {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
    margin-bottom: 15px;
}

.glass-slider {
    -webkit-appearance: none;
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
}

.glass-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: #fff;
    cursor: pointer;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.8);
    transition: transform 0.2s;
}

.glass-slider::-webkit-slider-thumb:hover {
    transform: scale(1.3);
}

.sneakpeak-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1400px;
}

.sneak-card {
    height: 250px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: 800;
    letter-spacing: 2px;
    color: rgba(255, 255, 255, 0.3);
    transition: all 0.4s ease;
    cursor: pointer;
}

.sneak-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    max-width: 1000px;
}

.team-card {
    display: flex;
    align-items: center;
    gap: 20px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px 20px;
    border-radius: 12px;
}

.team-avatar {
    width: 75px !important;
    height: 75px !important;
    min-width: 75px !important;
    min-height: 75px !important;
    max-height: 75px !important;
    border-radius: 50% !important;
    flex-shrink: 0 !important;
    background-size: cover !important;
    background-position: center !important;
    background-repeat: no-repeat !important;
    overflow: hidden !important;
}

.team-card:hover {
    transform: translateX(10px);
    border-color: rgba(255, 255, 255, 0.15);
}

.team-info h2 {
    font-size: 22px;
    font-weight: 800;
    margin-bottom: 5px;
}

.team-info p {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.6);
}

.support-title {
    font-size: 32px;
    font-weight: 900;
    margin-bottom: 20px;
}

.support-desc {
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.8;
    margin-bottom: 40px;
    font-size: 16px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.glass-modal {
    background: rgba(20, 20, 25, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 50px;
    width: 100%;
    max-width: 450px;
    max-height: 95vh;
    overflow-y: auto;
    position: relative;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.8);
}

.modal-overlay.active .glass-modal {
    transform: scale(1);
}

.close-btn {
    position: absolute;
    top: 25px;
    right: 25px;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 20px;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close-btn:hover {
    color: #fff;
}

.modal-title {
    font-size: 28px;
    font-weight: 900;
    text-align: center;
    margin-bottom: 40px;
    letter-spacing: 2px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 25px;
}

.input-group {
    position: relative;
}

.input-group input,
.input-group textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    color: #fff;
    font-family: inherit;
    font-size: 14px;
    outline: none;
    transition: all 0.3s ease;
}

.input-group textarea {
    resize: vertical;
}

.input-group label {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255, 255, 255, 0.5);
    font-size: 14px;
    pointer-events: none;
    transition: all 0.3s ease;
}

.input-group textarea+label {
    top: 20px;
}

.input-group input:focus,
.input-group input:not(:placeholder-shown),
.input-group textarea:focus,
.input-group textarea:not(:placeholder-shown) {
    border-color: #00e5ff;
    box-shadow: 0 0 15px rgba(0, 229, 255, 0.2);
}

.input-group input:focus+label,
.input-group input:not(:placeholder-shown)+label,
.input-group textarea:focus+label,
.input-group textarea:not(:placeholder-shown)+label {
    top: -10px;
    left: 15px;
    font-size: 11px;
    background: #141419;
    padding: 0 5px;
    color: #00e5ff;
    font-weight: 600;
}

.modal-footer {
    margin-top: 30px;
    text-align: center;
    font-size: 13px;
    color: rgba(255, 255, 255, 0.6);
}

.text-btn {
    background: none;
    border: none;
    color: #fff;
    font-family: inherit;
    font-weight: 800;
    cursor: pointer;
    margin-left: 5px;
    text-decoration: underline;
}

.text-btn:hover {
    color: #00e5ff;
}

.support-modal-wide {
    max-width: 600px;
}

.support-item-box {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 20px;
}

.support-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 5px;
}

.support-item-header h3 {
    color: #fff;
    font-size: 18px;
    font-weight: 800;
}

.amount-display {
    color: #00e5ff;
    font-size: 24px;
    font-weight: 900;
}

.support-item-box p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 13px;
    margin-bottom: 20px;
}

.extra-title {
    font-size: 14px;
    color: rgba(255, 255, 255, 0.4);
    letter-spacing: 2px;
}

.support-grid-2x2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.support-checkbox-card {
    cursor: pointer;
    display: block;
}

.support-checkbox-card input {
    display: none;
}

.support-checkbox-card .card-content {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 20px;
    border-radius: 12px;
    transition: all 0.3s ease;
    height: 100%;
}

.support-checkbox-card .card-content h4 {
    color: #fff;
    font-size: 15px;
    font-weight: 800;
    margin-bottom: 8px;
}

.support-checkbox-card .card-content p {
    color: rgba(255, 255, 255, 0.5);
    font-size: 12px;
    line-height: 1.4;
}

.support-checkbox-card input:checked+.card-content {
    border-color: #00e5ff;
    background: rgba(0, 229, 255, 0.1);
    box-shadow: 0 0 20px rgba(0, 229, 255, 0.2);
    transform: translateY(-3px);
}

.extra-details-hidden {
    display: none;
    opacity: 0;
}

.extra-details-visible {
    display: flex;
    flex-direction: column;
    gap: 25px;
    opacity: 1;
    margin-top: 15px;
    animation: fadeIn 0.4s ease forwards;
}

.rules-container {
    padding: 40px;
    max-width: 1000px;
}

.rules-accordion {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.rule-group {
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    background: rgba(0, 0, 0, 0.3);
    overflow: hidden;
}

.rule-toggle {
    width: 100%;
    text-align: left;
    background: transparent;
    border: none;
    color: #fff;
    padding: 20px 25px;
    font-size: 16px;
    font-weight: 800;
    font-family: inherit;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.rule-toggle:hover {
    background: rgba(0, 229, 255, 0.05);
}

.rule-toggle.active {
    background: rgba(0, 229, 255, 0.1);
    color: #00e5ff;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.rule-toggle .icon {
    font-size: 20px;
    font-weight: 400;
    transition: transform 0.3s ease;
}

.rule-toggle.active .icon {
    transform: rotate(45deg);
}

.rule-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease-out;
    background: rgba(0, 0, 0, 0.1);
}

.rule-content ol {
    padding: 25px 45px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 14px;
    line-height: 1.8;
}

.rule-content li {
    margin-bottom: 10px;
}

.rule-content ul {
    list-style-type: none;
    padding-left: 15px;
    margin-top: 5px;
}

.restricted-nav {
    display: none;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 1024px) {
    .title-outline,
    .title-solid {
        font-size: 4.5rem;
    }
}

@media (max-width: 768px) {
    .nav-center {
        display: none;
    }
    .title-outline,
    .title-solid {
        font-size: 3.5rem;
    }
    .content-wrapper {
        padding-top: 120px;
    }
    .hero-actions {
        flex-direction: column;
    }
}

@media (max-width: 600px) {
    .support-grid-2x2 {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 768px) {
    .top-navbar {
        flex-direction: column;
        padding: 15px 10px;
        gap: 12px;
        height: auto;
        position: relative;
    }
    .nav-center {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 6px;
        width: 100%;
    }
    .nav-center .nav-link {
        font-size: 0.75rem;
        padding: 6px 10px;
    }
    .nav-right {
        width: 100%;
        justify-content: center;
        flex-wrap: wrap;
        gap: 8px;
    }
    .hero-text-container {
        padding: 10px;
        text-align: center;
    }
    .hero-text-container h1.title-outline,
    .hero-text-container h1.title-solid {
        font-size: 2.2rem;
        line-height: 1.1;
    }
    .hero-desc {
        font-size: 0.85rem;
        padding: 0 5px;
    }
    .hero-actions {
        flex-direction: column;
        gap: 10px;
        width: 100%;
    }
    .hero-actions button {
        width: 100%;
    }
    .sneakpeak-grid,
    .team-grid {
        grid-template-columns: 1fr !important;
        gap: 15px;
        padding: 10px;
    }
    .glass-panel {
        padding: 15px;
        margin: 10px;
        width: auto !important;
    }
    .glass-modal {
        width: 92% !important;
        max-height: 90vh;
        overflow-y: auto;
        padding: 20px 15px;
        margin: auto;
    }
    .support-grid-2x2 {
        grid-template-columns: 1fr !important;
    }
    .rules-container {
        padding: 10px;
    }
}

.sneak-card {
    min-height: 180px;
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.team-avatar {
    min-height: 100px;
    background-color: rgba(255, 255, 255, 0.05);
}

.hamburger-btn {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 22px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 0;
    z-index: 1002;
}

.hamburger-btn span {
    width: 100%;
    height: 3px;
    background-color: #ffffff;
    border-radius: 3px;
    transition: 0.3s ease;
}

@media screen and (max-width: 768px) {
    .hamburger-btn {
        display: flex;
    }
    .nav-center {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 10, 10, 0.95);
        backdrop-filter: blur(12px);
        padding: 20px;
        gap: 10px;
        box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8);
        border-bottom: 2px solid rgba(255, 152, 0, 0.3);
        z-index: 1001;
    }
    .nav-center.mobile-active {
        display: flex !important;
    }
    .nav-center .nav-link {
        width: 100%;
        text-align: center;
        padding: 12px;
        font-size: 0.9rem;
        background: rgba(255, 255, 255, 0.05);
        border-radius: 6px;
    }
}