body {
    font-family: 'Inter', sans-serif;
    background:
        radial-gradient(ellipse at 14% 0%, rgba(8, 145, 178, 0.12), transparent 38rem),
        radial-gradient(ellipse at 90% 16%, rgba(37, 99, 235, 0.1), transparent 34rem),
        #070b14;
    color: #f3f4f6;
    overflow-x: hidden;
    min-height: 100vh;
}

#starfield {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    opacity: 0.32;
}

.glass-panel {
    background: rgba(15, 23, 42, 0.72);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(148, 163, 184, 0.14);
    box-shadow: 0 16px 48px rgba(0, 0, 0, 0.18);
    transition: border-color 180ms ease, background-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.glass-panel:hover {
    border-color: rgba(34, 211, 238, 0.36);
}

.minecraft-icon {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.plan-card {
    background: linear-gradient(155deg, rgba(17, 27, 46, 0.94), rgba(10, 15, 27, 0.96));
    border: 1px solid rgba(148, 163, 184, 0.15);
    box-shadow: 0 16px 42px rgba(0, 0, 0, 0.2);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.plan-card:hover {
    transform: translateY(-4px);
    border-color: rgba(34, 211, 238, 0.42);
    box-shadow: 0 24px 52px rgba(0, 0, 0, 0.3);
}

.game-tab {
    min-width: 9rem;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.72);
    color: #cbd5e1;
}

.game-tab:hover {
    background: rgba(30, 41, 59, 0.96);
    color: #fff;
}

.game-tab-active,
.game-tab-active:hover {
    position: relative;
    z-index: 1;
    border-color: rgba(34, 211, 238, 0.75);
    background: linear-gradient(135deg, #22d3ee, #38bdf8);
    color: #07111f;
    box-shadow: 0 8px 24px rgba(6, 182, 212, 0.2);
}

.game-tab:focus-visible,
.cpu-select:focus-visible {
    outline: 2px solid #67e8f9;
    outline-offset: 3px;
}

.game-icon-frame {
    width: 4.5rem;
    height: 4.5rem;
    display: grid;
    place-items: center;
    flex: 0 0 auto;
    overflow: hidden;
    perspective: 700px;
    border: 1px solid rgba(148, 163, 184, 0.17);
    border-radius: 1.1rem;
    background: linear-gradient(145deg, rgba(30, 41, 59, 0.94), rgba(15, 23, 42, 0.96));
    box-shadow: inset 0 1px rgba(255, 255, 255, 0.04);
}

.game-icon-frame img {
    width: 3.25rem;
    height: 3.25rem;
    object-fit: contain;
}

.game-icon-frame .minecraft-icon {
    image-rendering: pixelated;
    image-rendering: crisp-edges;
}

.minecraft-block-icon {
    position: relative;
    width: 2.65rem;
    height: 2.65rem;
    transform: rotateX(-25deg) rotateY(-45deg);
    transform-style: preserve-3d;
}

.minecraft-block-face {
    position: absolute;
    inset: 0;
    border: 1px solid rgba(255, 255, 255, 0.18);
    background-image: var(--ore-texture);
    background-size: cover;
    background-repeat: no-repeat;
    image-rendering: pixelated;
    backface-visibility: hidden;
}

.minecraft-block-front {
    transform: translateZ(1.325rem);
}

.minecraft-block-right {
    transform: rotateY(90deg) translateZ(1.325rem);
    filter: brightness(0.72);
}

.minecraft-block-top {
    transform: rotateX(90deg) translateZ(1.325rem);
    filter: brightness(1.16);
}

.game-icon-frame .fivem-icon {
    width: 3.6rem;
    height: 2.2rem;
}

.service-card {
    background: linear-gradient(155deg, rgba(17, 27, 46, 0.84), rgba(10, 15, 27, 0.9));
    border: 1px solid rgba(148, 163, 184, 0.14);
    transition: transform 180ms ease, border-color 180ms ease, box-shadow 180ms ease;
}

.service-card:hover {
    transform: translateY(-3px);
    border-color: rgba(34, 211, 238, 0.4);
    box-shadow: 0 20px 44px rgba(0, 0, 0, 0.25);
}

.cpu-select {
    color-scheme: dark;
    border: 1px solid rgba(148, 163, 184, 0.2);
    background: rgba(15, 23, 42, 0.92);
}

.cpu-select:focus {
    outline: 2px solid rgba(34, 211, 238, 0.55);
    outline-offset: 2px;
}

::selection {
    background: rgba(34, 211, 238, 0.75);
    color: #020617;
}

html {
    scroll-padding-top: 100px;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}
