/* ═══════════════════════════════════════════════════
   Informational / Legal Pages Styles
   Used by: Responsible Gaming, Gambling Laws,
   Contact, Privacy Policy, Terms of Use
   Prefix: ip- (info page)
   ═══════════════════════════════════════════════════ */

/* ── Base Layout ── */
.ip-page {
    margin-top: 90px;
    color: #1a1a2e;
    line-height: 1.7;
}
.ip-page *,
.ip-page *::before,
.ip-page *::after {
    box-sizing: border-box;
}

/* ── Hero ── */
.ip-hero {
    background: linear-gradient(160deg, #1e2529 0%, #2a3134 50%, #1e2529 100%);
    padding: 48px 0;
    border-bottom: 3px solid #ebac56;
    text-align: center;
}
.ip-hero h1 {
    color: #fff;
    font-size: 32px;
    font-weight: 800;
    margin: 0 0 12px;
    text-align: center;
}
.ip-hero__subtitle {
    color: #9ca3af;
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
}
.ip-hero__updated {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    color: #ebac56;
    font-size: 13px;
    font-weight: 600;
    margin-top: 16px;
}

/* ── Content Area ── */
.ip-body {
    background: #f5f6f8;
    padding: 40px 0 60px;
}
.ip-content {
    max-width: 820px;
    margin: 0 auto;
}

/* ── Sections ── */
.ip-section {
    background: #fff;
    border-radius: 14px;
    padding: 32px;
    margin-bottom: 24px;
    box-shadow: 0 1px 4px rgba(0,0,0,0.06);
}
.ip-section h2 {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 0 0 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ebac56;
    text-align: left;
}
.ip-section h3 {
    font-size: 17px;
    font-weight: 700;
    color: #1a1a2e;
    margin: 24px 0 12px;
    text-align: left;
}
.ip-section p {
    color: #374151;
    margin: 0 0 14px;
    font-size: 15px;
    line-height: 1.8;
}
.ip-section p:last-child {
    margin-bottom: 0;
}
.ip-section strong {
    color: #1a1a2e;
}
.ip-section a {
    color: #ebac56;
    text-decoration: underline;
}
.ip-section a:hover {
    color: #d99a3e;
}
.ip-section ul,
.ip-section ol {
    padding-left: 20px;
    margin: 0 0 16px;
}
.ip-section li {
    color: #374151;
    font-size: 15px;
    margin-bottom: 8px;
    line-height: 1.7;
}

/* ── Alert / Callout Boxes ── */
.ip-alert {
    border-radius: 10px;
    padding: 20px 24px;
    margin: 20px 0;
    font-size: 14px;
    line-height: 1.7;
}
.ip-alert--warning {
    background: #fef9f0;
    border: 1px solid #ebac56;
    border-left: 4px solid #ebac56;
    color: #92400e;
}
.ip-alert--danger {
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-left: 4px solid #ef4444;
    color: #991b1b;
}
.ip-alert--info {
    background: #eff6ff;
    border: 1px solid #bfdbfe;
    border-left: 4px solid #3b82f6;
    color: #1e40af;
}
.ip-alert--success {
    background: #f0fdf4;
    border: 1px solid #bbf7d0;
    border-left: 4px solid #22c55e;
    color: #166534;
}
.ip-alert__title {
    font-weight: 700;
    margin-bottom: 6px;
    display: flex;
    align-items: center;
    gap: 8px;
}

/* ── Warning Signs List ── */
.ip-signs-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
    margin: 16px 0;
}
.ip-sign {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    background: #fef2f2;
    border: 1px solid #fecaca;
    border-radius: 8px;
    padding: 14px;
    font-size: 14px;
    color: #374151;
    line-height: 1.5;
}
.ip-sign svg {
    flex-shrink: 0;
    margin-top: 2px;
}

/* ── Resource Cards ── */
.ip-resource-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
    margin: 20px 0;
}
.ip-resource-card {
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px;
    transition: border-color 0.2s ease;
}
.ip-resource-card:hover {
    border-color: #ebac56;
}
.ip-resource-card__name {
    font-size: 16px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 6px;
}
.ip-resource-card__desc {
    font-size: 13px;
    color: #6b7280;
    margin-bottom: 10px;
    line-height: 1.5;
}
.ip-resource-card__link {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    font-size: 13px;
    font-weight: 600;
    color: #ebac56;
    text-decoration: none;
}
.ip-resource-card__link:hover {
    text-decoration: underline;
}

/* ── Tools List ── */
.ip-tools-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    margin: 16px 0;
}
.ip-tool {
    text-align: center;
    background: #f9fafb;
    border: 1px solid #e5e7eb;
    border-radius: 10px;
    padding: 20px 12px;
}
.ip-tool__icon {
    width: 40px;
    height: 40px;
    background: #ebac56;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 10px;
    color: #fff;
}
.ip-tool__name {
    font-size: 13px;
    font-weight: 700;
    color: #1a1a2e;
    margin-bottom: 4px;
}
.ip-tool__desc {
    font-size: 12px;
    color: #6b7280;
    line-height: 1.4;
}

