:root {
    --bg-color: #050505;
    --card-bg: rgba(20, 20, 20, 0.6);
    --gold-primary: #FFD700;
    --gold-secondary: #B8860B;
    --gold-gradient: linear-gradient(135deg, #FFD700 0%, #FDB931 50%, #B8860B 100%);
    --text-primary: #FFFFFF;
    --text-secondary: #CCCCCC;
    --glass-border: rgba(255, 215, 0, 0.15);
    --font-main: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: var(--font-main);
    background-color: var(--bg-color);
    color: var(--text-primary);
    overflow-x: hidden;
    line-height: 1.6;
    /* Page transition */
    animation: pageLoad 0.4s ease-out;
}

/* Page transition animations */
@keyframes pageLoad {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

body.page-exit {
    animation: pageExit 0.3s ease-in forwards;
}

@keyframes pageExit {
    from {
        opacity: 1;
        transform: translateY(0);
    }

    to {
        opacity: 0;
        transform: translateY(-10px);
    }
}

/* --- Background Effects --- */
.tech-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -2;
    /* Dot Grid Pattern */
    background-image: radial-gradient(rgba(255, 255, 255, 0.1) 1px, transparent 1px);
    background-size: 40px 40px;
    opacity: 0.5;
}

.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background: radial-gradient(circle at center, transparent 0%, var(--bg-color) 85%);
    pointer-events: none;
}

/* --- Header Premium --- */
header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    background: rgba(10, 10, 10, 0.85);
    border-bottom: 1px solid rgba(255, 215, 0, 0.1);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
}

header.scrolled {
    padding: 0.7rem 5%;
    background: rgba(5, 5, 5, 0.95);
    box-shadow: 0 4px 40px rgba(0, 0, 0, 0.5);
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo img {
    height: 45px;
    filter: drop-shadow(0 0 8px rgba(255, 215, 0, 0.3));
    transition: transform 0.3s ease;
}

.logo:hover img {
    transform: scale(1.05);
}

.logo span,
.nombre-empresa {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

/* Navigation */
nav {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-item {
    position: relative;
}

nav a,
.nav-link {
    text-decoration: none;
    color: var(--text-secondary);
    padding: 0.7rem 1.2rem;
    font-size: 0.95rem;
    font-weight: 500;
    border-radius: 8px;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 6px;
}

nav a:hover,
.nav-link:hover {
    color: var(--text-primary);
    background: rgba(255, 255, 255, 0.05);
}

nav a.active,
.nav-link.active {
    color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.1);
}

/* Dropdown arrow */
.nav-link .arrow {
    width: 12px;
    height: 12px;
    transition: transform 0.3s ease;
}

.nav-item:hover .arrow {
    transform: rotate(180deg);
}

/* Dropdown Menu */
.dropdown-menu {
    position: absolute;
    top: 100%;
    left: 0;
    min-width: 200px;
    background: rgba(15, 15, 15, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 215, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    opacity: 0;
    visibility: hidden;
    transform: translateY(10px);
    transition: all 0.3s ease;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.nav-item:hover .dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(5px);
}

.dropdown-menu a {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 0.8rem 1rem;
    color: var(--text-secondary);
    border-radius: 8px;
    transition: all 0.2s ease;
}

.dropdown-menu a:hover {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-primary);
    padding-left: 1.3rem;
}

.dropdown-menu a svg {
    width: 18px;
    height: 18px;
    color: var(--gold-primary);
}

/* Header CTA Button */
.header-cta {
    background: var(--gold-gradient);
    color: #000;
    padding: 0.7rem 1.5rem;
    border-radius: 10px;
    font-weight: 700;
    font-size: 0.9rem;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 215, 0, 0.3);
    border: none;
    cursor: pointer;
}

.header-cta:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 215, 0, 0.4);
}

/* Mobile Menu Toggle (hidden by default) */
.menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.menu-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
    border-radius: 2px;
    transition: all 0.3s ease;
}

.menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
}

.menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
}

