* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

@font-face {
    font-family: 'Heartless';
    src: url('Heartless.ttf');
}

:root {
    --purple: #c4b5fd;
    --purple-dim: rgba(196, 181, 253, 0.15);
    --bg: #09090b;
    --surface: #111114;
    --text: #eee;
    --dim: #666;
    --border: rgba(255,255,255,0.06);
}

html {
    overflow: hidden;
    scrollbar-width: none;
}

html::-webkit-scrollbar { display: none; }

body {
    font-family: 'Montserrat', sans-serif;
    background: var(--bg);
    color: var(--text);
    overflow: hidden;
    height: 100vh;
}

#bg {
    position: fixed;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}

.video-bg {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
    opacity: 0.15;
    filter: blur(32px);
    pointer-events: none;
    transition: opacity 0.5s;
}

nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 100;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.7rem 3rem;
    backdrop-filter: blur(12px);
    background: var(--bg);
    border-bottom: 1px solid var(--border);
    box-shadow: 0 4px 40px rgba(196, 181, 253, 0.12), 0 2px 20px rgba(196, 181, 253, 0.08);
    animation: navSlideDown 1.2s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

@keyframes navSlideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.logo {
    text-decoration: none;
    display: flex;
    align-items: center;
    margin-left: -2rem;
}

.logo-img {
    height: 34px;
    width: auto;
    display: block;
    margin: -8px 0;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-right: -1rem;
}

.nav-center {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-center a {
    color: var(--dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    padding: 0.35rem 0.8rem;
    border-radius: 4px;
    transition: color 0.2s, background 0.2s;
}

.nav-center a:hover { color: var(--text); }

.nav-center a.nav-active {
    color: var(--purple);
    background: var(--purple-dim);
}

.nav-center a.nav-active:hover {
    color: var(--text);
}

.nav-right a {
    color: var(--dim);
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-right a:hover { color: var(--text); }

.nav-btn {
    color: var(--purple) !important;
    border: 1px solid var(--purple-dim);
    padding: 0.4rem 1rem;
    border-radius: 4px;
}

.nav-btn:hover { background: var(--purple-dim); }

.nav-icon {
    color: var(--dim) !important;
    display: flex;
    align-items: center;
    transition: opacity 0.2s;
}

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

.nav-icon-img {
    width: 20px;
    height: 20px;
    filter: brightness(0) invert(0.4);
    transition: filter 0.2s;
}

.nav-icon:hover .nav-icon-img {
    filter: brightness(0) invert(0.8);
}

.nav-icon svg {
    width: 20px;
    height: 20px;
}

.nav-btn + .nav-btn {
    margin-left: -0.8rem;
}

.nav-btn-filled {
    background: var(--purple) !important;
    color: #000 !important;
    border-color: var(--purple) !important;
}

.nav-btn-filled:hover { opacity: 0.8; background: var(--purple) !important; }

.hero {
    height: 100vh;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    z-index: 1;
    gap: 0.8rem;
}

.hero::before {
    content: '';
    position: absolute;
    width: 400px;
    height: 400px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(196,181,253,0.25) 0%, transparent 70%);
    pointer-events: none;
}

.hero h1 {
    font-size: clamp(4rem, 12vw, 8rem);
    font-weight: 300;
    color: var(--purple);
    letter-spacing: -2px;
    line-height: 1;
    opacity: 0;
    animation: drawIn 1.5s ease forwards;
    background: linear-gradient(90deg, var(--purple) 50%, transparent 50%);
    background-size: 200% 100%;
    background-position: 100% 0;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

@keyframes drawIn {
    0% { opacity: 0; background-position: 100% 0; letter-spacing: 15px; }
    40% { opacity: 1; }
    100% { opacity: 1; background-position: 0% 0; letter-spacing: -2px; }
}

.tagline {
    font-size: 1rem;
    color: var(--dim);
    letter-spacing: 3px;
    text-transform: uppercase;
    font-weight: 400;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.15s forwards;
}

.sub {
    color: var(--dim);
    font-size: 0.9rem;
    margin-top: 0.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.3s forwards;
}
.hero-btns {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.45s forwards;
}

.hero-btns a {
    min-width: 160px;
    text-align: center;
    justify-content: center;
}

.btn-main {
    padding: 0.7rem 2rem;
    background: var(--purple);
    color: #000;
    text-decoration: none;
    font-weight: 700;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: opacity 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
}

.btn-icon {
    width: 20px;
    height: 20px;
    border-radius: 50%;
}

.btn-main:hover { opacity: 0.8; }

.btn-ghost {
    padding: 0.7rem 2rem;
    border: 1px solid var(--border);
    color: var(--dim);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.85rem;
    border-radius: 4px;
    transition: border-color 0.2s, color 0.2s;
}

.btn-ghost:hover { border-color: var(--purple); color: var(--purple); }

.version-badge {
    margin-top: 2rem;
    font-size: 0.75rem;
    color: var(--dim);
    letter-spacing: 1px;
    opacity: 0;
    animation: fadeUp 0.8s ease 0.6s forwards;
}

.about {
    position: relative;
    z-index: 1;
    padding: 6rem 3rem;
    border-top: 1px solid var(--border);
}

.about-inner {
    max-width: 600px;
    margin: 0 auto;
}

.about h2 {
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--text);
}

.about p {
    color: var(--dim);
    line-height: 1.8;
    font-size: 0.9rem;
}
.fullpage-wrapper {
    transition: transform 0.8s cubic-bezier(0.76, 0, 0.24, 1);
    will-change: transform;
}

.page-section {
    height: 100vh;
}

.features {
    position: relative;
    z-index: 1;
    padding: 6rem 3rem;
    border-top: 1px solid var(--border);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.features h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 0.3rem;
    text-align: center;
    letter-spacing: -1px;
    color: var(--purple);
    text-shadow: 0 0 10px rgba(196, 181, 253, 0.4), 0 0 40px rgba(196, 181, 253, 0.2), 0 0 80px rgba(196, 181, 253, 0.1);
}

.features h2::after {
    display: none;
}

.media h2::after,
.pricing h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin: 1rem auto 0;
    background: var(--purple);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(196, 181, 253, 0.6), 0 0 20px rgba(196, 181, 253, 0.3);
}

.feat-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 900px;
    margin: 0 auto;
}

