/* 1. CORE SETUP */
.fb-rdm-scope {
    background: #0a0a0a;
    color: #fff;
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    overflow-x: hidden;
}

.fb-rdm-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    margin-top: 50px;
}

/* 2. TITLES */
.fb-rdm-title {
    font-size: clamp(1.8rem, 5vw, 2.5rem);
    font-weight: 800;
    margin-bottom: 25px;
    position: relative;
    padding-bottom: 15px;
}

.fb-rdm-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 5px;
    background: #ffcc00;
}

.fb-rdm-header-center {
    text-align: center;
    margin-bottom: 50px;
}

.fb-rdm-header-center .fb-rdm-title::after {
    left: 50%;
    transform: translateX(-50%);
}

.fb-rdm-title span {
    color: #ffcc00;
}

/* 3. HERO SECTION */
.fb-rdm-hero {
    padding: clamp(60px, 10vh, 180px) 0;
    /* Mobile padding reduced */
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.96) 30%, rgba(20, 20, 20, 0.4) 100%),
        url('') center/cover;
    background-attachment: fixed;
}

.fb-rdm-badge {
    color: #ffcc00;
    font-weight: 700;
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 2px;
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
}

.fb-rdm-h1 {
    font-size: clamp(2.2rem, 8vw, 3.8rem);
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 20px;
}

.fb-rdm-p {
    max-width: 600px;
    color: #ccc;
    font-size: 1.1rem;
    margin-bottom: 35px;
}

.fb-rdm-btn-wrap {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
}

/* 4. BUTTONS */
.fb-rdm-btn-y,
.fb-rdm-btn-w {
    padding: 16px 35px;
    text-decoration: none;
    font-weight: 800;
    border-radius: 4px;
    transition: 0.3s;
    display: inline-block;
    text-align: center;
}

.fb-rdm-btn-y {
    background: #ffcc00;
    color: #000;
}

.fb-rdm-btn-w {
    border: 2px solid #fff;
    color: #fff;
}

.fb-rdm-btn-y:hover {
    background: #fff;
    transform: translateY(-3px);
}

/* 5. MEASUREMENT VISUAL (Rodometer Counter) */
.fb-rdm-section {
    padding: clamp(40px, 8vh, 100px) 0;
}

.fb-rdm-bg-dark {
    background: #050505;
}

/* FIX: Changed to 1 column by default for mobile, 2 for desktop */
.fb-rdm-split {
    display: grid;
    grid-template-columns: 1fr;
    gap: 40px;
    align-items: center;
}

@media (min-width: 992px) {
    .fb-rdm-split {
        grid-template-columns: 1.2fr 1fr;
    }
}

.fb-rdm-resp-img {
    width: 100%;
    height: auto;
    border-radius: 4px;
    border: 1px solid #333;
}

.fb-rdm-counter-box {
    background: #111;
    padding: 25px;
    border-radius: 12px;
    margin: 30px auto 0 auto;
    /* Centered for mobile */
    border: 1px solid #222;
    width: 100%;
    /* Flexible width */
    max-width: 450px;
    box-sizing: border-box;
}

.fb-rdm-display {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 25px;
    flex-wrap: wrap;
    /* Digits will wrap on very small screens */
}

.fb-rdm-digit {
    background: #000;
    color: #ffcc00;
    padding: clamp(8px, 2vw, 15px);
    font-size: clamp(1.2rem, 4vw, 2rem);
    font-family: 'Courier New', monospace;
    font-weight: 900;
    border-radius: 4px;
    border: 1px solid #333;
}

.fb-rdm-digit.decimal {
    background: transparent;
    border: none;
    padding: 10px 0;
    align-self: flex-end;
}

/* Animation Fixed for all screens */
.fb-rdm-wheel-visual {
    position: relative;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.fb-rdm-wheel-spin {
    width: 50px;
    height: 50px;
    border: 4px solid #ffcc00;
    border-radius: 50%;
    position: relative;
    animation: wheelRotate 2s linear infinite;
}

.fb-rdm-spoke {
    position: absolute;
    top: 50%;
    left: 0;
    width: 100%;
    height: 2px;
    background: #ffcc00;
}

.fb-rdm-spoke:nth-child(2) {
    transform: rotate(60deg);
}

.fb-rdm-spoke:nth-child(3) {
    transform: rotate(120deg);
}

.fb-rdm-track-line {
    position: absolute;
    bottom: 5px;
    width: 100%;
    height: 2px;
    background: #333;
}

@keyframes wheelRotate {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}

/* 6. CARDS (Industrial Frame) */
.fb-rdm-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.fb-rdm-card {
    background: #111;
    border: 1px solid #222;
    transition: 0.4s;
}

.fb-rdm-card-head {
    background: #1a1a1a;
    padding: 10px 20px;
    font-size: 10px;
    font-weight: 900;
    color: #555;
    border-bottom: 1px solid #222;
}

.fb-rdm-active {
    border-color: #ffcc00;
}

.fb-rdm-active .fb-rdm-card-head {
    background: #ffcc00;
    color: #000;
}

.fb-rdm-card-body {
    padding: 25px;
}

/* 7. DUAL INFO BOXES */
.fb-rdm-dual {
    display: grid;
    grid-template-columns: 1fr;
    gap: 20px;
}

@media (min-width: 768px) {
    .fb-rdm-dual {
        grid-template-columns: repeat(2, 1fr);
    }
}

.fb-rdm-info-card {
    padding: 30px;
    background: #111;
    border-left: 5px solid #333;
}

.fb-rdm-yellow {
    background: #ffcc00;
    color: #000;
    border-left-color: #000;
}

.fb-rdm-ul {
    list-style: none;
    padding: 0;
    margin-top: 25px;
}

.fb-rdm-ul li {
    padding: 12px 0 12px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    font-weight: 700;
    font-size: 0.95rem;
}

.fb-rdm-yellow .fb-rdm-ul li {
    border-bottom-color: rgba(0, 0, 0, 0.1);
}

.fb-rdm-ul li::before {
    content: '\f545';
    font-family: 'Font Awesome 6 Free';
    font-weight: 900;
    position: absolute;
    left: 0;
    color: #ffcc00;
}

.fb-rdm-yellow .fb-rdm-ul li::before {
    color: #000;
}

/* 8. RESPONSIVE FINAL TWEAKS */
@media (max-width: 992px) {
    .fb-rdm-img-box {
        order: -1;
    }

    /* Image comes first on mobile */
    .fb-rdm-text {
        text-align: center;
    }

    .fb-rdm-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
}

@media (max-width: 600px) {
    .fb-rdm-hero {
        text-align: center;
    }

    .fb-rdm-badge {
        justify-content: center;
    }

    .fb-rdm-btn-wrap {
        flex-direction: column;
        align-items: center;
    }

    .fb-rdm-btn-y,
    .fb-rdm-btn-w {
        width: 100%;
        max-width: 100%;
    }

    .fb-rdm-h1 {
        font-size: 2.2rem;
    }
}