/* Responsive Header */
@media (max-width: 900px) {
    nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(10, 10, 10, 0.98);
        flex-direction: column;
        padding: 1rem;
        border-bottom: 1px solid rgba(255, 215, 0, 0.1);
        transform: translateY(-150%);
        transition: transform 0.3s ease;
        z-index: 999;
    }

    nav.active {
        transform: translateY(0);
    }

    .menu-toggle {
        display: flex;
    }

    .nav-item {
        width: 100%;
    }

    nav a,
    .nav-link {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        opacity: 1;
        visibility: visible;
        transform: none;
        background: rgba(0, 0, 0, 0.3);
        margin-top: 0.5rem;
    }

    /* Keep header as a row on mobile */
    header {
        flex-direction: row;
        padding: 0.7rem 4%;
    }

    /* Shrink CTA button on mobile */
    .header-cta {
        padding: 0.5rem 0.9rem;
        font-size: 0.72rem;
        border-radius: 8px;
        white-space: nowrap;
    }

    .logo img {
        height: 35px;
    }

    .logo span,
    .nombre-empresa {
        font-size: 1.15rem;
    }

    /* Gauge / Metrics - single column on tablets+phones */
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
    }

    .metric-main {
        grid-row: auto;
        padding-right: 0;
    }

    .indicator-card {
        min-width: unset;
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.2rem;
    }

    .hardware-section,
    .hardware-content {
        overflow-x: hidden;
    }
}

@media (max-width: 768px) {
    .hero-content h1 {
        font-size: clamp(1.3rem, 4.5vw, 2rem);
        letter-spacing: 0;
    }

    .inicio {
        padding: 0 6%;
        min-height: 80vh;
    }

    .subtitle {
        font-size: 0.85rem;
    }

    .hero-buttons {
        flex-direction: column;
        gap: 12px;
    }

    .hero-buttons .button {
        width: 100%;
        text-align: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .games-section {
        padding: 4rem 5%;
    }

    .games-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }

    .hardware-section {
        padding: 4rem 5%;
    }

    .hardware-text h2 {
        font-size: clamp(1.2rem, 4vw, 2rem);
    }

    .hardware-text p {
        font-size: 0.9rem;
    }

    /* Gauge / Metrics on mobile */
    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
    }

    .metric-main {
        grid-row: auto;
        padding-right: 0;
    }

    .indicator-card {
        min-width: unset;
        width: 100%;
        max-width: 280px;
        padding: 1rem 1.2rem;
    }

    .hardware-section {
        overflow-x: hidden;
    }

    .hardware-content {
        overflow: hidden;
    }

    .gauge-container {
        width: 200px;
        height: 110px;
    }

    .gauge-mask {
        width: 220px;
        height: 110px;
    }

    .gauge-body,
    .gauge-fill {
        width: 220px;
        height: 220px;
    }

    .gauge-needle {
        height: 55px;
    }

    /* Panel section */
    .panel-section {
        padding: 4rem 5%;
    }

    .panel-content {
        gap: 2rem;
    }

    .panel-window {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }

    .footer-content {
        flex-direction: column;
    }

    .footer-links {
        gap: 2rem;
        width: 100%;
        justify-content: space-between;
    }
}

@media (max-width: 500px) {
    .header-cta {
        padding: 0.45rem 0.7rem;
        font-size: 0.65rem;
    }

    header {
        padding: 0.5rem 3%;
    }

    .logo span,
    .nombre-empresa {
        font-size: 0.95rem;
    }

    .logo img {
        height: 30px;
    }

    .hero-content h1 {
        font-size: clamp(1.15rem, 4vw, 1.5rem);
        letter-spacing: 0;
        font-weight: 700;
    }

    .subtitle {
        font-size: 0.75rem;
        padding: 0 0.5rem;
    }

    .tagline {
        font-size: 0.6rem;
        padding: 4px 12px;
    }

    .inicio {
        padding: 0 7%;
        min-height: 75vh;
    }

    .section-title {
        font-size: 1.6rem;
    }

    .hardware-text h2 {
        font-size: clamp(1.1rem, 3.8vw, 1.6rem);
        font-weight: 700;
    }

    .hardware-text p {
        font-size: 0.8rem;
    }

    .hardware-content {
        padding: 1.5rem;
        overflow: hidden;
    }

    .indicator-card {
        min-width: unset;
        width: 100%;
        padding: 0.8rem 1rem;
        gap: 0.6rem;
    }

    .indicator-icon {
        font-size: 1.4rem;
    }

    .indicator-value {
        font-size: 1.5rem;
    }

    .indicator-label {
        font-size: 0.65rem;
    }

    .gauge-container {
        width: 180px;
        height: 100px;
    }

    .gauge-mask {
        width: 200px;
        height: 100px;
    }

    .gauge-body,
    .gauge-fill {
        width: 200px;
        height: 200px;
    }

    .gauge-needle {
        height: 50px;
    }

    .games-section {
        padding: 3rem 4%;
    }

    .panel-section {
        padding: 3rem 4%;
    }

    .card-content {
        padding: 20px;
    }
}

