:root {
    --bg0: #050712;
    --bg1: #090f1f;
    --bg-card: #0e1731de;
    --card: #0e1731de;
    --card2: #0b1328cf;
    --stroke: rgba(122, 198, 255, .20);
    --stroke2: rgba(122, 198, 255, .34);

    --text: #e8f1ff;
    --muted: rgba(226, 240, 255, .76);
    --muted2: rgba(226, 240, 255, .56);

    --accent: #5cf2ff;
    --accent2: #ff6bd8;
    --good: #42e796;
    --warn: #ffd166;

    --shadow: 0 18px 60px rgba(0, 0, 0, .55);
    --shadow2: 0 10px 30px rgba(0, 0, 0, .42);

    /* Game-specific color - Minecraft green */
    --game-color: #4caf50;
    --game-glow: rgba(76, 175, 80, 0.4);

    --mono: "JetBrains Mono", "IBM Plex Mono", "SF Mono", SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", "Courier New", monospace;
    --sans: "JetBrains Mono", "IBM Plex Mono", "Space Mono", "SF Mono", monospace;

    --r1: 18px;
    --r2: 24px;
    --max: 1160px;
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    background:
        radial-gradient(120% 70% at 20% 20%, rgba(92, 242, 255, 0.25), transparent 55%),
        radial-gradient(100% 60% at 80% 0%, rgba(255, 107, 216, 0.18), transparent 60%),
        radial-gradient(80% 80% at 50% 90%, rgba(111, 143, 255, 0.25), transparent 65%),
        linear-gradient(180deg, #060a18 0%, #040712 60%, #03050e 100%);
    background-attachment: fixed;
    color: var(--text);
    font-family: var(--sans);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Star background */
#stars-bg {
    position: fixed;
    inset: 0;
    z-index: -1;
    pointer-events: none;
}

.wrap {
    width: min(1200px, 92%);
    margin: 0 auto;
}

.skip-link {
    position: absolute;
    left: -9999px;
}

/* Header */
header {
    padding: 20px 0;
    position: fixed;
    width: 100%;
    z-index: 100;
    background: rgba(5, 7, 18, 0.5);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--stroke);
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.panel {
    border: 1px solid rgba(122, 198, 255, .12);
    border-radius: var(--r2);
    background: linear-gradient(180deg, rgba(10, 15, 28, .88), rgba(8, 12, 22, .76));
    overflow: hidden;
    position: relative;
    isolation: isolate;
}

.panel::after {
    content: "";
    position: absolute;
    inset: 0;
    background-image: radial-gradient(rgba(255, 255, 255, .08) .5px, transparent .5px);
    background-size: 3px 3px;
    opacity: .02;
    pointer-events: none;
    z-index: 0;
}

.panel::before {
    content: "";
    position: absolute;
    inset: -1px;
    background: radial-gradient(900px 380px at 15% 0%, rgba(95, 234, 255, .08), transparent 55%),
        radial-gradient(700px 320px at 90% 20%, rgba(176, 140, 255, .05), transparent 55%);
    opacity: .65;
    pointer-events: none;
    z-index: 0;
}

.brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.brand h1 {
    margin: 0;
    font-size: 14px;
    font-weight: 670;
    letter-spacing: .03em;
    text-transform: uppercase;
    animation: glitchFlicker 8s steps(1) infinite;
}

.logo {
    width: 210px;
    height: 90px;
    background: url('https://plazzma.cloud/logo-plazzma.png') center/contain no-repeat;
    border-radius: 14px;
    box-shadow: none;
    flex-shrink: 0;
}
.brand h1,
.brand .brand-text,
.brand span:not(.logo) {
    display: none;
}

.navlinks {
    display: flex;
    align-items: center;
    gap: 8px;
}

.navlinks a {
    color: var(--muted);
    text-decoration: none;
    padding: 8px 10px;
    font-size: 13px;
    transition: color 0.2s;
    border-radius: 8px;
    letter-spacing: .03em;
}

.navlinks a:hover {
    color: #fff;
}

.btn-nav {
    background: rgba(100, 243, 255, 0.1) !important;
    border: 1px solid var(--accent);
    color: var(--accent) !important;
}

/* Hero Section */
.hero-game {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    padding-top: 100px;
    overflow: hidden;
}

.hero-minecraft {
    background:
        radial-gradient(ellipse 80% 50% at 50% 0%, rgba(76, 175, 80, 0.12), transparent 50%),
        radial-gradient(ellipse 60% 40% at 80% 100%, rgba(176, 140, 255, 0.06), transparent 40%);
}

.hero-glow {
    position: absolute;
    top: -200px;
    left: 50%;
    transform: translateX(-50%);
    width: 800px;
    height: 600px;
    background: radial-gradient(circle, rgba(76, 175, 80, 0.2), transparent 60%);
    filter: blur(80px);
    pointer-events: none;
}

.hero-game .wrap {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
}

.hero-content {
    z-index: 2;
}

.badge-group {
    display: flex;
    gap: 12px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(76, 175, 80, 0.1);
    color: var(--game-color);
    padding: 8px 14px;
    border-radius: 99px;
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.03em;
    border: 1px solid rgba(76, 175, 80, 0.25);
}

.badge.perf {
    background: rgba(255, 209, 102, 0.1);
    color: var(--warn);
    border-color: rgba(255, 209, 102, 0.25);
}

h1 {
    font-size: clamp(42px, 5vw, 64px);
    line-height: 1.1;
    margin: 0 0 24px;
    letter-spacing: -0.02em;
    font-weight: 800;
}

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

.lead {
    font-size: 18px;
    color: var(--muted);
    line-height: 1.7;
    max-width: 540px;
    margin-bottom: 32px;
}

.lead strong {
    color: var(--text);
}

/* Hero Stats */
.hero-stats {
    display: flex;
    gap: 16px;
    margin-bottom: 32px;
    flex-wrap: nowrap;
}

.hero-stat {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--stroke);
    padding: 10px 14px;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.stat-ring {
    width: 36px;
    height: 36px;
    position: relative;
}

.stat-ring svg {
    width: 100%;
    height: 100%;
    transform: rotate(-90deg);
}

.stat-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.25);
    border-radius: 10px;
    color: var(--game-color);
}

