/* /style.css */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

:root {
    --neon: #00f2ea;
    --bg: #050505;
    --glow: 0 0 25px rgba(0, 242, 234, 0.9);
    --bg-soft: #080f10;
    --panel: rgba(10, 10, 10, 0.92);
    --panel-2: rgba(14, 18, 20, 0.96);
    --border: rgba(0, 242, 234, 0.22);
    --text: #f4ffff;
    --muted: rgba(244, 255, 255, 0.62);
    --primary: #00f2ea;
    --primary-2: #8ffcff;
    --danger: #ff5f7a;
    --success: #70ffb5;
    --shadow: 0 0 25px rgba(0, 242, 234, 0.16), 0 20px 70px rgba(0, 0, 0, 0.45);
    --radius: 18px;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #050505;
    color: var(--text);
    font-family: Arial, Tahoma, sans-serif;
    line-height: 1.7;
    overflow-x: hidden;
    padding-top: 58px;
}

.site-bg {
    background:
        radial-gradient(circle at 15% 20%, rgba(19, 245, 220, 0.18), transparent 24%),
        radial-gradient(circle at 82% 15%, rgba(86, 255, 241, 0.12), transparent 28%),
        radial-gradient(circle at 50% 80%, rgba(0, 180, 170, 0.1), transparent 32%);
    inset: 0;
    pointer-events: none;
    position: fixed;
    z-index: -1;
}

.container {
    margin: 0 auto;
    max-width: 1220px;
    padding: 0 20px;
}

.site-header {
    backdrop-filter: blur(14px);
    background: rgba(3, 10, 12, 0.78);
    border-bottom: 1px solid var(--border);
    position: sticky;
    top: 0;
    z-index: 50;
}

.header-wrap {
    align-items: center;
    display: flex;
    justify-content: space-between;
    min-height: 78px;
}

.logo {
    color: var(--text);
    display: flex;
    flex-direction: column;
    font-weight: 900;
    line-height: 1;
    text-decoration: none;
}

.logo span {
    color: var(--primary);
    font-size: 34px;
    letter-spacing: 4px;
    text-shadow: 0 0 22px rgba(19, 245, 220, 0.34);
}

.logo small {
    color: var(--muted);
    font-size: 12px;
    letter-spacing: 2px;
    margin-top: 6px;
}

.main-nav {
    align-items: center;
    display: flex;
    gap: 18px;
}

.main-nav a {
    color: var(--text);
    font-size: 15px;
    font-weight: 700;
    text-decoration: none;
    transition: 0.2s ease;
}

.main-nav a:hover {
    color: var(--primary);
}

.menu-toggle {
    background: var(--panel);
    border: 1px solid var(--border);
    border-radius: 12px;
    color: var(--text);
    cursor: pointer;
    display: none;
    font-size: 24px;
    padding: 6px 14px;
}

.hero {
    padding: 84px 0 38px;
}

.hero-grid {
    display: grid;
    gap: 22px;
    grid-template-columns: 1.5fr 1fr;
}

.hero-content,
.hero-panel,
.panel,
.target-card,
.method-card {
    background: linear-gradient(180deg, var(--panel-2), var(--panel));
    border: 1px solid var(--border);
    border-radius: 24px;
    box-shadow: var(--shadow);
}

.hero-content {
    padding: 34px;
}

.hero-kicker {
    color: var(--primary-2);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 10px;
}

.hero h1 {
    font-size: clamp(34px, 6vw, 72px);
    line-height: 1.05;
    margin-bottom: 16px;
}

.hero-text {
    color: var(--muted);
    font-size: 18px;
    max-width: 760px;
}

.hero-actions,
.action-row,
.admin-actions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
}

.hero-actions {
    margin-top: 24px;
}

.hero-panel {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
    padding: 22px;
}

.stat-box {
    background: rgba(19, 245, 220, 0.035);
    border: 1px solid var(--border);
    border-radius: 18px;
    min-height: 120px;
    padding: 18px;
}

.stat-box strong {
    color: var(--primary);
    display: block;
    font-size: 26px;
    margin-bottom: 8px;
}