.inicio {
    min-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
    animation: fadeUp 1s ease-out;
}

.hero-content {
    max-width: 900px;
}

.tagline {
    display: inline-block;
    padding: 6px 16px;
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--gold-primary);
    background: rgba(255, 215, 0, 0.05);
    margin-bottom: 1.5rem;
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.hero-content h1 {
    font-size: clamp(1.4rem, 5vw, 4.5rem);
    font-weight: 800;
    line-height: 1.15;
    margin-bottom: 1.5rem;
    letter-spacing: -1px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* Rotator Styling */
.rotator-container {
    height: 1.2em;
    overflow: hidden;
    position: relative;
    width: 100%;
    margin-top: 10px;
}

.rotator-container span {
    display: block;
    position: absolute;
    width: 100%;
    left: 0;
    top: 0;
    opacity: 0;
    transform: translateY(30px);
    animation: rotateText 12s infinite;
}

.rotator-container span:nth-child(1) {
    animation-delay: 0s;
}

.rotator-container span:nth-child(2) {
    animation-delay: 3s;
}

.rotator-container span:nth-child(3) {
    animation-delay: 6s;
}

.rotator-container span:nth-child(4) {
    animation-delay: 9s;
}

@keyframes rotateText {
    0% {
        opacity: 0;
        transform: translateY(30px);
    }

    5% {
        opacity: 1;
        transform: translateY(0);
    }

    25% {
        opacity: 1;
        transform: translateY(0);
    }

    30% {
        opacity: 0;
        transform: translateY(-30px);
    }

    100% {
        opacity: 0;
        transform: translateY(-30px);
    }
}

.gradient-text {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.2);
    display: block;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    margin-bottom: 3rem;
    font-weight: 300;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
}

.button {
    padding: 12px 30px;
    border-radius: 4px;
    /* Sharper corners for tech look */
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(5px);
}

/* Primary: Premium Gold Outline (Matches user preference for outlined style) */
.button.primary {
    background: rgba(255, 215, 0, 0.05);
    color: var(--gold-primary);
    border: 1px solid var(--gold-primary);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.1);
}

.button.primary:hover {
    background: var(--gold-primary);
    color: #000;
    /* Contrast on hover */
    box-shadow: 0 0 30px rgba(255, 215, 0, 0.4);
    transform: translateY(-2px);
}

/* Secondary: Minimalist White/Glass Outline */
.button.secondary {
    background: rgba(255, 255, 255, 0.02);
    color: #fff;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.button.secondary:hover {
    border-color: #fff;
    background: rgba(255, 255, 255, 0.1);
    box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* --- Cards Section --- */
.games-section {
    padding: 6rem 5%;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 4rem;
    font-weight: 700;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 40px;
}

.game-card {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.4s ease;
    backdrop-filter: blur(20px);
}

.game-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-8px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 215, 0, 0.1);
}

.card-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    opacity: 0.7;
    filter: grayscale(40%);
    transition: all 0.4s ease;
}

.game-card:hover .card-image img {
    opacity: 1;
    filter: grayscale(0%);
}

.card-content {
    padding: 30px;
    text-align: left;
}

.card-content h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: white;
}

.card-content .price {
    font-size: 1.1rem;
    color: var(--gold-primary);
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.btn {
    display: inline-block;
    padding: 10px 0;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.95rem;
    position: relative;
    transition: color 0.3s ease;
}

.btn:hover {
    color: var(--gold-primary);
}

.btn::after {
    content: '→';
    margin-left: 8px;
    transition: margin-left 0.3s ease;
}

.btn:hover::after {
    margin-left: 12px;
}

/* Animations */
@keyframes fadeUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* --- Hardware Section --- */
.hardware-section {
    padding: 8rem 5%;
    position: relative;
    overflow: hidden;
}

.hardware-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 4rem;
    background: rgba(20, 20, 20, 0.4);
    backdrop-filter: blur(20px);
    border: 1px solid var(--glass-border);
    border-radius: 24px;
    padding: 4rem;
    position: relative;
}

