:root {
    --primary: #ff9f35;
    --secondary: #fa8201;
    --dark: #313131;
    --light: #f8f8f8;
    --text: #666666;
    --white: #ffffff;
    --border: #eeeeee;
}

/* Base Reset */
* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    font-family: 'Ubuntu', Arial, sans-serif;
    line-height: 1.6;
    color: var(--text);
    background-color: var(--white);
    -webkit-font-smoothing: antialiased;
}

/* Centering the Content */
.container {
    max-width: 1100px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.site-header {
    background-color: var(--white);
    border-bottom: 1px solid var(--border);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-inner {
    display: flex;
    justify-content: center;
}

@media (min-width: 768px) {
    .header-inner { justify-content: flex-start; }
}

.logo a {
    font-size: 24px;
    font-weight: 700;
    color: var(--dark);
    text-decoration: none;
    letter-spacing: 1.5px;
}

/* Typography & Layout Centering */
.page-content { padding: 40px 0; }

.entry-content > h1,
.entry-content > h2,
.entry-content > h3,
.entry-content > p,
.entry-content > nav {
    text-align: left;
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
}

h1 {
    font-family: 'Lora', serif;
    font-size: clamp(28px, 6vw, 42px);
    color: var(--dark);
    margin-bottom: 25px;
}

h2 {
    font-family: 'Lora', serif;
    font-size: clamp(22px, 5vw, 32px);
    color: var(--dark);
    margin: 45px auto 20px;
    border-left: 5px solid var(--primary);
    padding-left: 15px;
}

/* --- AFFILIATE TABLE (Card Transformation) --- */
.affiliate-table-container {
    margin: 40px auto;
    max-width: 900px;
}

@media (max-width: 767px) {
    .affiliate-table,
    .affiliate-table thead,
    .affiliate-table tbody,
    .affiliate-table th,
    .affiliate-table td,
    .affiliate-table tr {
        display: block;
    }

    .affiliate-table thead { display: none; }

    .affiliate-table tr {
        margin-bottom: 20px;
        border: 1px solid var(--border);
        border-radius: 12px;
        padding: 20px;
        background: var(--white);
        box-shadow: 0 4px 12px rgba(0,0,0,0.05);
        text-align: center;
    }

    .affiliate-table td { border: none; padding: 10px 0; }

    .casino-cell {
        flex-direction: column;
        gap: 10px;
        justify-content: center;
    }

    .casino-logo { width: 120px; margin-bottom: 5px; }

    .casino-cell span {
        font-weight: 700;
        font-size: 18px;
        color: var(--dark);
    }

    .cta-button {
        width: 100%;
        display: block;
        padding: 15px;
    }
}

/* Desktop Affiliate Table */
@media (min-width: 768px) {
    .affiliate-table { width: 100%; border-collapse: collapse; }
    .affiliate-table th { background: var(--dark); color: var(--white); padding: 15px; text-align: left; }
    .affiliate-table td { padding: 20px 15px; border-bottom: 1px solid var(--border); }
}

/* --- STANDARD TABLES (Preserved Horizontal Scroll Style) --- */
.table-scroll {
    overflow-x: auto;
    margin: 30px auto;
    max-width: 900px;
    border: 1px solid var(--border);
    border-radius: 8px;
    background: var(--white);
    -webkit-overflow-scrolling: touch;
}

.table-scroll table {
    width: 100%;
    border-collapse: collapse;
    min-width: 600px; /* Forces scroll on mobile to keep original look */
}

.table-scroll th {
    background-color: var(--light);
    color: var(--dark);
    text-align: left;
    padding: 15px;
    font-weight: 700;
    border-bottom: 2px solid var(--border);
}

.table-scroll td {
    padding: 15px;
    border-bottom: 1px solid var(--border);
    font-size: 15px;
    color: var(--text);
}

/* --- GENERAL UI --- */
.cta-button {
    display: inline-block;
    background-color: var(--secondary);
    color: var(--white);
    padding: 12px 25px;
    border-radius: 6px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
}

.faq-container { max-width: 900px; margin: 40px auto; }
.faq-item {
    background: var(--light);
    padding: 20px;
    margin-bottom: 15px;
    border-radius: 8px;
}

.site-footer {
    background-color: var(--dark);
    color: var(--white);
    padding: 40px 0;
    text-align: center;
    margin-top: 60px;
}