.stat-box span {
    color: var(--muted);
    font-weight: 700;
}

.stat-box.accent strong {
    color: var(--success);
}

.section {
    padding: 32px 0 42px;
}

.alt-section {
    background: linear-gradient(180deg, rgba(19, 245, 220, 0.018), rgba(19, 245, 220, 0.045));
    border-bottom: 1px solid rgba(19, 245, 220, 0.035);
    border-top: 1px solid rgba(19, 245, 220, 0.035);
}

.section-head {
    margin-bottom: 20px;
}

.section-head p {
    color: var(--primary);
    font-size: 14px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 6px;
}

.section-head h2 {
    font-size: clamp(28px, 4vw, 46px);
    line-height: 1.2;
}

.card-grid {
    display: grid;
    gap: 18px;
}

.four-col {
    grid-template-columns: repeat(4, 1fr);
}

.target-card,
.method-card {
    overflow: hidden;
    padding: 20px;
    position: relative;
}

.card-visual {
    align-items: center;
    background: rgba(19, 245, 220, 0.045);
    border: 1px solid var(--border);
    border-radius: 18px;
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
    min-height: 150px;
    overflow: hidden;
}

.card-visual svg {
    height: 110px;
    width: 110px;
}

.card-title {
    font-size: 21px;
    margin-bottom: 8px;
}

.card-subtitle {
    color: var(--muted);
    font-size: 14px;
    margin-bottom: 10px;
}

.tag-row {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 12px;
}

.tag {
    background: rgba(19, 245, 220, 0.1);
    border: 1px solid rgba(19, 245, 220, 0.2);
    border-radius: 999px;
    color: #c9fffb;
    font-size: 12px;
    font-weight: 700;
    padding: 6px 10px;
}

.calculator-layout,
.planner-layout {
    display: grid;
    gap: 18px;
    grid-template-columns: 1fr 1fr;
}

.panel {
    padding: 22px;
}

.panel-title {
    font-size: 22px;
    margin-bottom: 16px;
}

.form-grid {
    display: grid;
    gap: 14px;
    grid-template-columns: repeat(2, 1fr);
    margin-bottom: 14px;
}

.field {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 14px;
}

.field label {
    font-weight: 800;
}

.field input,
.field select,
.field textarea {
    background: rgba(3, 10, 12, 0.95);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    font-size: 15px;
    padding: 14px;
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    border-color: rgba(19, 245, 220, 0.65);
    outline: none;
}

.btn {
    border: 1px solid transparent;
    border-radius: 14px;
    cursor: pointer;
    font-size: 15px;
    font-weight: 900;
    padding: 12px 18px;
    transition: 0.2s ease;
}

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

.btn-primary {
    background: linear-gradient(135deg, var(--primary), var(--primary-2));
    color: #021313;
}

.btn-secondary {
    background: rgba(19, 245, 220, 0.07);
    border-color: var(--border);
    color: var(--text);
}

.btn-ghost {
    background: transparent;
    border-color: rgba(19, 245, 220, 0.34);
    color: #bffffa;
}

.full-btn {
    width: 100%;
}

.result-panel {
    min-height: 320px;
}

.empty-state {
    color: var(--muted);
    padding: 22px 0;
}