.hardware-content::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at center, rgba(255, 215, 0, 0.03), transparent 60%);
    pointer-events: none;
    z-index: -1;
}

.hardware-text {
    flex: 1;
    max-width: 600px;
}

.hardware-text h2 {
    font-size: clamp(1.3rem, 4.5vw, 3rem);
    font-weight: 800;
    margin-bottom: 1.5rem;
    line-height: 1.1;
    overflow-wrap: break-word;
    word-break: break-word;
}

.hardware-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    margin-bottom: 2.5rem;
}

.processors-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.proc-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.proc-item:hover {
    transform: translateX(10px);
    border-color: var(--gold-primary);
}

.proc-icon {
    width: 40px;
    height: 40px;
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
}

.proc-info h4 {
    color: white;
    font-size: 1.1rem;
    margin: 0;
}

.proc-info span {
    color: var(--gold-primary);
    font-size: 0.9rem;
    font-weight: 600;
}

/* Metrics Grid - Speedometer + Mini Indicators */
.metrics-grid {
    display: grid;
    grid-template-columns: auto auto;
    grid-template-rows: 1fr 1fr;
    gap: 1.5rem 3rem;
    /* More horizontal gap */
    margin-top: 3rem;
    align-items: center;
    justify-content: center;
}

.metric-item {
    /* Base styling for grid items */
}

/* Main metric (CPU gauge) spans both rows */
.metric-main {
    grid-row: 1 / 3;
    padding-right: 2rem;
    /* Space between speedometer and cards */
}

/* Speedometer Gauge */
.gauge-container {
    position: relative;
    width: 280px;
    height: 150px;
    overflow: visible;
}


/* The Mask: Clips the bottom half of the circles */
.gauge-mask {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 150px;
    /* Exact half height */
    overflow: hidden;
}

/* Background Track with Ticks */
.gauge-body {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    /* Create tick marks using repeating gradient */
    background: repeating-conic-gradient(from 270deg,
            rgba(255, 255, 255, 0.1) 0deg 2deg,
            transparent 2deg 6deg);
    /* Mask out the center to turn the pie into a ring */
    mask-image: radial-gradient(transparent 65%, black 66%);
    -webkit-mask-image: radial-gradient(transparent 65%, black 66%);
    box-sizing: border-box;
    opacity: 0.6;
}

/* Active Gold Fill */
.gauge-fill {
    position: absolute;
    top: 0;
    left: 0;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    /* Solid Gold Fill for precise alignment */
    background: conic-gradient(from 270deg,
            var(--gold-primary) 50%,
            transparent 50%);
    border: none;
    mask-image: radial-gradient(transparent 65%, black 66%);
    -webkit-mask-image: radial-gradient(transparent 65%, black 66%);

    transform: rotate(-180deg);
    z-index: 1;
    animation: gaugeFill 5s cubic-bezier(0.2, 0, 0.2, 1) forwards;
    filter: drop-shadow(0 0 15px rgba(255, 215, 0, 0.6));
}

/* The Needle */
.gauge-needle {
    position: absolute;
    bottom: 0px;
    left: 50%;
    margin-left: -3px;
    /* Center the needle pivot */
    width: 6px;
    height: 75px;
    /* Drastically shortened to stay inside arc */
    /* Gradient needle */
    background: linear-gradient(to top, var(--gold-primary) 40%, white 100%);
    transform-origin: bottom center;
    transform: rotate(-90deg);
    z-index: 2;
    border-radius: 50% 50% 2px 2px;
    box-shadow: 0 0 20px var(--gold-primary);
    /* Accelerate then Shake */
    animation:
        needleMove 5s cubic-bezier(0.2, 0, 0.2, 1) forwards,
        needleShake 0.1s linear 5s infinite alternate;
}

