* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --bg-dark: #000;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-primary: #fff;
    --text-secondary: rgba(255, 255, 255, 0.7);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    height: 40px;
    width: auto;
}

.logopopo {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.3em;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    flex: 1;
    justify-content: center;
    margin: 0 2rem;
}

.nav-menu a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    transition: color 0.3s ease;
    text-transform: uppercase;
}

.nav-menu a:hover {
    color: var(--text-primary);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 6rem 2rem 2rem;
}

.hero-content {
    text-align: center;
    max-width: 800px;
}

.hero-title {
    font-size: 5rem;
    font-weight: 100;
    letter-spacing: 0.5em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.2s forwards;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-primary);
    letter-spacing: 0.2em;
    margin-bottom: 1rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.4s forwards;
    font-weight: 300;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    letter-spacing: 0.05em;
    margin-bottom: 3rem;
    opacity: 0;
    animation: fadeIn 1s ease-out 0.6s forwards;
}

@keyframes fadeIn {
    to {
        opacity: 1;
    }
}

.glass-button {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    font-size: 0.9rem;
    letter-spacing: 0.15em;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    backdrop-filter: blur(10px);
    opacity: 0;
    animation: fadeIn 1s ease-out 0.8s forwards;
}

.glass-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

.content-section {
    padding: 6rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.glass-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 3rem;
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.glass-card h2 {
    font-size: 2.5rem;
    font-weight: 200;
    letter-spacing: 0.3em;
    margin-bottom: 2rem;
    text-transform: uppercase;
}

.glass-card p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    letter-spacing: 0.05em;
    margin-bottom: 1.5rem;
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.feature {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature:hover {
    background: rgba(255, 255, 255, 0.05);
    transform: translateY(-5px);
    border-color: rgba(255, 255, 255, 0.2);
}

.feature h3 {
    font-size: 1.2rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    margin-bottom: 0.5rem;
}

.feature p {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.join-info {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.footer {
    text-align: center;
    padding: 3rem 2rem;
    border-top: 1px solid var(--glass-border);
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin-top: 3rem;
}

.team-member {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2.5rem;
    text-align: center;
    transition: all 0.3s ease;
}

.team-member:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.member-avatar {
    margin-bottom: 1.5rem;
}

.avatar-img {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 1px solid var(--glass-border);
    transition: all 0.3s ease;
}

.team-member:hover .avatar-img {
    border-color: rgba(255, 255, 255, 0.3);
    transform: scale(1.05);
}

.team-member h3 {
    font-size: 1.5rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    margin-bottom: 0.5rem;
}

.member-role {
    font-size: 1rem;
    color: rgba(200, 150, 255, 0.8);
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.member-bio {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.member-socials {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
}

.social-link {
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.1rem;
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.3);
    color: var(--text-primary);
    transform: translateY(-3px);
}

.social-link[data-platform="discord-server"]:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: rgba(88, 101, 242, 0.5);
    color: rgb(88, 101, 242);
}

.social-link[data-platform="discord-user"]:hover {
    background: rgba(88, 101, 242, 0.15);
    border-color: rgba(88, 101, 242, 0.4);
    color: rgb(88, 101, 242);
}

.social-link[data-platform="github"]:hover {
    background: rgba(240, 246, 252, 0.1);
    border-color: rgba(240, 246, 252, 0.3);
    color: rgb(240, 246, 252);
}

.social-link[data-platform="website"]:hover {
    background: rgba(100, 200, 255, 0.15);
    border-color: rgba(100, 200, 255, 0.4);
    color: rgb(100, 200, 255);
}

.social-link[data-platform="youtube"]:hover {
    background: rgba(255, 0, 0, 0.15);
    border-color: rgba(255, 0, 0, 0.4);
    color: rgb(255, 0, 0);
}

.social-link[data-platform="coffee"]:hover {
    background: rgba(255, 221, 0, 0.15);
    border-color: rgba(255, 221, 0, 0.4);
    color: rgb(255, 221, 0);
}

.dropdown {
    position: relative;
}

.dropdown-toggle {
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.dropdown-menu {
    position: absolute;
    top: calc(100% + 1rem);
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    list-style: none;
    padding: 0.5rem 0;
    margin: 0;
    min-width: 220px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1000;
}

.dropdown.active .dropdown-menu,
.dropdown:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-menu li {
    margin: 0;
}

.dropdown-menu a {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.dropdown-menu a:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

/* Releases Grid */
.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.releases-category {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.category-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--glass-border);
}

.category-icon {
    font-size: 2rem;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    border-radius: 8px;
}

.category-title {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

.release-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.release-item {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
    text-decoration: none;
    color: var(--text-secondary);
}

.release-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.release-item-icon {
    font-size: 1.5rem;
    min-width: 30px;
    text-align: center;
}

.release-item-content {
    flex: 1;
}

.release-item-name {
    font-size: 1rem;
    font-weight: 300;
    letter-spacing: 0.1em;
    color: var(--text-primary);
    margin-bottom: 0.25rem;
}

.release-item-desc {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 0.05em;
}

@media (max-width: 768px) {
    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        margin: 0.5rem 0;
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease;
        background: rgba(0, 0, 0, 0.5);
    }

    .dropdown.active .dropdown-menu {
        max-height: 500px;
    }

    .dropdown-menu a:hover {
        padding-left: 1.5rem;
    }

    .releases-grid {
        grid-template-columns: 1fr;
    }
}

.license-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0.04));
}

.license-content {
    margin-top: 2rem;
}

.license-header {
    text-align: center;
    padding: 2rem 0;
    border-bottom: 1px solid var(--glass-border);
    margin-bottom: 2rem;
}

.license-title {
    font-size: 1.8rem;
    font-weight: 300;
    letter-spacing: 0.2em;
    color: var(--text-primary);
    margin-bottom: 0;
}

.license-intro {
    text-align: center;
    font-size: 1rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    line-height: 1.8;
}

.license-link,
.license-link:visited,
.license-link:active {
    color: rgba(220, 186, 255, 0.9);
    transition: color 0.3s ease;
    letter-spacing: 0.05em;
    cursor: pointer;
}

.license-link:hover {
    color: rgba(220, 180, 255, 1);
}

.license-terms {
    display: grid;
    gap: 2rem;
    margin-top: 2rem;
}

.license-term {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    transition: all 0.3s ease;
    border-left: 3px solid rgba(200, 150, 255, 0.3);
}

.license-term:hover {
    background: rgba(255, 255, 255, 0.04);
    border-left-color: rgba(200, 150, 255, 0.6);
    transform: translateX(5px);
}

.license-term h4 {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    color: rgba(200, 150, 255, 0.9);
    margin-bottom: 1rem;
    text-transform: uppercase;
}

.license-term p {
    font-size: 1rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 0;
}

html {
    scroll-behavior: smooth;
}

.settings-container {
    position: relative;
    display: flex;
    align-items: center;
    margin-left: auto;
}

.settings-button {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    padding: 0;
    flex-shrink: 0;
}

.settings-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: rotate(20deg);
}

.settings-button svg {
    width: 20px;
    height: 20px;
}

.settings-menu {
    position: absolute;
    top: calc(100% + 0.75rem);
    right: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border: 1px solid var(--glass-border);
    list-style: none;
    padding: 0.75rem 0;
    margin: 0;
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: opacity 0.3s ease, transform 0.3s ease, visibility 0.3s;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
    z-index: 1001;
    border-radius: 8px;
}

.settings-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.settings-item {
    display: block;
    padding: 0.75rem 1.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    transition: all 0.2s ease;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.settings-item:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
}

.settings-item.style-selector {
    padding: 1rem 1.5rem;
}

.settings-item.style-selector label {
    display: block;
    margin-bottom: 0.5rem;
    color: var(--text-secondary);
    font-size: 0.85rem;
    letter-spacing: 0.1em;
}

.style-select {
    width: 100%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--glass-border);
    color: var(--text-primary);
    padding: 0.5rem;
    border-radius: 4px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.style-select:hover,
.style-select:focus {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    outline: none;
}

.style-select option {
    background: #000;
    color: var(--text-primary);
}

.settings-divider {
    height: 1px;
    background: var(--glass-border);
    margin: 0.5rem 0;
}

.logout-btn {
    background: none;
    border: none;
    width: 100%;
    text-align: left;
    cursor: pointer;
    padding: 0.75rem 1.5rem;
    color: rgba(255, 100, 100, 0.8);
    transition: all 0.2s ease;
    font-family: inherit;
    font-size: 0.95rem;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.logout-btn:hover {
    background: rgba(255, 100, 100, 0.1);
    color: rgba(255, 100, 100, 1);
}

.update-log {
    margin-top: 2rem;
}

.update-entry {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    padding: 2rem;
    margin-bottom: 1.5rem;
    transition: all 0.3s ease;
}

.update-entry:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.2);
}

