:root {
    --primary: #0071e3;
    --primary-hover: #0077ed;
    --text-main: #1d1d1f;
    --text-muted: #86868b;
    --glass-bg: rgba(255, 255, 255, 0.7);
    --glass-border: rgba(0, 0, 0, 0.08);
    --topbar-height: 72px;
    --bottombar-height: 56px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

@font-face {
    font-family: 'Minecraft';
    src: url('assets/Minecraft.woff2') format('woff2');
    font-weight: normal;
    font-style: normal;
}

body {
    font-family: 'Minecraft', -apple-system, BlinkMacSystemFont, 'Inter', sans-serif;
    color: var(--text-main);
    overflow: hidden;
    background-color: #f5f5f7;
    letter-spacing: 0.05em;
}

.background-wrapper {
    position: fixed;
    top: -5%;
    left: -5%;
    width: 110%;
    height: 110%;
    background: url('assets/ss2.png') center/cover no-repeat;
    z-index: -1;
    filter: blur(2px) brightness(1.05);
}

.app-layout {
    display: flex;
    flex-direction: column;
    height: 100vh;
}

.glass-panel {
    background: var(--glass-bg);
    backdrop-filter: saturate(180%) blur(20px);
    -webkit-backdrop-filter: saturate(180%) blur(20px);
    z-index: 10;
}

.topbar {
    height: var(--topbar-height);
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 2rem;
    border-bottom: 1px solid var(--glass-border);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

a.nav-brand {
    color: inherit;
    text-decoration: none;
}

.nav-logo {
    width: auto;
    height: 32px;
    object-fit: contain;
}

.nav-title {
    font-weight: 600;
    font-size: 1.25rem;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.nav-link {
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1rem;
    font-weight: 500;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.nav-link:hover {
    opacity: 0.7;
}

.nav-link i {
    font-size: 1.5rem;
}

.nav-link.highlight {
    background: var(--primary);
    color: white;
    padding: 0.5rem 1.25rem;
    border-radius: 980px;
    font-size: 0.9rem;
    box-shadow: 0 2px 4px rgba(0, 113, 227, 0.2);
}

.nav-link.highlight:hover {
    background: var(--primary-hover);
    transform: translateY(0);
    opacity: 1;
    box-shadow: 0 4px 8px rgba(0, 113, 227, 0.3);
}

.bottombar {
    height: var(--bottombar-height);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 2rem;
    border-top: 1px solid var(--glass-border);
    font-size: 0.85rem;
    color: var(--text-muted);
    width: 100%;
    margin-top: auto;
}

.footer-content {
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 1200px;
}

.footer-badges {
    display: flex;
    gap: 0.5rem;
}

.content-scrollable {
    flex: 1;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    scrollbar-width: thin;
    scrollbar-color: rgba(0, 0, 0, 0.15) transparent;
}

.content-scrollable::-webkit-scrollbar {
    width: 8px;
}
.content-scrollable::-webkit-scrollbar-track {
    background: transparent;
}
.content-scrollable::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.15);
    border-radius: 20px;
}

.hero-section {
    min-height: calc(100vh - var(--topbar-height));
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 2rem;
    animation: fadeIn 0.8s ease-out;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(15px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 5.5rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    color: var(--text-main);
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.8), 0 4px 12px rgba(0, 0, 0, 0.1);
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 500;
    color: var(--text-main);
    max-width: 600px;
    line-height: 1.4;
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8), 0 2px 8px rgba(0, 0, 0, 0.1);
}

.scroll-indicator {
    position: absolute;
    bottom: 3rem;
    font-size: 2rem;
    color: var(--text-main);
    opacity: 0.5;
    animation: bounce 2s infinite ease-in-out;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(10px); }
}

.features-section {
    padding: 6rem 2rem;
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.features-header {
    text-align: center;
    margin-bottom: 4rem;
}

.features-header h2 {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.features-header p {
    font-size: 1.25rem;
    color: var(--text-main);
    text-shadow: 0 0 20px rgba(255, 255, 255, 0.8);
}

.features-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
    width: 100%;
    margin-bottom: 4rem;
}

.feature-card {
    flex: 1 1 320px;
    max-width: 420px;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 2.5rem;
    text-align: center;
    box-shadow: 0 10px 30px -10px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px -10px rgba(0, 0, 0, 0.12);
}

.release {
    display: block;
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.65);
    backdrop-filter: saturate(180%) blur(40px);
    -webkit-backdrop-filter: saturate(180%) blur(40px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 1rem;
    margin: 1rem 0;
    box-shadow: 0 10px 30px -10px #0001;
    transition: 0.3s;
}

.release:hover {
    box-shadow: 0 10px 30px -10px #0003;
    margin: 1rem -1rem;
    padding: 1rem 2rem;
}

#releases {
    max-width: 800px;
    width: 100%;
}

.release h3 {
    cursor: pointer;
    display: inline-block;
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1.5rem auto;
    background: linear-gradient(135deg, var(--primary), #5fc3ff);
    color: white;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    box-shadow: 0 8px 16px -4px rgba(0, 113, 227, 0.4);
}

.feature-card h3, #releases h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.feature-card p, #releases p {
    font-size: 1rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.notice {
    background: rgba(255, 59, 48, 0.08);
    border: 1px solid rgba(255, 59, 48, 0.15);
    border-radius: 14px;
    padding: 1.25rem;
    display: flex;
    align-items: flex-start;
    gap: 0.75rem;
    text-align: left;
    font-size: 14px;
    color: #ff3b30;
    line-height: 1.5;
    max-width: 800px;
    width: 100%;
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

.notice:hover {
    background: rgba(49, 13, 9, 0.692);
    scale: 114.29%;
}

.notice i {
    font-size: 1.5rem;
    flex-shrink: 0;
    margin-top: -0.1rem;
}

.notice a {
    color: #ff3b30;
    text-decoration: underline;
    text-underline-offset: 3px;
    font-weight: 500;
}

.notice a:hover {
    opacity: 0.7;
}

.badge {
    display: inline-block;
    padding: 4px 8px 1px;
    margin-left: 8px;
    font-size: 12px;
    border-radius: 50vw;
    border: 2px solid #f59e0b;
    color: #a56f0a;
    cursor: pointer;
}

.assets {
    display: inline-block;
}

.assets a {
    display: inline-block;
    margin: 6px 6px 0 0;
    padding: 8px 12px;
    background: var(--primary);
    color: white;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
}

.assets a:hover {
    background: var(--primary-hover);
}

.reactions {
    position: fixed;
    right: 10px;
    bottom: 8px;
}

.reactions span {
    display: inline-block;
    cursor: pointer;
    transition: 0.3s;
}

.reactions span:hover {
    scale: 110%;
    translate: 0 -8px;
}

@media (max-width: 768px) {
    .nav-text {
        display: none;
    }

    .nav-link.highlight .nav-text {
        display: inline;
    }

    .topbar {
        padding: 0 1rem;
    }

    .bottombar {
        padding: 0 1rem;
    }

    .footer-badges {
        display: none;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .features-header h2 {
        font-size: 2.25rem;
    }
}
