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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #12121a;
    --bg-card: #1a1a25;
    --accent: #d4af37;
    --accent-dim: rgba(212, 175, 55, 0.15);
    --accent-glow: rgba(212, 175, 55, 0.4);
    --text-primary: #ffffff;
    --text-secondary: #a0a0b0;
    --border: rgba(212, 175, 55, 0.2);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

.grid-overlay {
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(rgba(212, 175, 55, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(212, 175, 55, 0.03) 1px, transparent 1px);
    background-size: 60px 60px;
}

.glow {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: 0.4;
}

.glow-1 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow), transparent 70%);
    top: -200px;
    right: -100px;
}

.glow-2 {
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, rgba(139, 90, 43, 0.3), transparent 70%);
    bottom: 20%;
    left: -150px;
}

.rune-circle {
    position: absolute;
    width: 800px;
    height: 800px;
    border: 1px solid rgba(212, 175, 55, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation: runeRotate 60s linear infinite;
}

.rune-circle::before {
    content: '';
    position: absolute;
    inset: 40px;
    border: 1px dashed rgba(212, 175, 55, 0.08);
    border-radius: 50%;
}

@keyframes runeRotate {
    from { transform: translate(-50%, -50%) rotate(0deg); }
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    padding: 16px 24px;
    background: rgba(10, 10, 15, 0.9);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    color: #000;
}

.logo-text {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.gradient-text {
    background: linear-gradient(135deg, var(--accent), #f4d03f);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav-links {
    display: flex;
    align-items: center;
    gap: 32px;
    list-style: none;
}

.nav-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
    transition: color 0.2s;
}

.nav-links a:hover {
    color: var(--accent);
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 20px;
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    color: #000;
    text-decoration: none;
    border-radius: 8px;
    font-size: 14px;
    font-weight: 600;
    transition: transform 0.2s, box-shadow 0.2s;
}

.nav-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 120px 24px 80px;
    position: relative;
    z-index: 1;
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 24px;
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(42px, 6vw, 64px);
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.hero-subtitle {
    font-size: 17px;
    color: var(--text-secondary);
    margin-bottom: 32px;
    max-width: 520px;
}

.hero-stats {
    display: flex;
    gap: 32px;
    margin-bottom: 32px;
    padding: 20px 0;
    border-top: 1px solid var(--border);
    border-bottom: 1px solid var(--border);
}

.stat {
    text-align: center;
}

.stat-value {
    display: block;
    font-size: 28px;
    font-weight: 700;
    color: var(--accent);
    font-family: 'Cinzel', serif;
}

.stat-label {
    font-size: 12px;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-buttons {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    border-radius: 8px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.2s;
    cursor: pointer;
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    color: #000;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 24px var(--accent-glow);
}

.btn-secondary {
    background: var(--bg-card);
    color: var(--text-primary);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    background: var(--accent-dim);
}

.hero-visual {
    flex: 1;
    display: flex;
    justify-content: center;
    padding-left: 40px;
}

.mod-menu {
    width: 420px;
    background: linear-gradient(180deg, rgba(26, 26, 37, 0.98), rgba(18, 18, 26, 0.98));
    border: 1px solid var(--border);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 24px 64px rgba(0, 0, 0, 0.5), 0 0 0 1px rgba(212, 175, 55, 0.1);
    position: relative;
}

.menu-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 16px 20px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.15), rgba(139, 90, 43, 0.1));
    border-bottom: 1px solid var(--border);
}

.menu-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Cinzel', serif;
    font-weight: 600;
    font-size: 16px;
    color: var(--accent);
}

.menu-version {
    font-size: 12px;
    color: var(--text-secondary);
    background: rgba(212, 175, 55, 0.1);
    padding: 4px 10px;
    border-radius: 4px;
}

.menu-tabs {
    display: flex;
    padding: 8px;
    gap: 4px;
    background: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border);
    overflow-x: hidden;
}

.menu-tab {
    flex: 1;
    padding: 10px 8px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 12px;
    font-weight: 500;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s;
    white-space: nowrap;
}