.result-head {
    align-items: center;
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.result-icon {
    align-items: center;
    background: rgba(19, 245, 220, 0.035);
    border: 1px solid var(--border);
    border-radius: 16px;
    display: flex;
    height: 70px;
    justify-content: center;
    width: 70px;
}

.result-icon svg {
    height: 42px;
    width: 42px;
}

.result-title {
    font-size: 22px;
}

.result-subtitle {
    color: var(--muted);
    font-size: 14px;
}

.result-stats {
    display: grid;
    gap: 12px;
    grid-template-columns: repeat(2, 1fr);
    margin: 16px 0;
}

.result-stat {
    background: rgba(19, 245, 220, 0.035);
    border: 1px solid var(--border);
    border-radius: 16px;
    padding: 14px;
}

.result-stat span {
    color: var(--muted);
    display: block;
    font-size: 13px;
    margin-bottom: 5px;
}

.result-stat strong {
    color: var(--primary);
    font-size: 18px;
}

.result-note {
    background: rgba(19, 245, 220, 0.08);
    border: 1px solid rgba(19, 245, 220, 0.18);
    border-radius: 16px;
    color: #cafffb;
    margin-top: 14px;
    padding: 14px;
}

.quick-list {
    display: grid;
    gap: 10px;
    margin-bottom: 18px;
}

.quick-item,
.task-item,
.application-card,
.preview-box {
    background: rgba(19, 245, 220, 0.045);
    border: 1px solid var(--border);
    border-radius: 14px;
    padding: 14px;
}

.task-form {
    align-items: center;
    display: flex;
    gap: 10px;
    margin-bottom: 16px;
}

.task-form input {
    background: rgba(3, 10, 12, 0.95);
    border: 1px solid var(--border);
    border-radius: 14px;
    color: var(--text);
    flex: 1;
    padding: 14px;
}

.task-list,
.applications-list {
    display: grid;
    gap: 12px;
}

.task-item {
    align-items: center;
    display: flex;
    gap: 12px;
    justify-content: space-between;
}

.task-text {
    flex: 1;
    font-weight: 700;
}

.task-text.done {
    color: var(--muted);
    text-decoration: line-through;
}

.task-actions {
    display: flex;
    gap: 8px;
}

.message-line {
    color: var(--success);
    font-weight: 800;
    margin-top: 12px;
    min-height: 24px;
}

.message-line.error {
    color: #ff91a4;
}

.preview-box {
    min-height: 120px;
    white-space: pre-line;
}

.application-card h4 {
    font-size: 18px;
    margin-bottom: 8px;
}

.application-meta {
    color: var(--muted);
    font-size: 13px;
    margin-bottom: 10px;
}

.application-body {
    display: grid;
    gap: 8px;
    margin-bottom: 12px;
}

.admin-actions-grid {
    margin-top: 8px;
}

.locked-note {
    background: rgba(19, 245, 220, 0.035);
    border: 1px dashed var(--border);
    border-radius: 14px;
    color: var(--muted);
    margin-bottom: 14px;
    padding: 14px;
}

.admin-only.hidden-block,
.admin-locked-only.hidden-block {
    display: none;
}

@media (max-width: 1080px) {
    .hero-grid,
    .calculator-layout,
    .planner-layout,
    .four-col {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 820px) {
    .menu-toggle {
        display: inline-block;
    }

    .main-nav {
        background: rgba(3, 10, 12, 0.96);
        border: 1px solid var(--border);
        border-radius: 18px;
        display: none;
        flex-direction: column;
        padding: 14px;
        position: absolute;
        right: 20px;
        top: 82px;
        width: calc(100% - 40px);
    }

    .main-nav.open {
        display: flex;
    }

    .hero-grid,
    .calculator-layout,
    .planner-layout,
    .four-col,
    .form-grid {
        grid-template-columns: 1fr;
    }

    .hero-panel {
        grid-template-columns: 1fr 1fr;
    }
}

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

    .task-form,
    .action-row,
    .admin-actions-grid {
        flex-direction: column;
    }

    .btn {
        width: 100%;
    }
}

/* Turquoise upgrade effects */
.main-nav a:hover,
.card-title,
.panel-title {
    text-shadow: 0 0 14px rgba(19, 245, 220, 0.18);
}

.target-card:hover,
.method-card:hover,
.panel:hover {
    border-color: rgba(19, 245, 220, 0.35);
}

.card-visual svg,
.result-icon svg {
    filter: drop-shadow(0 0 14px rgba(19, 245, 220, 0.28));
}

.btn-primary {
    box-shadow: 0 0 26px rgba(19, 245, 220, 0.16);
}

.field input:focus,
.field select:focus,
.field textarea:focus {
    box-shadow: 0 0 0 4px rgba(19, 245, 220, 0.08);
}


/* VKG-SITE animated unified theme */
#particles-js {
    background-color: #050505;
    height: 100%;
    inset: 0;
    pointer-events: none;
    position: fixed;
    width: 100%;
    z-index: 0;
}