.features-sub {
    text-align: center;
    color: var(--text);
    font-size: 0.85rem;
    margin-top: 0.5rem;
    margin-bottom: 2rem;
}

.features-sub::after {
    content: '';
    display: block;
    width: 60px;
    height: 2px;
    margin: 1rem auto 0;
    background: var(--purple);
    border-radius: 2px;
    box-shadow: 0 0 8px rgba(196, 181, 253, 0.6), 0 0 20px rgba(196, 181, 253, 0.3);
}

.features-compat {
    text-align: center;
    color: var(--dim);
    font-size: 0.8rem;
    margin-top: 2rem;
}

.clickgui {
    display: flex;
    gap: 0.4rem;
    max-width: 1200px;
    margin: 0 auto;
    overflow-x: auto;
    padding: 0 1rem;
    align-items: flex-start;
}

.gui-col {
    min-width: 140px;
    flex: 1;
    background: rgba(20, 20, 24, 0.9);
    border: 1px solid rgba(196, 181, 253, 0.25);
    box-shadow: 0 0 6px rgba(196, 181, 253, 0.15), inset 0 0 6px rgba(196, 181, 253, 0.03);
    align-self: flex-start;
}

.gui-header {
    background: rgba(196, 181, 253, 0.12);
    padding: 0.5rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--purple);
    text-transform: lowercase;
    letter-spacing: 0.5px;
    border-bottom: 1px solid var(--border);
}

.gui-icon {
    margin-right: 0.3rem;
}

.gui-list {
    list-style: none;
    padding: 0.3rem 0;
}

.gui-list li {
    padding: 0.3rem 0.7rem;
    font-size: 0.75rem;
    color: var(--dim);
    cursor: default;
    transition: background 0.15s, color 0.15s;
    position: relative;
}

.gui-list li:hover {
    background: rgba(196, 181, 253, 0.06);
    color: var(--text);
}

.gui-list li.active {
    color: var(--purple);
}

.gui-tooltip {
    position: fixed;
    background: rgba(20, 20, 24, 0.95);
    border: 1px solid var(--purple);
    border-radius: 4px;
    padding: 0.4rem 0.7rem;
    font-size: 0.65rem;
    color: var(--text);
    pointer-events: none;
    z-index: 200;
    max-width: 220px;
    box-shadow: 0 0 10px rgba(196, 181, 253, 0.2);
    opacity: 0;
    transition: opacity 0.15s;
}

.gui-tooltip.visible {
    opacity: 1;
}