/* Center Pivot - High Tech Look */
.gauge-center {
    position: absolute;
    bottom: -15px;
    left: 50%;
    width: 60px;
    height: 30px;
    background: radial-gradient(circle at center, #333, #000);
    border: 2px solid var(--gold-primary);
    transform: translateX(-50%);
    border-top-left-radius: 60px;
    border-top-right-radius: 60px;
    z-index: 3;
    box-shadow: 0 -2px 20px rgba(255, 215, 0, 0.3);
}

.gauge-center::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 10px;
    height: 5px;
    background: var(--gold-primary);
    transform: translateX(-50%);
    border-radius: 10px 10px 0 0;
    box-shadow: 0 0 10px var(--gold-primary);
}

.gauge-stats {
    position: absolute;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    z-index: 4;
}

/* Feature Indicators */
.feature-indicators {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    margin-top: 2rem;
}

.indicator-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    min-width: 160px;
    transition: all 0.3s ease;
}

.indicator-card:hover {
    border-color: var(--gold-primary);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(255, 215, 0, 0.1);
}

.indicator-icon {
    font-size: 2rem;
}

/* Progress Bar Container */
.indicator-bar-container {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    overflow: hidden;
    position: relative;
}

/* Temperature Bar - Cyan/Blue for cold */
.indicator-bar.temp-bar {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #00BFFF, #00CED1, #40E0D0);
    border-radius: 10px;
    animation: tempFill 5s cubic-bezier(0.2, 0, 0.2, 1) forwards;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.5);
}

/* Network Bar - Gold gradient */
.indicator-bar.network-bar {
    height: 100%;
    width: 0%;
    background: var(--gold-gradient);
    border-radius: 10px;
    animation: networkFill 5s cubic-bezier(0.2, 0, 0.2, 1) forwards;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.5);
}

.indicator-stats {
    text-align: center;
}

.indicator-value {
    display: block;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-primary);
    line-height: 1;
    text-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.indicator-value small {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-left: 2px;
}

.indicator-label {
    display: block;
    font-size: 0.65rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-top: 5px;
}

@keyframes tempFill {
    0% {
        width: 0%;
    }

    100% {
        width: 30%;
    }

    /* Low temp = small bar = good */
}

@keyframes networkFill {
    0% {
        width: 0%;
    }

    100% {
        width: 100%;
    }

    /* High speed = full bar */
}


@keyframes needleMove {
    0% {
        transform: rotate(-90deg);
    }

    100% {
        transform: rotate(80deg);
    }
}

@keyframes needleShake {
    0% {
        transform: rotate(78deg);
    }

    100% {
        transform: rotate(82deg);
    }
}

@keyframes gaugeFill {
    from {
        transform: rotate(-180deg);
    }

    to {
        transform: rotate(0deg);
    }
}

.stat-value {
    display: block;
    font-size: 3rem;
    font-weight: 900;
    color: var(--gold-primary);
    line-height: 1;
    letter-spacing: -1px;
    text-shadow: 0 0 30px rgba(255, 215, 0, 0.5), 0 0 60px rgba(255, 215, 0, 0.3);
}

.stat-value #ghz-counter {
    font-size: 3.5rem;
    font-weight: 900;
}

.stat-value small {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.7);
    margin-left: 3px;
    font-weight: 600;
}

.stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 4px;
    margin-top: 8px;
}




@keyframes gaugeFill {
    from {
        transform: rotate(-135deg);
        opacity: 0;
    }

    to {
        transform: rotate(-10deg);
        opacity: 1;
    }
}

@media (max-width: 900px) {
    .hardware-content {
        flex-direction: column;
        text-align: center;
        padding: 2rem;
        overflow: hidden;
    }

    .hardware-text {
        max-width: 100%;
    }

    .processors-list {
        align-items: center;
    }

    .proc-item {
        width: 100%;
        max-width: 400px;
        justify-content: center;
    }

    .gauge-container {
        margin-bottom: 3rem;
    }

    .metrics-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
        justify-items: center;
    }

    .metric-main {
        grid-row: auto;
        padding-right: 0;
    }

    .indicator-card {
        min-width: unset;
        width: 100%;
        max-width: 300px;
        padding: 1rem 1.2rem;
    }
}

/* --- Footer --- */
footer {
    background: rgba(5, 5, 5, 0.95);
    border-top: 1px solid var(--glass-border);
    padding: 4rem 5% 1rem;
    margin-top: 4rem;
    position: relative;
    z-index: 10;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 2rem;
    margin-bottom: 3rem;
}

