.minecraft-page {
    background:
        radial-gradient(ellipse at 10% 26%, rgba(74, 169, 90, 0.08), transparent 36%),
        radial-gradient(ellipse at 88% 34%, rgba(37, 158, 135, 0.08), transparent 34%),
        #f8faf9;
    color: #1b2b30;
}

.minecraft-hero {
    max-width: 950px;
    margin: 0 auto;
    padding: 66px 24px 36px;
    text-align: center;
}

.minecraft-eyebrow {
    color: #398f78;
    font-size: 12px;
    font-weight: 850;
    letter-spacing: 0.16em;
}

.minecraft-hero h1 {
    margin: 18px 0 12px;
    color: #19242c;
    font-family: Inter, "Segoe UI", Arial, sans-serif;
    font-size: clamp(38px, 5vw, 62px);
    font-weight: 850;
    letter-spacing: -0.055em;
    line-height: 1.1;
}

.minecraft-hero h1 span {
    background: linear-gradient(105deg, #3aa764, #248f9b);
    background-clip: text;
    color: transparent;
    -webkit-background-clip: text;
}

.minecraft-hero > p {
    max-width: 680px;
    margin: 0 auto;
    color: #5d6c70;
    font-size: 16px;
    line-height: 1.6;
}

.minecraft-cpu-options {
    display: grid;
    width: min(calc(100% - 72px), 900px);
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 20px;
    margin: 18px auto 68px;
}

.minecraft-cpu-card {
    position: relative;
    display: flex;
    min-width: 0;
    min-height: 230px;
    flex-direction: column;
    align-items: flex-start;
    overflow: hidden;
    padding: 25px;
    border: 2px solid #dfe8e2;
    border-radius: 16px;
    background: linear-gradient(135deg, #e8f1ed, #dce8e8 54%, #d4e1e8);
    box-shadow: 0 12px 25px rgba(31, 57, 49, 0.1);
    color: #1b2b30;
    cursor: pointer;
    font: inherit;
    text-align: left;
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.minecraft-cpu-card:hover {
    box-shadow: 0 18px 32px rgba(31, 70, 58, 0.15);
}

.minecraft-cpu-card.is-selected {
    border-color: #39a77a;
    box-shadow: 0 16px 34px rgba(43, 149, 107, 0.18);
}

.minecraft-cpu-card > * {
    position: relative;
    z-index: 1;
}

.minecraft-cpu-badge {
    display: inline-flex;
    min-height: 25px;
    align-items: center;
    padding: 0 11px;
    border-radius: 999px;
    background: rgba(51, 173, 132, 0.17);
    color: #25866c;
    font-size: 11px;
    font-weight: 800;
}

.minecraft-cpu-badge.ryzen-badge {
    background: rgba(238, 165, 91, 0.2);
    color: #9a612d;
}

.minecraft-cpu-select-state {
    position: absolute;
    z-index: 2;
    top: 16px;
    right: 16px;
    display: grid;
    min-width: 29px;
    height: 29px;
    place-items: center;
    padding: 0 7px;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.86);
    color: #668079;
    font-size: 12px;
    font-weight: 800;
}

.is-selected .minecraft-cpu-select-state {
    width: 29px;
    padding: 0;
    background: #31ad7d;
    color: #fff;
    font-size: 16px;
}

.minecraft-cpu-art {
    position: absolute;
    z-index: 0;
    top: 30px;
    right: 14px;
    color: rgba(255, 255, 255, 0.66);
    font-size: clamp(45px, 7vw, 82px);
    font-weight: 900;
    letter-spacing: -0.08em;
    line-height: 1;
    pointer-events: none;
    user-select: none;
}

.amd-cpu-art {
    top: 35px;
    font-size: clamp(56px, 8vw, 94px);
}

.ryzen-cpu-art {
    top: 25px;
    right: 18px;
    color: rgba(255, 241, 224, 0.68);
    font-size: clamp(42px, 6vw, 74px);
}

.minecraft-cpu-name {
    margin-top: 13px;
    color: #1b2b30;
    font-size: 27px;
    font-weight: 850;
    letter-spacing: -0.025em;
}

.minecraft-cpu-description {
    max-width: 390px;
    margin-top: 7px;
    color: #53666a;
    font-size: 14px;
    line-height: 1.55;
}

.minecraft-cpu-note {
    max-width: 390px;
    margin-top: 10px;
    color: #71817e;
    font-size: 11px;
    line-height: 1.45;
}

.minecraft-plans {
    padding: 0 36px 82px;
    scroll-margin-top: 90px;
}

.minecraft-plans-heading {
    margin: 0 auto 30px;
    text-align: center;
}

.minecraft-plans-heading h2 {
    display: inline-flex;
    min-height: 60px;
    align-items: center;
    gap: 12px;
    margin: 0 0 12px;
    padding: 0 27px;
    border: 1px solid #e5ece8;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.9);
    box-shadow: 0 8px 23px rgba(31, 57, 49, 0.06);
    color: #1b2b30;
    font-size: 23px;
    font-weight: 850;
}

.minecraft-plans-heading h2 > span:first-child {
    width: 13px;
    height: 13px;
    border-radius: 50%;
    background: linear-gradient(135deg, #47b452, #259e87);
}

.minecraft-plans-heading p {
    margin: 0;
    color: #5d6c70;
    font-size: 15px;
}

.minecraft-plan-grid {
    display: grid;
    width: min(100%, 1298px);
    grid-template-columns: repeat(3, minmax(0, 1fr));
    align-items: stretch;
    gap: 30px;
    margin: 0 auto;
}

.minecraft-plan-card {
    position: relative;
    display: flex;
    min-width: 0;
    flex-direction: column;
    padding: 22px 23px 24px;
    border: 1px solid #e1e8e4;
    border-radius: 17px;
    background: rgba(255, 255, 255, 0.94);
    box-shadow: 0 11px 25px rgba(31, 57, 49, 0.11);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.minecraft-plan-card:hover {
    transform: translateY(-4px);
    border-color: #a8d2bf;
    box-shadow: 0 18px 34px rgba(31, 70, 58, 0.16);
}

.scroll-reveal-ready .minecraft-plan-card.is-visible:hover {
    transform: translateY(-4px);
}

.minecraft-plan-card h3 {
    margin: 0 0 9px;
    color: #398f78;
    font-size: 22px;
    font-weight: 850;
    text-align: center;
}

.minecraft-popular-badge {
    position: absolute;
    top: -13px;
    left: 50%;
    min-width: 96px;
    padding: 6px 13px;
    transform: translateX(-50%);
    border-radius: 999px;
    background: linear-gradient(100deg, #ffd324, #ff8c17);
    box-shadow: 0 5px 12px rgba(171, 120, 25, 0.2);
    color: #17232a;
    font-size: 10px;
    font-weight: 900;
    text-align: center;
}

.minecraft-plan-price {
    display: flex;
    min-height: 76px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    margin-bottom: 15px;
    border: 1px solid #d2d9df;
    border-radius: 13px;
    background: linear-gradient(135deg, #f1f3f5, #e2e6ea);
    box-shadow: 0 3px 5px rgba(22, 40, 50, 0.13);
}

.minecraft-plan-price strong {
    color: #18222e;
    font-size: 25px;
    font-weight: 900;
    letter-spacing: -0.03em;
}

.minecraft-plan-price span {
    margin-top: 2px;
    color: #627077;
    font-size: 11px;
}

.minecraft-plan-highlights {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 11px;
    margin-bottom: 15px;
}

.minecraft-plan-highlights > div {
    display: flex;
    min-height: 54px;
    flex-direction: column;
    justify-content: center;
    overflow: hidden;
    padding: 7px 9px;
    border: 1px solid;
}

.minecraft-plan-highlights strong {
    overflow: hidden;
    font-size: 13px;
    font-weight: 850;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.minecraft-plan-highlights span {
    overflow: hidden;
    margin-top: 2px;
    font-size: 10px;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.highlight-ram {
    border-color: #d9caef !important;
    background: #f6f1fc;
    color: #6d45a8;
}

.highlight-cpu {
    border-color: #bfe8cf !important;
    background: #f0fbf4;
    color: #267447;
}

.highlight-storage {
    border-color: #e5d2f0 !important;
    background: #fbf5ff;
    color: #77469b;
}

.highlight-ports {
    border-color: #f3d68e !important;
    background: #fffaeb;
    color: #8d5722;
}

.minecraft-plan-specs {
    display: grid;
    gap: 6px;
    margin: 0 0 14px;
}

.minecraft-plan-specs > div {
    display: flex;
    min-height: 33px;
    align-items: center;
    justify-content: space-between;
    gap: 8px;
    padding: 6px 9px;
    background: #f1f3f5;
    font-size: 11px;
}

.minecraft-plan-specs dt {
    color: #58666d;
}

.minecraft-plan-specs dd {
    overflow: hidden;
    margin: 0;
    color: #35434e;
    font-size: 11px;
    font-weight: 800;
    text-align: right;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.minecraft-plan-features h4 {
    margin: 0 0 8px;
    color: #3a4851;
    font-size: 12px;
    font-weight: 850;
}

.minecraft-plan-features ul {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 5px 8px;
    margin: 0 0 16px;
    padding: 0;
    list-style: none;
}

.minecraft-plan-features li {
    display: flex;
    align-items: flex-start;
    gap: 5px;
    color: #56646a;
    font-size: 10px;
    line-height: 1.35;
}

.minecraft-plan-features li::before {
    flex: 0 0 auto;
    color: #31b875;
    content: "✓";
    font-size: 12px;
    font-weight: 900;
}

.minecraft-order-button {
    display: flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 8px;
    margin-top: auto;
    border-radius: 11px;
    background: linear-gradient(105deg, #08a176, #16b8a4);
    box-shadow: 0 6px 13px rgba(12, 143, 115, 0.18);
    color: #fff;
    font-size: 14px;
    font-weight: 850;
    transition: transform 150ms ease, filter 150ms ease;
}

.minecraft-order-button:hover {
    transform: translateY(-2px);
    filter: brightness(1.04);
}

.minecraft-order-button > span {
    font-size: 21px;
}

.minecraft-plans.is-switching .minecraft-plan-card {
    animation: minecraft-plan-enter 260ms ease both;
}

@keyframes minecraft-plan-enter {
    from {
        transform: translateY(10px);
        opacity: 0.55;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@media (max-width: 1000px) {
    .minecraft-plan-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 24px;
    }
}

@media (max-width: 700px) {
    .minecraft-hero {
        padding: 48px 18px 27px;
    }

    .minecraft-hero h1 {
        font-size: clamp(36px, 10vw, 48px);
    }

    .minecraft-hero > p {
        font-size: 14px;
    }

    .minecraft-cpu-options {
        width: calc(100% - 32px);
        grid-template-columns: minmax(0, 1fr);
        gap: 13px;
        margin: 12px auto 50px;
    }

    .minecraft-cpu-card {
        min-height: 215px;
        padding: 21px;
    }

    .minecraft-cpu-name {
        max-width: 76%;
        font-size: 24px;
    }

    .minecraft-cpu-description,
    .minecraft-cpu-note {
        max-width: 78%;
    }

    .minecraft-plans {
        padding: 0 16px 60px;
    }

    .minecraft-plans-heading h2 {
        min-height: 52px;
        gap: 8px;
        padding: 0 17px;
        font-size: 18px;
    }

    .minecraft-plans-heading p {
        font-size: 13px;
        line-height: 1.5;
    }

    .minecraft-plan-grid {
        grid-template-columns: minmax(0, 1fr);
        gap: 24px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .minecraft-cpu-card,
    .minecraft-plan-card,
    .minecraft-order-button {
        transition: none;
    }

    .minecraft-plans.is-switching .minecraft-plan-card {
        animation: none;
    }
}
