/*
Theme Name: MC Shop Mock
Theme URI: http://localhost:10078
Author: Local
Description: Premium local mock storefront for Minecraft payment events.
Version: 1.0.1
Requires at least: 6.0
Tested up to: 6.9
Requires PHP: 8.2
*/

:root {
  color-scheme: light;
  --bg: #f7f7f8;
  --surface: #ffffff;
  --ink: #151620;
  --muted: #8c90a1;
  --line: #e9e9ee;
  --orange: #ffad32;
  --orange-dark: #ef8e11;
  --green: #36d071;
  --blue: #35b7ff;
  --shadow: 0 24px 70px rgba(28, 30, 42, 0.10);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  background: var(--bg);
  color: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

body::after {
  content: "";
  position: fixed;
  top: 0;
  right: 0;
  width: 8px;
  height: 100vh;
  background: linear-gradient(var(--orange), #ff7a1a);
  pointer-events: none;
  z-index: 20;
}

a {
  color: inherit;
  text-decoration: none;
}

img {
  max-width: 100%;
  display: block;
}

.mc-page {
  width: min(80%, 1480px);
  margin: 0 auto;
  padding: 28px 0 72px;
}

.mc-nav {
  display: flex;
  align-items: center;
  gap: clamp(22px, 3vw, 54px);
  min-height: 96px;
  flex-wrap: nowrap;
}

.mc-brand {
  display: inline-flex;
  align-items: center;
}

.mc-brand img {
  width: clamp(92px, 8vw, 142px);
  height: auto;
  object-fit: contain;
}

.mc-nav-online {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #9a9dae;
  font-size: 13px;
  font-weight: 900;
  white-space: nowrap;
}

.mc-nav-online span {
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: var(--green);
  box-shadow: 0 0 0 5px rgba(54, 208, 113, 0.14);
  animation: mc-online-dot-shadow 1.45s ease-in-out infinite;
}

@keyframes mc-online-dot-shadow {
  0%,
  100% {
    box-shadow: 0 0 0 6px rgba(54, 208, 113, 0.10);
  }

  50% {
    box-shadow: 0 0 0 10px rgba(54, 208, 113, 0.26);
  }
}

@media (prefers-reduced-motion: reduce) {
  .mc-nav-online span {
    animation: none;
    box-shadow: 0 0 0 7px rgba(54, 208, 113, 0.14);
  }
}

.mc-links {
  display: flex;
  justify-content: flex-end;
  gap: clamp(18px, 4vw, 54px);
  flex: 1 1 auto;
  color: #9a9dae;
  font-size: 18px;
  font-weight: 850;
  min-width: 0;
}

.mc-links a:hover {
  color: var(--ink);
}

.mc-shop-button,
.mc-primary,
.mc-secondary,
.mc-discord-button,
.mc-product-card a,
.mc-status-actions button {
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0 30px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

.mc-shop-button:hover,
.mc-primary:hover,
.mc-discord-button:hover,
.mc-product-card a:hover {
  transform: scale(1.035);
  filter: brightness(1.06);
  animation: mc-btn-pulse 0.45s ease;
}

.mc-secondary:hover {
  transform: scale(1.03);
  box-shadow: 0 8px 24px rgba(28, 30, 42, 0.13);
}

@keyframes mc-btn-pulse {
  0% { transform: scale(1); }
  40% { transform: scale(1.045); }
  70% { transform: scale(1.025); }
  100% { transform: scale(1.035); }
}

.mc-shop-button,
.mc-primary,
.mc-product-card a,
.mc-status-actions button[value="paid"] {
  background: linear-gradient(135deg, #ffc155, var(--orange));
  color: #12131b;
  box-shadow: 0 16px 36px rgba(255, 173, 50, 0.30);
}

.mc-secondary {
  background: #fff;
  border: 1px solid var(--line);
  color: #232430;
}

.mc-discord-button {
  background: linear-gradient(135deg, #7289da, #5865f2);
  color: #fff;
  box-shadow: 0 16px 36px rgba(88, 101, 242, 0.28);
  gap: 10px;
}

.mc-discord-button img {
  width: 20px;
  height: 20px;
}

.mc-copy-ip {
  gap: 10px;
}

.mc-copy-ip small {
  color: #6f7485;
  font-size: 13px;
  font-weight: 900;
}

.mc-copy-ip.is-copied {
  border-color: rgba(54, 208, 113, 0.45);
  box-shadow: 0 16px 36px rgba(54, 208, 113, 0.18);
}

.mc-copy-feedback {
  min-height: 24px;
  margin-top: 14px;
  color: #2b9a55;
  font-weight: 900;
}

.mc-hero {
  position: relative;
  min-height: clamp(620px, 49vw, 820px);
  display: grid;
  align-items: center;
  margin-top: 20px;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.mc-hero::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(90deg, rgba(247,247,248,0.98) 0%, rgba(247,247,248,0.78) 42%, rgba(247,247,248,0.10) 100%);
  z-index: 1;
}

.mc-hero-art {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: 78% center;
}

.mc-hero-content {
  position: relative;
  z-index: 2;
  width: min(860px, 90%);
  padding-left: clamp(28px, 7vw, 98px);
}

h1,
h2,
h3,
p {
  margin-top: 0;
}


.mc-hero-modes {
  display: inline-flex;
  align-items: center;
  width: fit-content;
  max-width: 100%;
  min-height: 42px;
  margin-bottom: 18px;
  border: 1px solid rgba(255, 173, 50, 0.32);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.78);
  padding: 0 18px;
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  box-shadow: 0 14px 34px rgba(28, 30, 42, 0.08);
  backdrop-filter: blur(10px);
}

.mc-hero h1 {
  max-width: 880px;
  margin-bottom: 24px;
  font-size: clamp(42px, 5.4vw, 78px);
  line-height: 1.03;
  letter-spacing: 0;
}

.mc-hero p {
  max-width: 620px;
  color: #626676;
  font-size: 20px;
  line-height: 1.65;
}

.mc-hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 34px;
}

.mc-section,
.mc-voucher,
.mc-status {
  padding-top: 92px;
}

.mc-section-head {
  display: flex;
  align-items: flex-start;
  padding: 0 clamp(16px, 4vw, 56px);
  margin-bottom: 28px;
}

.mc-section-head > span,
.mc-step span {
  color: var(--ink);
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 950;
  line-height: 0.95;
}

.mc-section-head h2,
.mc-voucher h2 {
  margin-bottom: 8px;
  font-size: clamp(32px, 4vw, 58px);
  line-height: 1.02;
}

.mc-section-head p,
.mc-voucher p,
.mc-product-card p {
  color: var(--muted);
  line-height: 1.65;
}

.mc-section-head.compact {
  margin-bottom: 22px;
}

.mc-section-head.compact h2 {
  font-size: clamp(30px, 3vw, 46px);
}

.mc-mode-banner {
  height: clamp(420px, 38vw, 680px);
  overflow: hidden;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mc-mode-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-modes-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: -42px;
  padding: 0 clamp(16px, 4vw, 56px);
  position: relative;
  z-index: 2;
}

.mc-mode-card {
  display: grid;
  gap: 8px;
  min-height: 172px;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  padding: 20px;
  text-align: left;
  box-shadow: 0 18px 40px rgba(30, 32, 42, 0.08);
  cursor: pointer;
}

.mc-mode-image {
  width: 100%;
  aspect-ratio: 16 / 9;
  border-radius: 12px;
  object-fit: cover;
}

.mc-mode-card.is-active {
  border-color: rgba(255, 173, 50, 0.65);
  box-shadow: 0 24px 48px rgba(255, 173, 50, 0.20);
}

.mc-mode-name {
  font-size: 24px;
  font-weight: 950;
}

.mc-mode-meta,
.mc-mode-tag {
  color: var(--muted);
  font-weight: 800;
}

.mc-mode-tag {
  color: var(--orange-dark);
}

.mc-vpln-entry-section .mc-section-head {
  justify-content: center;
  text-align: center;
}

.mc-vpln-entry-section .mc-section-head h2 {
  font-size: clamp(38px, 4.8vw, 72px);
}

.mc-vpln-entry-section .mc-section-head p {
  max-width: 720px;
  margin: 0 auto;
  font-size: 20px;
}

.mc-products {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
}

.mc-product-card {
  position: relative;
  overflow: hidden;
  min-height: 360px;
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  padding: 28px;
  box-shadow: 0 18px 46px rgba(28, 30, 42, 0.07);
}

.mc-product-icon {
  width: 96px;
  height: 96px;
  margin-bottom: 22px;
}

.mc-product-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
}

.mc-product-card h3 {
  margin-bottom: 10px;
  font-size: 28px;
}

.mc-product-card strong {
  display: block;
  margin: 24px 0;
  font-size: 34px;
}

.mc-product-card a {
  min-height: 50px;
  width: 100%;
}

.mc-vpln-shop {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: stretch;
}

.mc-vpln-shop.is-locked,
.mc-vpln-modal.is-locked {
  display: none;
}

body.mc-vpln-open {
  overflow: hidden;
}

.mc-vpln-modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  display: grid;
  place-items: center;
  padding: 22px;
}

.mc-vpln-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(18, 19, 28, 0.46);
  backdrop-filter: blur(8px);
}