.footer-logo {
    flex: 1;
    min-width: 250px;
}

.footer-logo img {
    height: 40px;
    margin-bottom: 1rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 0.9rem;
    max-width: 300px;
}

.footer-links {
    display: flex;
    gap: 4rem;
    flex-wrap: wrap;
}

.link-group h4 {
    color: var(--gold-primary);
    margin-bottom: 1.2rem;
    font-size: 1.1rem;
}

.link-group a {
    display: block;
    color: var(--text-secondary);
    text-decoration: none;
    margin-bottom: 0.8rem;
    font-size: 0.95rem;
    transition: color 0.3s ease;
}

.link-group a:hover {
    color: var(--text-primary);
    text-shadow: 0 0 5px rgba(255, 215, 0, 0.4);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: #666;
    font-size: 0.9rem;
}



/* ========================================
   INTERACTIVE PANEL SECTION
   ======================================== */

.panel-section {
    padding: 6rem 0;
    background: linear-gradient(180deg, rgba(0, 0, 0, 0.3) 0%, transparent 50%);
}

.section-title {
    font-size: 3rem;
    font-weight: 800;
    color: white;
    margin-bottom: 1rem;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 3rem;
}

.panel-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.02);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 20px;
}

/* Panel Window Mockup */
.panel-preview {
    perspective: 1000px;
}

.panel-window {
    background: #0d0d0d;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5), 0 0 40px rgba(255, 215, 0, 0.05);
    transform: rotateY(-5deg) rotateX(2deg);
    transition: transform 0.5s ease;
}

.panel-window:hover {
    transform: rotateY(0) rotateX(0);
}

.panel-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.8rem 1rem;
    background: #1a1a1a;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.panel-dots {
    display: flex;
    gap: 6px;
}

.panel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.panel-dots .dot.red {
    background: #ff5f57;
}

.panel-dots .dot.yellow {
    background: #febc2e;
}

.panel-dots .dot.green {
    background: #28c840;
}

.panel-title {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

.panel-body {
    display: flex;
    min-height: 300px;
}

.panel-sidebar {
    width: 180px;
    background: #111;
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    padding: 1rem 0;
}

.sidebar-item {
    padding: 0.7rem 1rem;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.2s ease;
    border-left: 3px solid transparent;
}

.sidebar-item:hover {
    background: rgba(255, 215, 0, 0.05);
    color: white;
}

.sidebar-item.active {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold-primary);
    border-left-color: var(--gold-primary);
}

.panel-main {
    flex: 1;
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    overflow: hidden;
    min-width: 0;
}