/* ── FAQ Accordion ── */
.ip-faq {
    margin: 16px 0;
}
.ip-faq-item {
    border: 1px solid #e5e7eb;
    border-radius: 8px;
    margin-bottom: 8px;
    overflow: hidden;
}
.ip-faq-item__question {
    width: 100%;
    background: #f9fafb;
    border: none;
    padding: 16px 20px;
    font-size: 15px;
    font-weight: 600;
    color: #1a1a2e;
    text-align: left;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background 0.15s ease;
}
.ip-faq-item__question:hover {
    background: #f0f0f0;
}
.ip-faq-item__question::after {
    content: '+';
    font-size: 20px;
    font-weight: 300;
    color: #9ca3af;
    transition: transform 0.2s ease;
}
.ip-faq-item.active .ip-faq-item__question::after {
    content: '−';
}
.ip-faq-item__answer {
    display: none;
    padding: 0 20px 16px;
    font-size: 14px;
    color: #374151;
    line-height: 1.7;
}
.ip-faq-item.active .ip-faq-item__answer {
    display: block;
}

/* ── Contact Form ── */
.ip-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}
.ip-form__row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}
.ip-form__group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}
.ip-form__label {
    font-size: 13px;
    font-weight: 600;
    color: #374151;
}
.ip-form__input,
.ip-form__textarea,
.ip-form__select {
    padding: 12px 14px;
    border: 1px solid #d1d5db;
    border-radius: 8px;
    font-size: 15px;
    font-family: inherit;
    color: #1a1a2e;
    background: #fff;
    transition: border-color 0.15s ease;
    width: 100%;
}
.ip-form__input:focus,
.ip-form__textarea:focus,
.ip-form__select:focus {
    outline: none;
    border-color: #ebac56;
    box-shadow: 0 0 0 3px rgba(235, 172, 86, 0.15);
}
.ip-form__textarea {
    resize: vertical;
    min-height: 140px;
}
.ip-form__submit {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background: linear-gradient(135deg, #ebac56, #d99a3e);
    color: #fff;
    font-size: 16px;
    font-weight: 700;
    padding: 14px 32px;
    border-radius: 10px;
    border: none;
    cursor: pointer;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
    align-self: flex-start;
}
.ip-form__submit:hover {
    transform: translateY(-1px);
    box-shadow: 0 6px 20px rgba(235, 172, 86, 0.35);
}

/* ── Legal Table ── */
.ip-table {
    width: 100%;
    border-collapse: collapse;
    margin: 16px 0;
    font-size: 14px;
}
.ip-table th {
    background: #f9fafb;
    padding: 12px 16px;
    text-align: left;
    font-weight: 600;
    color: #1a1a2e;
    border-bottom: 2px solid #e5e7eb;
}
.ip-table td {
    padding: 12px 16px;
    border-bottom: 1px solid #f0f0f0;
    color: #374151;
}
.ip-table tr:hover td {
    background: #f9fafb;
}

/* ── Timeline ── */
.ip-timeline {
    position: relative;
    margin: 20px 0;
    padding-left: 28px;
}
.ip-timeline::before {
    content: '';
    position: absolute;
    left: 8px;
    top: 0;
    bottom: 0;
    width: 2px;
    background: #e5e7eb;
}
.ip-timeline-item {
    position: relative;
    margin-bottom: 20px;
    padding-left: 20px;
}
.ip-timeline-item::before {
    content: '';
    position: absolute;
    left: -24px;
    top: 6px;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #ebac56;
    border: 2px solid #fff;
    box-shadow: 0 0 0 2px #ebac56;
}
.ip-timeline-item__year {
    font-size: 14px;
    font-weight: 700;
    color: #ebac56;
    margin-bottom: 4px;
}
.ip-timeline-item__text {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
}

/* ── Breadcrumbs ── */
.ip-breadcrumbs {
    background: #1e2529;
    padding: 14px 0;
}
.ip-breadcrumbs nav {
    font-size: 13px;
    color: #9ca3af;
}
.ip-breadcrumbs a {
    color: #ebac56;
    text-decoration: none;
}
.ip-breadcrumbs a:hover {
    text-decoration: underline;
}


/* ═══════════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════════ */
@media (max-width: 1100px) {
    .ip-hero {
        padding: 32px 0;
    }
    .ip-hero h1 {
        font-size: 26px;
    }
    .ip-section {
        padding: 24px 20px;
    }
    .ip-signs-grid {
        grid-template-columns: 1fr;
    }
    .ip-resource-grid {
        grid-template-columns: 1fr;
    }
    .ip-tools-grid {
        grid-template-columns: 1fr 1fr;
    }
    .ip-form__row {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 700px) {
    .ip-hero h1 {
        font-size: 22px;
    }
    .ip-section {
        padding: 20px 16px;
        border-radius: 10px;
    }
    .ip-section h2 {
        font-size: 19px;
    }
    .ip-tools-grid {
        grid-template-columns: 1fr;
    }
}
