/*
Theme Name: IraqBetApps Child
Theme URI:   https://iraqbetapps.com/
Description: Child theme for Mercury — iraqbetapps.com betting apps affiliate site
Author:      iraqbetapps.com
Template:    mercury
Version:     1.0.0
Text Domain: mercury
*/

@import url("../mercury/style.css");

/* ============================================================
   IRAQBETAPPS.COM — CHILD THEME OVERRIDES
   colour palette:
     Navy    #1B2A4A  (primary dark)
     Teal    #0D6E6E  (accent)
     Gold    #C9A84C  (CTA highlight)
     Light   #F2F4F7  (bg alt)
     White   #FFFFFF
     Danger  #C0392B  (warnings)
     Success #1A7A4A  (positive badges)
   ============================================================ */

/* ----------------------------------------------------------
   1. CSS CUSTOM PROPERTIES
   ---------------------------------------------------------- */
:root {
	--iba-navy:      #1B2A4A;
	--iba-navy-dark: #111e35;
	--iba-teal:      #0D6E6E;
	--iba-teal-dark: #095252;
	--iba-gold:      #C9A84C;
	--iba-gold-dark: #a8892e;
	--iba-light:     #F2F4F7;
	--iba-border:    #D6DAE4;
	--iba-text:      #2C2C2C;
	--iba-muted:     #6B7280;
	--iba-danger:    #C0392B;
	--iba-success:   #1A7A4A;
	--iba-warning-bg:#FFF3CD;
	--iba-radius:    8px;
	--iba-radius-lg: 12px;
	--iba-shadow:    0 2px 12px rgba(27,42,74,0.10);
	--iba-shadow-lg: 0 4px 24px rgba(27,42,74,0.16);
	--iba-font:      'Inter', 'Segoe UI', Arial, sans-serif;
	--iba-transition:0.22s ease;
}

/* ----------------------------------------------------------
   2. BASE TYPOGRAPHY & BODY
   ---------------------------------------------------------- */
body {
	font-family: var(--iba-font);
	color: var(--iba-text);
	background: #fff;
}

h1, h2, h3, h4, h5, h6 {
	font-family: var(--iba-font);
	color: var(--iba-navy);
	font-weight: 700;
	line-height: 1.25;
}

a {
	color: var(--iba-teal);
	transition: color var(--iba-transition);
}
a:hover { color: var(--iba-navy); }

/* ----------------------------------------------------------
   3. APP CARD — ARCHIVE LIST ITEM
   replaces Mercury .space-companies-archive-item
   ---------------------------------------------------------- */

/* wrapper row */
.iba-app-card {
	background: #fff;
	border: 1px solid var(--iba-border);
	border-radius: var(--iba-radius-lg);
	box-shadow: var(--iba-shadow);
	margin-bottom: 16px;
	padding: 0;
	transition: box-shadow var(--iba-transition), border-color var(--iba-transition);
	display: flex;
	align-items: stretch;
	position: relative;
	overflow: hidden;
}
.iba-app-card:hover {
	box-shadow: var(--iba-shadow-lg);
	border-color: var(--iba-teal);
}