.mc-vpln-shop .mc-section-head {
  max-width: 940px;
  margin-bottom: 8px;
}

.mc-vpln-shop .mc-section-head.compact h2 {
  font-size: clamp(32px, 4vw, 58px);
}

.mc-vpln-card,
.mc-application-panel,
.mc-partner-dashboard,
.mc-partner-stats article,
.mc-partner-link {
  background: #fff;
  border: 1px solid var(--line);
  border-radius: 18px;
  box-shadow: 0 18px 48px rgba(28, 30, 42, 0.08);
}

.mc-vpln-card,
.mc-application-panel {
  display: grid;
  gap: 18px;
  padding: clamp(18px, 2.4vw, 28px);
}

.mc-vpln-card {
  position: relative;
  overflow: hidden;
}

.mc-vpln-inline-card {
  width: min(720px, 100%);
  margin: 34px auto 0;
  gap: 22px;
  border-radius: 28px;
  background: #ffffff;
  padding: clamp(24px, 4vw, 44px);
  box-shadow: var(--shadow), 0 24px 60px rgba(22, 24, 34, 0.07);
}

.mc-vpln-inline-card::before {
  display: none;
}

.mc-vpln-inline-card .mc-vpln-modal-head {
  align-items: flex-start;
  padding-right: 0;
}

.mc-vpln-inline-card .mc-vpln-mode-pill {
  display: none;
}

.mc-vpln-inline-card .mc-vpln-number-row strong {
  display: none;
}

.mc-vpln-inline-card .mc-vpln-number-row input[type="number"] {
  width: 160px;
  min-height: 52px;
  border: 2px solid rgba(255, 173, 50, 0.4);
  border-radius: 14px;
  background: #fff8ec;
  color: var(--orange-dark);
  font-size: 26px;
  font-weight: 950;
  text-align: center;
}

.mc-vpln-inline-card .mc-vpln-slider-panel {
  border: none;
  background: #f4f5f8;
  padding: 20px;
}

.mc-vpln-inline-card .mc-vpln-fields {
  grid-template-columns: 1fr;
}

.mc-vpln-inline-card > .mc-primary {
  justify-self: stretch;
  min-width: 0;
}

.mc-vpln-modal .mc-vpln-card {
  width: min(680px, 100%);
  max-height: min(92vh, 820px);
  overflow: auto;
  z-index: 1;
  gap: 16px;
  padding: clamp(18px, 2.4vw, 26px);
  border-radius: 22px;
  box-shadow: 0 34px 90px rgba(18, 19, 28, 0.28);
}

.mc-vpln-card::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 7px;
  background: linear-gradient(90deg, #ffc155, var(--orange), #36d071);
}

.mc-vpln-fields {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
}

.mc-vpln-card label,
.mc-application-panel label,
.mc-partner-generator label {
  display: grid;
  gap: 8px;
  color: #6f7485;
  font-size: 14px;
  font-weight: 900;
}

.mc-vpln-card input:not([type="range"]),
.mc-application-panel input {
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 16px;
  color: var(--ink);
  font: inherit;
  font-weight: 850;
}

.mc-slider-row,
.mc-partner-split-preview {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.mc-vpln-slider-panel {
  display: grid;
  gap: 10px;
  padding: 18px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, #fff 0%, #fffaf1 100%);
}

.mc-vpln-slider-panel > small {
  color: var(--muted);
  font-weight: 900;
}

.mc-vpln-modal-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  padding-right: 38px;
}

.mc-vpln-modal-head span,
.mc-vpln-mode-pill small {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-vpln-modal-head h2 {
  margin: 4px 0 0;
  font-size: clamp(30px, 4vw, 44px);
  line-height: 1;
}

.mc-vpln-mode-pill {
  display: grid;
  gap: 2px;
  min-width: 150px;
  padding: 12px 14px;
  border: 1px solid rgba(255, 173, 50, 0.32);
  border-radius: 14px;
  background: #fff8ec;
  text-align: right;
}

.mc-vpln-mode-pill span {
  color: var(--ink);
  font-size: 20px;
  line-height: 1;
  text-transform: none;
}

.mc-modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 2;
  width: 36px;
  height: 36px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: #fff;
  cursor: pointer;
}

.mc-modal-close::before,
.mc-modal-close::after {
  content: "";
  position: absolute;
  top: 17px;
  left: 10px;
  width: 14px;
  height: 2px;
  border-radius: 999px;
  background: #737888;
}

.mc-modal-close::before {
  transform: rotate(45deg);
}

.mc-modal-close::after {
  transform: rotate(-45deg);
}

.mc-vpln-summary {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 18px;
  padding-bottom: 14px;
  border-bottom: 1px solid var(--line);
}

.mc-vpln-summary > div {
  display: grid;
  gap: 5px;
}

.mc-vpln-summary > div:last-child {
  text-align: right;
}

.mc-vpln-summary span,
.mc-vpln-summary small {
  color: #8c90a1;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-vpln-summary strong {
  color: var(--ink);
  font-size: clamp(24px, 3vw, 42px);
  font-weight: 950;
  line-height: 1;
}

.mc-vpln-summary > div:last-child strong {
  color: var(--orange-dark);
}

.mc-slider-row strong {
  color: var(--orange-dark);
  font-size: 34px;
  font-weight: 950;
}

.mc-vpln-card input[type="range"],
.mc-partner-generator input[type="range"] {
  width: 100%;
  accent-color: var(--orange);
}

.mc-partner-cta {
  align-items: stretch;
}

.mc-partner-note {
  display: grid;
  gap: 6px;
  padding: 16px;
  border: 1px solid rgba(54, 208, 113, 0.24);
  border-radius: 14px;
  background: rgba(54, 208, 113, 0.08);
}

.mc-partner-note span {
  color: #2b9a55;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-partner-note strong {
  font-size: 22px;
}

.mc-partner-note p {
  margin: 0;
  color: #626676;
  font-size: 14px;
}

.mc-partner-art {
  position: relative;
  align-self: stretch;
  display: flex;
  height: 100%;
  min-height: 100%;
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.mc-partner-art img {
  display: block;
  flex: 1;
  width: 100%;
  height: 100%;
  min-height: 100%;
  object-fit: cover;
  object-position: 42% center;
}

.mc-creator-platforms {
  position: absolute;
  right: clamp(34px, 5.4vw, 78px);
  top: 50%;
  width: clamp(230px, 23vw, 310px);
  height: min(350px, 70%);
  transform: translateY(-50%);
  pointer-events: none;
}

.mc-creator-platforms span {
  position: absolute;
  display: flex;
  align-items: center;
  gap: 12px;
  min-height: 60px;
  border: 1px solid rgba(255, 255, 255, 0.54);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.88);
  padding: 0 22px;
  color: #171924;
  font-size: 18px;
  font-weight: 950;
  line-height: 1;
  white-space: nowrap;
  box-shadow: 0 18px 42px rgba(22, 24, 34, 0.16);
  backdrop-filter: blur(12px);
}

.mc-creator-platforms span:nth-child(1) {
  top: 0;
  right: 18%;
  transform: rotate(-2deg);
}

.mc-creator-platforms span:nth-child(2) {
  top: 28%;
  right: 0;
  transform: rotate(2deg);
}

.mc-creator-platforms span:nth-child(3) {
  top: 56%;
  right: 30%;
  transform: rotate(-1deg);
}

.mc-creator-platforms span:nth-child(4) {
  right: 7%;
  bottom: 0;
  transform: rotate(2deg);
}