.stat-info {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.stat-info .stat-value {
    font-size: 16px;
    font-weight: 800;
    color: #fff;
    font-family: var(--mono);
    line-height: 1;
}

.stat-info .stat-label {
    font-size: 10px;
    color: var(--muted2);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

/* CTA */
.cta-group {
    display: flex;
    align-items: center;
    gap: 24px;
    flex-wrap: wrap;
}

.btn-primary {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, var(--game-color), #2e7d32);
    color: #fff;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    transition: all 0.25s ease;
    box-shadow: 0 4px 20px var(--game-glow);
    position: relative;
    overflow: hidden;
}

.btn-primary::after {
    content: "";
    position: absolute;
    inset: -2px;
    background: linear-gradient(110deg, transparent 42%, rgba(255, 255, 255, .45) 50%, transparent 58%);
    transform: translateX(-120%);
    animation: sweepLine 3.2s ease-in-out infinite;
    pointer-events: none;
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 30px var(--game-glow);
}

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

.meta strong {
    color: var(--game-color);
    font-size: 18px;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: transparent;
}

/* 3D Cube */
.minecraft-cube {
    width: 120px;
    height: 120px;
    position: relative;
    transform-style: preserve-3d;
    animation: rotateCube 20s linear infinite;
}

@keyframes rotateCube {
    0% {
        transform: rotateX(-20deg) rotateY(0deg);
    }

    100% {
        transform: rotateX(-20deg) rotateY(360deg);
    }
}

.cube-face {
    position: absolute;
    width: 120px;
    height: 120px;
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.3), rgba(27, 94, 32, 0.5));
    border: 2px solid rgba(76, 175, 80, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 32px;
    box-shadow: inset 0 0 30px rgba(76, 175, 80, 0.2);
}

.cube-face.front {
    transform: translateZ(60px);
}

.cube-face.back {
    transform: rotateY(180deg) translateZ(60px);
}

.cube-face.right {
    transform: rotateY(90deg) translateZ(60px);
}

.cube-face.left {
    transform: rotateY(-90deg) translateZ(60px);
}

.cube-face.top {
    transform: rotateX(90deg) translateZ(60px);
    background: linear-gradient(135deg, rgba(76, 175, 80, 0.5), rgba(27, 94, 32, 0.7));
}

.cube-face.bottom {
    transform: rotateX(-90deg) translateZ(60px);
}

/* Floating Particles */
.floating-particles {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.floating-particles span {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--game-color);
    border-radius: 2px;
    opacity: 0.6;
    animation: floatParticle 4s ease-in-out infinite;
}

.floating-particles span:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-particles span:nth-child(2) {
    top: 60%;
    left: 10%;
    animation-delay: 0.5s;
}

.floating-particles span:nth-child(3) {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.floating-particles span:nth-child(4) {
    bottom: 30%;
    right: 30%;
    animation-delay: 1.5s;
}

.floating-particles span:nth-child(5) {
    bottom: 20%;
    left: 30%;
    animation-delay: 2s;
}

@keyframes floatParticle {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.6;
    }

    50% {
        transform: translateY(-20px) rotate(45deg);
        opacity: 1;
    }
}

/* Console Preview */
.console-preview {
    position: absolute;
    bottom: 20px;
    right: -40px;
    width: 320px;
    background: rgba(5, 7, 18, 0.95);
    border: 1px solid var(--stroke);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.console-header {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 14px;
    background: rgba(0, 0, 0, 0.3);
    border-bottom: 1px solid var(--stroke);
}

.console-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: #ff5f57;
}

.console-dot:nth-child(2) {
    background: #ffbd2e;
}

.console-dot:nth-child(3) {
    background: #28c840;
}

.console-title {
    margin-left: auto;
    font-size: 11px;
    color: var(--muted2);
    font-family: var(--font-mono);
}

.console-body {
    padding: 14px;
    font-family: var(--font-mono);
    font-size: 11px;
    line-height: 1.8;
}

.console-line {
    color: var(--muted);
}

.console-line .time {
    color: var(--muted2);
}

.console-line .info {
    color: var(--accent);
}

.console-line.success {
    color: var(--good);
}

.console-line .done {
    color: var(--good);
}

.cursor {
    animation: blink 1s step-end infinite;
    color: var(--game-color);
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Section Styling */
.section-head {
    text-align: center;
    margin-bottom: 60px;
}

.section-head h2 {
    font-size: 36px;
    margin: 0 0 12px;
    font-weight: 800;
}

.section-head p {
    color: var(--muted);
    font-size: 16px;
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 100px 0;
    background: transparent;
}

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

.feature-card {
    background: linear-gradient(135deg, rgba(14, 23, 49, 0.7), rgba(9, 15, 31, 0.8));
    padding: 32px;
    border-radius: var(--r2);
    border: 1px solid var(--stroke);
    box-shadow:
        inset 0 0 20px rgba(122, 198, 255, 0.03),
        0 10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--game-color), transparent);
    opacity: 0;
    transition: opacity 0.3s;
}

