:root {
    --bg-color: #0f1115;
    --card-bg: #181b21;
    --primary: #00ff9d;
    --primary-glow: rgba(0, 255, 157, 0.3);
    --secondary: #00d2ff;
    --text-main: #ffffff;
    --text-muted: #8b9bb4;
    --font-stack: 'Outfit', sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-stack);
    line-height: 1.6;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.main-header {
    text-align: center;
    padding: 2rem 1rem 0.5rem 1rem;
    margin-bottom: 0.5rem;
}

.main-header h1 {
    font-size: 2rem;
    font-weight: 800;
    margin: 1rem 0 0.5rem;
    color: var(--text-main);
    line-height: 1.2;
}

.logo-img {
    max-width: 250px;
    height: auto;
    display: block;
    margin: 0 auto;
}

.subtitle {
    color: var(--text-muted);
    font-size: 1rem;
    margin-top: 0.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.app-container {
    max-width: 900px;
    margin: 2rem auto;
    padding: 0 1.5rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

/* HERO DASHBOARD */
.hero-dashboard {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    position: relative;
    max-width: 700px;
    width: 100%;
    margin: 0 auto;
    box-shadow: 0 0 60px rgba(0, 0, 0, 0.3);
    text-align: center;
}

.status-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    padding: 0.25rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 1rem;
    border: 1px solid rgba(0, 255, 157, 0.1);
}

.status-badge:empty {
    display: none;
}

/* DUAL DISPLAY */
.dual-display {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    margin-bottom: 3rem;
    transition: opacity 0.5s ease;
}

.speed-box {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 200px;
}

/* GAUGES */
.gauge-wrapper {
    position: relative;
    width: 250px;
    height: 140px;
    overflow: hidden;
    margin: 0 auto;
}

.gauge-imported {
    position: absolute;
    width: 500px;
    height: 500px;
    top: 0;
    left: 50%;
    margin-left: -250px;
    border-radius: 100%;
    transform-origin: top center;
    transform: scale(0.5);
    background: conic-gradient(from 270deg,
            #FA0E1C 0deg,
            #FA0E1C 15deg,
            #FF8200 30deg,
            #FEE62A 90deg,
            #09B84F 110deg,
            #00d2ff 140deg,
            #00d2ff 180deg,
            transparent 180deg);
}

.meter {
    margin: 0;
    padding: 0;
}

.meter>li {
    width: 250px;
    height: 250px;
    list-style-type: none;
    position: absolute;
    border-top-left-radius: 250px;
    border-top-right-radius: 0px;
    transform-origin: 100% 100%;
    transition-property: transform;
    pointer-events: none;
}

.dial {
    background-color: var(--card-bg);
    width: 470px;
    height: 470px;
    position: relative;
    top: 15px;
    left: 15px;
    border-radius: 100%;
    z-index: 10;
}

.dial .inner {
    width: 100%;
    height: 100%;
    position: absolute;
    top: 0;
    left: 0;
    transition: transform 0.2s ease-out;
    transform: rotate(0deg);
}

.dial .arrow {
    width: 0;
    height: 0;
    position: absolute;
    top: 220px;
    left: 10px;
    border-left: 8px solid transparent;
    border-right: 8px solid transparent;
    border-bottom: 25px solid #ffffff;
    transform: rotate(-90deg);
    filter: drop-shadow(0 0 2px rgba(0, 0, 0, 0.5));
}

.gauge-imported .value {
    font-family: 'Outfit', sans-serif;
    font-size: 50px;
    color: #ffffff;
    position: absolute;
    top: 170px;
    left: 0;
    width: 100%;
    text-align: center;
    z-index: 11;
    font-weight: 700;
}

.speed-label-small {
    margin-top: 1rem;
    display: block;
    color: var(--text-muted);
}

.progress-container {
    width: 100%;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    margin-bottom: 2rem;
    overflow: hidden;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, #09B84F, #00d2ff);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
    transition: width 0.2s linear;
}

.controls-area {
    margin-bottom: 1rem;
}

.glow-button {
    background: var(--primary);
    color: #000;
    border: none;
    padding: 1.2rem 4rem;
    font-size: 1.1rem;
    font-weight: 800;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 0 30px var(--primary-glow);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.glow-button:hover {
    transform: scale(1.05);
    box-shadow: 0 0 50px var(--primary-glow);
}

.secondary-btn {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: var(--text-main);
    padding: 0.8rem 2rem;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.2s;
}

.action-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.hidden {
    display: none !important;
}

.server-micro {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.6;
    margin-top: 1rem;
}

.info-grid-embedded {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

/* Individual items layout */
.info-grid-embedded .info-item:nth-child(1),
.info-grid-embedded .info-item:nth-child(2),
.info-grid-embedded .info-item:nth-child(3) {
    grid-column: span 2;
}

.info-grid-embedded .info-item:nth-child(4),
.info-grid-embedded .info-item:nth-child(5) {
    grid-column: span 3;
}

.info-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.info-label {
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 0.3rem;
}

.info-value {
    font-size: 0.9rem;
    color: #fff;
    font-weight: 600;
}

.blur-text {
    filter: blur(4px);
    cursor: pointer;
    user-select: none;
    transition: filter 0.3s ease;
}

.blur-text.revealed {
    filter: blur(0);
    cursor: text;
}

.main-footer {
    text-align: center;
    padding: 3rem 1.5rem;
    font-size: 0.8rem;
    color: var(--text-muted);
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
}

.footer-nav {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-nav a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.footer-nav a:hover {
    color: var(--primary);
}

.copyright {
    opacity: 0.6;
    font-size: 0.8rem;
}

/* CONTENT SECTIONS */
.content-section {
    padding: 3rem 1.5rem;
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    margin: 2rem auto;
    max-width: 900px;
}

.content-section h2 {
    font-size: 1.8rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    font-weight: 800;
}

.content-section p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.05rem;
}

.metrics-explanation {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.metric-card {
    background: rgba(255, 255, 255, 0.02);
    padding: 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.metric-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
}

.metric-card h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.metric-card p {
    font-size: 0.9rem;
    margin-bottom: 0;
}

.table-container {
    overflow-x: auto;
    margin: 2rem 0;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.data-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    background: rgba(0, 0, 0, 0.2);
}

.data-table th,
.data-table td {
    padding: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.data-table th {
    background: rgba(255, 255, 255, 0.05);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.8rem;
}

.tips-list {
    list-style: none;
    padding: 0;
}

.tips-list li {
    position: relative;
    padding-left: 1.8rem;
    margin-bottom: 1rem;
    color: var(--text-muted);
}

.tips-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--primary);
    font-weight: bold;
}

.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.faq-item h3 {
    color: #fff;
    font-size: 1.1rem;
    margin-bottom: 0.8rem;
}

.faq-item p {
    font-size: 0.95rem;
}

.cta-link {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
}

.cta-link:hover {
    padding-left: 5px;
}

.small-note {
    font-size: 0.75rem;
    color: var(--text-muted);
    opacity: 0.5;
    margin-top: 1.5rem;
}

/* TEXT PAGES STYLE */
.text-content {
    background: var(--card-bg);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 24px;
    padding: 2.5rem;
    max-width: 900px;
    width: 100%;
    margin: 2rem auto;
    color: var(--text-muted);
}

.text-content h1 {
    color: var(--text-main);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.text-content h2 {
    color: var(--primary);
    font-size: 1.5rem;
    margin: 2.5rem 0 1rem;
}

.text-content p {
    margin-bottom: 1.2rem;
    line-height: 1.8;
}

.text-content ul {
    margin-bottom: 1.5rem;
    padding-left: 1.5rem;
}

.text-content li {
    margin-bottom: 0.8rem;
}

.text-content a {
    color: var(--primary);
    text-decoration: none;
}

.text-content a:hover {
    text-decoration: underline;
}

/* AD SPACES */
.ad-container {
    width: 100%;
    max-width: 900px;
    margin: 1rem auto 2rem auto;
    background: rgba(255, 255, 255, 0.02);
    border: 1px dashed rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 12px;
    overflow: hidden;
}

.ad-label {
    color: rgba(255, 255, 255, 0.1);
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.ad-top {
    min-height: 90px;
}

.ad-middle {
    min-height: 250px;
}

/* RESPONSIVE MISC */
@media(max-width: 768px) {
    .dual-display {
        flex-direction: column;
        gap: 2rem;
    }

    .speed-box {
        width: 100%;
    }

    .ad-top {
        min-height: 60px;
    }

    .info-grid-embedded {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .text-content {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .content-section {
        padding: 2rem 1rem;
    }

    .content-section h2 {
        font-size: 1.5rem;
    }

    .faq-grid {
        grid-template-columns: 1fr;
    }

    .footer-nav {
        gap: 1rem;
    }

    .glow-button {
        width: 100%;
        padding: 1rem;
    }
}