.menu-tab:hover {
    color: var(--text-primary);
    background: rgba(212, 175, 55, 0.1);
}

.menu-tab.active {
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    color: #000;
    font-weight: 600;
}

.menu-content {
    padding: 12px;
    min-height: 280px;
    max-height: 320px;
    overflow-y: auto;
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

.menu-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 14px;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    margin-bottom: 8px;
    border: 1px solid transparent;
    transition: all 0.2s;
}

.menu-item:hover {
    background: rgba(212, 175, 55, 0.08);
    border-color: var(--border);
}

.item-label {
    display: flex;
    align-items: center;
    gap: 10px;
    font-size: 13px;
    font-weight: 500;
}

.item-label i {
    color: var(--accent);
    width: 16px;
}

.toggle {
    position: relative;
    width: 44px;
    height: 24px;
    cursor: pointer;
}

.toggle input {
    opacity: 0;
    width: 0;
    height: 0;
}

.toggle .slider {
    position: absolute;
    inset: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 24px;
    transition: 0.3s;
}

.toggle .slider::before {
    content: '';
    position: absolute;
    width: 18px;
    height: 18px;
    left: 3px;
    bottom: 3px;
    background: #fff;
    border-radius: 50%;
    transition: 0.3s;
}

.toggle input:checked + .slider {
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
}

.toggle input:checked + .slider::before {
    transform: translateX(20px);
    background: #000;
}

.slider-item {
    flex-wrap: wrap;
    gap: 8px;
}

.range-slider {
    flex: 1;
    min-width: 100px;
    height: 6px;
    -webkit-appearance: none;
    appearance: none;
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
    outline: none;
}

.range-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    border-radius: 50%;
    cursor: pointer;
}

.range-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    border-radius: 50%;
    cursor: pointer;
    border: none;
}

.range-slider::-webkit-slider-runnable-track {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
}

.range-slider::-moz-range-track {
    background: rgba(212, 175, 55, 0.2);
    border-radius: 3px;
}

.slider-value {
    font-size: 12px;
    font-weight: 600;
    color: var(--accent);
    min-width: 40px;
    text-align: right;
}

.menu-btn {
    padding: 6px 16px;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid var(--border);
    color: var(--accent);
    font-size: 12px;
    font-weight: 500;
    border-radius: 4px;
    cursor: pointer;
    transition: all 0.2s;
}

.menu-btn:hover {
    background: var(--accent);
    color: #000;
}

.menu-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 16px;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--border);
    font-size: 11px;
}

.footer-hint {
    color: var(--text-secondary);
}

.footer-hint kbd {
    background: rgba(212, 175, 55, 0.2);
    padding: 2px 6px;
    border-radius: 3px;
    color: var(--accent);
}

.footer-status {
    color: var(--accent);
    display: flex;
    align-items: center;
    gap: 6px;
}

.features, .compatibility, .download, .install {
    padding: 100px 0;
    position: relative;
    z-index: 1;
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-tag {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 100px;
    font-size: 13px;
    color: var(--accent);
    margin-bottom: 16px;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(32px, 4vw, 44px);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: 1px;
}

.section-desc {
    font-size: 17px;
    color: var(--text-secondary);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    transition: all 0.3s;
}

.feature-card:hover {
    border-color: var(--accent);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.3);
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: linear-gradient(135deg, var(--accent-dim), rgba(139, 90, 43, 0.15));
    border: 1px solid var(--border);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: var(--accent);
    margin-bottom: 20px;
}

.feature-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 20px;
    margin-bottom: 8px;
    color: var(--text-primary);
}

.feature-card p {
    font-size: 14px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.feature-list {
    list-style: none;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
}

.feature-list li {
    font-size: 13px;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.feature-list li::before {
    content: '';
    width: 6px;
    height: 6px;
    background: var(--accent);
    border-radius: 50%;
    flex-shrink: 0;
}

.compat-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
}

.compat-content {
    flex: 1;
}

.compat-list {
    list-style: none;
    margin-top: 24px;
}

.compat-list li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
}

