/* woocasinoonline.com theme, 2026-11-09, Elena.
 *
 * playfinaaustralia.com's layout (offer cards, tables that become cards on a
 * phone) in the live WordPress site's colours and font, read from its
 * Elementor kit (post-6.css): dark navy page, pink-red buttons, yellow
 * highlights, Rubik. Frozen at launch: an update changes content, never this
 * file (CLAUDE.md hard rule 4).
 */

:root {
  /* Elementor global colours, names kept beside them */
  --white: #FFFFFF;       /* text: headings, links */
  --pink: #FD2D5E;        /* primary: buttons */
  --yellow: #FFE400;      /* accent: h2, promo codes */
  --blue: #3E3EF4;        /* secondary: second button */
  --text: #C9CAD6;        /* body text, a softer white for long reading */
  --bg: #131521;          /* 722f8c5: page background */
  --bg-dark: #0D0F18;     /* header and footer, a step darker */
  --surface: #21212A;     /* 0d6f381: cards and boxes */
  --edge: #34364A;        /* card borders */
  --line: rgba(201, 202, 214, 0.28);
  --max: 1140px;
  --gutter: 16px;
}

* { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: "Rubik", sans-serif;
  font-weight: 400;
  font-size: 16px;
  line-height: 1.65;
}

a { color: var(--white); }
a:hover { color: var(--yellow); }
strong { color: var(--white); font-weight: 600; }

.wrap { max-width: var(--max); margin: 0 auto; padding: 0 var(--gutter); }

h1, h2, h3 { line-height: 1.25; margin: 0 0 0.6em; overflow-wrap: anywhere; color: var(--white); }
h1 { font-weight: 700; text-transform: uppercase; font-size: clamp(2rem, 4vw, 2.6rem); text-align: center; }
h2 { font-weight: 700; text-transform: uppercase; font-size: clamp(1.35rem, 2.6vw, 1.9rem); margin-top: 1.4em; }
h2::after { content: ""; display: block; width: 56px; height: 3px; background: var(--pink); border-radius: 2px; margin-top: 10px; }
h3 { font-weight: 600; text-transform: uppercase; font-size: 1.15rem; }
.subtitle { color: var(--yellow); font-weight: 500; text-transform: uppercase; font-size: clamp(1.1rem, 2.2vw, 1.5rem); text-align: center; margin: 0 0 1em; }
p { margin: 0 0 1em; }
ul, ol { margin: 0 0 1em; padding-left: 1.6em; }
li::marker { color: var(--yellow); }

/* Header */
.site-header { background: var(--bg-dark); border-bottom: 1px solid var(--edge); }
.site-header .wrap { display: flex; align-items: center; gap: 24px; min-height: 80px; flex-wrap: wrap; }
.logo img { display: block; width: 150px; height: auto; }
.nav { display: flex; gap: 28px; margin: 0 auto; flex-wrap: wrap; justify-content: center; }
.nav a { text-decoration: none; text-transform: uppercase; font-weight: 500; font-size: 14px; }
.nav a[aria-current="page"] { color: var(--yellow); }
.menu-toggle, .menu-button { display: none; }
.cta-pair { display: flex; gap: 12px; }
.btn { display: inline-block; background: var(--pink); color: var(--white); border-radius: 8px; padding: 10px 20px; text-decoration: none; font-weight: 600; font-size: 15px; }
.btn:hover { color: var(--white); filter: brightness(1.1); }
.btn-dark { background: var(--blue); }
.btn-wide { display: block; text-align: center; font-weight: 700; font-size: 1.3rem; text-transform: uppercase; padding: 12px 24px; margin: 1.4em 0; }

/* Page intro */
.intro { padding: 40px 0 10px; }