.mc-creator-platforms img {
  width: 30px;
  height: 30px;
  object-fit: contain;
}

.mc-discord-reward {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  gap: clamp(18px, 3vw, 30px);
  align-items: center;
  margin-top: clamp(36px, 4.5vw, 52px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid rgba(88, 101, 242, 0.22);
  border-radius: 28px;
  background:
    radial-gradient(circle at 92% 8%, rgba(88, 101, 242, 0.18), transparent 26%),
    linear-gradient(135deg, #ffffff 0%, #f5f6ff 100%);
  box-shadow: var(--shadow);
}

.mc-discord-badge {
  display: grid;
  place-items: center;
  width: 78px;
  height: 78px;
  border: 1px solid rgba(88, 101, 242, 0.18);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 14px 34px rgba(88, 101, 242, 0.14);
}

.mc-discord-badge img {
  width: 42px;
  height: 42px;
}

.mc-discord-reward span {
  color: #5865f2;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-discord-reward h2 {
  margin: 6px 0 8px;
  font-size: clamp(30px, 3.8vw, 52px);
  line-height: 1.04;
}

.mc-discord-reward p {
  max-width: none;
  margin: 0;
  color: #626676;
  font-size: 18px;
  line-height: 1.58;
  white-space: normal;
}

.mc-application-panel h3 {
  margin: 0;
  font-size: 28px;
}

.mc-application-panel form {
  display: grid;
  gap: 16px;
}

.mc-partner-page .mc-nav {
  margin-bottom: 28px;
}

.mc-partner-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 24px;
  align-items: center;
  padding: clamp(26px, 5vw, 56px);
}

.mc-partner-dashboard h1 {
  max-width: 760px;
  margin-bottom: 18px;
  font-size: clamp(40px, 5vw, 72px);
  line-height: 1.03;
}

.mc-partner-dashboard p {
  max-width: 680px;
  color: #626676;
  font-size: 19px;
  line-height: 1.6;
}

.mc-partner-link {
  display: grid;
  gap: 10px;
  padding: 22px;
  overflow: hidden;
}

.mc-partner-link span,
.mc-partner-stats span {
  color: #8c90a1;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-partner-link code {
  white-space: normal;
  word-break: break-word;
}

.mc-partner-stats {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 14px;
  margin-top: 18px;
}

.mc-partner-stats article {
  display: grid;
  gap: 12px;
  min-height: 132px;
  padding: 20px;
}

.mc-partner-stats strong {
  font-size: clamp(22px, 2vw, 34px);
  line-height: 1.1;
}

.mc-partner-generator {
  display: grid;
  gap: 18px;
  margin-top: 20px;
}

.mc-partner-split-preview {
  padding: 18px;
  border-radius: 14px;
  background: #f8f8fb;
  font-weight: 950;
}

.mc-wc-page {
  width: min(80%, 1480px);
  max-width: none;
  margin: 0 auto;
}

.mc-wc-page .woocommerce {
  padding: 34px;
  border-radius: 24px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mc-auth-page {
  min-height: 100vh;
  display: grid;
  grid-template-columns: minmax(420px, 0.86fr) minmax(0, 1.14fr);
  background: var(--bg);
  color: var(--ink);
}

.mc-auth-form {
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 12px;
  padding: clamp(22px, 4vw, 52px);
  background: #fff;
  overflow-y: auto;
  max-height: 100vh;
}

.mc-auth-brand img {
  width: 118px;
}

.mc-auth-form > span {
  color: var(--orange);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-auth-form h1 {
  max-width: 560px;
  margin-bottom: 0;
  font-size: clamp(28px, 3.5vw, 48px);
  line-height: 1.05;
}

.mc-rodo-label {
  display: flex !important;
  flex-direction: row !important;
  align-items: flex-start;
  gap: 10px;
  font-size: 13px;
  font-weight: 600 !important;
  color: #626676 !important;
  line-height: 1.5;
}

.mc-rodo-label input[type="checkbox"] {
  flex: 0 0 16px;
  margin-top: 2px;
}

.mc-rodo-label a {
  color: var(--orange-dark);
  text-decoration: underline;
}

.mc-auth-form p {
  max-width: 560px;
  color: #626676;
  font-size: 18px;
  line-height: 1.6;
}

.mc-auth-form form {
  display: grid;
  gap: 16px;
  max-width: 520px;
}

.mc-auth-form label,
.mc-auth-form .login-username,
.mc-auth-form .login-password {
  display: grid;
  gap: 8px;
  color: #6f7485;
  font-weight: 900;
}

.mc-auth-form .login-remember {
  margin: 4px 0 2px;
}

.mc-auth-form .login-remember label {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  color: #6f7485;
  font-weight: 900;
  line-height: 1.2;
}

.mc-auth-form input[type="checkbox"] {
  width: 18px;
  height: 18px;
  margin: 0;
  accent-color: var(--orange);
  flex: 0 0 18px;
}

.mc-auth-form input:not([type="checkbox"]) {
  width: 100%;
  min-height: 56px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0 16px;
  font: inherit;
  box-shadow: 0 10px 24px rgba(28, 30, 42, 0.04);
}

.mc-auth-form .button,
.mc-auth-form input[type="submit"] {
  min-height: 58px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffc155, var(--orange));
  color: #12131b;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.mc-auth-link {
  color: #ffc155;
  font-weight: 900;
}

.mc-auth-notice {
  max-width: 520px;
  padding: 14px 16px;
  border-radius: 12px;
  background: rgba(54, 208, 113, 0.12);
  color: #2b9a55;
  font-weight: 900;
}

.mc-auth-notice.is-error {
  background: rgba(255, 92, 92, 0.12);
  color: #c23b3b;
}

.mc-auth-art {
  position: relative;
  overflow: hidden;
  padding: clamp(22px, 4vw, 54px);
  background: linear-gradient(180deg, #fff 0%, #eef7ff 100%);
}

.mc-auth-art img {
  width: 100%;
  height: 100%;
  border-radius: 34px;
  object-fit: cover;
  box-shadow: var(--shadow);
}

.mc-dashboard-layout {
  min-height: 100vh;
  display: grid;
  grid-template-columns: 280px minmax(0, 1fr);
  background: var(--bg);
  color: var(--ink);
}

.mc-dashboard-sidebar {
  position: sticky;
  top: 0;
  height: 100vh;
  display: flex;
  flex-direction: column;
  gap: 34px;
  padding: 28px;
  border-right: 1px solid var(--line);
  background: #fff;
  box-shadow: 16px 0 48px rgba(28, 30, 42, 0.05);
}

.mc-dashboard-brand img {
  width: 104px;
}

.mc-dashboard-sidebar nav {
  display: grid;
  gap: 10px;
}

.mc-dashboard-sidebar a {
  min-height: 48px;
  display: flex;
  align-items: center;
  border-radius: 12px;
  color: #767b8c;
  font-weight: 950;
}

.mc-dashboard-sidebar nav a {
  padding: 0 14px;
}

.mc-dashboard-sidebar nav a:hover {
  background: #fff7ea;
  color: var(--orange-dark);
}

.mc-dashboard-main {
  display: grid;
  gap: 22px;
  align-content: start;
  padding: clamp(24px, 4vw, 48px);
}

.mc-dashboard-hero,
.mc-dashboard-panel,
.mc-dashboard-stats article,
.mc-code-card,
.mc-dashboard-empty {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(28, 30, 42, 0.08);
}

.mc-dashboard-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 0.7fr);
  gap: 24px;
  overflow: hidden;
  min-height: 280px;
}

.mc-dashboard-hero > div {
  padding: clamp(24px, 4vw, 44px);
}

.mc-dashboard-hero span,
.mc-dashboard-panel-head p,
.mc-dashboard-panel p {
  color: #626676;
}

.mc-dashboard-hero h1 {
  margin: 12px 0;
  font-size: clamp(34px, 4vw, 58px);
  line-height: 1.03;
}

.mc-dashboard-hero img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-dashboard-stats {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(170px, 1fr));
  gap: 14px;
}

.mc-dashboard-stats article {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.mc-dashboard-stats span,
.mc-code-card span {
  color: #8c90a1;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-dashboard-stats strong {
  font-size: clamp(20px, 2vw, 30px);
}

.mc-dashboard-panel,
.mc-dashboard-empty {
  padding: clamp(20px, 3vw, 30px);
}

.mc-code-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  margin-top: 18px;
}