/* rank badge */
.iba-app-card__rank {
	background: var(--iba-navy);
	color: #fff;
	font-size: 13px;
	font-weight: 700;
	width: 36px;
	min-width: 36px;
	display: flex;
	align-items: center;
	justify-content: center;
	writing-mode: horizontal-tb;
	border-radius: var(--iba-radius-lg) 0 0 var(--iba-radius-lg);
}
.iba-app-card__rank span {
	display: block;
	text-align: center;
}
.iba-app-card__rank--gold   { background: var(--iba-gold);  color: var(--iba-navy); }
.iba-app-card__rank--silver { background: #9EA5B0; }
.iba-app-card__rank--bronze { background: #b87333; }

/* logo column */
.iba-app-card__logo {
	width: 100px;
	min-width: 100px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 16px 8px;
	border-right: 1px solid var(--iba-border);
	background: var(--iba-light);
}
.iba-app-card__logo a {
	display: block;
	text-align: center;
}
.iba-app-card__logo img {
	max-width: 80px;
	max-height: 80px;
	width: auto;
	height: auto;
	border-radius: 10px;
	object-fit: contain;
}

/* info column */
.iba-app-card__info {
	flex: 1;
	padding: 14px 16px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	min-width: 0;
}

.iba-app-card__name {
	font-size: 17px;
	font-weight: 700;
	color: var(--iba-navy);
	margin: 0 0 4px;
	line-height: 1.2;
}
.iba-app-card__name a {
	color: var(--iba-navy);
	text-decoration: none;
}
.iba-app-card__name a:hover { color: var(--iba-teal); }

/* star rating row (uses existing aces_star_rating output) */
.iba-app-card__rating {
	margin-bottom: 8px;
	display: flex;
	align-items: center;
	gap: 6px;
}
.iba-app-card__rating-num {
	font-size: 13px;
	font-weight: 700;
	color: var(--iba-gold);
}

/* platform badges */
.iba-app-card__platforms {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 8px;
}
.iba-badge {
	display: inline-flex;
	align-items: center;
	gap: 4px;
	font-size: 11px;
	font-weight: 600;
	padding: 3px 8px;
	border-radius: 20px;
	white-space: nowrap;
	line-height: 1.4;
}
.iba-badge--android { background: #e8f5e9; color: #2e7d32; border: 1px solid #a5d6a7; }
.iba-badge--ios     { background: #e3f2fd; color: #1565c0; border: 1px solid #90caf9; }
.iba-badge--apk     { background: #fff3e0; color: #e65100; border: 1px solid #ffcc80; }
.iba-badge--live    { background: #fce4ec; color: #b71c1c; border: 1px solid #f48fb1; }
.iba-badge--sports  { background: #f3e5f5; color: #6a1b9a; border: 1px solid #ce93d8; }
.iba-badge--casino  { background: #e8eaf6; color: #283593; border: 1px solid #9fa8da; }

/* key specs row */
.iba-app-card__specs {
	display: flex;
	flex-wrap: wrap;
	gap: 12px;
	font-size: 12px;
	color: var(--iba-muted);
}
.iba-app-card__spec {
	display: flex;
	align-items: center;
	gap: 4px;
}
.iba-app-card__spec strong {
	color: var(--iba-text);
	font-weight: 600;
}
.iba-app-card__spec i {
	color: var(--iba-teal);
	font-size: 11px;
}

/* short description */
.iba-app-card__desc {
	font-size: 13px;
	color: var(--iba-muted);
	margin: 6px 0 0;
	line-height: 1.5;
}

/* CTA column */
.iba-app-card__cta {
	width: 160px;
	min-width: 140px;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	padding: 16px 12px;
	border-left: 1px solid var(--iba-border);
	gap: 8px;
	text-align: center;
}

.iba-btn {
	display: inline-block;
	padding: 10px 18px;
	border-radius: var(--iba-radius);
	font-size: 13px;
	font-weight: 700;
	text-align: center;
	text-decoration: none;
	cursor: pointer;
	transition: background var(--iba-transition), transform var(--iba-transition);
	white-space: nowrap;
	line-height: 1.3;
}
.iba-btn--primary {
	background: var(--iba-gold);
	color: var(--iba-navy);
	border: none;
}
.iba-btn--primary:hover {
	background: var(--iba-gold-dark);
	color: var(--iba-navy);
	transform: translateY(-1px);
}
.iba-btn--secondary {
	background: transparent;
	color: var(--iba-teal);
	border: 1.5px solid var(--iba-teal);
	font-size: 12px;
	padding: 7px 14px;
}
.iba-btn--secondary:hover {
	background: var(--iba-teal);
	color: #fff;
}
.iba-btn--full { width: 100%; }

/* bonus label under CTA */
.iba-app-card__bonus {
	font-size: 11px;
	color: var(--iba-muted);
	line-height: 1.4;
}
.iba-app-card__bonus strong {
	display: block;
	font-size: 13px;
	color: var(--iba-success);
	font-weight: 700;
}

/* TC notice */
.iba-app-card__tc {
	font-size: 10px;
	color: var(--iba-muted);
	text-align: center;
}
.iba-app-card__tc .tc-apply {
	cursor: pointer;
	text-decoration: underline dotted;
	color: var(--iba-muted);
}
.iba-app-card__tc .tc-desc {
	display: none;
	background: var(--iba-warning-bg);
	border: 1px solid var(--iba-gold);
	border-radius: 4px;
	padding: 6px 8px;
	margin-top: 4px;
	font-size: 10px;
	text-align: left;
}
.iba-app-card__tc:hover .tc-desc,
.iba-app-card__tc .tc-apply:focus + .tc-desc { display: block; }

/* ----------------------------------------------------------
   4. SINGLE APP PAGE (replaces single-casino)
   ---------------------------------------------------------- */

/* hero header */
.iba-single-hero {
	background: linear-gradient(135deg, var(--iba-navy) 60%, var(--iba-teal) 100%);
	color: #fff;
	padding: 32px 0 0;
	margin-bottom: 0;
}
.iba-single-hero__inner {
	display: flex;
	align-items: flex-start;
	gap: 24px;
	max-width: 1170px;
	margin: 0 auto;
	padding: 0 16px 24px;
}
.iba-single-hero__logo {
	flex-shrink: 0;
	background: #fff;
	border-radius: 14px;
	padding: 10px;
	width: 120px;
	height: 120px;
	display: flex;
	align-items: center;
	justify-content: center;
	box-shadow: 0 4px 16px rgba(0,0,0,0.18);
}
.iba-single-hero__logo img {
	max-width: 100%;
	max-height: 100%;
	border-radius: 8px;
	object-fit: contain;
}
.iba-single-hero__meta { flex: 1; min-width: 0; }
.iba-single-hero__name {
	font-size: 28px;
	font-weight: 800;
	color: #fff;
	margin: 0 0 6px;
	line-height: 1.2;
}
.iba-single-hero__rating {
	display: flex;
	align-items: center;
	gap: 8px;
	margin-bottom: 10px;
}
.iba-single-hero__rating-num {
	font-size: 22px;
	font-weight: 800;
	color: var(--iba-gold);
}
.iba-single-hero__rating-label {
	font-size: 13px;
	color: rgba(255,255,255,0.75);
}
.iba-single-hero__badges {
	display: flex;
	flex-wrap: wrap;
	gap: 6px;
	margin-bottom: 12px;
}
.iba-single-hero__desc {
	font-size: 14px;
	color: rgba(255,255,255,0.85);
	line-height: 1.6;
	max-width: 560px;
}
.iba-single-hero__cta {
	flex-shrink: 0;
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 10px;
	padding-top: 8px;
}
.iba-single-hero__cta .iba-btn--primary {
	font-size: 15px;
	padding: 13px 28px;
	border-radius: 10px;
}
.iba-single-hero__cta-notice {
	font-size: 11px;
	color: rgba(255,255,255,0.65);
	text-align: center;
	max-width: 160px;
}

/* tab strip under hero */
.iba-single-tabs {
	background: var(--iba-navy-dark);
	display: flex;
	overflow-x: auto;
	scrollbar-width: none;
	max-width: 100%;
}
.iba-single-tabs::-webkit-scrollbar { display: none; }
.iba-single-tab {
	flex-shrink: 0;
	padding: 12px 20px;
	font-size: 13px;
	font-weight: 600;
	color: rgba(255,255,255,0.65);
	cursor: pointer;
	border-bottom: 3px solid transparent;
	text-decoration: none;
	transition: color var(--iba-transition), border-color var(--iba-transition);
	white-space: nowrap;
}
.iba-single-tab:hover,
.iba-single-tab.active {
	color: var(--iba-gold);
	border-bottom-color: var(--iba-gold);
}

/* content layout */
.iba-single-body {
	max-width: 1170px;
	margin: 32px auto;
	padding: 0 16px;
	display: grid;
	grid-template-columns: 1fr 300px;
	gap: 28px;
}
.iba-single-main { min-width: 0; }
.iba-single-sidebar {}

/* section headings inside single */
.iba-section-title {
	font-size: 18px;
	font-weight: 700;
	color: var(--iba-navy);
	border-left: 4px solid var(--iba-gold);
	padding-left: 12px;
	margin: 28px 0 14px;
	line-height: 1.2;
}
.iba-section-title:first-child { margin-top: 0; }

/* quick facts table */
.iba-facts-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin-bottom: 20px;
	border-radius: var(--iba-radius);
	overflow: hidden;
	border: 1px solid var(--iba-border);
}
.iba-facts-table tr:nth-child(even) td { background: var(--iba-light); }
.iba-facts-table td {
	padding: 10px 14px;
	border-bottom: 1px solid var(--iba-border);
	vertical-align: middle;
}
.iba-facts-table td:first-child {
	font-weight: 600;
	color: var(--iba-navy);
	width: 38%;
	white-space: nowrap;
}
.iba-facts-table td:first-child i {
	color: var(--iba-teal);
	margin-right: 6px;
	width: 14px;
	text-align: center;
}
.iba-facts-table td:last-child { color: var(--iba-text); }

/* sub-rating bars */
.iba-rating-bars { margin-bottom: 20px; }
.iba-rating-bar {
	display: flex;
	align-items: center;
	gap: 10px;
	margin-bottom: 8px;
}
.iba-rating-bar__label {
	width: 140px;
	font-size: 12px;
	color: var(--iba-text);
	flex-shrink: 0;
}
.iba-rating-bar__track {
	flex: 1;
	height: 8px;
	background: var(--iba-border);
	border-radius: 4px;
	overflow: hidden;
}
.iba-rating-bar__fill {
	height: 100%;
	background: linear-gradient(90deg, var(--iba-teal), var(--iba-gold));
	border-radius: 4px;
	transition: width 0.6s ease;
}
.iba-rating-bar__num {
	width: 28px;
	font-size: 12px;
	font-weight: 700;
	color: var(--iba-navy);
	text-align: right;
	flex-shrink: 0;
}

/* pros / cons */
.iba-pros-cons {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 16px;
	margin-bottom: 20px;
}
.iba-pros, .iba-cons {
	border-radius: var(--iba-radius);
	padding: 14px 16px;
}
.iba-pros { background: #f0faf4; border: 1px solid #a5d6a7; }
.iba-cons { background: #fff5f5; border: 1px solid #ef9a9a; }
.iba-pros__title, .iba-cons__title {
	font-size: 13px;
	font-weight: 700;
	margin-bottom: 8px;
}
.iba-pros__title { color: var(--iba-success); }
.iba-cons__title { color: var(--iba-danger); }
.iba-pros ul, .iba-cons ul {
	margin: 0; padding: 0;
	list-style: none;
}
.iba-pros ul li, .iba-cons ul li {
	font-size: 13px;
	padding: 3px 0 3px 18px;
	position: relative;
	color: var(--iba-text);
	line-height: 1.45;
}
.iba-pros ul li::before { content: "✓"; position: absolute; left: 0; color: var(--iba-success); font-weight: 700; }
.iba-cons ul li::before { content: "✗"; position: absolute; left: 0; color: var(--iba-danger); font-weight: 700; }

/* sidebar sticky card */
.iba-sidebar-card {
	background: #fff;
	border: 1px solid var(--iba-border);
	border-radius: var(--iba-radius-lg);
	box-shadow: var(--iba-shadow);
	overflow: hidden;
	margin-bottom: 20px;
	position: sticky;
	top: 20px;
}
.iba-sidebar-card__head {
	background: var(--iba-navy);
	color: #fff;
	padding: 14px 16px;
	text-align: center;
}
.iba-sidebar-card__logo {
	width: 80px;
	height: 80px;
	background: #fff;
	border-radius: 10px;
	margin: 0 auto 10px;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 6px;
}
.iba-sidebar-card__logo img {
	max-width: 100%;
	max-height: 100%;
	object-fit: contain;
	border-radius: 6px;
}
.iba-sidebar-card__name {
	font-size: 15px;
	font-weight: 700;
	color: #fff;
	margin-bottom: 6px;
}
.iba-sidebar-card__body { padding: 16px; }
.iba-sidebar-card__cta-btn {
	display: block;
	width: 100%;
	background: var(--iba-gold);
	color: var(--iba-navy);
	text-align: center;
	padding: 13px;
	border-radius: var(--iba-radius);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	margin-bottom: 10px;
	transition: background var(--iba-transition);
}
.iba-sidebar-card__cta-btn:hover {
	background: var(--iba-gold-dark);
	color: var(--iba-navy);
}
.iba-sidebar-card__notice {
	font-size: 10px;
	color: var(--iba-muted);
	text-align: center;
	line-height: 1.5;
}

/* sticky float bar (reuses Mercury float bar pattern) */
.iba-float-bar {
	position: fixed;
	bottom: 0;
	left: 0;
	right: 0;
	background: var(--iba-navy);
	z-index: 9990;
	padding: 10px 16px;
	display: flex;
	align-items: center;
	justify-content: space-between;
	gap: 12px;
	box-shadow: 0 -2px 16px rgba(0,0,0,0.22);
	transform: translateY(100%);
	transition: transform 0.3s ease;
}
.iba-float-bar.show { transform: translateY(0); }
.iba-float-bar__info { display: flex; align-items: center; gap: 10px; flex: 1; min-width: 0; }
.iba-float-bar__logo {
	width: 44px; height: 44px;
	background: #fff;
	border-radius: 8px;
	flex-shrink: 0;
	display: flex;
	align-items: center;
	justify-content: center;
	padding: 4px;
}
.iba-float-bar__logo img { max-width: 36px; max-height: 36px; object-fit: contain; }
.iba-float-bar__name { font-size: 14px; font-weight: 700; color: #fff; }
.iba-float-bar__rating { font-size: 12px; color: var(--iba-gold); }
.iba-float-bar__btn {
	background: var(--iba-gold);
	color: var(--iba-navy);
	padding: 10px 22px;
	border-radius: var(--iba-radius);
	font-weight: 700;
	font-size: 14px;
	text-decoration: none;
	white-space: nowrap;
	flex-shrink: 0;
	transition: background var(--iba-transition);
}
.iba-float-bar__btn:hover { background: var(--iba-gold-dark); color: var(--iba-navy); }

/* ----------------------------------------------------------
   5. WARNING / VERIFICATION NOTICE
   ---------------------------------------------------------- */
.iba-warning {
	background: var(--iba-warning-bg);
	border: 1px solid var(--iba-gold);
	border-left: 4px solid var(--iba-danger);
	border-radius: var(--iba-radius);
	padding: 12px 16px;
	font-size: 12px;
	color: var(--iba-text);
	margin: 12px 0;
	display: flex;
	align-items: flex-start;
	gap: 8px;
	line-height: 1.5;
}
.iba-warning i { color: var(--iba-danger); margin-top: 2px; flex-shrink: 0; }

/* ----------------------------------------------------------
   6. COMPARISON TABLE (for /best-betting-apps/ etc.)
   ---------------------------------------------------------- */
.iba-comparison-table {
	width: 100%;
	border-collapse: collapse;
	font-size: 13px;
	margin: 20px 0;
	border-radius: var(--iba-radius-lg);
	overflow: hidden;
	box-shadow: var(--iba-shadow);
}
.iba-comparison-table thead tr {
	background: var(--iba-navy);
	color: #fff;
}
.iba-comparison-table th {
	padding: 12px 14px;
	font-weight: 600;
	font-size: 12px;
	text-align: left;
	white-space: nowrap;
}
.iba-comparison-table th:first-child { border-radius: var(--iba-radius-lg) 0 0 0; }
.iba-comparison-table th:last-child  { border-radius: 0 var(--iba-radius-lg) 0 0; }
.iba-comparison-table tbody tr {
	border-bottom: 1px solid var(--iba-border);
	transition: background var(--iba-transition);
}
.iba-comparison-table tbody tr:nth-child(even) { background: var(--iba-light); }
.iba-comparison-table tbody tr:hover { background: #eef6ff; }
.iba-comparison-table td {
	padding: 12px 14px;
	vertical-align: middle;
	color: var(--iba-text);
}
.iba-comparison-table td:first-child { font-weight: 600; color: var(--iba-navy); }
.iba-ct-logo { display: flex; align-items: center; gap: 8px; }
.iba-ct-logo img { width: 36px; height: 36px; border-radius: 6px; object-fit: contain; }
.iba-ct-rating { font-weight: 700; color: var(--iba-gold); }
.iba-ct-check { color: var(--iba-success); font-size: 15px; }
.iba-ct-cross { color: var(--iba-muted); font-size: 15px; }
.iba-ct-cta a {
	display: inline-block;
	background: var(--iba-gold);
	color: var(--iba-navy);
	padding: 7px 14px;
	border-radius: 6px;
	font-size: 12px;
	font-weight: 700;
	text-decoration: none;
	white-space: nowrap;
	transition: background var(--iba-transition);
}
.iba-ct-cta a:hover { background: var(--iba-gold-dark); }

/* ----------------------------------------------------------
   7. FAQ BLOCK (FAQPage schema)
   ---------------------------------------------------------- */
.iba-faq { margin: 24px 0; }
.iba-faq__item {
	border: 1px solid var(--iba-border);
	border-radius: var(--iba-radius);
	margin-bottom: 8px;
	overflow: hidden;
}
.iba-faq__question {
	display: flex;
	align-items: center;
	justify-content: space-between;
	padding: 14px 16px;
	cursor: pointer;
	background: var(--iba-light);
	font-weight: 600;
	font-size: 14px;
	color: var(--iba-navy);
	gap: 10px;
	user-select: none;
	transition: background var(--iba-transition);
}
.iba-faq__question:hover { background: #e5eaf3; }
.iba-faq__question i {
	flex-shrink: 0;
	color: var(--iba-teal);
	transition: transform var(--iba-transition);
}
.iba-faq__item.open .iba-faq__question { background: var(--iba-navy); color: #fff; }
.iba-faq__item.open .iba-faq__question i { color: var(--iba-gold); transform: rotate(180deg); }
.iba-faq__answer {
	display: none;
	padding: 14px 16px;
	font-size: 13px;
	color: var(--iba-text);
	line-height: 1.65;
	border-top: 1px solid var(--iba-border);
}
.iba-faq__item.open .iba-faq__answer { display: block; }

/* ----------------------------------------------------------
   8. HOWTO STEPS BLOCK
   ---------------------------------------------------------- */
.iba-steps { counter-reset: iba-step; margin: 20px 0; }
.iba-step {
	display: flex;
	align-items: flex-start;
	gap: 16px;
	margin-bottom: 16px;
	background: #fff;
	border: 1px solid var(--iba-border);
	border-radius: var(--iba-radius);
	padding: 16px;
	box-shadow: var(--iba-shadow);
}
.iba-step__num {
	counter-increment: iba-step;
	flex-shrink: 0;
	width: 36px;
	height: 36px;
	border-radius: 50%;
	background: var(--iba-navy);
	color: #fff;
	font-weight: 700;
	font-size: 15px;
	display: flex;
	align-items: center;
	justify-content: center;
}
.iba-step__content { flex: 1; min-width: 0; }
.iba-step__title {
	font-size: 15px;
	font-weight: 700;
	color: var(--iba-navy);
	margin-bottom: 4px;
}
.iba-step__desc { font-size: 13px; color: var(--iba-text); line-height: 1.55; }

/* ----------------------------------------------------------
   9. CTA BLOCK
   ---------------------------------------------------------- */
.iba-cta-block {
	background: linear-gradient(135deg, var(--iba-navy), var(--iba-teal));
	border-radius: var(--iba-radius-lg);
	padding: 28px 32px;
	text-align: center;
	margin: 28px 0;
}
.iba-cta-block__title {
	font-size: 20px;
	font-weight: 800;
	color: #fff;
	margin-bottom: 8px;
}
.iba-cta-block__sub {
	font-size: 14px;
	color: rgba(255,255,255,0.80);
	margin-bottom: 18px;
}
.iba-cta-block .iba-btn--primary {
	font-size: 15px;
	padding: 14px 32px;
	border-radius: 10px;
}

/* ----------------------------------------------------------
   10. BREADCRUMBS OVERRIDE
   ---------------------------------------------------------- */
.space-breadcrumbs, .space-breadcrumbs * {
	font-size: 12px;
	color: var(--iba-muted);
}
.space-breadcrumbs a { color: var(--iba-teal); text-decoration: none; }
.space-breadcrumbs a:hover { color: var(--iba-navy); }

/* ----------------------------------------------------------
   11. RESPONSIVE
   ---------------------------------------------------------- */
@media (max-width: 900px) {
	.iba-single-body {
		grid-template-columns: 1fr;
	}
	.iba-single-sidebar { order: -1; }
	.iba-sidebar-card { position: static; }
	.iba-pros-cons { grid-template-columns: 1fr; }
}

@media (max-width: 680px) {
	.iba-app-card {
		flex-wrap: wrap;
	}
	.iba-app-card__rank {
		width: 100%;
		min-width: 0;
		height: 28px;
		writing-mode: horizontal-tb;
		border-radius: var(--iba-radius-lg) var(--iba-radius-lg) 0 0;
	}
	.iba-app-card__logo {
		width: 80px;
		min-width: 80px;
		border-right: none;
		border-bottom: 1px solid var(--iba-border);
	}
	.iba-app-card__cta {
		width: 100%;
		border-left: none;
		border-top: 1px solid var(--iba-border);
		flex-direction: row;
		justify-content: center;
		padding: 12px 16px;
	}
	.iba-single-hero__inner { flex-wrap: wrap; }
	.iba-single-hero__cta { width: 100%; flex-direction: row; flex-wrap: wrap; }
	.iba-comparison-table { font-size: 11px; }
	.iba-comparison-table th,
	.iba-comparison-table td { padding: 8px 8px; }
}

@media (max-width: 480px) {
	.iba-cta-block { padding: 20px 16px; }
	.iba-cta-block__title { font-size: 17px; }
}

/* ============================================================
   HOMEPAGE STYLES — додати в кінець style.css
   ============================================================ */

/* ── Hero ──────────────────────────────────────────────────── */
.iba-home-hero {
	background: linear-gradient(135deg, var(--iba-navy) 0%, #0f2040 50%, var(--iba-teal) 100%);
	padding: 64px 16px 56px;
	text-align: center;
}
.iba-home-hero__inner {
	max-width: 720px;
	margin: 0 auto;
}
.iba-home-hero__title {
	font-size: 42px;
	font-weight: 900;
	color: #fff;
	line-height: 1.15;
	margin: 0 0 16px;
}
.iba-home-hero__title span {
	color: var(--iba-gold);
	display: block;
	font-size: 32px;
}
.iba-home-hero__sub {
	font-size: 16px;
	color: rgba(255,255,255,0.82);
	line-height: 1.65;
	max-width: 560px;
	margin: 0 auto 24px;
}
.iba-home-hero__ctas {
	display: flex;
	gap: 12px;
	justify-content: center;
	flex-wrap: wrap;
	margin-bottom: 20px;
}
.iba-home-hero__ctas .iba-btn--primary {
	font-size: 16px;
	padding: 14px 32px;
}
.iba-home-hero__ctas .iba-btn--secondary {
	border-color: rgba(255,255,255,0.5);
	color: #fff;
	font-size: 15px;
	padding: 13px 24px;
}
.iba-home-hero__ctas .iba-btn--secondary:hover {
	background: rgba(255,255,255,0.15);
	border-color: #fff;
	color: #fff;
}
.iba-home-hero__trust {
	display: flex;
	gap: 20px;
	justify-content: center;
	flex-wrap: wrap;
	font-size: 13px;
	color: rgba(255,255,255,0.65);
}
.iba-home-hero__trust span {
	display: flex;
	align-items: center;
	gap: 5px;
}
.iba-home-hero__trust i { color: var(--iba-gold); }

/* ── Section wrapper ───────────────────────────────────────── */
.iba-home-section {
	padding: 52px 16px;
	background: #fff;
}
.iba-home-section--alt {
	background: var(--iba-light);
}
.iba-home-section__inner {
	max-width: 1100px;
	margin: 0 auto;
}
.iba-home-section__inner--two-col {
	display: grid;
	grid-template-columns: 1fr 1fr;
	gap: 40px;
	align-items: center;
}
.iba-home-section__title {
	font-size: 26px;
	font-weight: 800;
	color: var(--iba-navy);
	text-align: center;
	margin: 0 0 10px;
}
.iba-home-section__title--left { text-align: left; }
.iba-home-section__sub {
	text-align: center;
	color: var(--iba-muted);
	font-size: 15px;
	margin: 0 auto 32px;
	max-width: 600px;
}

/* ── Use-case grid ─────────────────────────────────────────── */
.iba-usecase-grid {
	display: grid;
	grid-template-columns: repeat(3, 1fr);
	gap: 16px;
}
.iba-usecase-card {
	background: #fff;
	border: 1px solid var(--iba-border);
	border-radius: var(--iba-radius-lg);
	padding: 22px 16px;
	text-align: center;
	text-decoration: none;
	transition: box-shadow var(--iba-transition), border-color var(--iba-transition), transform var(--iba-transition);
	display: flex;
	flex-direction: column;
	align-items: center;
	gap: 8px;
}
.iba-usecase-card:hover {
	box-shadow: var(--iba-shadow-lg);
	border-color: var(--iba-teal);
	transform: translateY(-2px);
	text-decoration: none;
}
.iba-usecase-card__icon {
	width: 52px;
	height: 52px;
	border-radius: 50%;
	display: flex;
	align-items: center;
	justify-content: center;
	font-size: 22px;
	margin-bottom: 4px;
}
.iba-usecase-card__icon--android { background: #e8f5e9; color: #2e7d32; }
.iba-usecase-card__icon--ios     { background: #e3f2fd; color: #1565c0; }
.iba-usecase-card__icon--apk     { background: #fff3e0; color: #e65100; }
.iba-usecase-card__icon--sports  { background: #f3e5f5; color: #6a1b9a; }
.iba-usecase-card__icon--casino  { background: #e8eaf6; color: #283593; }
.iba-usecase-card__icon--fast    { background: #fffde7; color: #f57f17; }
.iba-usecase-card__icon--bonus   { background: #fce4ec; color: #880e4f; }
.iba-usecase-card__icon--payment { background: #e0f2f1; color: #00695c; }
.iba-usecase-card__icon--safe    { background: #ffebee; color: var(--iba-danger); }
.iba-usecase-card__label {
	font-size: 14px;
	font-weight: 700;
	color: var(--iba-navy);
}
.iba-usecase-card__desc {
	font-size: 12px;
	color: var(--iba-muted);
	line-height: 1.4;
}

/* ── Apps list on homepage ─────────────────────────────────── */
.iba-home-apps-list {
	display: flex;
	flex-direction: column;
	gap: 12px;
}

/* ── Safe icon ─────────────────────────────────────────────── */
.iba-home-safe-icon {
	font-size: 80px;
	color: var(--iba-teal);
	text-align: center;
	opacity: 0.18;
}

/* ── Quick links list ──────────────────────────────────────── */
.iba-home-links-list {
	display: flex;
	flex-direction: column;
	gap: 8px;
}
.iba-home-links-list__item {
	display: flex;
	align-items: center;
	gap: 12px;
	background: #fff;
	border: 1px solid var(--iba-border);
	border-radius: var(--iba-radius);
	padding: 12px 16px;
	text-decoration: none;
	color: var(--iba-text);
	font-size: 14px;
	font-weight: 600;
	transition: border-color var(--iba-transition), box-shadow var(--iba-transition);
}
.iba-home-links-list__item:hover {
	border-color: var(--iba-teal);
	box-shadow: var(--iba-shadow);
	color: var(--iba-navy);
	text-decoration: none;
}
.iba-home-links-list__item > i:first-child {
	color: var(--iba-teal);
	width: 18px;
	text-align: center;
	flex-shrink: 0;
}
.iba-home-links-list__item span { flex: 1; }
.iba-home-links-list__item > i:last-child {
	color: var(--iba-muted);
	font-size: 11px;
}

/* ── Homepage responsive ───────────────────────────────────── */
@media (max-width: 900px) {
	.iba-home-hero__title { font-size: 32px; }
	.iba-home-hero__title span { font-size: 24px; }
	.iba-usecase-grid { grid-template-columns: repeat(2, 1fr); }
	.iba-home-section__inner--two-col { grid-template-columns: 1fr; }
	.iba-home-safe-icon { display: none; }
}
@media (max-width: 520px) {
	.iba-home-hero { padding: 40px 16px 36px; }
	.iba-home-hero__title { font-size: 26px; }
	.iba-home-hero__title span { font-size: 20px; }
	.iba-usecase-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; }
	.iba-usecase-card { padding: 16px 10px; }
	.iba-home-section { padding: 36px 16px; }
	.iba-home-section__title { font-size: 20px; }
}