.feature-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: var(--game-color);
    box-shadow:
        inset 0 0 25px rgba(76, 175, 80, 0.08),
        0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon {
    width: 56px;
    height: 56px;
    background: rgba(76, 175, 80, 0.1);
    border: 1px solid rgba(76, 175, 80, 0.25);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
    color: var(--game-color);
}

.feature-icon.shield {
    color: var(--accent);
    background: rgba(100, 243, 255, 0.1);
    border-color: rgba(100, 243, 255, 0.25);
}

.feature-icon.box {
    color: var(--accent2);
    background: rgba(176, 140, 255, 0.1);
    border-color: rgba(176, 140, 255, 0.25);
}

.feature-icon.globe {
    color: var(--warn);
    background: rgba(255, 209, 102, 0.1);
    border-color: rgba(255, 209, 102, 0.25);
}

.feature-card h3 {
    margin: 0 0 12px;
    font-size: 20px;
    font-weight: 700;
}

.feature-card p {
    margin: 0 0 20px;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

.feature-tags {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.feature-tags li {
    background: rgba(76, 175, 80, 0.1);
    color: var(--game-color);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 600;
}

/* Plans Section */
.plans-section {
    padding: 100px 0;
    background: transparent;
}

.plans-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    max-width: 1080px;
    margin: 0 auto;
}

.plan-card {
    background: linear-gradient(180deg, rgba(14, 23, 49, 0.7), rgba(9, 15, 31, 0.85));
    border: 1px solid var(--stroke);
    border-radius: var(--r2);
    padding: 32px;
    position: relative;
    backdrop-filter: blur(12px);
    box-shadow:
        inset 0 0 20px rgba(122, 198, 255, 0.03),
        0 15px 35px rgba(0, 0, 0, 0.25);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    display: flex;
    flex-direction: column;
}

.plan-card:hover {
    transform: translateY(-10px) scale(1.01);
    border-color: rgba(122, 198, 255, 0.5);
    box-shadow:
        inset 0 0 30px rgba(122, 198, 255, 0.05),
        0 25px 50px rgba(0, 0, 0, 0.4);
}

.plan-card.featured {
    background: linear-gradient(180deg, rgba(76, 175, 80, 0.1), rgba(14, 23, 49, 0.95));
    border: 2px solid var(--game-color);
    transform: scale(1.04);
    z-index: 2;
    box-shadow:
        0 0 40px rgba(76, 175, 80, 0.15),
        0 20px 60px rgba(0, 0, 0, 0.4);
}

.plan-card.featured:hover {
    transform: scale(1.04) translateY(-10px);
    box-shadow:
        0 0 50px rgba(76, 175, 80, 0.2),
        0 30px 70px rgba(0, 0, 0, 0.5);
}

.featured-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, var(--game-color), #2e7d32);
    color: #fff;
    font-size: 11px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 6px 14px;
    border-radius: 99px;
    letter-spacing: 0.05em;
}