.update-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.update-header h3 {
    font-size: 1.3rem;
    font-weight: 300;
    letter-spacing: 0.15em;
    margin: 0;
}

.update-date {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
}

.update-list {
    list-style: none;
    padding-left: 0;
}

.update-list li {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.8;
    padding-left: 1.5rem;
    position: relative;
    margin-bottom: 0.5rem;
}

.update-list li::before {
    content: "→";
    position: absolute;
    left: 0;
    color: rgba(255, 255, 255, 0.4);
}

.releases-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 2rem;
    padding: 2rem;
}

.folder-button {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid var(--glass-border);
    border-radius: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-primary);
}

.folder-button:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-8px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.folder-icon-large {
    font-size: 3rem;
    color: #ffd700;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.folder-icon-image {
    max-width: 100%;
    max-height: 3rem;
    width: auto;
    height: auto;
    object-fit: contain;
}

.folder-button:hover .folder-icon-large {
    transform: scale(1.1);
}

.folder-label {
    text-align: center;
    font-size: 0.95rem;
    font-weight: 500;
    letter-spacing: 0.05em;
    word-wrap: break-word;
}

.folder-main .folder-icon-large,
.category-folder .folder-icon-large {
    color: var(--folder-color, #ffd700);
}

.back-button {
    background: rgba(255, 100, 100, 0.05);
    border-color: rgba(255, 100, 100, 0.2);
}

.back-button:hover {
    background: rgba(255, 100, 100, 0.1);
}

.back-button .folder-icon-large {
    color: rgba(255, 100, 100, 0.8);
}

.release-button {
    background: rgba(100, 200, 255, 0.05);
    border-color: rgba(100, 200, 255, 0.2);
}

.release-button:hover {
    background: rgba(100, 200, 255, 0.1);
}

.release-button .folder-icon-large {
    color: rgba(100, 200, 255, 1);
}

.folder-breadcrumb {
    padding: 1rem 2rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.1em;
    border-bottom: 1px solid var(--glass-border);
}