.feat {
    padding: 1.5rem;
    background: var(--surface);
    border-radius: 10px;
    border: 1px solid var(--border);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.feat:hover {
    border-color: rgba(196, 181, 253, 0.2);
    box-shadow: 0 0 20px rgba(196, 181, 253, 0.04);
}

.feat h3 {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.4rem;
}

.feat p {
    font-size: 0.78rem;
    color: var(--dim);
    line-height: 1.6;
}

.media {
    position: relative;
    z-index: 1;
    padding: 7rem 5rem 4em;
    border-top: 1px solid var(--border);
    height: 94vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.media h2 {
    font-size: 2rem;
    font-weight: 400;
    margin-bottom: 1rem;
    flex-shrink: 0;
    text-align: center;
    letter-spacing: -1px;
    color: var(--purple);
    text-shadow: 0 0 10px rgba(196, 181, 253, 0.4), 0 0 40px rgba(196, 181, 253, 0.2), 0 0 80px rgba(196, 181, 253, 0.1);
}

.media-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    row-gap: 2px;
    column-gap: 1px;
    width: 100%;
    max-width: 1300px;
    overflow-y: auto;
    flex: 1;
    padding: 0;
    scrollbar-width: thin;
    scrollbar-color: var(--purple) transparent;
}

.media-grid iframe {
    width: 100%;
    aspect-ratio: 16/9;
    display: block;
}

.pricing {
    position: relative;
    z-index: 1;
    padding: 6rem 3rem;
    text-align: center;
    border-top: 1px solid var(--border);
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.pricing h2 {
    font-size: 2.5rem;
    font-weight: 400;
    margin-bottom: 3rem;
    letter-spacing: -1px;
    color: var(--purple);
    text-shadow: 0 0 10px rgba(196, 181, 253, 0.4), 0 0 40px rgba(196, 181, 253, 0.2), 0 0 80px rgba(196, 181, 253, 0.1);
}

.pricing-grid {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    max-width: 960px;
    margin: 0 auto;
}

.plan {
    flex: 1;
    max-width: 300px;
    padding: 1.8rem 1.5rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--surface);
    position: relative;
    text-align: left;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.plan.stack-back,
.plan.stack-mid,
.plan.stack-front { transform: none; opacity: 1; }

.plan.disabled {
    opacity: 0.5;
    pointer-events: none;
}

.plan.selectable {
    cursor: pointer;
    transition: border-color 0.3s, box-shadow 0.3s, transform 0.2s;
}

.plan.selectable:hover {
    transform: translateY(-2px);
}

.plan.selected {
    border-color: var(--purple);
    box-shadow: 0 0 20px rgba(196, 181, 253, 0.15);
}

.plan.selected::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    border-radius: 8px;
    background: rgba(196, 181, 253, 0.03);
    pointer-events: none;
}

.plan-badge-soon {
    position: absolute;
    top: 28px;
    right: -32px;
    background: var(--dim);
    color: #fff;
    font-size: 0.6rem;
    font-weight: 700;
    padding: 4px 20px;
    transform: rotate(45deg);
    letter-spacing: 1px;
    text-transform: uppercase;
    text-align: center;
    clip-path: polygon(10% 0%, 88% 0%, 100% 100%, 0% 100%);
}

.btn-disabled {
    background: #444 !important;
    color: #888 !important;
    cursor: not-allowed;
    display: block;
    text-align: center;
    width: 100%;
}


.plan-badge {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    background: var(--purple);
    color: #000;
    font-size: 0.7rem;
    font-weight: 700;
    padding: 3px 12px;
    border-radius: 0 0 3px 3px;
}

.plan h3 {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--dim);
    margin-bottom: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.price {
    font-size: 1.8rem;
    font-weight: 900;
    color: var(--text);
    margin-bottom: 1rem;
    min-height: 4.5rem;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.price span {
    font-size: 0.9rem;
    font-weight: 400;
    color: var(--dim);
}

.plan ul {
    list-style: none;
    margin-bottom: 1.5rem;
    flex: 1;
}

.plan ul li {
    font-size: 0.8rem;
    color: var(--dim);
    padding: 0.4rem 0;
    border-bottom: 1px solid var(--border);
}

.plan ul li::before {
    content: '+ ';
    color: var(--purple);
    font-weight: 700;
}

.plan .btn-main {
    display: block;
    text-align: center;
    width: 100%;
}

footer {
    position: relative;
    z-index: 1;
    padding: 2rem;
    text-align: center;
    font-size: 0.7rem;
    color: var(--dim);
    border-top: 1px solid var(--border);
}

.site-footer {
    position: fixed;
    bottom: 1.2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 100;
    font-size: 0.6rem;
    color: var(--dim);
    text-align: center;
    white-space: nowrap;
}

.purchase-options {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    margin-top: 2rem;
    width: 280px;
}

.btn-row {
    display: flex;
    gap: 0.4rem;
}

.btn-row .btn-purchase {
    flex: 1;
    padding: 0.7rem 0.5rem;
}

.btn-purchase {
    padding: 0.7rem 1.8rem;
    font-size: 0.85rem;
    font-weight: 700;
    border-radius: 4px;
    text-decoration: none;
    transition: opacity 0.2s, background 0.2s;
    text-align: center;
    background: var(--purple);
    color: #000;
}

.btn-purchase:hover { opacity: 0.8; }

.pay-icon {
    width: 18px;
    height: 18px;
    vertical-align: middle;
    margin-left: 4px;
}

.btn-qq {
    background: var(--purple);
    color: #000;
}

.btn-discord {
    background: transparent;
    color: var(--purple);
    border: 1px solid var(--purple);
}

.btn-discord:hover {
    background: var(--purple-dim);
    opacity: 1;
}

.qq-modal {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 200;
    background: rgba(0, 0, 0, 0);
    align-items: center;
    justify-content: center;
    transition: background 0.3s;
}

.qq-modal.active {
    display: flex;
    background: rgba(0, 0, 0, 0.7);
}

.qq-modal-body {
    display: flex;
    gap: 1.5rem;
    opacity: 0;
    transform: translateY(20px) scale(0.95);
    transition: opacity 0.3s, transform 0.3s;
}

.qq-modal.active .qq-modal-body {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.qq-modal-content {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    text-align: center;
    position: relative;
    min-width: 240px;
}

.qq-modal-close {
    position: absolute;
    top: 0.8rem;
    right: 1rem;
    font-size: 1.2rem;
    color: var(--dim);
    cursor: pointer;
}

.qq-modal-close:hover { color: var(--text); }

.qq-modal-content h3 {
    color: var(--purple);
    margin-bottom: 1rem;
    font-size: 1rem;
}

.qq-number {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text);
    margin-bottom: 1.5rem;
    letter-spacing: 2px;
}

.qq-seller-name {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text);
    margin-bottom: 0.8rem;
}

.qq-label {
    font-size: 0.7rem;
    color: var(--dim);
    margin-bottom: 0.3rem;
}

.hero-mascot {
    width: 80px;
    height: 80px;
    margin-top: 2rem;
    border-radius: 50%;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-8px); }
}

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

