:root {
    --ohe4-primary: #3e923f;
    --ohe4-primary-dark: #2f6d2f;
    --ohe4-accent: #d33c94;
    --ohe4-bg: #f8f9fa;
    --ohe4-surface: #ffffff;
    --ohe4-text-main: #1a1a1a;
    --ohe4-text-mut: #555555;
    --ohe4-border: #e2e8f0;
    --ohe4-font-head: 'Kanit', sans-serif;
    --ohe4-font-body: 'Inter', sans-serif;
    --ohe4-rad: 4px;
    --ohe4-trans: 0.2s ease-in-out;
}

*, *::before, *::after { box-sizing: border-box; }
body, html {
    margin: 0; padding: 0;
    font-family: var(--ohe4-font-body);
    background-color: var(--ohe4-bg);
    color: var(--ohe4-text-main);
    font-size: 16px;
    line-height: 1.6;
    overflow-x: hidden;
}

.ohe4-container {
    width: 100%; max-width: 1200px;
    margin: 0 auto; padding: 0 15px;
}

h1, h2, h3, h4, h5, h6, .ohe4-h2, .ohe4-h3 {
    font-family: var(--ohe4-font-head);
    font-weight: 700;
    text-transform: uppercase;
    margin-top: 0; margin-bottom: 1rem;
    line-height: 1.2;
}

.ohe4-header {
    background: var(--ohe4-surface);
    border-bottom: 2px solid var(--ohe4-primary);
    padding: 15px 0;
}
.ohe4-header-inner {
    display: flex; flex-direction: column; gap: 15px;
}
.ohe4-logo-wrap { display: flex; align-items: center; }
.ohe4-logo {
    font-family: var(--ohe4-font-head);
    font-size: 28px; font-weight: 800;
    color: var(--ohe4-primary);
    text-transform: uppercase; letter-spacing: 1px;
}
.ohe4-nav-main { width: 100%; }
.ohe4-nav-list {
    display: flex; gap: 15px;
    list-style: none; margin: 0; padding: 0;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
}
.ohe4-nav-list::-webkit-scrollbar { display: none; }
.ohe4-nav-link {
    text-decoration: none; color: var(--ohe4-text-main);
    font-weight: 600; font-size: 15px;
    padding: 5px 10px; border-radius: var(--ohe4-rad);
    white-space: nowrap; transition: var(--ohe4-trans);
    display: block;
}
.ohe4-nav-link:hover {
    background: var(--ohe4-primary); color: #fff;
}

.ohe4-ticker-wrapper {
    background: var(--ohe4-text-main); color: #fff;
    padding: 8px 15px; overflow: hidden;
    display: flex; align-items: center; white-space: nowrap;
}
.ohe4-ticker-track {
    display: inline-flex; gap: 40px;
    animation: ohe4Ticker 25s linear infinite;
}
.ohe4-ticker-item {
    color: #fff; text-decoration: none; font-size: 14px; font-weight: 500;
}
.ohe4-ticker-item:hover { color: var(--ohe4-accent); }
@keyframes ohe4Ticker {
    0% { transform: translateX(50vw); }
    100% { transform: translateX(-100%); }
}

.ohe4-hero {
    position: relative; width: 100%; height: 350px;
    display: flex; align-items: center; justify-content: center;
    overflow: hidden; background: #000;
}
.ohe4-hero-bg {
    position: absolute; top: 0; left: 0; width: 100%; height: 100%;
}
.ohe4-hero-img {
    width: 100%; height: 100%; object-fit: cover; opacity: 0.5;
}
.ohe4-hero-content {
    position: relative; z-index: 2; text-align: center; color: #fff;
}
.ohe4-hero-title {
    font-size: 32px; margin-bottom: 10px;
    text-shadow: 2px 2px 0 var(--ohe4-primary), -2px -2px 0 var(--ohe4-accent);
}
.ohe4-hero-slogan { font-size: 18px; font-weight: 500; }

.ohe4-stats {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px;
    margin-top: -30px; position: relative; z-index: 3; margin-bottom: 40px;
}
.ohe4-stat-box {
    background: var(--ohe4-surface); padding: 15px;
    text-align: center; border-radius: var(--ohe4-rad);
    box-shadow: 0 4px 6px rgba(0,0,0,0.1); border-top: 3px solid var(--ohe4-primary);
}
.ohe4-stat-box strong {
    display: block; font-size: 24px; color: var(--ohe4-accent);
    font-family: var(--ohe4-font-head);
}
.ohe4-stat-box span { font-size: 13px; font-weight: 600; text-transform: uppercase; }

.ohe4-glass-card {
    background: rgba(255, 255, 255, 0.95);
    border: 1px solid var(--ohe4-border);
    border-radius: var(--ohe4-rad);
    box-shadow: 0 2px 4px rgba(0,0,0,0.05);
}

