:root {
    --onebet88-primary-color: #FF8C1A;
    --onebet88-secondary-color: #FFA53A;
    --onebet88-card-bg: #17191F;
    --onebet88-page-bg: #0D0E12;
    --onebet88-text-main: #FFF3E6;
    --onebet88-border-color: #A84F0C;
    --onebet88-glow-color: #FFB04D;
    --onebet88-deep-orange: #D96800;
}

.page-onebet88-history-reputation {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: var(--onebet88-text-main);
    background-color: var(--onebet88-page-bg);
    padding-bottom: 50px;
}

.page-onebet88-history-reputation__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, assuming body padding-top is handled by shared.css */
    padding-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    overflow: hidden;
    box-sizing: border-box;
}

.page-onebet88-history-reputation__hero-image {
    width: 100%;
    height: auto;
    display: block;
    max-height: 600px;
    object-fit: cover;
    margin-bottom: 30px;
}

.page-onebet88-history-reputation__hero-content {
    max-width: 900px;
    padding: 0 20px;
    z-index: 1;
    color: var(--onebet88-text-main);
}

.page-onebet88-history-reputation__main-title {
    font-size: clamp(2.2rem, 4vw, 3.5rem);
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 20px;
    color: var(--onebet88-secondary-color);
    letter-spacing: 1px;
    max-width: 100%;
}

.page-onebet88-history-reputation__hero-description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 30px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.page-onebet88-history-reputation__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
    width: 100%;
    max-width: 600px;
    margin: 0 auto;
    box-sizing: border-box;
}

.page-onebet88-history-reputation__btn-primary,
.page-onebet88-history-reputation__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-onebet88-history-reputation__btn-primary {
    background: linear-gradient(180deg, var(--onebet88-secondary-color) 0%, var(--onebet88-deep-orange) 100%);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 140, 26, 0.4);
}

.page-onebet88-history-reputation__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
}

.page-onebet88-history-reputation__btn-secondary {
    background: transparent;
    color: var(--onebet88-primary-color);
    border: 2px solid var(--onebet88-primary-color);
}

.page-onebet88-history-reputation__btn-secondary:hover {
    background: var(--onebet88-primary-color);
    color: #ffffff;
}

.page-onebet88-history-reputation__section {
    padding: 60px 0;
    background-color: var(--onebet88-page-bg);
    overflow: hidden;
    box-sizing: border-box;
}

.page-onebet88-history-reputation__dark-section {
    background-color: var(--onebet88-primary-color);
    color: #ffffff;
}

.page-onebet88-history-reputation__dark-section .page-onebet88-history-reputation__section-title {
    color: #ffffff;
}

.page-onebet88-history-reputation__dark-section .page-onebet88-history-reputation__text-block {
    color: #ffffff;
}

.page-onebet88-history-reputation__dark-section a {
    color: #ffffff;
    text-decoration: underline;
}

.page-onebet88-history-reputation__dark-section a:hover {
    color: var(--onebet88-secondary-color);
}

.page-onebet88-history-reputation__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-onebet88-history-reputation__section-title {
    font-size: clamp(1.8rem, 3.5vw, 2.8rem);
    font-weight: 700;
    text-align: center;
    margin-bottom: 40px;
    color: var(--onebet88-secondary-color);
}

.page-onebet88-history-reputation__text-block {
    font-size: 1.1rem;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 50px auto;
    color: var(--onebet88-text-main);
}

.page-onebet88-history-reputation__text-block a {
    color: var(--onebet88-primary-color);
    text-decoration: none;
    font-weight: bold;
}

.page-onebet88-history-reputation__text-block a:hover {
    text-decoration: underline;
}

.page-onebet88-history-reputation__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}

.page-onebet88-history-reputation__content-card {
    background-color: var(--onebet88-card-bg);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    text-align: left;
    color: var(--onebet88-text-main);
}

.page-onebet88-history-reputation__content-card .page-onebet88-history-reputation__card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--onebet88-secondary-color);
    font-weight: 600;
}

.page-onebet88-history-reputation__content-card p {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--onebet88-text-main);
}

.page-onebet88-history-reputation__light-bg {
    background-color: #ffffff;
    color: #333333;
}

.page-onebet88-history-reputation__light-bg .page-onebet88-history-reputation__card-title {
    color: var(--onebet88-primary-color);
}

.page-onebet88-history-reputation__light-bg p {
    color: #333333;
}

.page-onebet88-history-reputation__light-bg a {
    color: var(--onebet88-deep-orange);
}

.page-onebet88-history-reputation img {
    max-width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-onebet88-history-reputation__image-full-width {
    width: 100%;
    border-radius: 10px;
    margin-top: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-onebet88-history-reputation__image-center {
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    min-width: 200px;
    min-height: 200px;
}

.page-onebet88-history-reputation__game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 50px;
}