.site-bg {
    background:
        radial-gradient(circle at 16% 18%, rgba(0, 242, 234, 0.13), transparent 24%),
        radial-gradient(circle at 84% 20%, rgba(0, 242, 234, 0.09), transparent 28%),
        linear-gradient(135deg, rgba(0, 242, 234, 0.035), transparent 38%);
    z-index: 1;
}

main,
.site-header {
    position: relative;
    z-index: 10;
}

.vkg-theme-nav {
    align-items: center;
    backdrop-filter: blur(12px);
    background: rgba(0, 0, 0, 0.82);
    border-bottom: 1px solid rgba(0, 242, 234, 0.18);
    display: flex;
    gap: 14px;
    height: 58px;
    justify-content: center;
    left: 0;
    padding: 0 16px;
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 90;
}

.vkg-nav-btn {
    align-items: center;
    border: 1px solid rgba(0, 242, 234, 0.42);
    border-radius: 6px;
    color: var(--neon);
    display: inline-flex;
    font-size: 13px;
    font-weight: 900;
    gap: 8px;
    letter-spacing: 1px;
    padding: 8px 14px;
    text-decoration: none;
    transition: 0.25s ease;
}

.vkg-nav-btn:hover {
    background: var(--neon);
    box-shadow: var(--glow);
    color: #000;
}

.vkg-credit {
    color: rgba(255, 255, 255, 0.34);
    font-size: 12px;
    font-style: italic;
}

.site-header {
    background: rgba(0, 0, 0, 0.72);
    border-bottom: 1px solid rgba(0, 242, 234, 0.18);
    top: 58px;
}

.audio-manager {
    align-items: center;
    background: rgba(10, 10, 10, 0.92);
    border: 1px solid var(--neon);
    border-radius: 10px;
    bottom: 20px;
    box-shadow: var(--glow);
    display: flex;
    gap: 14px;
    left: 20px;
    padding: 13px;
    position: fixed;
    z-index: 95;
}

.audio-manager button {
    background: none;
    border: none;
    color: var(--neon);
    cursor: pointer;
    font-size: 20px;
}

#hubVolumeSlider {
    accent-color: var(--neon);
    cursor: pointer;
    width: 90px;
}

.side-runes {
    height: 100vh;
    overflow: hidden;
    pointer-events: none;
    position: fixed;
    top: 0;
    width: 42px;
    z-index: 3;
}

.left-runes {
    left: 14px;
}

.right-runes {
    right: 14px;
}

.rune-track {
    align-items: center;
    display: flex;
    flex-direction: column;
}

.right-runes .rune-track {
    animation: scrollUp 20s linear infinite;
}

.left-runes .rune-track {
    animation: scrollDown 20s linear infinite;
}

.rune-track span {
    color: var(--neon);
    font-family: "Courier New", monospace;
    font-size: 24px;
    font-weight: 900;
    padding: 15px 0;
    text-shadow: 0 0 10px var(--neon);
}

.side-art-container {
    align-items: center;
    display: flex;
    flex-direction: column;
    opacity: 0.42;
    pointer-events: none;
    position: fixed;
    top: 54%;
    z-index: 2;
}

.container-left {
    animation: luxuryPulseLeft 6s ease-in-out infinite;
    left: 54px;
    transform: translateY(-50%);
}

.container-right {
    animation: luxuryPulseRight 6s ease-in-out infinite;
    right: 54px;
    transform: translateY(-50%) scaleX(-1);
}

.side-art-container img {
    margin: -8px 0;
    width: 265px;
}

.side-art-container .sword-img {
    width: 155px;
}

.rust-vkg-logo {
    display: block;
    filter: drop-shadow(0 0 25px var(--neon));
    margin: 0 0 18px auto;
    max-width: 150px;
}