.ohe4-filter-section { margin-bottom: 20px; }
.ohe4-chips-wrap {
    display: flex; gap: 10px; overflow-x: auto; padding-bottom: 5px;
    scrollbar-width: none;
}
.ohe4-chips-wrap::-webkit-scrollbar { display: none; }
.ohe4-chip {
    background: var(--ohe4-surface); border: 1px solid var(--ohe4-border);
    padding: 8px 16px; border-radius: var(--ohe4-rad); cursor: pointer;
    font-family: var(--ohe4-font-head); font-size: 14px; font-weight: 600;
    text-transform: uppercase; transition: var(--ohe4-trans);
    white-space: nowrap; color: var(--ohe4-text-main);
}
.ohe4-chip:hover, .ohe4-chip-active {
    background: var(--ohe4-primary); color: #fff; border-color: var(--ohe4-primary);
}

.ohe4-games { margin-bottom: 40px; }
.ohe4-section-head { font-family: var(--ohe4-font-head); font-size: 24px; font-weight: 700; margin-bottom: 20px; text-transform: uppercase; border-left: 4px solid var(--ohe4-accent); padding-left: 10px; }
.ohe4-masonry-grid {
    display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px;
    transition: opacity 0.2s;
}
.ohe4-card { display: block; text-decoration: none; color: inherit; overflow: hidden; transition: var(--ohe4-trans); }
.ohe4-card:hover { transform: translateY(-3px); box-shadow: 0 6px 12px rgba(0,0,0,0.1); border-color: var(--ohe4-primary); }
.ohe4-card-img-wrap { position: relative; width: 100%; padding-top: 75%; overflow: hidden; background: #eee; }
.ohe4-card-img { position: absolute; top: 0; left: 0; width: 100%; height: 100%; object-fit: cover; }
.ohe4-card-badge {
    position: absolute; top: 8px; right: 8px; background: var(--ohe4-accent); color: #fff;
    padding: 2px 6px; font-size: 12px; font-weight: 700; border-radius: var(--ohe4-rad);
}
.ohe4-card-body { padding: 12px; }
.ohe4-card-title { font-size: 16px; margin: 0 0 5px 0; color: var(--ohe4-primary-dark); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.ohe4-card-sub { font-size: 13px; margin: 0; color: var(--ohe4-text-mut); }

.ohe4-benefits { margin-bottom: 40px; }
.ohe4-benefits-grid { display: grid; grid-template-columns: 1fr; gap: 15px; }
.ohe4-benefit { padding: 20px; border-left: 4px solid var(--ohe4-primary); }
.ohe4-benefit .ohe4-h3 { font-size: 18px; margin-bottom: 10px; color: var(--ohe4-primary); }
.ohe4-benefit p { margin: 0; font-size: 14px; color: var(--ohe4-text-mut); }

.ohe4-steps { margin-bottom: 40px; }
.ohe4-steps-list { display: flex; flex-direction: column; gap: 15px; }
.ohe4-step { display: flex; align-items: center; gap: 15px; background: var(--ohe4-surface); padding: 15px; border-radius: var(--ohe4-rad); box-shadow: 0 2px 4px rgba(0,0,0,0.05); }
.ohe4-step-num {
    width: 40px; height: 40px; flex-shrink: 0;
    background: var(--ohe4-accent); color: #fff; font-family: var(--ohe4-font-head);
    display: flex; align-items: center; justify-content: center; font-size: 20px;
    border-radius: var(--ohe4-rad);
}
.ohe4-step-text { font-size: 15px; font-weight: 500; }

.ohe4-payments { margin-bottom: 40px; }
.ohe4-payment-tags { display: flex; flex-wrap: wrap; gap: 10px; }
.ohe4-ptag {
    background: #e2e8f0; color: var(--ohe4-text-main); font-size: 13px; font-weight: 600;
    padding: 6px 12px; border-radius: var(--ohe4-rad); border: 1px solid #cbd5e1;
}

.ohe4-article {
    background: var(--ohe4-surface); padding: 20px; border-radius: var(--ohe4-rad);
    margin-bottom: 40px; box-shadow: 0 2px 4px rgba(0,0,0,0.05); font-size: 16px;
}
.ohe4-article h2 { color: var(--ohe4-primary); font-size: 24px; border-bottom: 2px solid var(--ohe4-border); padding-bottom: 8px; }
.ohe4-article h3 { color: var(--ohe4-primary-dark); font-size: 20px; }
.ohe4-article p { margin-bottom: 15px; }
.ohe4-article ul, .ohe4-article ol { margin-bottom: 15px; padding-left: 20px; }
.ohe4-article li { margin-bottom: 5px; }
.ohe4-article table { width: 100%; border-collapse: collapse; margin-bottom: 15px; overflow-x: auto; display: block; }
.ohe4-article th, .ohe4-article td { border: 1px solid var(--ohe4-border); padding: 10px; text-align: left; }
.ohe4-article th { background: var(--ohe4-bg); font-family: var(--ohe4-font-head); }

.ohe4-page-header { margin: 30px auto; text-align: center; }
.ohe4-breadcrumbs { display: flex; flex-wrap: wrap; justify-content: center; gap: 5px; margin-bottom: 15px; font-size: 14px; }
.ohe4-crumb-link { color: var(--ohe4-primary); text-decoration: none; font-weight: 500; }
.ohe4-crumb-link:hover { text-decoration: underline; }
.ohe4-crumb-sep { color: var(--ohe4-text-mut); }
.ohe4-page-title { font-size: 32px; color: var(--ohe4-primary-dark); margin-bottom: 10px; }
.ohe4-meta-desc { font-size: 16px; color: var(--ohe4-text-mut); max-width: 800px; margin: 0 auto; }

.ohe4-faq-section { margin-bottom: 40px; }
.ohe4-faq-item {
    background: var(--ohe4-surface); margin-bottom: 10px; border-radius: var(--ohe4-rad);
    border: 1px solid var(--ohe4-border);
}
.ohe4-faq-q {
    font-family: var(--ohe4-font-head); font-size: 16px; font-weight: 600; cursor: pointer;
    padding: 15px; margin: 0; outline: none; background: #fafafa;
}
.ohe4-faq-q:hover { background: #f0f0f0; }
.ohe4-faq-a { padding: 15px; border-top: 1px solid var(--ohe4-border); font-size: 15px; }

.ohe4-pagination { display: flex; justify-content: space-between; gap: 15px; margin-bottom: 40px; }
.ohe4-pager-link {
    background: var(--ohe4-surface); padding: 10px 20px; border: 1px solid var(--ohe4-primary);
    color: var(--ohe4-primary); text-decoration: none; font-weight: 600; border-radius: var(--ohe4-rad);
    text-transform: uppercase; font-family: var(--ohe4-font-head); font-size: 14px;
    transition: var(--ohe4-trans);
}
.ohe4-pager-link:hover { background: var(--ohe4-primary); color: #fff; }

.ohe4-related-section { margin-bottom: 40px; }
.ohe4-related-grid { display: grid; grid-template-columns: repeat(2, 1fr); gap: 15px; }

.ohe4-footer { background: var(--ohe4-text-main); color: #fff; padding: 40px 0 20px; }
.ohe4-footer-inner { display: grid; grid-template-columns: 1fr; gap: 30px; margin-bottom: 30px; }
.ohe4-footer-logo { display: block; font-family: var(--ohe4-font-head); font-size: 24px; color: var(--ohe4-primary); margin-bottom: 10px; text-transform: uppercase; }
.ohe4-legal { font-size: 13px; color: #aaa; margin: 0; }
.ohe4-footer-links a { display: block; color: #fff; text-decoration: none; margin-bottom: 8px; font-size: 14px; transition: var(--ohe4-trans); }
.ohe4-footer-links a:hover { color: var(--ohe4-accent); }
.ohe4-copyright { text-align: center; border-top: 1px solid #333; padding-top: 20px; font-size: 13px; color: #888; }

@media (max-width: 480px) {
    .ohe4-hero-title { font-size: 26px; padding: 0 10px; }
    .ohe4-hero-slogan { font-size: 14px; }
    .ohe4-stat-box strong { font-size: 20px; }
    .ohe4-stat-box span { font-size: 12px; }
    .ohe4-masonry-grid { grid-template-columns: 1fr 1fr; }
    .ohe4-card-title { font-size: 14px; }
    .ohe4-card-sub { font-size: 12px; }
    .ohe4-article { padding: 15px; font-size: 15px; }
    .ohe4-page-title { font-size: 24px; }
}

@media (min-width: 600px) {
    .ohe4-header-inner { flex-direction: row; justify-content: space-between; align-items: center; }
    .ohe4-nav-main { width: auto; }
    .ohe4-hero { height: 450px; }
    .ohe4-hero-title { font-size: 48px; }
    .ohe4-stats { grid-template-columns: repeat(4, 1fr); }
    .ohe4-masonry-grid { grid-template-columns: repeat(3, 1fr); }
    .ohe4-benefits-grid { grid-template-columns: repeat(3, 1fr); }
    .ohe4-footer-inner { grid-template-columns: 1fr 1fr; }
}

@media (min-width: 900px) {
    .ohe4-masonry-grid { grid-template-columns: repeat(4, 1fr); }
    .ohe4-related-grid { grid-template-columns: repeat(4, 1fr); }
}