/* Tables from facts */
.table-scroll { overflow-x: auto; margin: 0 0 1em; }
table { width: 100%; border-collapse: collapse; font-size: 15px; background: var(--surface); border-radius: 10px; overflow: hidden; }
th, td { border: 1px solid var(--line); padding: 9px 12px; text-align: left; vertical-align: middle; }
th { color: var(--white); font-weight: 600; background: #2A2B3A; }
.method { display: inline-flex; align-items: center; gap: 10px; color: var(--white); font-weight: 500; }
.method img { width: 64px; height: 24px; object-fit: contain; object-position: left center; flex: none; }

/* FAQ accordion, no script needed */
.faq details { border: 1px solid var(--line); border-top: none; background: var(--surface); }
.faq details:first-of-type { border-top: 1px solid var(--line); border-radius: 10px 10px 0 0; }
.faq details:last-of-type { border-radius: 0 0 10px 10px; }
.faq summary { color: var(--white); font-weight: 500; cursor: pointer; padding: 10px 14px; list-style: none; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::before { content: "+"; display: inline-block; width: 1.2em; font-weight: 700; color: var(--pink); }
.faq details[open] summary::before { content: "\2212"; }
.faq details[open] summary { border-bottom: 1px solid var(--line); }
.faq .answer { padding: 10px 14px 4px; }

/* Text not yet written: shown in a draft build, refused in a release build */
.draft { border: 1px dashed var(--yellow); border-radius: 8px; padding: 10px 14px; margin: 0 0 1em; font-size: 14px; }
.draft::before { content: "Draft, text not written yet: "; color: var(--yellow); }

/* Footer */
.site-footer { background: var(--bg-dark); border-top: 1px solid var(--edge); margin-top: 40px; padding: 40px 0 20px; text-align: center; font-size: 14px; }
.site-footer .logo img { margin: 0 auto 16px; }
.site-footer .nav { margin: 24px auto; }
.site-footer .copy { font-size: 13px; }
.site-footer .markets { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px 20px; margin: 20px auto; }
.site-footer .markets a { display: inline-flex; align-items: center; gap: 8px; color: inherit; text-decoration: none; opacity: .8; }
.site-footer .markets a:hover, .site-footer .markets a[aria-current] { opacity: 1; text-decoration: underline; }
.site-footer .markets img { width: 20px; height: 15px; border-radius: 2px; }

@media (max-width: 767px) {
  .site-header .wrap { min-height: 0; padding-top: 14px; padding-bottom: 14px; justify-content: space-between; }
  .menu-button { display: block; order: 2; cursor: pointer; color: var(--white); font-size: 26px; line-height: 1; padding: 4px 8px; }
  .cta-pair { order: 3; width: 100%; justify-content: space-between; }
  .cta-pair .btn { flex: 1; text-align: center; }
  .site-header .nav { order: 4; width: 100%; display: none; flex-direction: column; gap: 10px; text-align: center; padding: 8px 0; }
  .menu-toggle:checked ~ .nav { display: flex; }
}

/* The floating bar to the casino: shown only between the blocks a page
   names in site.yaml `sticky` */
.sticky-cta { position: fixed; left: 0; right: 0; bottom: 0; z-index: 50; background: var(--bg-dark); border-top: 1px solid var(--edge); padding: 8px var(--gutter) calc(8px + env(safe-area-inset-bottom)); text-align: center; transform: translateY(100%); transition: transform .25s ease; }
.sticky-cta.show { transform: translateY(0); }
.sticky-cta .btn { display: block; max-width: 420px; margin: 0 auto; font-weight: 700; text-transform: uppercase; }
body.has-sticky .site-footer { padding-bottom: 72px; }

/* Welcome banner: the casino's diamond art on the right, our text from
   facts on the left over a fade into the page colour */
.promo-banner { position: relative; min-height: 280px; display: flex; align-items: center; border: 1px solid var(--edge); border-radius: 16px; overflow: hidden; margin: 10px 0 24px;
  background: linear-gradient(90deg, var(--bg-dark) 0%, var(--bg-dark) 38%, rgba(13, 15, 24, .5) 55%, rgba(13, 15, 24, 0) 70%), var(--bg-dark) url("images/banners/welcome-art.webp") right center / auto 100% no-repeat; }
.promo-banner-text { padding: 28px 36px; max-width: 560px; text-align: center; }
.promo-banner-title { color: var(--white); font-weight: 700; text-transform: uppercase; font-size: 1.5rem; letter-spacing: .03em; margin: 0 0 8px; }
.promo-banner-offer { color: var(--yellow); font-weight: 700; text-transform: uppercase; font-size: 2.4rem; line-height: 1.15; margin: 0 0 22px; white-space: nowrap; }
.promo-banner .btn { display: inline-block; min-width: 240px; font-weight: 700; font-size: 1.25rem; text-transform: uppercase; padding: 13px 28px; }
@media (max-width: 700px) {
  .promo-banner { min-height: 0; align-items: flex-end; padding-top: 120px;
    background: linear-gradient(180deg, rgba(13, 15, 24, 0) 0%, rgba(13, 15, 24, .25) 40%, var(--bg-dark) 70%), var(--bg-dark) url("images/banners/welcome-art.webp") 75% top / auto 200px no-repeat; }
  .promo-banner-text { padding: 16px; max-width: none; width: 100%; }
  .promo-banner-title { font-size: 1.1rem; }
  .promo-banner-offer { font-size: 1.55rem; white-space: normal; }
  .promo-banner .btn { display: block; min-width: 0; }
}

/* Offer cards: the casino's banner, boxes of facts and a button */
.offer { background: var(--surface); border: 1px solid var(--edge); border-radius: 16px; overflow: hidden; margin: 0 0 12px; display: grid; grid-template-columns: 44% 1fr; align-items: center; }
.offer:not(:has(.offer-banner)) { grid-template-columns: 1fr; }
.offer-banner { display: block; background: var(--bg-dark); }
.offer-banner img, .page-banner img { display: block; width: 100%; height: auto; }
.offer-body { padding: 18px 20px 4px; }
.boxes { display: grid; grid-template-columns: repeat(2, 1fr); gap: 10px; margin: 0 0 16px; }
.boxes:empty { display: none; }
.box { background: var(--bg); border: 1px solid var(--edge); border-radius: 10px; padding: 10px 12px; text-align: center; display: flex; flex-direction: column; justify-content: center; }
.box-label { display: block; font-size: 12px; text-transform: uppercase; letter-spacing: .04em; color: var(--text); }
.box-value { display: block; color: var(--white); font-weight: 600; font-size: 15px; line-height: 1.3; margin-top: 2px; }
.box.code { border: 2px dashed var(--yellow); }
button.copy { background: none; border: 0; padding: 0; font: inherit; color: var(--yellow); font-weight: 700; font-size: 1.25rem; letter-spacing: .06em; cursor: pointer; width: 100%; }
button.copy::after { content: "Tap to copy"; display: block; font-size: 11px; font-weight: 400; letter-spacing: 0; color: var(--text); }
button.copy.copied::after { content: "Copied"; color: var(--yellow); }
.offer .btn-wide { margin: 4px 0 16px; font-size: 1.1rem; }
.offer.wide { grid-template-columns: 1fr; }
.offer.wide .boxes { grid-template-columns: repeat(4, 1fr); }
th[scope="row"] { width: 40%; }
@media (max-width: 767px) {
  .offer { grid-template-columns: 1fr; }
  .offer.wide .boxes { grid-template-columns: repeat(2, 1fr); }
  .offer-body { padding: 14px 14px 2px; }
}

/* Tables on a phone: each row becomes a card with every value labelled */
.table-note { font-size: 13px; margin: -6px 0 1em; }
@media (max-width: 767px) {
  table.stack { background: none; }
  table.stack thead { display: none; }
  table.stack, table.stack tbody, table.stack tr, table.stack td { display: block; width: 100%; }
  table.stack tr { border: 1px solid var(--line); border-radius: 10px; margin: 0 0 10px; overflow: hidden; background: var(--surface); }
  table.stack td { border: 0; border-top: 1px solid var(--line); display: flex; justify-content: space-between; gap: 16px; padding: 7px 12px; text-align: right; }
  table.stack td::before { content: attr(data-label); color: var(--white); font-weight: 500; text-align: left; flex: none; max-width: 50%; }
  table.stack td:first-child { border-top: 0; background: #2A2B3A; color: var(--white); font-weight: 600; text-align: left; }
  table.stack td:first-child::before { display: none; }
}

/* Market menu in the header's top right, a flag and its code, Elena
   2026-11-09, as on the live site. A <details>, so it needs no script. */
.market-pick { position: relative; order: 1; }
.market-pick summary { display: flex; align-items: center; gap: 8px; cursor: pointer; list-style: none; color: var(--white); font-weight: 500; font-size: 14px; padding: 8px 10px; border: 1px solid var(--edge); border-radius: 8px; background: var(--surface); }
.market-pick summary::-webkit-details-marker { display: none; }
.market-pick summary::after { content: ""; width: 7px; height: 7px; border-right: 2px solid var(--text); border-bottom: 2px solid var(--text); transform: rotate(45deg); margin: -4px 0 0 2px; }
.market-pick[open] summary::after { transform: rotate(-135deg); margin-top: 4px; }
.market-pick img { width: 22px; height: 16px; border-radius: 2px; display: block; }
.market-pick ul { position: absolute; right: 0; top: calc(100% + 6px); z-index: 60; list-style: none; margin: 0; padding: 6px; min-width: 230px; background: var(--surface); border: 1px solid var(--edge); border-radius: 10px; box-shadow: 0 10px 30px rgba(0, 0, 0, .45); }
.market-pick li a { display: flex; align-items: center; gap: 10px; padding: 8px 10px; border-radius: 6px; text-decoration: none; font-size: 14px; color: var(--text); }
.market-pick li a:hover { background: var(--bg); color: var(--white); }
.market-pick li a[aria-current] { color: var(--white); font-weight: 600; }
.site-header .cta-pair { order: 2; }
@media (min-width: 768px) {
  .site-header .nav { order: 0; }
  .market-pick { order: 1; }
}
@media (max-width: 767px) {
  .market-pick { order: 1; margin-left: auto; }
  .menu-button { order: 2; }
  .site-header .cta-pair { order: 3; }
  .market-pick ul { right: -44px; }
}
