@import url('https://fonts.googleapis.com/css2?family=Geist:wght@100..900&family=Inter:wght@400;700;900&display=swap');

:root {
    --primary: #ffffff;
    --mc-font: 'Press Start 2P', cursive;
    --accent: #ffffff;
    --bg: #000000;
    --text-main: #ffffff;
    --text-sec: #a1a1a1;
    --card-bg: rgba(20, 20, 20, 0.8);
    --border: rgba(255, 255, 255, 0.15);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.7);
    --btn-toggle-color: #ffffff;
}

[data-theme="light"] {
    --primary: #33ff004f;
    --accent: #000000;
    --bg: #ffffff;
    --text-main: #000000;
    --text-sec: #666666;
    --card-bg: rgba(255, 255, 255, 0.9);
    --border: rgba(0, 0, 0, 0.1);
    --shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.1);
    --btn-toggle-color: #000000;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 100px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: var(--bg);
    color: var(--text-main);
    font-family: 'Geist', 'Inter', sans-serif;
    line-height: 1.5;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    transition: background-color 0.3s ease, color 0.3s ease;
}

.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    padding: 20px 5%;
    z-index: 1000;
    transition: all 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

.nav-scrolled {
    padding: 12px 5%;
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
}

.nav-content {
    max-width: 1300px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 25px;
}

.nav-link {
    text-decoration: none;
    color: var(--text-main);
    font-size: 0.85rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    opacity: 0.7;
    transition: 0.3s;
}

.nav-link:hover {
    opacity: 1;
}

.theme-btn {
    background: none;
    border: none;
    color: var(--btn-toggle-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 5px;
    transition: transform 0.2s ease;
}

.theme-btn:hover {
    transform: scale(1.1);
}

.theme-icon {
    width: 20px;
    height: 20px;
}

.brand {
    font-weight: 900;
    font-size: 1.5rem;
    letter-spacing: -2px;
    text-transform: uppercase;
    color: var(--text-main);
}

.nav-btn {
    text-decoration: none;
    color: var(--text-main);
    border: 1px solid var(--border);
    padding: 8px 20px;
    border-radius: 100px;
    font-size: 0.85rem;
    font-weight: 600;
    transition: 0.4s;
}

.nav-btn:hover {
    background: var(--text-main);
    color: var(--bg);
    transform: translateY(-2px);
}

.hero {
    padding: 160px 5% 80px;
    text-align: center;
    max-width: 1100px;
    margin: 0 auto;
}

.hero h1 {
    font-family: var(--mc-font);
    font-size: 3rem;
    line-height: 1.1;
    text-transform: uppercase;
    background: linear-gradient(180deg, #FFFFFF 30%, var(--primary) 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(4px 4px 0px rgba(0, 0, 0, 0.4));
    margin-bottom: 20px;
}

.badge-tech,
.stat-value,
.main-btn {
    font-family: var(--mc-font);
}

.badge-tech {
    font-size: 0.65rem;
    letter-spacing: 1px;
    color: var(--primary);
}

.main-btn {
    font-size: 0.8rem;
    letter-spacing: 1px;
    padding: 20px 30px;
}

.stat-value {
    font-size: 0.9rem;
}

.stat-label {
    font-weight: 700;
}

.hero p {
    font-size: 1.2rem;
    color: var(--text-sec);
    max-width: 600px;
    margin: 0 auto 40px;
    font-weight: 450;
}

.cta-group {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.main-btn {
    background: var(--text-main);
    color: var(--bg);
    text-decoration: none;
    padding: 18px 38px;
    border-radius: 100px;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.main-btn:hover {
    transform: scale(1.05) translateY(-3px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
}

.os-compatibility {
    margin-top: 10px;
    font-weight: 700;
    color: var(--text-sec);
}

.os-compatibility svg {
    vertical-align: middle;
    margin: 0 3px;
}

.product-preview {
    margin-top: 60px;
    perspective: 1500px;
}

.mockup-container {
    background: var(--card-bg);
    border: 1px solid var(--border);
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow);
    transform: rotateX(12deg) translateY(0);
    transition: transform 1s cubic-bezier(0.16, 1, 0.3, 1);
    backdrop-filter: blur(10px);
}

.product-preview:hover .mockup-container {
    transform: rotateX(0deg) translateY(-20px);
}

.window-bar {
    height: 45px;
    background: var(--border);
    display: flex;
    align-items: center;
    padding: 0 20px;
    gap: 8px;
}

.window-bar span {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-sec);
    opacity: 0.4;
}

.mockup-img {
    width: 100%;
    display: block;
    filter: grayscale(1);
    transition: 0.8s;
}

.product-preview:hover .mockup-img {
    filter: grayscale(0);
}

.special-features {
    max-width: 1300px;
    margin: 100px auto;
    padding: 80px 5%;
    scroll-margin-top: 100px;
}

.section-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 60px;
    letter-spacing: -0.04em;
    text-align: center;
}

.bento-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    grid-auto-rows: minmax(280px, auto);
    gap: 24px;
}

.bento-item {
    background: var(--card-bg);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border);
    border-radius: 40px;
    padding: 40px;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
}

.bento-item:hover {
    transform: translateY(-12px);
    border-color: var(--text-main);
    box-shadow: var(--shadow);
}

.bento-item.tall {
    grid-row: span 2;
}

.bento-item.wide {
    grid-column: span 2;
}