.hero-content,
.hero-panel,
.panel,
.target-card,
.method-card {
    background: linear-gradient(180deg, rgba(12, 12, 12, 0.98), rgba(5, 5, 5, 0.92));
    border-color: rgba(0, 242, 234, 0.22);
    box-shadow: 0 0 22px rgba(0, 242, 234, 0.08), 0 24px 80px rgba(0, 0, 0, 0.52);
}

.hero-content::before,
.panel::before,
.target-card::before,
.method-card::before {
    background: linear-gradient(90deg, transparent, rgba(0, 242, 234, 0.38), transparent);
    content: "";
    height: 1px;
    left: 10%;
    opacity: 0.55;
    position: absolute;
    top: 0;
    width: 80%;
}

.hero-content,
.panel,
.target-card,
.method-card {
    overflow: hidden;
    position: relative;
}

.logo span,
.hero-kicker,
.section-head p,
.stat-box strong,
.result-stat strong,
.card-title,
.panel-title {
    color: var(--neon);
    text-shadow: 0 0 15px rgba(0, 242, 234, 0.36);
}

.btn-primary {
    background: transparent;
    border-color: var(--neon);
    box-shadow: 0 0 18px rgba(0, 242, 234, 0.18);
    color: var(--neon);
}

.btn-primary:hover {
    background: var(--neon);
    box-shadow: var(--glow);
    color: #000;
}

.btn-secondary,
.btn-ghost {
    background: rgba(0, 242, 234, 0.055);
    border-color: rgba(0, 242, 234, 0.28);
    color: #dfffff;
}

.btn-secondary:hover,
.btn-ghost:hover,
.target-card:hover,
.method-card:hover,
.panel:hover {
    border-color: var(--neon);
    box-shadow: 0 0 25px rgba(0, 242, 234, 0.16);
}

.field input,
.field select,
.field textarea,
.task-form input {
    background: rgba(0, 0, 0, 0.82);
    border-color: rgba(0, 242, 234, 0.18);
}

.field input:focus,
.field select:focus,
.field textarea:focus,
.task-form input:focus {
    border-color: var(--neon);
    box-shadow: 0 0 0 4px rgba(0, 242, 234, 0.08);
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); }
}

@keyframes scrollDown {
    0% { transform: translateY(-50%); }
    100% { transform: translateY(0); }
}

@keyframes luxuryPulseLeft {
    0%, 100% { transform: translateY(-50%) scale(1); filter: brightness(1.2) contrast(1.8) drop-shadow(0 0 5px var(--neon)); }
    50% { transform: translateY(-53%) scale(1.02); filter: brightness(1.6) contrast(2) drop-shadow(0 0 30px var(--neon)); }
}

@keyframes luxuryPulseRight {
    0%, 100% { transform: translateY(-50%) scaleX(-1) scale(1); filter: brightness(1.2) contrast(1.8) drop-shadow(0 0 5px var(--neon)); }
    50% { transform: translateY(-53%) scaleX(-1) scale(1.02); filter: brightness(1.6) contrast(2) drop-shadow(0 0 30px var(--neon)); }
}

@media (max-width: 980px) {
    .side-art-container,
    .side-runes {
        display: none !important;
    }
}

@media (max-width: 720px) {
    body {
        padding-top: 112px;
    }

    .vkg-theme-nav {
        flex-wrap: wrap;
        height: auto;
        min-height: 58px;
        padding: 10px 12px;
    }

    .vkg-credit {
        display: none;
    }

    .site-header {
        top: 104px;
    }

    .audio-manager {
        bottom: 12px;
        left: 12px;
        transform: scale(0.9);
        transform-origin: left bottom;
    }

    .rust-vkg-logo {
        margin-left: auto;
        margin-right: auto;
    }
}


/* Single VKG-SITE top bar on Rust Hub */
.vkg-theme-nav {
    overflow-x: auto;
    scrollbar-width: none;
    white-space: nowrap;
}

.vkg-theme-nav::-webkit-scrollbar {
    display: none;
}

@media (max-width: 900px) {
    .vkg-theme-nav {
        justify-content: flex-start;
    }

    .vkg-nav-btn {
        flex: 0 0 auto;
    }
}