.mc-code-card {
  display: grid;
  gap: 12px;
  padding: 18px;
}

.mc-code-card strong {
  font-size: 24px;
}

.mc-code-card code {
  white-space: normal;
  word-break: break-word;
  color: #ffc155;
}

.mc-code-stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.mc-code-stats span {
  display: grid;
  gap: 4px;
  padding: 10px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fffaf1;
  color: var(--ink);
  font-size: 16px;
  text-transform: none;
}

.mc-code-stats small {
  color: #8c90a1;
  font-size: 10px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-code-card label {
  display: grid;
  gap: 8px;
  color: #6f7485;
  font-weight: 900;
}

.mc-code-card input {
  min-height: 48px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: #fff;
  color: var(--ink);
  padding: 0 12px;
  font: inherit;
}

.mc-dashboard-table {
  width: 100%;
  border-collapse: collapse;
  margin-top: 14px;
}

.mc-dashboard-table th,
.mc-dashboard-table td {
  padding: 14px 12px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.mc-dashboard-table th {
  color: #8c90a1;
  font-size: 12px;
  text-transform: uppercase;
}

.mc-story-stack {
  display: grid;
  gap: 34px;
  padding-top: 92px;
}

.mc-story-card {
  display: grid;
  grid-template-columns: minmax(0, 0.82fr) minmax(520px, 1.18fr);
  gap: 34px;
  align-items: stretch;
  min-height: clamp(470px, 38vw, 660px);
  border-radius: 34px;
  overflow: hidden;
  background: #fff;
  box-shadow: var(--shadow);
}

.mc-story-card.is-reverse {
  grid-template-columns: minmax(520px, 1.18fr) minmax(0, 0.82fr);
}

.mc-story-card.is-reverse .mc-story-copy {
  order: 2;
}

.mc-story-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(34px, 5vw, 76px);
}

.mc-story-copy span {
  color: var(--orange-dark);
  font-size: 15px;
  font-weight: 950;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.mc-story-copy h2 {
  margin: 18px 0 18px;
  font-size: clamp(36px, 4.4vw, 68px);
  line-height: 1.03;
}

.mc-story-copy p {
  max-width: 650px;
  color: #656a7b;
  font-size: 20px;
  line-height: 1.65;
}

.mc-story-art {
  min-height: 100%;
  overflow: hidden;
}

.mc-story-art img {
  width: 100%;
  height: 100%;
  min-height: clamp(470px, 38vw, 660px);
  object-fit: cover;
}

.mc-feature-stack {
  display: grid;
  gap: 28px;
  padding-top: clamp(76px, 8vw, 118px);
}

.mc-feature-card {
  display: grid;
  grid-template-columns: minmax(420px, 0.94fr) minmax(0, 1.06fr);
  gap: clamp(24px, 4vw, 54px);
  align-items: stretch;
  overflow: hidden;
  border: 1px solid rgba(233, 233, 238, 0.95);
  border-radius: 30px;
  background:
    linear-gradient(135deg, rgba(255, 255, 255, 0.96), rgba(255, 250, 242, 0.92));
  box-shadow: var(--shadow);
}

.mc-feature-card.is-reversed {
  grid-template-columns: minmax(0, 1.06fr) minmax(420px, 0.94fr);
}

.mc-feature-card.is-reversed .mc-feature-media {
  order: 2;
}

.mc-feature-card.is-wide {
  grid-template-columns: minmax(0, 1.15fr) minmax(380px, 0.85fr);
  background:
    radial-gradient(circle at 12% 16%, rgba(255, 173, 50, 0.16), transparent 28%),
    linear-gradient(135deg, #ffffff, #f9fbff);
}

.mc-feature-media {
  min-height: clamp(360px, 32vw, 520px);
  overflow: hidden;
  background: #fff;
}

.mc-feature-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.mc-feature-copy {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(28px, 5vw, 68px);
}

.mc-feature-copy > span {
  margin-bottom: 14px;
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-feature-copy h2 {
  max-width: 720px;
  margin-bottom: 16px;
  font-size: clamp(30px, 3.5vw, 56px);
  line-height: 1.02;
}

.mc-feature-copy p {
  max-width: 720px;
  color: #626676;
  font-size: 18px;
  line-height: 1.65;
}

.mc-feature-copy ul {
  display: grid;
  gap: 10px;
  margin: 24px 0 0;
  padding: 0;
  list-style: none;
  color: #505463;
  font-weight: 850;
}

.mc-feature-copy li {
  display: grid;
  grid-template-columns: 14px 1fr;
  gap: 12px;
  align-items: start;
}

.mc-feature-copy li::before {
  content: "";
  width: 9px;
  height: 9px;
  margin-top: 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--green));
  box-shadow: 0 0 0 6px rgba(54, 208, 113, 0.10);
}

.mc-voucher {
  display: grid;
  grid-template-columns: minmax(0, 0.9fr) minmax(420px, 1.1fr);
  gap: 34px;
  align-items: stretch;
}

.mc-voucher-copy {
  padding: 46px;
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.mc-step {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 28px;
  color: var(--muted);
  font-size: 24px;
  font-weight: 950;
}

.mc-voucher ul {
  display: grid;
  gap: 12px;
  margin: 26px 0 0;
  padding: 0;
  list-style: none;
  color: #505463;
  font-weight: 750;
}

.mc-voucher li::before {
  content: "";
  display: inline-block;
  width: 9px;
  height: 9px;
  margin-right: 12px;
  border-radius: 50%;
  background: var(--green);
}

.mc-voucher-art {
  width: min(620px, 100%);
  justify-self: end;
  filter: drop-shadow(0 26px 45px rgba(22, 24, 34, 0.15));
}

.mc-footer {
  position: relative;
  display: grid;
  grid-template-columns: minmax(260px, 0.75fr) minmax(0, 1.45fr) minmax(180px, 0.45fr);
  gap: clamp(24px, 4vw, 62px);
  overflow: hidden;
  margin-top: clamp(36px, 4.5vw, 52px);
  padding: clamp(30px, 5vw, 58px);
  border: 1px solid rgba(255, 173, 50, 0.22);
  border-radius: 30px;
  background:
    radial-gradient(circle at 92% 12%, rgba(54, 208, 113, 0.20), transparent 26%),
    radial-gradient(circle at 12% 0%, rgba(255, 193, 85, 0.22), transparent 28%),
    linear-gradient(135deg, #171922 0%, #101119 100%);
  color: #fff;
  box-shadow: 0 28px 78px rgba(22, 24, 34, 0.18);
}

.mc-footer::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: linear-gradient(90deg, #ffc155, var(--orange), var(--green));
}

.mc-footer a {
  color: inherit;
}

.mc-footer-brand,
.mc-footer-nav,
.mc-footer-art,
.mc-footer-disclaimer {
  position: relative;
  z-index: 1;
}

.mc-footer-logo {
  display: inline-grid;
  place-items: center;
  width: 150px;
  min-height: 74px;
  margin-bottom: 24px;
  border-radius: 18px;
  background: #fff;
  box-shadow: 0 20px 42px rgba(0, 0, 0, 0.18);
}

.mc-footer-logo img {
  width: 112px;
}

.mc-footer-brand p,
.mc-footer-disclaimer {
  margin: 0 0 10px;
  color: rgba(255, 255, 255, 0.70);
  line-height: 1.65;
}

.mc-footer-brand a {
  color: #ffc155;
  font-weight: 900;
}

.mc-footer-nav {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 24px;
}

.mc-footer-nav h3 {
  margin: 0 0 14px;
  color: #ffc155;
  font-size: 15px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-footer-nav a {
  display: block;
  width: fit-content;
  margin-bottom: 10px;
  color: rgba(255, 255, 255, 0.76);
  font-weight: 500;
  transition: color 0.15s ease, font-weight 0.15s ease;
}

.mc-footer-nav a:hover,
.mc-footer-nav a:focus-visible {
  color: #fff;
  font-weight: 800;
}

.mc-footer-art {
  align-self: end;
  justify-self: end;
  width: min(220px, 100%);
  margin-bottom: -54px;
  filter: drop-shadow(0 22px 36px rgba(0, 0, 0, 0.30));
}

.mc-footer-separator {
  grid-column: 1 / -1;
  border: 0;
  border-top: 1px solid rgba(255, 255, 255, 0.10);
  margin: 8px 0 0;
}

.mc-footer-disclaimer {
  grid-column: 1 / -1;
  width: 100%;
  max-width: 100%;
  margin: 0;
  padding-top: 16px;
  font-size: 13px;
}

.mc-status-panel {
  display: grid;
  gap: 22px;
  width: min(980px, 100%);
  margin: 0 auto;
  border: 1px solid var(--line);
  border-radius: 30px;
  background: #fff;
  padding: clamp(24px, 5vw, 54px);
  box-shadow: var(--shadow);
}

.mc-payment-form {
  display: grid;
  gap: 20px;
}

.mc-payment-form label {
  display: grid;
  gap: 10px;
  color: #5b6071;
  font-size: 18px;
  font-weight: 900;
}

.mc-payment-form input {
  width: 100%;
  min-height: 62px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fafafa;
  color: var(--ink);
  padding: 0 18px;
  font: inherit;
  font-size: 20px;
  font-weight: 800;
}

.mc-status-actions {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.mc-status-actions button[value="failed"] {
  background: #f3f4f7;
  color: #171924;
  border: 1px solid var(--line);
}

.woocommerce-checkout .mc-wc-page,
.woocommerce-cart .mc-wc-page {
  width: min(80%, 1480px);
  max-width: none;
  padding-bottom: 80px;
}

.woocommerce-checkout .mc-wc-page .woocommerce,
.woocommerce-cart .mc-wc-page .woocommerce {
  padding: 0;
  border-radius: 0;
  background: transparent;
  box-shadow: none;
}

.mc-checkout-intro {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 0.34fr);
  gap: 22px;
  margin: 28px 0 18px;
  padding: clamp(26px, 4vw, 48px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.96) 0%, rgba(255,255,255,0.86) 52%, rgba(255,193,85,0.2) 100%),
    url("../images/partner-home.png") right center / auto 125% no-repeat;
  box-shadow: var(--shadow);
}

.mc-checkout-intro span,
.mc-checkout-coupon span {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-checkout-intro h1 {
  max-width: 760px;
  margin: 10px 0;
  font-size: clamp(38px, 5vw, 76px);
  line-height: 1.02;
}

.mc-checkout-intro p {
  max-width: 680px;
  color: #626676;
  font-size: 18px;
  line-height: 1.6;
}

.mc-checkout-vpln-info {
  display: grid;
  gap: 12px;
  width: 100%;
  margin: 20px 0 0;
  padding: 16px;
  border: 1px solid rgba(255, 173, 50, 0.24);
  border-radius: 18px;
  background: #fffaf1;
}

.mc-checkout-vpln-copy {
  display: grid;
  gap: 8px;
}

.mc-checkout-mini {
  align-self: end;
  display: grid;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(255, 173, 50, 0.32);
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.82);
  backdrop-filter: blur(8px);
}

.mc-checkout-mini strong {
  color: var(--orange-dark);
  font-size: 34px;
  line-height: 1;
}

.mc-checkout-mini small {
  color: #626676;
  font-weight: 900;
}

.mc-checkout-vpln-info span {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-checkout-vpln-info h2 {
  max-width: 620px;
  margin: 0;
  color: var(--ink);
  font-size: clamp(20px, 2vw, 24px);
  line-height: 1.12;
}

.mc-checkout-vpln-info p,
.mc-checkout-vpln-info li {
  color: #626676;
  font-size: 14px;
  line-height: 1.55;
}

.mc-checkout-vpln-steps {
  display: grid;
  gap: 6px;
  margin: 0;
  padding-left: 20px;
}

.mc-checkout-vpln-warning {
  border: 1px solid rgba(255, 173, 50, 0.34);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.72);
  padding: 12px 14px;
}

.mc-checkout-vpln-warning {
  background: #fff4db;
}

.mc-checkout-vpln-warning strong {
  display: block;
  margin-bottom: 6px;
  color: #b76900;
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-checkout-vpln-note {
  margin: 0;
  color: #626676;
  font-size: 13px;
  font-weight: 750;
  line-height: 1.5;
}

.mc-checkout-vpln-info a,
.mc-vpln-acceptance a {
  color: var(--orange-dark);
  font-weight: 950;
  text-decoration: underline;
  text-decoration-thickness: 2px;
  text-underline-offset: 3px;
}

.mc-checkout-coupon {
  display: grid !important;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 0.45fr) auto;
  gap: 14px;
  align-items: center;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(54, 208, 113, 0.24);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #f3fff7 100%);
  box-shadow: 0 16px 42px rgba(28, 30, 42, 0.06);
}

.mc-checkout-coupon strong {
  display: block;
  margin: 4px 0;
  font-size: 18px;
}

.mc-checkout-coupon small {
  color: #626676;
  font-weight: 850;
}

.mc-checkout-coupon code {
  color: #2b9a55;
  font-weight: 950;
}

.mc-checkout-coupon input {
  width: 100%;
  min-height: 54px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
}

.mc-checkout-coupon button,
.woocommerce-checkout .button,
.woocommerce-cart .button {
  min-height: 54px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffc155, var(--orange));
  color: #12131b;
  padding: 0 22px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
}

.woocommerce-checkout form.checkout {
  display: grid;
  grid-template-columns: minmax(0, 0.78fr) minmax(360px, 0.72fr);
  gap: 24px;
  align-items: start;
}

.woocommerce-checkout .col2-set,
.woocommerce-checkout #customer_details,
.woocommerce-checkout #order_review,
.woocommerce-checkout #payment,
.woocommerce-cart .woocommerce-cart-form,
.woocommerce-cart .cart-collaterals {
  border: 1px solid var(--line);
  border-radius: 24px;
  background: #fff;
  box-shadow: 0 18px 48px rgba(28, 30, 42, 0.08);
}

.woocommerce-checkout #customer_details {
  padding: clamp(22px, 3vw, 34px);
}

.woocommerce-checkout .woocommerce-billing-fields {
  display: block;
  width: 100%;
  max-width: none;
}

.woocommerce-checkout .col2-set .col-1,
.woocommerce-checkout .col2-set .col-2 {
  float: none;
  width: 100%;
}

.woocommerce-checkout form.checkout #customer_details .col-1,
.woocommerce-checkout form.checkout #customer_details .woocommerce-billing-fields {
  float: none !important;
  width: 100% !important;
  max-width: none !important;
}

.woocommerce-checkout .col2-set .col-2 {
  display: none;
}

.woocommerce-checkout .woocommerce-billing-fields h3,
.woocommerce-checkout #order_review_heading {
  margin: 0 0 18px;
  font-size: clamp(26px, 3vw, 40px);
  line-height: 1.05;
}