.panel-stat-card {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.panel-stat-icon {
    font-size: 1.5rem;
}

.panel-stat-value {
    display: block;
    color: white;
    font-weight: 600;
    font-size: 1rem;
}

.panel-stat-label {
    display: block;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
    text-transform: uppercase;
}

.panel-console {
    grid-column: 1 / -1;
    background: #0a0a0a;
    border-radius: 8px;
    padding: 1rem;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.8rem;
    margin-top: 0.5rem;
}

.console-line {
    display: block;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 0.3rem;
}

.console-line.success {
    color: #28c840;
}

.console-cursor {
    color: var(--gold-primary);
    animation: blink 1s infinite;
}

@keyframes blink {

    0%,
    50% {
        opacity: 1;
    }

    51%,
    100% {
        opacity: 0;
    }
}

/* Addons Grid */
.addons-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.addons-title {
    grid-column: 1 / -1;
    color: white;
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.3rem;
    display: flex;
    align-items: center;
}

.addon-card {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.addon-card:hover {
    background: rgba(255, 215, 0, 0.05);
    border-color: var(--gold-primary);
    transform: translateY(-2px);
}

.addon-icon {
    font-size: 1.8rem;
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
}

.addon-info h4 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0 0 0.2rem 0;
}

.addon-info p {
    color: var(--text-secondary);
    font-size: 0.8rem;
    margin: 0;
}

/* Responsive Addons */
@media (max-width: 900px) {
    .addons-grid {
        grid-template-columns: 1fr 1fr;
        gap: 0.5rem;
    }

    .addon-card {
        padding: 0.6rem;
        gap: 0.5rem;
    }

    .addon-icon {
        font-size: 1.3rem;
        width: 34px;
        height: 34px;
        min-width: 34px;
        border-radius: 8px;
    }

    .addon-info h4 {
        font-size: 0.8rem;
    }

    .addon-info p {
        font-size: 0.65rem;
    }

    .addons-title {
        font-size: 0.95rem;
    }
}

@media (max-width: 500px) {
    .addons-grid {
        grid-template-columns: 1fr;
    }

    .addon-card {
        padding: 0.7rem;
    }
}

/* Responsive */
@media (max-width: 900px) {
    .panel-content {
        grid-template-columns: 1fr;
    }

    .panel-section {
        padding: 4rem 5%;
        overflow-x: hidden;
    }

    .panel-preview {
        width: 100%;
    }

    .panel-window {
        transform: none;
        max-width: 100%;
        box-sizing: border-box;
    }

    /* Hide sidebar on mobile, full-width main content */
    .panel-sidebar {
        display: none;
    }

    .panel-body {
        min-height: 220px;
    }

    .panel-main {
        padding: 0.8rem;
        width: 100%;
    }

    /* Compact server controls */
    .server-controls {
        gap: 0.5rem;
    }

    .power-btn {
        width: 40px;
        height: 40px;
    }

    .power-btn svg {
        width: 20px;
        height: 20px;
    }

    .status-text {
        font-size: 0.85rem;
    }

    .restart-btn {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }

    /* Compact stat cards */
    .panel-stat-card {
        padding: 0.6rem;
        gap: 0.5rem;
    }

    .panel-stat-icon {
        font-size: 1.1rem;
    }

    .panel-stat-value {
        font-size: 0.9rem;
    }

    .panel-stat-label {
        font-size: 0.6rem;
    }

    /* Software selector */
    .software-selector {
        flex-wrap: wrap;
        gap: 0.4rem;
    }

    .software-selector label {
        font-size: 0.8rem;
    }

    .software-selector select {
        font-size: 0.75rem;
        padding: 0.3rem 0.5rem;
    }

    /* Console */
    .console-output {
        font-size: 0.7rem;
        min-height: 80px;
        max-height: 100px;
    }

    .console-input input {
        font-size: 0.7rem;
    }

    .section-title {
        font-size: clamp(1.4rem, 5vw, 3rem);
    }

    .section-subtitle {
        font-size: 0.9rem;
    }

    /* Stats row - reduce columns and compact */
    .stats-row {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }

    .panel-stat-card {
        padding: 0.5rem;
        gap: 0.4rem;
        flex-direction: column;
        text-align: center;
    }

    .stat-icon-custom {
        width: 24px;
        height: 24px;
    }

    .stat-icon-custom svg {
        width: 14px;
        height: 14px;
    }

    .panel-stat-value {
        font-size: 0.8rem;
    }

    .panel-stat-label {
        font-size: 0.55rem;
    }

    .server-controls {
        flex-wrap: wrap;
    }
}

/* ========================================
   INTERACTIVE PANEL ELEMENTS
   ======================================== */

/* Sidebar SVG Icons */
.sidebar-icon {
    width: 16px;
    height: 16px;
    margin-right: 8px;
    stroke: currentColor;
    flex-shrink: 0;
}

.sidebar-item {
    display: flex;
    align-items: center;
}

/* Server Controls */
.server-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 10px;
    margin-bottom: 1rem;
}

.power-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid;
    background: transparent;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.power-btn svg {
    width: 24px;
    height: 24px;
}

.power-btn.online {
    border-color: #28c840;
    color: #28c840;
}

.power-btn.online:hover {
    background: rgba(40, 200, 64, 0.2);
    box-shadow: 0 0 20px rgba(40, 200, 64, 0.4);
}

.power-btn.offline {
    border-color: #ff5f57;
    color: #ff5f57;
}

.power-btn.offline:hover {
    background: rgba(255, 95, 87, 0.2);
    box-shadow: 0 0 20px rgba(255, 95, 87, 0.4);
}

.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex: 1;
}

.status-indicator {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: #28c840;
    box-shadow: 0 0 10px #28c840;
}

.status-indicator.offline {
    background: #ff5f57;
    animation: none;
}

.status-indicator.warning {
    background: #febc2e;
    animation: pulse 0.5s infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.5;
    }
}

.status-text {
    color: white;
    font-weight: 600;
    font-size: 0.95rem;
}