.plan-tier {
    font-size: 10px;
    color: var(--muted2);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 4px;
}

.plan-name {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 16px;
}

.plan-price {
    display: flex;
    align-items: baseline;
    margin-bottom: 24px;
}

.plan-price .currency {
    font-size: 20px;
    color: var(--game-color);
    font-weight: 700;
}

.plan-price .amount {
    font-size: 48px;
    font-weight: 800;
    color: #fff;
    line-height: 1;
    font-family: var(--font-mono);
}

.plan-price .period {
    font-size: 14px;
    color: var(--muted);
    margin-left: 4px;
}

.plan-specs {
    list-style: none;
    padding: 0;
    margin: 0 0 24px;
    flex: 1;
}

.plan-specs li {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--muted);
    font-size: 13px;
}

.plan-specs li:last-child {
    border-bottom: none;
}

.plan-specs li svg {
    color: var(--game-color);
    flex-shrink: 0;
}

.plan-specs li strong {
    color: #fff;
}

.plan-btn {
    display: block;
    text-align: center;
    padding: 12px 14px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 13px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--stroke);
    color: #fff;
    transition: all 0.25s ease;
}

.plan-btn:hover {
    background: rgba(76, 175, 80, 0.1);
    border-color: var(--game-color);
    color: var(--game-color);
}

.plan-btn.primary {
    background: linear-gradient(135deg, var(--game-color), #2e7d32);
    border: none;
    color: #fff;
}

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

/* FAQ Section */
.faq-section {
    padding: 100px 0;
    background: transparent;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--stroke);
    border-radius: var(--r2);
    padding: 28px;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(122, 198, 255, 0.4);
}

.faq-item h4 {
    margin: 0 0 12px;
    font-size: 16px;
    font-weight: 700;
    color: #fff;
}

.faq-item p {
    margin: 0;
    color: var(--muted);
    font-size: 14px;
    line-height: 1.7;
}

/* Footer */
footer {
    padding: 40px 0;
    border-top: 1px solid var(--stroke);
    background: linear-gradient(180deg, transparent, rgba(5, 7, 18, 0.8));
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-brand {
    display: flex;
    align-items: center;
    gap: 12px;
}

.footer-brand .logo {
    width: 180px;
    height: 72px;
}

.footer-brand span {
    font-size: 14px;
    font-weight: 670;
    letter-spacing: .03em;
    text-transform: uppercase;
}

footer small {
    color: var(--muted2);
    font-size: 13px;
}

/* Responsive */
@media (max-width: 1024px) {
    .plans-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 24px;
    }

    .plan-card.featured {
        transform: scale(1);
    }
}

@media (max-width: 900px) {
    .hero-game .wrap {
        grid-template-columns: 1fr;
        text-align: center;
        padding-top: 120px;
    }

    .hero-content {
        order: 2;
    }

    .hero-visual {
        order: 1;
        height: 300px;
    }

    .badge-group,
    .hero-stats,
    .cta-group {
        justify-content: center;
    }

    .lead {
        margin-left: auto;
        margin-right: auto;
    }

    .console-preview {
        display: none;
    }

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

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

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

@keyframes sweepLine {
    0% {
        transform: translateX(-120%);
        opacity: 0;
    }

    45% {
        opacity: .45;
    }

    100% {
        transform: translateX(120%);
        opacity: 0;
    }
}

@keyframes glitchFlicker {

    0%,
    91%,
    100% {
        transform: none;
    }

    92% {
        transform: translateX(.5px);
    }

    94% {
        transform: translateX(-.5px);
    }
}