.woocommerce-checkout .woocommerce-billing-fields h3::after {
  content: "Wystarczy email. Dane gracza mamy z formularza VPLN.";
  display: block;
  margin-top: 8px;
  color: #626676;
  font-size: 15px;
  font-weight: 800;
  line-height: 1.5;
}

.woocommerce-checkout .woocommerce-billing-fields__field-wrapper,
.woocommerce-checkout .form-row-wide {
  width: 100% !important;
  max-width: none;
  float: none !important;
  clear: both;
}

.woocommerce-checkout #billing_email_field,
.woocommerce-checkout #billing_email_field .woocommerce-input-wrapper,
.woocommerce-checkout .form-row-wide input.input-text {
  display: block;
  width: 100%;
  max-width: none;
}

.woocommerce-checkout .woocommerce-billing-fields > .mc-checkout-vpln-info {
  width: 100% !important;
  max-width: none;
  box-sizing: border-box;
}

.woocommerce-checkout .form-row label {
  color: #6f7485;
  font-weight: 950;
}

.woocommerce-checkout .form-row input.input-text,
.woocommerce-checkout .form-row textarea,
.woocommerce-checkout .select2-container .select2-selection--single {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fbfcff;
  color: var(--ink);
  padding: 0 16px;
  font: inherit;
  font-weight: 900;
}

.woocommerce-checkout #order_review {
  grid-column: 2;
  grid-row: 1 / span 3;
  padding: clamp(18px, 2.4vw, 28px);
}

.woocommerce-checkout #order_review_heading {
  display: none;
}