.restart-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.85rem;
    cursor: pointer;
    transition: all 0.3s ease;
}

.restart-btn svg {
    width: 16px;
    height: 16px;
}

.restart-btn:hover {
    background: rgba(255, 215, 0, 0.1);
    border-color: var(--gold-primary);
}

/* Software Selector */
.software-selector {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.software-selector label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
}

.software-selector select {
    flex: 1;
    padding: 0.6rem 1rem;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: white;
    font-size: 0.9rem;
    cursor: pointer;
    outline: none;
}

.software-selector select:focus {
    border-color: var(--gold-primary);
}

.software-selector select option {
    background: #1a1a1a;
    color: white;
}

/* Stats Row */
.stats-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
    margin-bottom: 1rem;
}

.stat-icon-custom {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 8px;
    color: var(--gold-primary);
}

.stat-icon-custom svg {
    width: 18px;
    height: 18px;
}

/* Console Enhancements */
.panel-console {
    display: flex;
    flex-direction: column;
    max-height: 150px;
}

.console-lines {
    flex: 1;
    overflow-y: auto;
    padding-bottom: 0.5rem;
}

.console-line.info {
    color: #58a6ff;
}

.console-line.warning {
    color: #febc2e;
}

.console-line.error {
    color: #ff5f57;
}

.console-input {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding-top: 0.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.console-prompt {
    color: var(--gold-primary);
    font-weight: bold;
}

.console-input input {
    flex: 1;
    background: transparent;
    border: none;
    color: white;
    font-family: 'Consolas', 'Monaco', monospace;
    font-size: 0.8rem;
    outline: none;
}

.console-input input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

/* Custom Addon Icons */
.addon-icon-custom {
    width: 45px;
    height: 45px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 215, 0, 0.1);
    border-radius: 10px;
    color: var(--gold-primary);
    flex-shrink: 0;
}

.addon-icon-custom svg {
    width: 22px;
    height: 22px;
}

/* Title Icon */
.title-icon {
    width: 24px;
    height: 24px;
    color: var(--gold-primary);
    margin-right: 8px;
    vertical-align: middle;
}

/* ========================================
   SECTION VIEWS
   ======================================== */

.section-view {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
}

.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 0.5rem;
}

.section-header h3 {
    color: white;
    font-size: 1rem;
    font-weight: 600;
    margin: 0;
}

.btn-small {
    padding: 0.4rem 0.8rem;
    background: rgba(255, 215, 0, 0.1);
    border: 1px solid var(--gold-primary);
    border-radius: 6px;
    color: var(--gold-primary);
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-small:hover {
    background: var(--gold-primary);
    color: black;
}

/* File List */
.file-list {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.file-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 0.7rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.8rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.file-item:hover {
    background: rgba(255, 215, 0, 0.05);
    color: white;
}

.file-item.folder {
    color: var(--gold-primary);
}

.file-icon {
    font-size: 1rem;
}

.file-size {
    margin-left: auto;
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.7rem;
}

/* Database List */
.db-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.db-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
    font-size: 0.85rem;
}

.db-name {
    color: white;
    font-weight: 500;
    flex: 1;
}

.db-size {
    color: rgba(255, 255, 255, 0.4);
}

.db-status {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.db-status.online {
    background: rgba(40, 200, 64, 0.2);
    color: #28c840;
}

/* User List */
.user-list {
    display: flex;
    flex-direction: column;
    gap: 0.4rem;
}

.user-item {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.6rem 0.8rem;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 6px;
}

.user-avatar {
    font-size: 1.2rem;
}

.user-name {
    color: white;
    font-weight: 500;
    flex: 1;
}

.user-role {
    padding: 0.2rem 0.5rem;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.user-role.owner {
    background: rgba(255, 215, 0, 0.2);
    color: var(--gold-primary);
}

.user-role.admin {
    background: rgba(88, 166, 255, 0.2);
    color: #58a6ff;
}

.user-role.user {
    background: rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
}

/* Settings List */
.settings-list {
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.setting-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.setting-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.8rem;
    width: 140px;
}

.setting-input {
    flex: 1;
    padding: 0.5rem 0.7rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: white;
    font-size: 0.85rem;
    outline: none;
}

.setting-input:focus {
    border-color: var(--gold-primary);
}