.compat-list li:last-child {
    border-bottom: none;
}

.compat-list i {
    color: var(--accent);
}

.compat-visual {
    display: flex;
    gap: 20px;
}

.compat-card {
    width: 120px;
    height: 120px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 36px;
    color: var(--accent);
}

.compat-card span {
    font-size: 13px;
    color: var(--text-secondary);
}

.download-wrapper {
    display: flex;
    align-items: center;
    gap: 60px;
    background: linear-gradient(135deg, var(--bg-card), rgba(212, 175, 55, 0.05));
    border: 1px solid var(--border);
    border-radius: 20px;
    padding: 48px;
}

.download-content {
    flex: 1;
}

.download-desc {
    font-size: 16px;
    color: var(--text-secondary);
    margin: 16px 0 28px;
}

.btn-download {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    padding: 16px 32px;
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    color: #000;
    text-decoration: none;
    border-radius: 10px;
    font-size: 16px;
    font-weight: 700;
    transition: all 0.2s;
}

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 12px 32px var(--accent-glow);
}

.btn-badge {
    background: rgba(0, 0, 0, 0.2);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 12px;
}

.download-info {
    display: flex;
    gap: 24px;
    margin-top: 24px;
}

.info-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.info-item i {
    color: var(--accent);
}

.password-notice {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    margin-top: 20px;
    padding: 12px 20px;
    background: var(--accent-dim);
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.password-notice code {
    background: rgba(212, 175, 55, 0.2);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--accent);
    font-weight: 600;
}

.download-visual {
    flex-shrink: 0;
}

.download-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 20px 28px;
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    border-radius: 12px;
    min-width: 280px;
}

.card-icon {
    width: 52px;
    height: 52px;
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    color: #000;
}

.card-details {
    flex: 1;
}

.card-filename {
    display: block;
    font-weight: 600;
    font-size: 15px;
    margin-bottom: 4px;
}

.card-size {
    font-size: 13px;
    color: var(--text-secondary);
}

.card-check {
    color: var(--accent);
    font-size: 24px;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
    gap: 24px;
}

.step-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 28px;
    text-align: center;
    position: relative;
}

.step-number {
    width: 48px;
    height: 48px;
    background: linear-gradient(135deg, var(--accent), #8b5a2b);
    color: #000;
    font-size: 20px;
    font-weight: 700;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
}

.step-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 18px;
    margin-bottom: 10px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-secondary);
}

.step-card code {
    background: var(--accent-dim);
    padding: 2px 6px;
    border-radius: 4px;
    color: var(--accent);
    font-size: 13px;
}

.step-card kbd {
    background: rgba(212, 175, 55, 0.2);
    padding: 4px 8px;
    border-radius: 4px;
    color: var(--accent);
    font-size: 13px;
}

.footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    padding: 48px 0 24px;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--border);
}

.footer-brand p {
    margin-top: 8px;
    font-size: 14px;
    color: var(--text-secondary);
}

.footer-links {
    display: flex;
    gap: 32px;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: var(--accent);
}

.footer-bottom {
    padding-top: 24px;
    text-align: center;
}

.footer-bottom p {
    font-size: 13px;
    color: var(--text-secondary);
}

@media (max-width: 1024px) {
    .hero {
        flex-direction: column;
        text-align: center;
    }

    .hero-content {
        max-width: 100%;
    }

    .hero-subtitle {
        max-width: 100%;
    }

    .hero-stats {
        justify-content: center;
    }

    .hero-buttons {
        justify-content: center;
    }

    .hero-visual {
        padding-left: 0;
        margin-top: 48px;
    }

    .compat-wrapper, .download-wrapper {
        flex-direction: column;
        text-align: center;
    }

    .download-info {
        justify-content: center;
    }
}

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

    .mod-menu {
        width: 100%;
        max-width: 380px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        flex-direction: column;
        gap: 24px;
        text-align: center;
    }
}