.woocommerce-checkout #order_review::before {
  content: "Twoje zam\00F3wienie";
  display: block;
  margin-bottom: 18px;
  color: var(--ink);
  font-size: clamp(28px, 3vw, 42px);
  font-weight: 950;
  line-height: 1.05;
}

.woocommerce-checkout #payment {
  margin-top: 18px;
  padding: 18px;
  background: linear-gradient(180deg, #fff 0%, #fffaf1 100%);
}

.woocommerce-checkout-review-order-table {
  width: 100%;
  border-collapse: collapse;
  overflow: hidden;
}

.woocommerce-checkout-review-order-table th,
.woocommerce-checkout-review-order-table td {
  padding: 14px 8px;
  border-bottom: 1px solid var(--line);
  text-align: left;
}

.woocommerce-checkout-review-order-table tfoot .order-total th,
.woocommerce-checkout-review-order-table tfoot .order-total td {
  color: var(--orange-dark);
  font-size: 22px;
  font-weight: 950;
}

.woocommerce-checkout #payment ul.payment_methods {
  padding: 0;
  border: 0;
}

.woocommerce-checkout #payment div.payment_box {
  border-radius: 14px;
  background: #fff;
}

.woocommerce-checkout .mc-vpln-acceptance {
  margin: 14px 0 0;
  padding: 14px 0 0;
  border-top: 1px solid var(--line);
  color: #626676;
  font-size: 13px;
  line-height: 1.45;
}

.woocommerce-checkout .mc-vpln-acceptance label {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  color: #626676;
  font-weight: 650;
}

.woocommerce-checkout .mc-vpln-acceptance input[type="checkbox"] {
  width: 18px;
  height: 18px;
  min-width: 18px;
  margin-top: 1px;
  accent-color: var(--orange);
}

.woocommerce-checkout .mc-vpln-acceptance span {
  color: #626676;
}

.woocommerce-checkout #payment #place_order,
.woocommerce-checkout #payment #place_order.button.alt {
  width: 100%;
  min-height: 64px;
  margin-top: 14px;
  background: linear-gradient(135deg, #ffc155, var(--orange)) !important;
  color: #12131b !important;
  font-size: 18px;
}

.woocommerce-checkout .woocommerce-privacy-policy-text {
  color: #626676;
  font-size: 14px;
  line-height: 1.5;
}

.woocommerce-error,
.woocommerce-info,
.woocommerce-message {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: #fff;
  box-shadow: 0 12px 32px rgba(28, 30, 42, 0.06);
}

.woocommerce-order-received .woocommerce-customer-details {
  display: none;
}

.woocommerce-order-received .woocommerce-order {
  display: grid;
  gap: 18px;
  padding: clamp(24px, 4vw, 44px);
  border: 1px solid var(--line);
  border-radius: 28px;
  background: #fff;
  box-shadow: var(--shadow);
}

.woocommerce-order-received .woocommerce-thankyou-order-received {
  color: var(--orange-dark);
  font-size: clamp(32px, 4vw, 56px);
  font-weight: 950;
  line-height: 1.05;
}

