* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
    margin: 0;
    font-family: Arial, Helvetica, sans-serif;
    color: #202020;
    background: #fff;
    line-height: 1.6;
}
a { color: #b5121b; text-decoration: none; }
a:hover { text-decoration: underline; }
.container { width: min(1120px, 92%); margin: 0 auto; }

.small_log {
    font-size: x-small;
}

.site-header {
    background: #fff;
    border-bottom: 1px solid #ddd;
    /* position: sticky; */
    top: 0;
    z-index: 10;
}
.header-inner {
    min-height: 110px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 25px;
}
.logo-link img { display: block; width: min(430px, 75vw); height: auto; }
.main-nav { display: flex; flex-wrap: wrap; gap: 24px; }
.main-nav a { color: #222; font-weight: 700; }
.main-nav a:hover { color: #b5121b; text-decoration: none; }

.hero {
    background: linear-gradient(135deg, #111 0%, #252525 60%, #4a0d12 100%);
    color: #fff;
    padding: 80px 0;
}
.hero-content { max-width: 700px; }
.hero h1 { font-size: clamp(1.5rem, 5vw, 2.5rem); line-height: 1.05; margin: 0 0 20px; }
.hero p { font-size: 1.2rem; margin: 0 0 30px; color: #eee; }
.btn {
    display: inline-block;
    background: #d71920;
    color: #fff;
    padding: 13px 23px;
    border-radius: 5px;
    font-weight: 700;
    border: 0;
}
.btn:hover { background: #b5121b; color: #fff; text-decoration: none; }
.btn.secondary { background: #fff; color: #222; margin-left: 10px; }

.section { padding: 25px 0; }
.section.alt { background: #f5f5f5; }
.section h2 { font-size: 2rem; margin-top: 0; }
.intro { max-width: 760px; }

.cards, .products-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
}
.card, .product-card {
    background: #fff;
    border: 1px solid #ddd;
    border-radius: 8px;
    padding: 25px;
    box-shadow: 0 3px 12px rgba(0,0,0,.05);
}
.card h3, .product-card h3 { margin-top: 0; }
.product-card .category {
    color: #777;
    font-size: .85rem;
    text-transform: uppercase;
    letter-spacing: .08em;
}
.product-card .price { font-size: 1.2rem; font-weight: 700; margin: 12px 0; }
.notice {
    background: #fff6f6;
    border-left: 4px solid #d71920;
    padding: 10px 12px;
    margin: 25px 0;
}
.fullnotice {
    background: #fff6f6;
    border: 4px solid #d71920;
    padding: 10px 12px;
    margin: 25px 0
}
.page-header { background: #f5f5f5; padding: 45px 0; }
.page-header h1 { margin: 0; font-size: 2.5rem; }
.content { max-width: 850px; padding: 55px 0; }
.content h2 { margin-top: 35px; }
.content ul { padding-left: 25px; }

.content h2 {
    font-size: 1.25rem;
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.content h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
}

.site-footer {
    background: #171717;
    color: #ddd;
    padding: 45px 0 15px;
}
.site-footer a { display: block; color: #eee; margin: 5px 0; }
.site-footer h3 { color: #fff; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr; gap: 50px; }
.footer-bottom { border-top: 1px solid #444; margin-top: 30px; padding-top: 12px; font-size: .9rem; }

@media (max-width: 800px) {
    .header-inner { flex-direction: column; padding: 15px 0; }
    .main-nav { justify-content: center; gap: 15px; }
    .cards, .products-grid { grid-template-columns: 1fr; }
    .hero { padding: 55px 0; }
    .btn.secondary { margin: 10px 0 0; }
    .footer-grid { grid-template-columns: 1fr; }
}

/* Under Construction Page */
.construction-page {
    min-height: 55vh;
    padding: 80px 0;
    display: flex;
    align-items: center;
}

.construction-card {
    max-width: 760px;
    margin: 0 auto;
    padding: 55px 45px;
    text-align: center;
    background: #fff;
    border: 1px solid #e5e5e5;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0,0,0,.08);
}

.construction-card h1 {
    margin-top: 0;
    font-size: 2.3rem;
}

.construction-lead {
    font-size: 1.35rem;
    font-weight: 600;
}

.construction-card p {
    line-height: 1.7;
}

@media (max-width: 800px) {
    .construction-card {
        padding: 40px 25px;
    }

    .construction-card h1 {
        font-size: 1.9rem;
    }
}
.guide-image {
    display: block;
    width: 100%;
    max-width: 800px;
    height: auto;
    margin: 1.5rem auto;
}

/* calculator */

.pgs-calculator{
    max-width:900px;margin:0 auto
}
.calc-box,.calc-results{
    border:1px solid #d7d7d7;border-radius:8px;padding:1.25rem;margin:1.25rem 0;background:#fafafa
}
.calc-grid{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:1rem 1.25rem
}
.calc-field label{
    display:block;font-weight:700;margin-bottom:.35rem
}
.calc-field input,.calc-field select{
    box-sizing:border-box;
    width:100%;
    min-height:44px;
    padding:.55rem .65rem;font-size:1rem
}
.game-types{
    display:flex;
    flex-wrap:wrap;
    gap:.75rem 1.5rem;
    margin:.5rem 0 1.25rem
}
.game-types label{
    font-weight:700
}
.calc-box button{
    min-height:44px;
    padding:.65rem 1rem;
    font-size:1rem;
    cursor:pointer
}
.calc-help{
    color:#555;
    font-size:.94rem;margin-top:.35rem
}
.calc-error{
    color:#a40000;
    font-weight:700;
    margin-top:.75rem
}
.calc-results[hidden]{
    display:none
}
.calc-summary{
    font-size:1.08rem;
    margin-bottom:1rem
}
.calc-table-wrap{
    width:100%;
    overflow-x:auto;
    -webkit-overflow-scrolling:touch
}
.calc-table{
    width:100%;
    border-collapse:collapse;
    margin:.75rem 0 1rem
}
.calc-table th,.calc-table td{
    border:1px solid #ccc;
    padding:.6rem;
    text-align:right
}
.calc-table th:first-child,.calc-table td:first-child{
    text-align:left
}
.calc-table th{
    background:#eee
}
.calc-note{
    background:#fff;
    border-left:4px solid #777;
    padding:.8rem 1rem;margin:1rem 0
}
.related-guides{
    margin-top:2rem
}
@media(max-width:650px){
    .calc-grid{
        grid-template-columns:1fr
    }
    .calc-box,.calc-results{
        padding:1rem
    }
}






/* blinds */
.blind-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0 1rem;
}

.blind-table th,
.blind-table td {
    border: 1px solid #ccc;
    padding: 0.6rem;
    text-align: right;
}

.blind-table th:first-child,
.blind-table td:first-child {
    text-align: left;
}

.blind-table th {
    background: #eee;
}

.blind-break-row td {
    background: #f2f2f2;
    text-align: center !important;
}

.blind-result-note {
    background: #fff;
    border-left: 4px solid #777;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
}

.blind-related {
    margin-top: 2rem;
}

@media (max-width: 650px) {
    .blind-generator-grid {
        grid-template-columns: 1fr;
    }

    .blind-generator-box,
    .blind-results {
        padding: 1rem;
    }
}

/* payout */
.payout-calculator {
    max-width: 900px;
    margin: 0 auto;
}

.payout-calculator-box,
.payout-results {
    border: 1px solid #d7d7d7;
    border-radius: 8px;
    padding: 1.25rem;
    margin: 1.25rem 0;
    background: #fafafa;
}

.payout-calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem 1.25rem;
}

.payout-field label {
    display: block;
    font-weight: 700;
    margin-bottom: 0.35rem;
}

.payout-field input,
.payout-field select {
    box-sizing: border-box;
    width: 100%;
    min-height: 44px;
    padding: 0.55rem 0.65rem;
    font-size: 1rem;
}

.payout-help {
    color: #555;
    font-size: 0.94rem;
    margin-top: 0.35rem;
}

.payout-calculator button {
    min-height: 44px;
    padding: 0.65rem 1rem;
    font-size: 1rem;
    cursor: pointer;
}

.payout-error {
    color: #a40000;
    font-weight: 700;
    margin-top: 0.75rem;
}

    width: 100%;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
}

.payout-table {
    width: 100%;
    border-collapse: collapse;
    margin: 0.75rem 0 1rem;
}

.payout-table th,
.payout-table td {
    border: 1px solid #ccc;
    padding: 0.6rem;
    text-align: right;
}

.payout-table th:first-child,
.payout-table td:first-child {
    text-align: left;
}

.payout-table th {
    background: #eee;
}

.payout-table tfoot th,
.payout-table tfoot td {
    font-weight: 700;
    background: #f2f2f2;
}

.payout-result-note {
    background: #fff;
    border-left: 4px solid #777;
    padding: 0.8rem 1rem;
    margin: 1rem 0;
}

.payout-related {
    margin-top: 2rem;
}

@media (max-width: 650px) {
    .payout-calculator-grid {
        grid-template-columns: 1fr;
    }

    .payout-calculator-box,
    .payout-results {
        padding: 1rem;
    }
}

/* odds calculator  */
.odds-calculator {
    max-width: 900px;
    margin: 0 auto;
}

.odds-calculator-box,
.odds-results {
    margin: 1.5rem 0;
    padding: 1.25rem;
    border: 1px solid #dddddd;
    border-radius: 8px;
    background: #fafafa;
}

.odds-calculator-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.odds-field {
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.odds-field label {
    font-weight: 700;
}

.odds-field input,
.odds-field select {
    width: 100%;
    min-height: 44px;
    padding: 0.6rem;
    font: inherit;
    border: 1px solid #bbbbbb;
    border-radius: 4px;
    background: #ffffff;
}

.odds-help {
    font-size: 0.9rem;
    color: #555555;
}

.odds-error {
    margin-bottom: 0;
    font-weight: 700;
}

.odds-summary {
    margin-bottom: 1rem;
}

.odds-table-wrap {
    width: 100%;
    overflow-x: auto;
    margin: 1rem 0;
}

.odds-table {
    width: 100%;
    border-collapse: collapse;
}

.odds-table th,
.odds-table td {
    padding: 0.7rem;
    border: 1px solid #dddddd;
    text-align: left;
    vertical-align: top;
}

.odds-table th {
    font-weight: 700;
}

.odds-result-note {
    margin-top: 1rem;
    padding: 0.9rem 1rem;
    border-left: 4px solid #777777;
    background: #f5f5f5;
}

.odds-related {
    margin-top: 2rem;
}

@media (max-width: 650px) {
    .odds-calculator-grid {
        grid-template-columns: 1fr;
    }

    .odds-calculator-box,
    .odds-results {
        padding: 1rem;
    }
}