.icon-box {
    width: 60px;
    height: 60px;
    background: var(--text-main);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    flex-shrink: 0;
}

.icon-box svg {
    width: 28px;
    color: var(--bg);
}

.bento-item h3 {
    font-size: 1.5rem;
    margin-bottom: 15px;
    font-weight: 800;
    letter-spacing: -0.5px;
    color: var(--text-main);
}

.bento-item p {
    color: var(--text-sec);
    font-size: 1.05rem;
    line-height: 1.6;
}

.activity-item {
    background: var(--bg);
    padding: 14px 18px;
    border-radius: 20px;
    margin-bottom: 12px;
    border: 1px solid var(--border);
    font-size: 0.85rem;
    font-weight: 700;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: var(--text-main);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.shield-badge {
    margin-top: 20px;
    background: var(--text-main);
    color: var(--bg);
    padding: 10px 20px;
    border-radius: 100px;
    font-size: 0.8rem;
    font-weight: 800;
    align-self: flex-start;
}

.status-bar {
    width: 100%;
    height: 10px;
    background: var(--border);
    border-radius: 20px;
    margin-top: auto;
    overflow: hidden;
}

.status-bar .fill {
    width: 85%;
    height: 100%;
    background: var(--text-main);
    border-radius: 20px;
}

.reveal {
    opacity: 0;
    transform: translateY(40px);
    transition: 1s cubic-bezier(0.16, 1, 0.3, 1);
}

.reveal.active {
    opacity: 1;
    transform: translateY(0);
}

.main-footer {
    background-color: #050505;
    color: #ffffff;
    padding: 100px 5% 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    font-family: 'Inter', sans-serif;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    gap: 80px;
}

.footer-brand {
    flex: 1;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.5px;
    margin-bottom: 20px;
}

.brand-tagline {
    color: #888;
    font-size: 0.95rem;
    line-height: 1.6;
    max-width: 300px;
}

.footer-grid {
    display: flex;
    gap: 60px;
}

.column-title {
    display: block;
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: #ffffff;
    margin-bottom: 24px;
}

.footer-column a {
    display: block;
    color: #888;
    text-decoration: none;
    font-size: 0.9rem;
    margin-bottom: 12px;
    transition: color 0.2s ease;
}

.footer-column a:hover {
    color: #ffffff;
}

.footer-legal {
    max-width: 1200px;
    margin: 80px auto 0;
    padding-top: 40px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.legal-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #444;
    font-size: 0.8rem;
}

.mojang-notice {
    font-size: 0.75rem;
    opacity: 0.6;
    max-width: 300px;
    text-align: right;
}

@media (max-width: 900px) {
    .footer-container {
        flex-direction: column;
        gap: 60px;
    }

    .footer-grid {
        justify-content: space-between;
        gap: 20px;
    }

    .legal-content {
        flex-direction: column;
        text-align: center;
        gap: 20px;
    }

    .mojang-notice {
        text-align: center;
    }
}

html {
    scrollbar-width: thin;
    scrollbar-color: var(--text-main) var(--bg);
}

::-webkit-scrollbar {
    width: 6px;
}

::-webkit-scrollbar-track {
    background: var(--bg);
}

::-webkit-scrollbar-thumb {
    background-color: var(--text-main);
    border-radius: 10px;
}

::-webkit-scrollbar-thumb:hover {
    background-color: var(--primary);
}

body {
    scrollbar-gutter: stable;
    transition: background-color 0.3s ease, color 0.3s ease, scrollbar-color 0.3s ease;
}

@supports (scrollbar-width: thin) {
    * {
        scrollbar-width: thin;
        scrollbar-color: var(--text-main) var(--bg);
    }
}

.badge-tech {
    font-family: var(--mc-font);
    display: inline-block;
    padding: 8px 16px;
    background: rgba(51, 255, 0, 0.1);
    color: var(--primary);
    border: 1px solid rgba(51, 255, 0, 0.4);
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-transform: uppercase;
    position: relative;
    animation: statusPulse 2s infinite ease-in-out;
    box-shadow: 0 0 15px rgba(51, 255, 0, 0.1);
}

@keyframes statusPulse {
    0% {
        opacity: 1;
        box-shadow: 0 0 5px rgba(51, 255, 0, 0.2);
    }

    50% {
        opacity: 0.7;
        box-shadow: 0 0 15px rgba(51, 255, 0, 0.5);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 5px rgba(51, 255, 0, 0.2);
    }
}

.live-stats {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 30px;
    margin-top: 30px;
    padding: 20px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.stat-value {
    font-weight: 800;
    color: var(--text-main);
    font-family: var(--mc-font);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background-color: var(--primary);
    border-radius: 50%;
    display: inline-block;
    animation: dotBlink 1.5s infinite;
    box-shadow: 0 0 8px var(--primary);
}

@keyframes dotBlink {
    0% {
        transform: scale(1);
        opacity: 1;
    }

    50% {
        transform: scale(1.3);
        opacity: 0.5;
    }

    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.stat-label {
    font-size: 0.65rem;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-top: 6px;
    font-weight: 700;
}

.stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, rgba(255, 255, 255, 0.1), transparent);
}

@media (max-width: 600px) {
    .live-stats {
        flex-direction: column;
        gap: 20px;
        padding: 25px;
    }

    .stat-divider {
        width: 80%;
        height: 1px;
    }
}