.mc-dashboard-layout {
  grid-template-columns: 260px minmax(0, 1fr);
  background:
    radial-gradient(circle at 82% 4%, rgba(54, 208, 113, 0.12), transparent 26%),
    linear-gradient(180deg, #f6f7fb 0%, #eef2f7 100%);
}

.mc-dashboard-sidebar {
  border-right: 0;
  background:
    radial-gradient(circle at 30% 0%, rgba(255, 173, 50, 0.24), transparent 32%),
    linear-gradient(180deg, #181923 0%, #101119 100%);
  box-shadow: 18px 0 58px rgba(16, 17, 25, 0.18);
}

.mc-dashboard-brand {
  min-height: 72px;
  display: grid !important;
  place-items: center;
  border: 1px solid rgba(255,255,255,0.10);
  border-radius: 18px;
  background: rgba(255,255,255,0.94);
  box-shadow: 0 18px 36px rgba(0,0,0,0.16);
}

.mc-dashboard-sidebar nav {
  gap: 10px;
}

.mc-dashboard-sidebar nav a {
  position: relative;
  min-height: 48px;
  padding: 0 16px 0 40px;
  border: 1px solid transparent;
  border-radius: 16px;
  color: rgba(255,255,255,0.72);
  background: rgba(255, 255, 255, 0.05);
}

.mc-dashboard-sidebar nav a::before {
  content: "";
  position: absolute;
  left: 16px;
  width: 9px;
  height: 9px;
  border-radius: 4px;
  background: rgba(255,255,255,0.22);
  box-shadow: 0 0 0 4px rgba(255,255,255,0.04);
}

.mc-dashboard-sidebar nav a:hover,
.mc-dashboard-sidebar nav a:focus-visible {
  border-color: rgba(255, 173, 50, 0.42);
  background: rgba(255, 173, 50, 0.13);
  color: #ffc155;
  transform: translateX(3px);
}

.mc-dashboard-sidebar nav a:hover::before,
.mc-dashboard-sidebar nav a:focus-visible::before {
  background: var(--orange);
}

.mc-dashboard-main {
  gap: 22px;
  padding: clamp(22px, 3vw, 38px);
}

.mc-dashboard-hero {
  min-height: 220px;
  border: 0;
  border-radius: 24px;
  background:
    linear-gradient(90deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.94) 48%, rgba(255,193,85,0.10) 100%);
  box-shadow: 0 22px 58px rgba(28, 30, 42, 0.09);
}

.mc-dashboard-hero > div {
  display: grid;
  align-content: center;
}

.mc-dashboard-hero span {
  color: var(--orange-dark);
  font-size: 14px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-dashboard-hero h1 {
  font-size: clamp(34px, 4vw, 56px);
}

.mc-dashboard-hero p {
  max-width: 640px;
  font-size: 16px;
}

.mc-dashboard-hero img {
  min-height: 230px;
  object-position: 38% center;
}

.mc-dashboard-stats {
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 1px;
  overflow: hidden;
  padding: 1px;
  border: 1px solid rgba(255, 193, 85, 0.24);
  border-radius: 22px;
  background:
    linear-gradient(90deg, rgba(255, 193, 85, 0.48), rgba(54, 208, 113, 0.42)),
    #161821;
  box-shadow: 0 22px 58px rgba(28, 30, 42, 0.13);
}

.mc-dashboard-stats article,
.mc-code-card,
.mc-dashboard-panel,
.mc-dashboard-empty {
  position: relative;
  overflow: hidden;
  border-radius: 18px;
  border-color: rgba(223, 227, 236, 0.92);
  background: rgba(255, 255, 255, 0.96);
}

.mc-dashboard-stats article::before,
.mc-code-card::before,
.mc-dashboard-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 4px;
  background: linear-gradient(90deg, #ffc155, var(--orange), var(--green));
}

.mc-dashboard-stats article::before {
  display: none;
}

.mc-dashboard-stats article {
  min-height: 96px;
  padding: 16px;
  border: 0;
  border-radius: 0;
  background: #171922;
  box-shadow: none;
}

.mc-dashboard-stats strong {
  color: #fff;
  font-size: clamp(22px, 2vw, 31px);
  line-height: 1;
}

.mc-dashboard-stats span {
  color: rgba(255,255,255,0.58);
}

.mc-dashboard-panel,
.mc-dashboard-empty {
  padding: clamp(22px, 2.6vw, 34px);
  border: 0;
  box-shadow: 0 22px 58px rgba(28, 30, 42, 0.10);
}

.mc-dashboard-panel h2 {
  margin-top: 0;
  font-size: clamp(26px, 2.6vw, 36px);
}

.mc-code-grid {
  grid-template-columns: repeat(auto-fit, minmax(330px, 1fr));
  gap: 16px;
}

.mc-code-card {
  gap: 13px;
  padding: 22px;
  box-shadow: 0 14px 36px rgba(28, 30, 42, 0.07);
}

.mc-code-card strong {
  font-size: 26px;
  line-height: 1;
}

.mc-code-card code {
  display: block;
  padding: 12px;
  border-radius: 12px;
  background: #fff8ec;
  color: var(--orange-dark);
  font-size: 13px;
}

.mc-code-card.is-new {
  border-style: dashed;
  background:
    linear-gradient(180deg, #ffffff 0%, #fffaf1 100%);
}

.mc-code-card input {
  min-height: 46px;
  border-radius: 12px;
  font-weight: 950;
}

.mc-code-card .mc-secondary,
.mc-code-card .mc-primary {
  min-height: 46px;
}

.mc-code-stats span {
  border-radius: 14px;
  background: #fbfcff;
}

.mc-dashboard-table {
  border-spacing: 0;
}

.mc-dashboard-table th,
.mc-dashboard-table td {
  padding: 12px 10px;
}

.mc-notice {
  border-radius: 16px;
  background: #f6fff9;
  color: #23633c;
  padding: 16px 18px;
  font-weight: 800;
}

.mc-endpoint {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-weight: 800;
}

.mc-endpoint code {
  overflow-wrap: anywhere;
  border-radius: 12px;
  background: #f5f5f7;
  color: #424653;
  padding: 14px;
  font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, monospace;
  font-size: 13px;
}

.mc-back-top {
  position: fixed;
  right: 18px;
  bottom: 20px;
  z-index: 30;
  display: grid;
  place-items: center;
  width: 66px;
  height: 74px;
  border: 0;
  background: transparent;
  cursor: pointer;
  opacity: 0;
  pointer-events: none;
  transform: translate3d(0, 18px, 0) scale(0.92) rotate(-5deg);
  transition: opacity 180ms ease, transform 180ms ease;
}

.mc-back-top.is-visible {
  opacity: 1;
  pointer-events: auto;
  transform: translate3d(0, 0, 0) scale(1) rotate(-5deg);
}

.mc-back-top:hover,
.mc-back-top:focus-visible {
  outline: 0;
  transform: translate3d(0, -4px, 0) scale(1.04) rotate(-5deg);
}

.mc-back-top::before {
  content: "";
  position: absolute;
  inset: 6px 6px 0;
  border: 1px solid rgba(255, 173, 50, 0.62);
  background: linear-gradient(145deg, #fff8e8 0%, #ffc65a 48%, #ff9b1f 100%);
  box-shadow: 0 18px 40px rgba(20, 21, 30, 0.20), 0 12px 30px rgba(255, 173, 50, 0.30);
  clip-path: polygon(50% 0, 100% 42%, 77% 42%, 77% 100%, 23% 100%, 23% 42%, 0 42%);
}

.mc-back-top::after {
  content: "";
  position: absolute;
  top: 22px;
  width: 22px;
  height: 22px;
  border-top: 5px solid #fff;
  border-left: 5px solid #fff;
  filter: drop-shadow(0 3px 3px rgba(21, 22, 32, 0.14));
  transform: rotate(45deg);
}

@media (max-width: 980px) {
  body::after {
    width: 4px;
  }

  .mc-page {
    width: min(100% - 24px, 760px);
    padding-top: 18px;
  }

  .mc-nav {
    display: grid;
    grid-template-columns: auto 1fr;
    gap: 18px;
    min-height: auto;
  }

  .mc-nav-online {
    justify-self: end;
  }

  .mc-links {
    grid-column: 1 / -1;
    order: 3;
    justify-content: flex-start;
    overflow-x: auto;
    padding-bottom: 4px;
  }

  .mc-hero {
    min-height: 650px;
    border-radius: 24px;
  }

  .mc-hero::before {
    background: linear-gradient(180deg, rgba(247,247,248,0.98) 0%, rgba(247,247,248,0.86) 58%, rgba(247,247,248,0.34) 100%);
  }

  .mc-hero-content {
    width: 100%;
    padding: 30px;
    align-self: start;
  }

  .mc-modes-grid,
  .mc-products,
  .mc-story-card,
  .mc-story-card.is-reverse,
  .mc-feature-card,
  .mc-feature-card.is-reversed,
  .mc-feature-card.is-wide,
  .mc-voucher,
  .mc-footer,
  .mc-vpln-shop,
  .mc-auth-page,
  .mc-dashboard-hero,
  .mc-checkout-intro,
  .woocommerce-checkout form.checkout,
  .mc-checkout-coupon {
    grid-template-columns: 1fr;
  }

  .woocommerce-checkout .mc-wc-page,
  .woocommerce-cart .mc-wc-page {
    width: min(100% - 24px, 760px);
  }

  .mc-checkout-intro {
    background:
      linear-gradient(180deg, rgba(255,255,255,0.98) 0%, rgba(255,255,255,0.88) 100%),
      url("../images/partner-home.png") right bottom / auto 85% no-repeat;
  }

  .mc-checkout-mini {
    align-self: stretch;
  }

  .woocommerce-checkout #order_review {
    grid-column: auto;
    grid-row: auto;
  }

  .mc-discord-reward p {
    white-space: normal;
  }

  .mc-auth-art {
    min-height: 420px;
    order: -1;
  }

  .mc-dashboard-layout {
    grid-template-columns: 1fr;
  }

  .mc-dashboard-sidebar {
    position: static;
    height: auto;
    padding: 18px;
  }

  .mc-dashboard-sidebar nav,
  .mc-dashboard-stats,
  .mc-code-grid {
    grid-template-columns: 1fr 1fr;
  }

  .mc-story-card.is-reverse .mc-story-copy {
    order: 0;
  }

  .mc-feature-card.is-reversed .mc-feature-media {
    order: 0;
  }

  .mc-story-copy {
    padding: 30px;
  }

  .mc-feature-copy {
    padding: 30px;
  }

  .mc-feature-media {
    min-height: 340px;
  }

  .mc-story-art img {
    min-height: 360px;
  }

  .mc-modes-grid {
    margin-top: 16px;
    padding: 0;
  }

  .mc-section-head {
    padding: 0;
  }

  .mc-voucher-copy {
    padding: 28px;
  }

  .mc-voucher-art {
    justify-self: center;
  }

  .mc-footer-nav {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .mc-footer-art {
    position: absolute;
    right: 18px;
    bottom: 58px;
    width: 150px;
    opacity: 0.24;
  }

  .mc-back-top {
    right: 10px;
    bottom: 12px;
    width: 56px;
    height: 64px;
  }

  .mc-back-top::after {
    top: 19px;
    width: 18px;
    height: 18px;
    border-top-width: 4px;
    border-left-width: 4px;
  }
}

@media (max-width: 620px) {
  .mc-creator-platforms {
    right: 18px;
    width: min(250px, 64%);
    height: min(290px, 72%);
  }

  .mc-creator-platforms span {
    min-height: 48px;
    gap: 8px;
    padding: 0 14px;
    font-size: 14px;
  }

  .mc-creator-platforms img {
    width: 22px;
    height: 22px;
  }

  .mc-shop-button {
    display: none;
  }

  .mc-vpln-modal {
    align-items: end;
    padding: 10px;
  }

  .mc-vpln-modal .mc-vpln-card {
    max-height: 92vh;
    border-radius: 20px;
  }

  .mc-vpln-modal-head,
  .mc-vpln-fields,
  .mc-vpln-summary {
    grid-template-columns: 1fr;
    display: grid;
  }

  .mc-vpln-inline-card {
    width: 100%;
    margin-top: 24px;
    border-radius: 22px;
    padding: 22px;
  }

  .mc-vpln-inline-card .mc-vpln-fields {
    grid-template-columns: 1fr;
  }

  .mc-vpln-mode-pill,
  .mc-vpln-summary > div:last-child {
    text-align: left;
  }

  .mc-brand img {
    width: 88px;
    height: auto;
  }

  .mc-nav-online {
    font-size: 14px;
  }

  .mc-links {
    gap: 22px;
    font-size: 16px;
  }

  .mc-hero-actions,
  .mc-status-actions {
    grid-template-columns: 1fr;
    display: grid;
  }

  .mc-section,
  .mc-story-stack,
  .mc-feature-stack,
  .mc-voucher,
  .mc-status {
    padding-top: 58px;
  }

  .mc-hero-modes {
    min-height: 38px;
    margin-bottom: 14px;
    padding: 0 14px;
    font-size: 12px;
    letter-spacing: 0.03em;
  }

  .mc-hero h1 {
    font-size: 38px;
    line-height: 1.04;
  }

  .mc-hero p {
    font-size: 17px;
  }

  .mc-mode-banner {
    height: 480px;
  }

  .mc-story-copy h2 {
    font-size: 34px;
  }

  .mc-feature-copy h2 {
    font-size: 34px;
  }

  .mc-story-copy p {
    font-size: 17px;
  }

  .mc-feature-copy p {
    font-size: 17px;
  }

  .mc-dashboard-stats,
  .mc-code-grid,
  .mc-dashboard-sidebar nav {
    grid-template-columns: 1fr;
  }

  .mc-vpln-fields {
    grid-template-columns: 1fr;
  }

  .mc-footer {
    padding: 28px;
    border-radius: 24px;
  }

  .mc-footer-nav {
    grid-template-columns: 1fr;
  }

  .mc-footer-art {
    display: none;
  }

  .mc-vpln-summary {
    display: grid;
  }

  .mc-vpln-summary > div:last-child {
    text-align: left;
  }

  .mc-auth-form {
    padding: 26px;
  }
}

/* VPLN number input */
.mc-vpln-number-row {
  display: flex;
  align-items: center;
  gap: 12px;
}

.mc-vpln-number-row input[type="number"] {
  width: 100px;
  min-height: 46px;
  border: 1px solid var(--line);
  border-radius: 12px;
  padding: 0 12px;
  color: var(--ink);
  font: inherit;
  font-size: 18px;
  font-weight: 850;
  text-align: center;
  -moz-appearance: textfield;
}

.mc-vpln-number-row input[type="number"]::-webkit-inner-spin-button,
.mc-vpln-number-row input[type="number"]::-webkit-outer-spin-button {
  opacity: 1;
}

/* Hide Tryb row in WC order review */
.woocommerce-checkout-review-order-table .variation dt:first-child + dd,
.woocommerce-checkout-review-order-table .variation dt:first-child {
  display: none;
}

.mc-hide-mode .woocommerce-checkout-review-order-table dl.variation dt,
.mc-hide-mode .woocommerce-checkout-review-order-table dl.variation dd {
  display: none;
}

/* Hide Tryb from cart item meta */
.woocommerce-checkout-review-order-table dl.variation {
  display: none;
}

/* Checkout bonus code section */
.mc-checkout-bonus-code {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 12px;
  align-items: end;
  margin: 0 0 18px;
  padding: 18px;
  border: 1px solid rgba(255, 173, 50, 0.28);
  border-radius: 20px;
  background: linear-gradient(135deg, #ffffff 0%, #fffaf1 100%);
  box-shadow: 0 14px 38px rgba(28, 30, 42, 0.06);
}

.mc-checkout-bonus-code > div:first-child {
  display: grid;
  gap: 4px;
}

.mc-checkout-bonus-code span {
  color: var(--orange-dark);
  font-size: 13px;
  font-weight: 950;
  text-transform: uppercase;
}

.mc-checkout-bonus-code strong {
  font-size: 17px;
  color: var(--ink);
}

.mc-checkout-bonus-code input {
  width: 100%;
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 14px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-weight: 900;
  margin-top: 8px;
}

.mc-checkout-bonus-code button {
  min-height: 50px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(135deg, #ffc155, var(--orange));
  color: #12131b;
  padding: 0 20px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
  transition: transform 0.18s ease;
}

.mc-checkout-bonus-code button:hover {
  transform: scale(1.03);
}

.mc-checkout-bonus-result {
  margin: -10px 0 16px;
  padding: 12px 16px;
  border-radius: 14px;
  background: #f0fff6;
  border: 1px solid rgba(54, 208, 113, 0.28);
  color: #1b7a43;
  font-weight: 900;
  font-size: 14px;
}

.mc-checkout-bonus-result.is-error {
  background: #fff5f5;
  border-color: rgba(220, 53, 69, 0.24);
  color: #b02a37;
}

/* Discount code toggle */
.mc-discount-toggle {
  margin: 0 0 14px;
}

.mc-discount-toggle-btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  min-height: 40px;
  padding: 0 16px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: #626676;
  font: inherit;
  font-size: 14px;
  font-weight: 900;
  cursor: pointer;
  transition: border-color 0.15s, color 0.15s;
}

.mc-discount-toggle-btn:hover {
  border-color: var(--orange);
  color: var(--ink);
}

.mc-discount-toggle-btn[aria-expanded="true"] .mc-discount-toggle-icon {
  transform: rotate(45deg);
}

.mc-discount-toggle-icon {
  display: inline-block;
  font-size: 16px;
  line-height: 1;
  transition: transform 0.2s ease;
}

.mc-discount-applied-badge {
  padding: 2px 8px;
  border-radius: 6px;
  background: rgba(54, 208, 113, 0.14);
  color: #1b7a43;
  font-size: 12px;
}

.mc-discount-form {
  margin-top: 12px;
}

.mc-discount-form form {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 10px;
  align-items: center;
}

.mc-discount-form input[type="text"] {
  min-height: 50px;
  border: 1px solid var(--line);
  border-radius: 12px;
  background: #fff;
  color: var(--ink);
  padding: 0 14px;
  font: inherit;
  font-weight: 900;
}

.mc-discount-form button {
  min-height: 50px;
  border: 0;
  border-radius: 12px;
  background: linear-gradient(135deg, #ffc155, var(--orange));
  color: #12131b;
  padding: 0 20px;
  font: inherit;
  font-weight: 950;
  cursor: pointer;
  white-space: nowrap;
}

/* Order review — Nick badge above product table */
.mc-order-review-nick {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 18px;
  padding: 16px 22px;
  border-radius: 16px;
  background: linear-gradient(135deg, #fff8ec 0%, #ffffff 100%);
  border: 1px solid rgba(255, 173, 50, 0.32);
  box-shadow: 0 8px 22px rgba(255, 173, 50, 0.08);
}

.mc-order-review-nick-label {
  color: var(--muted);
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mc-order-review-nick-value {
  color: var(--orange-dark);
  font-size: clamp(18px, 2.2vw, 24px);
  font-weight: 950;
  line-height: 1;
}

/* Thank you page — Player nick */
.mc-thankyou-player {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin: 0 0 14px;
  padding: 18px 22px;
  border-radius: 18px;
  background: linear-gradient(135deg, #fff8ec 0%, #ffffff 100%);
  border: 1px solid rgba(255, 173, 50, 0.32);
  box-shadow: 0 12px 28px rgba(255, 173, 50, 0.10);
}

.mc-thankyou-player-label {
  color: var(--muted);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: 0.04em;
}

.mc-thankyou-player-nick {
  color: var(--orange-dark);
  font-size: clamp(22px, 3vw, 32px);
  font-weight: 950;
  line-height: 1;
}

/* Thank you page — Wróć button */
.mc-thankyou-back {
  display: flex;
  justify-content: center;
  margin-top: 22px;
}

.mc-thankyou-note {
  margin: 0 0 16px;
  padding: 14px 18px;
  border-radius: 16px;
  background: #f0fff6;
  border: 1px solid rgba(54, 208, 113, 0.28);
  color: #1b7a43;
  font-weight: 900;
  font-size: 15px;
}

/* Test mode label */
.mc-test-mode-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 4px 10px;
  border-radius: 8px;
  background: rgba(255, 173, 50, 0.15);
  border: 1px solid rgba(255, 173, 50, 0.4);
  color: #b76900;
  font-size: 12px;
  font-weight: 950;
  text-transform: uppercase;
}

@media (max-width: 980px) {
  .mc-checkout-bonus-code {
    grid-template-columns: 1fr;
  }
}

/* === FIX: Sekcja Discord na tablet/mobile === */
@media (max-width: 900px) {
  .mc-discord-reward {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
    padding: 28px 22px;
  }

  .mc-discord-reward > div:not(.mc-discord-badge) {
    max-width: 520px;
  }

  .mc-discord-reward h2 {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    font-size: clamp(28px, 8vw, 42px);
  }

  .mc-discord-reward p {
    max-width: 460px;
    margin-left: auto;
    margin-right: auto;
    white-space: normal;
    font-size: 17px;
  }

  .mc-discord-reward .mc-primary {
    width: min(100%, 320px);
  }
}

@media (max-width: 520px) {
  .mc-discord-reward {
    padding: 24px 18px;
    border-radius: 24px;
  }

  .mc-discord-reward h2 {
    font-size: 30px;
    line-height: 1.08;
  }

  .mc-discord-reward p {
    font-size: 16px;
    line-height: 1.55;
  }

  .mc-discord-badge {
    width: 70px;
    height: 70px;
    border-radius: 22px;
  }

  .mc-discord-badge img {
    width: 38px;
    height: 38px;
  }

  .mc-discord-reward .mc-primary {
    min-height: 54px;
    padding: 0 22px;
  }
}