.page-section {
    transition: opacity 0.4s ease, transform 0.4s ease;
}

.page-out {
    opacity: 0;
    transform: scale(0.97);
}

.page-in {
    animation: pageEnter 0.5s ease forwards;
}

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

.page-arrows {
    position: fixed;
    top: 50%;
    transform: translateY(-50%);
    left: 0;
    right: 0;
    z-index: 99;
    display: flex;
    justify-content: space-between;
    pointer-events: none;
    padding: 0 1.5rem;
}

.page-arrows button {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: 1px solid var(--border);
    background: var(--surface);
    color: var(--purple);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.2s, border-color 0.2s, opacity 0.2s;
    pointer-events: auto;
}

.page-arrows button:hover {
    border-color: var(--purple);
    background: var(--purple-dim);
}

.page-arrows button:disabled {
    opacity: 0;
    cursor: default;
    pointer-events: none;
}

.eula-link {
    position: fixed;
    bottom: 1.2rem;
    right: 1.5rem;
    z-index: 100;
    font-size: 0.7rem;
    color: #fff;
    text-decoration: none;
    transition: color 0.2s;
}

.eula-link:hover { color: var(--purple); }

@media (max-width: 768px) {
    nav { padding: 1rem 1.5rem; }
    .nav-right { gap: 1rem; }
    .feat-grid { grid-template-columns: 1fr; }
    .hero h1 { font-size: 3.5rem; }
    .pricing-grid {
        flex-direction: column;
        align-items: center;
    }
    .plan {
        max-width: 100%;
        width: 100%;
    }
    .pricing {
        padding: 4rem 1.5rem;
        overflow-y: auto;
    }
    .media-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.8rem;
    }
    .media {
        padding: 3rem 1.5rem;
    }
}

@media (max-width: 480px) {
    .media-grid {
        grid-template-columns: 1fr;
    }
}
