﻿@import url('./reset.css');

/* CSS Variables - 공통 색상과 사이즈 */
:root {
  /* Colors */
  --color-primary-red: #e60013;
  --color-primary-blue: #011952;
  --color-secondary-blue: #003780;
  --color-accent-blue: #3782f3;
  --color-accent-orange: #f9be7e;
  --color-dark-bg: #111418;
  --color-dark-gray: #434d6c;
  --color-white: #ffffff;
  --color-gray-light: #f5f5f5;
  --color-gray-medium: #8c8c8c;
  --color-gray-dark: #474747;
  --color-text-primary: #091b33;
  --color-bg-light-blue: #e4f0ff;

  /* Font Sizes (vw 기반 - 720px 기준, 360px~720px 사이에서 비례 조정) */
  --font-size-xs: clamp(7px, 1.944vw, 14px);
  --font-size-sm: clamp(8px, 2.222vw, 16px);
  --font-size-base: clamp(9px, 2.5vw, 18px);
  --font-size-md: clamp(10px, 2.778vw, 20px);
  --font-size-lg: clamp(11px, 3.056vw, 22px);
  --font-size-xl: clamp(12px, 3.333vw, 24px);
  --font-size-2xl: clamp(13px, 3.611vw, 26px);
  --font-size-3xl: clamp(14px, 3.889vw, 28px);
  --font-size-4xl: clamp(15px, 4.167vw, 30px);
  --font-size-5xl: clamp(16px, 4.444vw, 32px);
  --font-size-6xl: clamp(18px, 5vw, 36px);
  --font-size-7xl: clamp(20px, 5.556vw, 40px);
  --font-size-8xl: clamp(22px, 6.111vw, 44px);
  --font-size-9xl: clamp(24px, 6.667vw, 48px);
  --font-size-10xl: clamp(26px, 7.222vw, 52px);
  --font-size-11xl: clamp(28px, 7.778vw, 56px);
  --font-size-12xl: clamp(30px, 8.333vw, 60px);

  /* Spacing (vw 기반 - 360px~720px 사이에서 비례 조정) */
  --spacing-xs: clamp(3px, 0.833vw, 6px);
  --spacing-sm: clamp(6px, 1.667vw, 12px);
  --spacing-md: clamp(8px, 2.222vw, 16px);
  --spacing-lg: clamp(10px, 2.778vw, 20px);
  --spacing-xl: clamp(12px, 3.333vw, 24px);
  --spacing-2xl: clamp(16px, 4.444vw, 32px);
  --spacing-3xl: clamp(20px, 5.556vw, 40px);

  /* Border Radius (vw 기반) */
  --radius-sm: clamp(4px, 1.111vw, 8px);
  --radius-md: clamp(8px, 2.222vw, 16px);
  --radius-lg: clamp(9px, 2.5vw, 18px);
  --radius-full: 3200px;

  /* Additional Sizes (vw 기반 - 자주 사용되는 크기) */
  --size-1: clamp(0.5px, 0.1388vw, 1px);
  --size-2: clamp(1px, 0.277vw, 2px);
  --size-4: clamp(2px, 0.556vw, 4px);
  --size-6: clamp(3px, 0.833vw, 6px);
  --size-8: clamp(4px, 1.111vw, 8px);
  --size-10: clamp(5px, 1.389vw, 10px);
  --size-12: clamp(6px, 1.667vw, 12px);
  --size-14: clamp(7px, 1.944vw, 14px);
  --size-16: clamp(8px, 2.222vw, 16px);
  --size-17: clamp(8.5px, 2.361vw, 17px);
  --size-18: clamp(9px, 2.5vw, 18px);
  --size-20: clamp(10px, 2.778vw, 20px);
  --size-22: clamp(11px, 3.056vw, 22px);
  --size-24: clamp(12px, 3.333vw, 24px);
  --size-25: clamp(13px, 3.472vw, 25px);
  --size-26: clamp(13px, 3.611vw, 26px);
  --size-28: clamp(14px, 3.889vw, 28px);
  --size-30: clamp(15px, 4.167vw, 30px);
  --size-32: clamp(16px, 4.444vw, 32px);
  --size-34: clamp(17px, 4.722vw, 34px);
  --size-35: clamp(17.5px, 4.861vw, 35px);
  --size-36: clamp(18px, 5vw, 36px);
  --size-40: clamp(20px, 5.556vw, 40px);
  --size-42: clamp(21px, 5.833vw, 42px);
  --size-44: clamp(22px, 6.111vw, 44px);
  --size-48: clamp(24px, 6.667vw, 48px);
  --size-50: clamp(25px, 6.944vw, 50px);
  --size-56: clamp(28px, 7.778vw, 56px);
  --size-60: clamp(30px, 8.333vw, 60px);
  --size-64: clamp(32px, 8.889vw, 64px);
  --size-72: clamp(36px, 10vw, 72px);
  --size-76: clamp(38px, 10.556vw, 76px);
  --size-80: clamp(40px, 11.111vw, 80px);
  --size-82: clamp(41px, 11.389vw, 82px);
  --size-84: clamp(42px, 11.667vw, 84px);
  --size-83: clamp(41.5px, 11.528vw, 83px);
  --size-90: clamp(45px, 12.5vw, 90px);
  --size-93: clamp(46.5px, 12.861vw, 93px);
  --size-96: clamp(48px, 13.333vw, 96px);
  --size-100: clamp(50px, 13.889vw, 100px);
  --size-103: clamp(51.5px, 14.222vw, 103px);
  --size-110: clamp(55px, 15.556vw, 110px);
  --size-120: clamp(60px, 16.667vw, 120px);
  --size-135: clamp(67.5px, 18.75vw, 135px);
  --size-140: clamp(70px, 19.444vw, 140px);
  --size-150: clamp(75px, 20.833vw, 150px);
  --size-200: clamp(100px, 27.778vw, 200px);
  --size-224: clamp(112px, 31.111vw, 224px);
  --size-300: clamp(150px, 41.666vw, 300px);
  --size-340: clamp(170px, 47.222vw, 340px);
  --size-400: clamp(200px, 55.555vw, 400px);

  /* Heights */
  --height-600: clamp(300px, 83.333vw, 600px);
  --height-700: clamp(350px, 97.222vw, 700px);
  --height-800: clamp(400px, 111.111vw, 800px);
  --height-1060: clamp(530px, 147.222vw, 1060px);

  /* Container */
  --container-max-width: 720px;

  /* Shadows */
  --shadow-glow: 0 0 clamp(6.5px, 1.806vw, 13px) rgba(255, 255, 255, 0.8);
  --shadow-white: 0 0 clamp(6.5px, 1.806vw, 13px) var(--color-white);
  --blur-sm: clamp(2.5px, 0.694vw, 5px);
}

/* 더잠실 웹폰트 */
@font-face {
  font-family: 'The Jamsil';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil1Thin.woff2') format('woff2');
  font-weight: 100;
  font-display: swap;
}

@font-face {
  font-family: 'The Jamsil';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil2Light.woff2') format('woff2');
  font-weight: 300;
  font-display: swap;
}

@font-face {
  font-family: 'The Jamsil';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil3Regular.woff2') format('woff2');
  font-weight: 400;
  font-display: swap;
}

@font-face {
  font-family: 'The Jamsil';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil4Medium.woff2') format('woff2');
  font-weight: 500;
  font-display: swap;
}

@font-face {
  font-family: 'The Jamsil';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil5Bold.woff2') format('woff2');
  font-weight: 700;
  font-display: swap;
}

@font-face {
  font-family: 'The Jamsil';
  src: url('https://cdn.jsdelivr.net/gh/projectnoonnu/noonfonts_2302_01@1.0/TheJamsil6ExtraBold.woff2') format('woff2');
  font-weight: 800;
  font-display: swap;
}

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

html {
  font-size: clamp(8px, 2.222vw, 16px);
  scroll-behavior: smooth;
}

body {
  font-family: 'The Jamsil', -apple-system, BlinkMacSystemFont, system-ui, sans-serif;
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-white);
  overflow-x: hidden;
}

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

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  outline: none;
}

body.modal-open {
  overflow: hidden;
}

body .modal-overlay {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 0;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s, z-index 0s;
  background: rgba(0, 0, 0, 0.8);
}

body .modal-overlay.active {
  opacity: 1;
  visibility: visible;
}

body .modal-overlay#privacy .modal-body h2,
body .modal-overlay#attention .modal-body h2 {
  font-weight: 700;
  font-size: var(--font-size-lg);
  color: #474747;
  text-align: left;
  margin-bottom: 1.39vw;
}

body .modal-overlay#privacy .modal-body h3,
body .modal-overlay#attention .modal-body h3 {
  font-weight: 700;
  font-size: var(--font-size-md);
  color: #474747;
  text-align: left;
}

body .modal-overlay#privacy .modal-body article,
body .modal-overlay#attention .modal-body article {
  margin-bottom: 3.47vw;
}

body .modal-overlay#privacy .modal-body article p,
body .modal-overlay#privacy .modal-body article li,
body .modal-overlay#attention .modal-body article p,
body .modal-overlay#attention .modal-body article li {
  font-weight: 400;
  font-size: var(--font-size-sm);
  color: #474747;
  line-height: 3.61vw;
  text-align: left;
  font-family: 'Pretendard';
}

body .modal-overlay#privacy .modal-body article:last-child,
body .modal-overlay#attention .modal-body article:last-child {
  margin-bottom: 6.94vw;
}

body .modal-overlay#attention p {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: clamp(1.5px, 0.417vw, 3px);
  display: flex;
  letter-spacing: -0.01em;
  gap: clamp(3.6px, 1vw, 7.2px);
  letter-spacing: clamp(-0.25px, 0.0694vw, -0.5px);
}

body .modal-overlay#attention p::before {
  content: "※";
  flex-shrink: 0;
  white-space: nowrap;
}

body .modal-content {
  background: white;
  border-radius: var(--radius-lg);
  width: clamp(335px, 93.055vw, 670px);
  max-height: 70vh;
  overflow: visible;
  transition: transform 0.3s;
  position: relative;
}

body .modal-content.result-modal {
  background-color: #e60013;
}

body .modal-content.result-modal .modal-body {
  padding: 13.89vw 0 clamp(28px, 7.64vw, 56px);
  position: relative;
}

body .modal-content.result-modal .modal-body .btnWrap {
  padding: 0 var(--size-50) 0;
}

body .modal-content.result-modal .modal-body .btnWrap button.resultConfirm {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  width: 100%;
  height: clamp(37px, 10.42vw, 74px);
  margin: var(--size-28) auto 0;
  background-color: #011952;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  color: #fff;
  font-size: var(--font-size-4xl);
}

body .modal-content.result-modal .modal-body .btnWrap button.resultConfirm span {
  font-family: "Pretendard";
  font-weight: 700;
  font-size: 4.17vw;
  color: #fff;
  padding-right: 4.17vw;
  position: relative;
}

body .modal-content.result-modal .modal-body .btnWrap button.resultConfirm span:after {
  content: "";
  display: block;
  width: 1.81vw;
  height: 1.81vw;
  border-right: 0.56vw solid #fff;
  border-bottom: 0.56vw solid #fff;
  transform: rotate(-45deg);
  position: absolute;
  top: 1.39vw;
  right: 0;
  z-index: 10;
}

body .modal-content.result-team-modal {
  background-color: #011952;
}

body .modal-content.result-team-modal .modal-body {
  padding: 0;
}

body .modal-content.result-team-modal .modal-body .status {
  position: absolute;
  top: 55.56vw;
  left: 50%;
  z-index: 10;
  transform: translateX(-50%);
  width: 80.56vw;
}

body .modal-content.result-team-modal .modal-body .status p {
  text-align: center;
  font-weight: 700;
  font-size: 5.56vw;
  color: #fff;
  line-height: 1.8;
  word-break: keep-all;
}

body .modal-content.result-team-modal .modal-body .status p span {
  padding: 0.83vw 1.25vw;
  background-color: #fff;
  border-radius: 1.11vw;
  margin-right: 0.69vw;
}

body .modal-content.result-team-modal .modal-body .status p span.current {
  color: #011952;
}

body .modal-content.result-team-modal .modal-body .status p span.total {
  color: #e60013;
}

body .modal-content.result-team-modal .modal-body .btnWrap {
  padding: 0 var(--size-50) var(--size-100);
  display: flex;
  flex-direction: column;
  gap: var(--size-16);
}

body .modal-content.result-team-modal .modal-body .btnWrap button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  width: 100%;
  height: clamp(37px, 10.42vw, 74px);
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  font-size: var(--font-size-4xl);
}

body .modal-content.result-team-modal .modal-body .btnWrap button.share {
  background-color: #e60013;
  color: #fff
}

body .modal-content.result-team-modal .modal-body .btnWrap button.resultConfirm {
  background-color: #fff;
  color: var(--color-primary-blue);
}

body .modal-content.result-team-modal .modal-body .btnWrap button.resultConfirm span {
  color: #011952;
}

body .modal-content.result-team-modal .modal-body .btnWrap button.resultConfirm span:after {
  border-color: #011952;
}

body .modal-content.select {
  background-color: #011952;
}

body .modal-content.select .modal-body {
  padding: 0;
}

body .modal-content.select .modal-body h2 img {
  width: 100%;
}

body .modal-content.select .modal-body .btnWrap {
  padding: var(--size-40) 10.42vw;
  display: flex;
  flex-direction: column;
  gap: 2.22vw;
}

body .modal-content.select .modal-body .btnWrap span {
  cursor: pointer;
}

body .modal-content.call {
  background-color: #011952;
}

body .modal-content.call .modal-body {
  padding: 0;
}

body .modal-content.call .modal-body h2 img {
  width: 100%;
}

body .modal-content.call .modal-body .select-box {
  padding: 5.56vw 6.94vw 0;
}

body .modal-content.call .modal-body .select-box .choice {
  margin-bottom: 8.33vw;
  display: flex;
  flex-direction: column;
  gap: 2.78vw;
  padding: 0 2.36vw;
}

body .modal-content.call .modal-body .select-box .choice fieldset {
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #fff;
  display: flex;
  align-items: center;
}

body .modal-content.call .modal-body .select-box .choice fieldset input[type=radio] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border-radius: 0;
  background-image: url("../../img/bg_unselected.png");
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: contain;
  margin: 0 var(--size-12) 0 0;
  width: var(--size-20);
  height: var(--size-20);
}

body .modal-content.call .modal-body .select-box .choice fieldset input[type=radio]:checked {
  background-image: url("../../img/bg_selected.png");
  background-repeat: no-repeat;
  background-color: transparent;
  background-size: contain;
}

body .modal-content.call .modal-body .select-box .input-box fieldset {
  display: flex;
  box-sizing: border-box;
}

body .modal-content.call .modal-body .select-box .input-box fieldset input {
  width: 58.33vw;
  height: clamp(37px, 6.81vw, 74px);
  border: var(--size-1) solid #bec7d3;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  line-height: clamp(37px, 6.81vw, 74px);
  padding: 0 var(--spacing-md);
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-5xl);
  color: #474747;
}

body .modal-content.call .modal-body .select-box .input-box fieldset input::-moz-placeholder {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #a1aabf;
}

body .modal-content.call .modal-body .select-box .input-box fieldset input::placeholder {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #a1aabf;
}

body .modal-content.call .modal-body .select-box .input-box fieldset input+.callTeamName {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border-radius: 0;
  background-color: #e60013;
  color: #fff;
  border-radius: var(--radius-sm);
  border: none;
  font-family: "Pretendard";
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: #fff;
  width: var(--size-140);
  height: clamp(37px, 6.81vw, 74px);
  margin-left: var(--spacing-md);
  display: block;
  cursor: pointer;
}

body .modal-content.call .modal-body .select-box .joinedTeamName {
  display: none;
  text-align: center;
  margin-top: 8.33vw;
}

body .modal-content.call .modal-body .select-box .joinedTeamName p {
  font-weight: 400;
  font-size: var(--font-size-3xl);
  color: #fff;
  margin-bottom: var(--size-25);
}

body .modal-content.call .modal-body .select-box .joinedTeamName .yourteamName {
  display: block;
  width: 100%;
  box-sizing: border-box;
  padding: 5.56vw 0;
  text-align: center;
  border: 0.28vw solid #fff;
  border-radius: 1.25vw;
  box-shadow: 0 0 3.06vw rgba(255, 255, 255, 0.5);
  font-weight: 400;
  font-size: var(--font-size-7xl);
  color: #fff;
}

body .modal-content.call .modal-body .select-box .joinedTeamName.active {
  display: block;
}

body .modal-content.call .modal-body .btnWrap {
  padding: 5.56vw 0;
  display: flex;
  flex-direction: column;
  gap: 2.22vw;
}

body .modal-content.call .modal-body .btnWrap button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border-radius: 0;
  width: 100%;
  height: clamp(37px, 10.42vw, 74px);
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  font-size: var(--font-size-4xl);
}

body .modal-content.call .modal-body .btnWrap button.team-apply {
  background-color: #fff;
  color: var(--color-primary-blue);
}

body .modal-content.make {
  background-color: #011952;
}

body .modal-content.make .modal-body {
  padding: 0;
}

body .modal-content.make .make-box {
  position: absolute;
  top: 97.22vw;
  left: 0;
  padding: 0 6.94vw;
}

body .modal-content.make .make-box fieldset {
  margin-bottom: 2.78vw;
}

body .modal-content.make .make-box fieldset>label {
  display: block;
  font-family: "Pretendard";
  font-weight: 600;
  font-size: 2.92vw;
  color: #fff;
  line-height: 1.3;
  margin-bottom: 1.39vw;
}

body .modal-content.make .make-box fieldset .group {
  display: flex;
  box-sizing: border-box;
}

body .modal-content.make .make-box fieldset .group input {
  width: 58.33vw;
  height: clamp(37px, 6.81vw, 74px);
  border: var(--size-1) solid #bec7d3;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  line-height: clamp(37px, 6.81vw, 74px);
  padding: 0 var(--size-16);
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-5xl);
  color: #474747;
}

body .modal-content.make .make-box fieldset .group input::-moz-placeholder {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #a1aabf;
}

body .modal-content.make .make-box fieldset .group input::placeholder {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #a1aabf;
}

body .modal-content.make .make-box fieldset .group input+.dupChk {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: #e60013;
  color: #fff;
  border-radius: var(--radius-sm);
  border: none;
  font-family: "Pretendard";
  font-weight: 700;
  font-size: var(--font-size-xl);
  color: #fff;
  width: var(--size-140);
  height: clamp(37px, 6.81vw, 74px);
  margin-left: var(--spacing-md);
  display: block;
  cursor: pointer;
}

body .modal-content.make .make-box .text-info {
  margin-bottom: 5.56vw;
}

body .modal-content.make .make-box .text-info li {
  font-weight: 400;
  font-size: var(--size-14);
  color: #fff;
  line-height: 1.5;
}

body .modal-content.make .make-box .btnWrap {
  display: flex;
  flex-direction: column;
  gap: 2.22vw;
  margin-bottom: 6.94vw;
}

body .modal-content.make .make-box .btnWrap button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border-radius: 0;
  width: 100%;
  height: clamp(37px, 10.42vw, 74px);
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  font-size: var(--font-size-4xl);
}


body .modal-content.make .make-box .btnWrap button.teamName-copy {
  background-color: #e60013;
  color: #fff;
}

body .modal-content.make .make-box .btnWrap button.team-apply {
  background-color: #fff;
  color: var(--color-primary-blue);
}

body .modal-content.make .make-box .btnWrap button.team-apply span {
  color: #011952;
}

body .modal-content.make .make-box .btnWrap button.team-apply span:after {
  border-color: #011952;
}

body .modal-content:not(.result-modal, .select, .make, .call, .result-team-modal):before {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  top: 0;
  border-radius: var(--radius-lg) var(--radius-lg) 0 0  ;
  height: 8.33vw;
  /* 페이드 높이 */
  pointer-events: none;
  /* 클릭 투과 */
  background: linear-gradient(rgb(255, 255, 255) 0%, rgba(255, 255, 255, 0.8) 20%, transparent 100%);
  z-index: 2;
  /* 콘텐츠 위 */
}

body .modal-content:not(.result-modal, .select, .make, .call, .result-team-modal):after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 8.33vw;
  /* 페이드 높이 */
  pointer-events: none;
  /* 클릭 투과 */
  background: linear-gradient(transparent 0%, rgba(255, 255, 255, 0.8) 70%, rgb(255, 255, 255) 100%);
  z-index: 2;
  border-radius: 0 0 var(--radius-lg) var(--radius-lg);
  /* 콘텐츠 위 */
}

body .modal-body {
  position: relative;
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
  padding: 0 var(--size-36) 8.33vw;
  height: 70vh;
  max-height: 70vh;
  width: 99.5%;
  border-radius: var(--radius-lg);
}

body .modal-body h2 {
  text-align: center;
  margin-top: 11.94vw;
}

body .modal-body h2 img {
  width: 51.67vw;
  margin: 0 auto;
}

body .modal-content .modal-close {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border-radius: 0;
  font-size: 1px;
  letter-spacing: -9999px;
  text-indent: -99999px;
  position: absolute;
  top: calc(-1 * (var(--size-32) + var(--size-16)));
  right: 0;
  z-index: 10;
  background-image: url("../../img/btn_modal_close_b.png");
  background-repeat: no-repeat;
  background-position: center;
  background-color: transparent;
  background-size: contain;
  border: none;
  width: var(--size-32);
  height: var(--size-32);
  cursor: pointer;
  padding: 0;
}

body .modal-body.apply-modal>div {
  border-bottom: 0.28vw solid #d4dae2;
  padding: 6.94vw 0;
}

body .modal-body.apply-modal>div:first-child {
  padding-top: 0;
}

body .modal-body.apply-modal>div:last-child {
  border-bottom: 0;
  padding: 3.61vw 0 8.33vw;
}

body .modal-body.apply-modal>div fieldset {
  margin-bottom: 2.78vw;
}

body .modal-body.apply-modal>div fieldset>label {
  display: block;
  font-family: "The Jamsil";
  font-weight: 500;
  font-size: var(--size-26);
  color: #011952;
  line-height: 1.3;
  margin-bottom: var(--size-14);
}

body .modal-body.apply-modal>div fieldset>label+input {
  width: 100%;
  height: clamp(37px, 6.81vw, 74px);
  border: var(--size-1) solid #bec7d3;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  line-height: clamp(37px, 6.81vw, 74px);
  padding: 0 var(--size-16);
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-5xl);
  color: #474747;
}

body .modal-body.apply-modal>div fieldset>label+input::-moz-placeholder {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #a1aabf;
}

body .modal-body.apply-modal>div fieldset>label+input::placeholder {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #a1aabf;
}

body .modal-body.apply-modal>div fieldset>label+input.datepicker {
  background-image: url("../../img/icon_calendar.png");
  background-repeat: no-repeat;
  background-position: 98% 50%;
  background-size: clamp(16px, 2.22vw, 32px);
}

body .modal-body.apply-modal>div fieldset:last-child {
  margin-bottom: 0;
}

body .modal-body.apply-modal>div .group {
  display: flex;
  box-sizing: border-box;
  align-items: center;
}

body .modal-body.apply-modal>div .group>label,
body .modal-body.apply-modal>div .group .group>label {
  margin-bottom: 0;
  color: #585858;
  font-weight: 400;
  font-size: var(--size-17);
  font-family: 'Pretendard';
}

body .modal-body.apply-modal>div .group>label .essential,
body .modal-body.apply-modal>div .group .group>label .essential {
  color: #1e4497;
}

body .modal-body.apply-modal>div .group input[type=checkbox] {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border-radius: 0;
  flex: 0 0 var(--size-22);
  width: var(--size-22);
  height: var(--size-22);
  margin: 0 var(--size-10) 0 0;
  background-image: url("../../img/bg_unchecked.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

body .modal-body.apply-modal>div .group input[type=checkbox]:checked {
  background-image: url("../../img/bg_checked.png");
  background-repeat: no-repeat;
  background-position: center top;
  background-size: contain;
}

body .modal-body.apply-modal>div .group>input:not([type=checkbox]) {
  width: clamp(210.5px, 62vw, 421px);
  height: clamp(37px, 6.81vw, 74px);
  border: var(--size-1) solid #bec7d3;
  box-sizing: border-box;
  border-radius: var(--radius-sm);
  line-height: clamp(37px, 6.81vw, 74px);
  padding: 0 var(--size-16);
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-5xl);
  color: #666;
}

body .modal-body.apply-modal>div .group>.luckyNum::-moz-placeholder {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #a1aabf;
}

body .modal-body.apply-modal>div .group>.luckyNum::placeholder {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--font-size-xl);
  color: #a1aabf;
}

body .modal-body.apply-modal>div .group .group {
  justify-content: space-between;
  width: 100%;
  align-items: center;
}

body .modal-body.apply-modal>div .group .group .link {
  font-size: var(--font-size-sm);
  color: #484848;
  font-weight: 400;
  padding-right: var(--size-20);
  position: relative;
  display: block;
  margin-right: 0;
  font-family: 'Pretendard';
  cursor: pointer;
}

body .modal-body.apply-modal>div .group .group .link:after {
  content: "";
  display: block;
  width: var(--size-6);
  height: var(--size-6);
  border-right: var(--size-2) solid #4b4b4b;
  border-bottom: var(--size-2) solid #4b4b4b;
  transform: rotate(-45deg);
  position: absolute;
  top: var(--size-8);
  right: 0;
  z-index: 10;
}

body .modal-body.apply-modal .textInfo {
  font-family: "Pretendard";
  font-weight: 400;
  font-size: var(--size-18);
  color: #474747;
  line-height: 1.6;
  text-align: left;
  margin-bottom: var(--size-40);
  letter-spacing: clamp(-0.25px, 0.0694vw, -0.5px);
}

body .modal-body.apply-modal .textInfo li {
  padding-left: 1.94vw;
  position: relative;
}

body .modal-body.apply-modal .textInfo li:before {
  content: "* ";
  color: #666;
  font-weight: 700;
  position: absolute;
  top: 0.42vw;
  left: 0;
}

body .modal-body.apply-modal .tip {
  text-align: center;
  display: block;
  margin-top: 3.33vw;
  font-family: "The Jamsil";
  font-weight: 700;
  font-size: var(--size-24);
  color: #011952;
}

body .modal-body.apply-modal .tip:before {
  content: "TIP !";
  color: #e60013;
  margin-right: 1.39vw;
}

body .modal-body.apply-modal button.confirm {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  font-weight: 500;
  font-size: var(--size-24);
  color: #fff;
  background-color: #1e4497;
  color: #fff;
  border-radius: var(--radius-sm);
  border: none;
  width: var(--size-140);
  height: clamp(37px, 6.81vw, 74px);
  margin-left: var(--size-10);
  display: block;
  cursor: pointer;
}

body .modal-body.apply-modal button.apply {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background-color: transparent;
  border-radius: 0;
  width: 100%;
  height: clamp(37px, 10.42vw, 74px);
  background-color: #e60013;
  border-radius: var(--radius-sm);
  border: none;
  font-weight: 500;
  color: #fff;
  font-size: var(--font-size-4xl);
  ;
}

/* Mobile Container - PC에서 중앙 정렬 */
.mobile-container {
  margin: 0 auto;
  background-color: var(--color-white);
  position: relative;
  min-height: 100vh;
}

/* Header */
.header {
  padding: var(--size-28) var(--size-30);
  display: flex;
  justify-content: flex-end;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
}

.logo {
  width: clamp(49px, 13.611vw, 98px);
  height: auto;
  object-fit: cover;
}

/* Hero Section */
.hero-section {
  position: relative;
}


.hero-bg-image {
  width: 100%;
}

.hero-content {
  position: absolute;
  z-index: 10;
  top: 32%;
  width: 100%;
  padding: 0 clamp(24px, 12vw, 122px) var(--size-32);
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  align-items: flex-start;
}

/* Info Badges */
.info-badges {
  display: grid;
  grid-template-columns: auto auto;
  column-gap: clamp(12px, 2.78vw, 20px);
  row-gap: var(--size-16);
  margin-top: 0;
  width: 100%;
  align-self: flex-start;
}

.badge {
  display: flex;
  align-items: center;
  gap: clamp(8px, 1.25vw, 9px);
  background: transparent;
  padding: 0;
  border-radius: 0;
  backdrop-filter: none;
}

.badge-label {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
  width: clamp(36.5px, 10.14vw, 73px);
  height: clamp(17.5px, 4.86vw, 35px);
  padding: 0;
  border-radius: var(--radius-full);
  font-size: clamp(10px, 2.92vw, 21px);
  font-weight: 500;
  text-align: center;
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.badge-text {
  font-size: clamp(10px, 2.92vw, 21px);
  color: var(--color-primary-blue);
  font-weight: 500;
  white-space: nowrap;
}

.badge-prize {
  align-items: flex-start;
  grid-column: 1 / -1;
}

.badge-prize-text {
  font-size: clamp(10px, 2.92vw, 21px);
  color: var(--color-primary-blue);
  line-height: 1.3;
  /* max-width: clamp(260px, 54vw, 391px); */
}

.badge-prize-text p {
  margin: clamp(0.5px, 0.139vw, 1px) 0;
}

.badge-prize-text strong {
  font-weight: 700;
}

/* Main CTA Section */
.main-cta-section {
  background-color: var(--color-primary-blue);
  padding: var(--size-48) var(--size-24) var(--size-64);
  position: relative;
}

.lotte-logo {
  text-align: center;
  margin-bottom: var(--spacing-2xl);
}

.lotte-logo img {
  margin: 0 auto;
  width: var(--size-135);
  height: auto;
}

.main-title {
  text-align: center;
  color: var(--color-white);
  font-size: var(--font-size-9xl);
  font-weight: 700;
  line-height: 1.2;
  margin-bottom: var(--size-24);
}

.title-line1,
.title-line2 {
  display: block;
}

.sub-description {
  text-align: center;
  font-family: "Pretendard";
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: 400;
  margin-bottom: var(--size-60);
}

.lucky-number-info {
  text-align: center;
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: 400;
  line-height: 155%;
  margin-bottom: var(--size-60);
}

.lucky-number-info .highlight {
  color: var(--color-accent-orange);
  font-weight: 700;
}

/* CTA Buttons */
.main-cta-content .cta-buttons {
  display: flex;
  gap: var(--size-12);
  margin-bottom: var(--size-100);
  padding: 0 var(--size-18);
}

.btn {
  flex: 1;
  padding: var(--size-20) clamp(9px, 2.5vw, 18px);
  border-radius: clamp(5px, 1.388vw, 10px);
  font-size: var(--font-size-3xl);
  font-weight: 500;
  color: var(--color-white);
  text-align: center;
  transition: transform 0.2s, box-shadow 0.2s;
  width: clamp(155px, 43.055vw, 310px);
  height: clamp(37px, 10.277vw, 74px);
  box-shadow: clamp(2px, 0.555vw, 4px) clamp(2px, 0.555vw, 4px) clamp(5px, 1.388vw, 10px) rgba(0, 0, 0, 0.2);
  text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.25);
}

.btn-individual {
  background: radial-gradient(ellipse 80% 100% at 25% 10%, rgba(255, 255, 255, 0.70) 0%, rgba(255, 255, 255, 0.00) 69.79%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(90deg, #e60013 0%, #e60013 100%);
  box-shadow: clamp(2px, 0.555vw, 4px) clamp(2px, 0.555vw, 4px) clamp(5px, 1.388vw, 10px) rgba(0, 0, 0, 0.2), inset clamp(-2px, -0.833vw, -3px) clamp(-3px, -1.111vw, -4px) clamp(3px, -1.111vw, 4px) rgba(255, 255, 255, 0.4);
}

.btn-team {
  background: radial-gradient(ellipse 80% 100% at 25% 10%, rgba(255, 255, 255, 0.60) 0%, rgba(255, 255, 255, 0.00) 69.79%, rgba(255, 255, 255, 0.00) 100%), linear-gradient(90deg, #003780 0%, #003780 100%);
  box-shadow: clamp(2px, 0.555vw, 4px) clamp(2px, 0.555vw, 4px) clamp(5px, 1.388vw, 10px) rgba(0, 0, 0, 0.2), inset clamp(-2px, -0.833vw, -3px) clamp(-3px, -1.111vw, -4px) clamp(3px, -1.111vw, 4px) rgba(255, 255, 255, 0.2);
}

.floatBtn {
  position: fixed;
  bottom: 0;
  left: 0;
  z-index: 100;
  width: 100%;
  padding: var(--size-24) var(--size-42) var(--size-24);
  background: rgba(1, 25, 82, 0.7);
  backdrop-filter: blur(10px);
}

.floatBtn .cta-buttons {
  display: flex;
  margin-bottom: 0;
  gap: var(--size-12);
}

/* Social Share */
.share-text {
  text-align: center;
  color: var(--color-white);
  font-size: var(--font-size-xl);
  font-weight: 400;
  margin-bottom: var(--size-20);
}

body .social-share {
  display: flex;
  height: auto;
  justify-content: center;
  gap: var(--size-32);
  margin-bottom: var(--size-76);
}

.social-icon {
  display: block;
  width: var(--size-90);
  height: var(--size-90);
  transition: transform 0.2s;
}

.social-icon:hover {
  transform: scale(1.1);
}

.social-icon img {
  width: 100%;
  height: 100%;
}

/* Tab Navigation */
.tab-navigation {
  display: flex;
  background-color: var(--color-dark-gray);
}

.tab-btn {
  flex: 1;
  padding: var(--size-24) var(--size-12);
  background-color: var(--color-dark-gray);
  color: var(--color-white);
  font-size: var(--font-size-2xl);
  font-weight: 400;
  border: none;
  opacity: 0.4;
  transition: all 0.3s;
}

.tab-btn.active {
  opacity: 1;
}

.tab-btn[data-tab="0"].active {
  background-color: #e60013;
}

.tab-btn[data-tab="1"].active {
  background-color: #003780;
}

/* Participation Section */
.participation-section {
  padding: var(--size-60) var(--size-42) 0;
  position: relative;
}

.participation-section.indiv-section {
  background: url('../../img/bg_indiv.png') no-repeat center top var(--color-primary-red);
  background-size: contain;
}

.participation-section.team-section {
  background: url('../../img/bg_team.png') no-repeat center top var(--color-secondary-blue);
  background-size: contain;
}

.participation-section .tip-box {
  margin-bottom: var(--size-24)
}

.participation-section .team-note-box {
  margin-bottom: var(--size-60);
}

.section-header {
  text-align: center;
  margin: 0 0 var(--size-24);
  /* padding: var(--size-12) var(--size-20); */
}

.section-header img {
  margin: 0 auto;
  width: 100%;
  max-width: var(--size-224);
  height: auto;
}

.section-icon img {
  margin: 0 auto;
  width: 100%;
  max-width: var(--size-224);
  height: auto;
}

.section-title {
  text-align: center;
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: 400;
  margin-bottom: var(--size-24);
  background-color: var(--color-primary-blue);
  padding: var(--size-16) var(--size-20);
  border-radius: var(--radius-sm);
  line-height: 1;
}

/* Tip Box */
.tip-box {
  background: transparent;
  border-radius: 0;
  padding: 0 var(--size-20);
  margin-bottom: var(--size-100);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: var(--size-8);
}

.tip-badge {
  background-color: var(--color-white);
  color: var(--color-primary-red);
  padding: var(--size-4) var(--size-12);
  border-radius: var(--radius-full);
  font-size: var(--font-size-sm);
  font-weight: 700;
  box-shadow: var(--shadow-white);
  margin-right: var(--size-10);
}

.tip-text {
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: 400;
  line-height: 1;
}

/* Steps Container */
.steps-container {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: var(--size-60) var(--size-35);
  padding: 0 0 var(--size-60) 0;
  margin: var(--size-100) 0;
}

.step-card {
  border-radius: var(--radius-md);
  padding: 0;
  overflow: visible;
  position: relative;
}

.step-badge {
  background-color: var(--color-primary-blue);
  color: var(--color-white);
  text-align: center;
  padding: 0 var(--size-16);
  font-size: var(--font-size-xl);
  font-family: "Pretendard";
  font-weight: 700;
  border-radius: 60vw;
  display: flex;
  align-items: center;
  justify-content: center;
  letter-spacing: 0.5px;
  height: var(--size-56);
  position: absolute;
  top: clamp(-28px, -3.8888vw, -14px);
  left: 50%;
  transform: translateX(-50%);
  z-index: 10;
  box-shadow: 0 2px 8px rgba(1, 25, 82, 0.3);
}

.step-image {
  position: relative;
  width: clamp(150px, 41.667vw, 300px);
  display: flex;
  align-items: center;
  justify-content: center;
}

.step-image img {
  width: 100%;
  max-width: none;
  height: auto;
}

.cursor-pointer {
  position: absolute;
  width: var(--size-30);
  height: var(--size-30);
  background-image: url('../img/figma-0d6193c42bf6d56a76e3e3bb87832f9c.png');
  background-size: contain;
  background-repeat: no-repeat;
  bottom: var(--size-12);
  right: var(--size-12);
}

.lucky-number-badge {
  position: absolute;
  top: var(--size-12);
  left: var(--size-12);
  background-color: var(--color-secondary-blue);
  color: var(--color-white);
  padding: var(--size-6) var(--size-12);
  border-radius: var(--radius-full);
  font-size: var(--font-size-lg);
  font-weight: 400;
}

.lucky-number-display {
  position: absolute;
  bottom: var(--size-36);
  left: 50%;
  transform: translateX(-50%) rotate(40deg);
  font-size: var(--font-size-sm);
  color: var(--color-gray-medium);
  font-weight: 500;
}

.step-description {
  text-align: center;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  margin-top: var(--size-16);
  font-family: 'Pretendard';
  color: var(--color-white);
}

/* Team Section Overrides */
.team-section {
  background-color: var(--color-primary-blue);
}

.team-section .section-title {
  background-color: var(--color-primary-red);
}

.team-section .step-badge {
  background-color: var(--color-primary-red);
  box-shadow: 0 2px 8px rgba(230, 0, 19, 0.3);
}

.team-note-box {
  background: linear-gradient(180deg, #0f3a86 0%, #0a2f6e 100%);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-md);
  padding: var(--size-16) var(--size-20);
  margin: 0 var(--size-20) var(--size-24);
  color: var(--color-white);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

.team-section .team-note-box {
  margin-top: var(--size-60);
}

.team-note-title {
  font-size: var(--font-size-5xl);
  font-weight: 700;
  margin-bottom: var(--size-12);
}

.team-note-list {
  list-style: none;
  display: grid;
  gap: var(--size-8);
  font-size: var(--font-size-base);
  font-weight: 500;
}

.team-note-list li::before {
  content: "※ ";
  font-weight: 700;
  font-size: var(--font-size-md);
}

/* Number Guide Section */
.number-guide-section {
  background-color: var(--color-dark-bg);
  padding: var(--size-100) var(--size-40);
  margin: calc(var(--size-80) * -1) calc(var(--size-42) * -1) 0;
}

.number-guide-section .tip-box {
  margin-bottom: var(--size-26);
  padding: 0 0;
}

.number-guide-section .tip-badge {
  font-size: var(--font-size-sm);
}

.number-guide-section .tip-text {
  font-size: var(--font-size-lg);
}

.number-guide-table {
  background-color: var(--color-white);
  border-radius: var(--radius-sm);
  overflow: hidden;
  position: relative;
}

.number-guide-table::before {
  content: "";
  position: absolute;
  top: 0;
  left: clamp(97px, 27.083vw, 194px);
  right: 0;
  height: 100%;
  width: clamp(1px, 0.278vw, 2px);
  background-color: #D8DBE3;
}

.table-header {
  background-color: var(--color-primary-red);
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  padding: var(--size-20) 0;
}

.team-section .table-header {
  background-color: var(--color-primary-blue);
}

.header-col {
  text-align: center;
  color: var(--color-white);
  font-size: var(--font-size-lg);
  font-weight: 500;
}

.header-col:first-child {
  width: clamp(97px, 27.083vw, 194px);
}

.header-col:last-child {
  width: clamp(107.5px, 29.861vw, 215px);
}

.table-row {
  display: grid;
  grid-template-columns: 1fr 1fr 1fr 1fr 1fr 1fr;
  border-bottom: clamp(0.5px, 0.139vw, 1px) solid var(--color-gray-light);
  padding: var(--size-16) 0;
}

.table-row:nth-child(odd) {
  border-bottom: none;
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  background-color: var(--color-gray-light);
}

.row-label {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-gray-medium);
  font-size: var(--font-size-lg);
  padding: 0 var(--size-8);
}

.row-sample {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  position: relative;
  width: 70%;
}

.table-row:first-child .row-sample:first-child::after {
  content: '';
  display: block;
  position: absolute;
  top: 0;
  right: 0;
  width: clamp(1px, 0.278vw, 2px);
  height: 100%;
  background-color: var(--color-gray-light);
}

.row-sample img {
  max-height: clamp(25.5px, 7.083vw, 51px);
  width: auto;
}

.number-guide-table + span {
  color: #FFF;
  font-family: Pretendard;
  font-size: var(--size-18);
  font-weight: 600;
  margin-top: var(--size-20);
  display: block;
}

/* Ranking Section */
.ranking-section {
  background-color: #111418;
  background-image: url('../../img/bg-ranking.png');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  padding: var(--size-80) var(--size-72) var(--size-80);
  position: relative;
}

.ranking-section::before {
  display: none;
}

.ranking-section .section-header {
  text-align: center;
  margin-bottom: 0;
  padding-bottom: 0;
}

.ranking-section .section-header img {
  height: auto;
  display: inline-block;
}

.ranking-title {
  text-align: center;
  color: var(--color-white);
  font-size: var(--font-size-12xl);
  font-weight: 700;
  margin-bottom: var(--size-20);
  position: relative;
  z-index: 1;
  line-height: 1.4;
  padding-left: var(--size-40);
}

.ranking-title:before {
  content: "";
  position: absolute;
  top: calc(var(--size-20) * -1);
  left: var(--size-10);
  width: var(--size-100);
  height: 7.8vw;
  background: url('../../img/img_star.png') no-repeat;
  background-size: contain;
}

.ranking-winner {
  text-align: center;
  margin-bottom: var(--size-40);
  position: relative;
  z-index: 1;
}

.winner-title {
  color: var(--color-white);
  font-size: var(--font-size-12xl);
  margin-bottom: var(--size-24);
  line-height: 1.4;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.80);
  font-weight: 500;
  line-height: 100%;
}

.winner-image {
  margin-bottom: var(--size-16);
}

.winner-image img {
  margin: 0 auto;
  width: 100%;
  max-width: clamp(100px, 27.777vw, 200px);
  height: auto;
  display: block;
}

/* Ranking List */
.ranking-list {
  display: flex;
  flex-direction: column;
  gap: var(--size-24);
  position: relative;
  z-index: 1;
}

.ranking-item {
  background-color: rgba(255, 255, 255, 0.95);
  border-radius: var(--radius-lg);
  padding: var(--size-10) var(--size-20);
  display: flex;
  align-items: center;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
  border-radius: var(--radius-sm);
}

.ranking-item.rank-1 {
  background: linear-gradient(135deg, #4E9FFF 0%, #3D7FE5 100%);
  box-shadow: 0 4px 16px rgba(78, 159, 255, 0.4);
}

.rank-icon {
  width: clamp(40px, 11.111vw, 80px);
  height: clamp(42.5px, 11.805vw, 85px);
  flex-shrink: 0;
  display: flex;
  align-items: center;
  justify-content: center;
}

.rank-icon img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  display: block;
}

.rank-team {
  font-size: var(--font-size-6xl);
  font-weight: 600;
  color: #1a1a1a;
  flex: 1;
  padding-left: var(--size-18);
}

.rank-1 .rank-team {
  color: var(--color-white);
  font-weight: 700;
}

/* Product Section */
.product-section {
  background-color: var(--color-primary-red);
  padding: var(--size-120) var(--size-42) var(--size-100);
}

.product-section .section-title {
  background-color: transparent;
  font-size: var(--font-size-12xl);
  position: relative;
  font-weight: 700;
  padding: 0 0 0 clamp(28px, 6.25vw, 45px);
}

.product-section .section-title:before {
  content: "";
  position: absolute;
  top: calc(var(--size-30) * -1);
  left: var(--size-60);
  width: var(--size-120);
  height: 7.8vw;
  background: url('../../img/img_star.png') no-repeat;
  background-size: contain;
}

.product-info-box {
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(var(--blur-sm));
  border: clamp(1px, 0.278vw, 2px) solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-sm);
  padding: var(--size-20);
  margin-bottom: var(--size-24);
}

.product-notice {
  text-align: center;
  color: var(--color-white);
  font-size: var(--font-size-xl);
  font-weight: 600;
  line-height: 165%;
  font-family: "Pretendard", sans-serif;
}

.product-showcase {
  background-color: transparent;
  border-radius: 0;
  padding: 0;
  overflow: visible;
  display: flex;
  flex-direction: column;
  align-items: center;
  position: relative;
}

.product-showcase img {
  width: 100%;
  height: auto;
  display: block;
}

.product-list {
  position: absolute;
  width: 100%;
  bottom: 0;
  left: 0;
  text-align: center;
  background-color: var(--color-gray-light);
  border-radius: 0 0 var(--radius-sm) var(--radius-sm);
  padding: var(--size-16);
}

.product-list-title {
  font-size: var(--font-size-lg);
  font-weight: 600;
  color: var(--color-gray-dark);
  margin-bottom: var(--size-6);
  font-family: "Pretendard";
}

.product-list-text {
  font-size: var(--font-size-base);
  color: var(--color-gray-dark);
  line-height: 1.6;
  font-family: "Pretendard", sans-serif;
}

.prize-notice p:last-child {
  margin-bottom: 0;
}

/* ----- Individual Match Section ----- */
.individual-match-section {
  padding: var(--size-40) var(--size-16) var(--size-32);
  background-color: #011952;
}

.individual-match-header {
  font-family: "The Jamsil", sans-serif;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: var(--size-24);
}

.individual-match-card {
  background: linear-gradient(135deg, #e60013 0%, #b3000f 100%);
  border-radius: clamp(12px, 3.333vw, 24px);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin: 0 auto var(--size-24);
  max-width: clamp(320px, 88.889vw, 640px);
  position: relative;
  overflow: visible;
}

.individual-match-left {
  flex: 1;
  padding: clamp(16px, 4.444vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 2px dashed rgba(255, 255, 255, 0.3);
}

.individual-match-period {
  margin-bottom: clamp(12px, 3.333vw, 24px);
}

.individual-match-label {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-md);
  font-weight: 700;
  color: #fff;
  margin: 0 0 clamp(4px, 1.111vw, 8px) 0;
  line-height: 1.3;
}

.individual-match-date {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.individual-match-badge {
  display: flex;
  align-items: baseline;
  gap: clamp(4px, 1.111vw, 8px);
}

.individual-match-count {
  font-family: "The Jamsil", sans-serif;
  font-size: var(--font-size-10xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.individual-match-unit {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-md);
  font-weight: 400;
  color: #fff;
}

.individual-match-right {
  flex: 0 0 clamp(100px, 27.778vw, 200px);
  display: flex;
  flex-direction: column;
}

.individual-match-top-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2.222vw, 16px);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
}

.individual-match-daterange {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.individual-match-date-label {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: 0.05em;
}

.individual-match-bottom-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2.222vw, 16px);
}

.individual-match-barcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1.111vw, 8px);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.individual-match-country {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.1em;
}

/* Stamp holes for individual match card */
.individual-match-card .stamp-hole {
  background-color: #011952;
}

.individual-match-note {
  max-width: clamp(320px, 88.889vw, 640px);
  margin: 0 auto;
  padding: 0 var(--size-8);
}

.individual-match-note-item {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: clamp(4px, 1.111vw, 8px) 0;
}

/* ----- Team Section ----- */
.team-section {
  background-color: #003780;
}

.team-title-box {
  text-align: center;
  color: var(--color-white);
  font-size: var(--font-size-3xl);
  font-weight: 400;
  margin-bottom: var(--size-24);
  background-color: var(--color-primary-red);
  padding: var(--size-16) var(--size-20);
  border-radius: var(--radius-sm);
  line-height: 1;
}

.team-title {
  font-family: "The Jamsil", sans-serif;
  font-size: var(--font-size-3xl);
  font-weight: 400;
  color: #fff;
  margin: 0;
  line-height: 1;
}

.team-note-box {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(5px);
  -webkit-backdrop-filter: blur(5px);
  border-radius: clamp(5px, 1.111vw, 8px);
  padding: clamp(16px, 4.444vw, 32px) clamp(13px, 3.472vw, 25px);
  margin: var(--size-40) 0 var(--size-100);
}

.team-note-title {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-lg);
  font-weight: 700;
  color: #fff;
  margin: 0 0 clamp(8px, 2.222vw, 16px) 0;
}

.team-note-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.team-note-list li {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-base);
  font-weight: 400;
  color: #fff;
  line-height: 1.5;
  padding-left: clamp(12px, 3.333vw, 24px);
  position: relative;
  letter-spacing: clamp(-0.25px, 0.0694vw, -0.5px);
}

.team-note-list li:last-child {
  margin-bottom: 0;
}

.team-note-list li::before {
  content: "※";
  position: absolute;
  left: 0;
  color: #fff;
}

/* Prize Guide Section */
.prize-guide-section {
  padding: var(--size-120) 0 var(--size-80);
  position: relative;
  overflow: hidden;
  background: url('../../img/bg_gift.png') no-repeat center top #011952;
  background-size: contain;
  margin: 0 calc(var(--size-42) * -1);
}

.prize-section-img {
  width: 100%;
  height: auto;
  display: block;
}

.prize-guide-header {
  display: flex;
  flex-direction: column;
  align-items: center;
  margin-bottom: var(--size-24);
  padding: 0 var(--size-20);
}

.prize-icon {
  width: clamp(80px, 17.083vw, 123px);
  height: clamp(36px, 7.778vw, 56px);
  margin-bottom: var(--size-12);
}

.prize-guide-title {
  font-family: "The Jamsil", sans-serif;
  font-size: clamp(32px, 9.028vw, 65px);
  font-weight: 700;
  color: var(--color-white);
  text-align: center;
  position: relative;
  padding-left: var(--size-40)
}

.prize-guide-title:before {
  content: "";
  position: absolute;
  top: calc(var(--size-12) * -1);
  left: 0;
  width: var(--size-120);
  height: 7.8vw;
  background: url('../../img/img_star.png') no-repeat;
  background-size: contain;
}

.prize-info-box {
  background: rgba(255, 255, 255, 0.1);
  border: 2px solid rgba(255, 255, 255, 0.2);
  border-radius: var(--radius-md);
  padding: var(--size-40);
  margin: 0 var(--size-42) var(--size-42);
  position: relative;
  backdrop-filter: blur(5px);
  text-align: center;
}

.prize-label {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-md);
  font-weight: 600;
  color: #fcf099;
  line-height: 1.65;
  margin: 0;
}

.prize-desc {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-md);
  font-weight: 600;
  color: var(--color-white);
  line-height: 1.65;
  margin: 0;
}

/* 개인전 라벨 */
.prize-apply-button {
  width: calc(100% - var(--size-84));
  height: clamp(32px, 8.889vw, 64px);
  margin: 0 var(--size-42) var(--size-24);
  background-color: #e60013;
  color: var(--color-white);
  font-family: "The Jamsil", sans-serif;
  font-size: clamp(15px, 4.167vw, 30px);
  font-weight: 400;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* 단체전 라벨 */
.team-apply-button {
  background-color: #0046a1;
}

.indiv-section .prize-cards-wrapper.instant {
  margin: 0 var(--size-42) var(--size-16);
  background: url('../../img/bg_prize-card-instant.png') no-repeat center top;
  background-size: contain;
  width: clamp(218px,88.3333vw,636px);
  height: clamp(120.5px, 33.472vw, 241px);
  padding: var(--size-34) 0 var(--size-22) var(--size-35);
}

.indiv-section .prize-cards-wrapper.instant .circle {
  margin-top: var(--size-25);
}

.indiv-section .prize-cards-wrapper .title {
  color: #051F5D;
  font-family: "The Jamsil";
  font-size: var(--size-24);
  font-style: normal;
  font-weight: 500;
  line-height: var(--size-24); /* 23px */
  margin-bottom: var(--size-20);
}

.indiv-section .prize-cards-wrapper.first {
  margin: 0 var(--size-42) var(--size-16);
  background: url('../../img/bg_prizecard.png') no-repeat center top;
  background-size: contain;
  width: clamp(218px,88.3333vw,636px);
  height: clamp(141px, 39.166vw, 282px);
  padding: var(--size-34) 0 var(--size-22) var(--size-35);
}

.indiv-section .prize-cards-wrapper p {
  color: #1F3047;
  font-family: "The Jamsil";
  font-size: var(--size-34);
  font-style: normal;
  font-weight: 700;
  line-height: var(--size-34);
}

.indiv-section .prize-cards-wrapper > span {
  display: flex;
  width: var(--size-200);
  height: var(--size-36);
  padding: var(--size-10) var(--size-14);
  justify-content: center;
  align-items: center;
  gap: var(--size-10);
  border-radius: var(--size-6);
  background: #EAEDF1;
  margin: var(--size-12) 0 var(--size-18) 0;
  color: #051F5D;
  font-family: "The Jamsil";
  font-size: var(--size-18);
  font-style: normal;
  font-weight: 700;
}

.indiv-section .prize-cards-wrapper .circle {
  color: #FFF;
  display: flex;
  width: var(--size-82);
  height: var(--size-82);
  padding: var(--size-17) 0;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  border-radius: var(--size-50);
  background: #E60013;
  font-family: "The Jamsil";
}

.indiv-section .prize-cards-wrapper .circle > div {
  font-size: var(--size-14);
  font-weight: 700;
  line-height: 1;
}

.indiv-section .prize-cards-wrapper .circle strong {  
  font-size: var(--size-18);
  font-weight: 700;
}

.indiv-section .prize-cards-wrapper.first .circle strong {  
  font-size: var(--size-30);
}

.team-section .prize-cards-wrapper .circle > span {  
  font-size: var(--size-14);
  font-weight: 500;
}

/* 경품 카드 이미지 래퍼 */
.team-section .prize-cards-wrapper {
  margin: 0 var(--size-42) var(--size-16);
  background: url('../../img/bg_prizecard.png') no-repeat center top;
  background-size: contain;
  width: clamp(218px,88.3333vw,636px);
  height: clamp(141px, 39.166vw, 282px);
  padding: var(--size-76) 0 var(--size-22) var(--size-35);
}

.team-section .prize-cards-wrapper p {
  color: #1F3047;
  font-family: "The Jamsil";
  font-size: var(--size-34);
  font-style: normal;
  font-weight: 700;
  line-height: var(--size-34);
}

.team-section .prize-cards-wrapper > span {
  display: flex;
  width: var(--size-200);
  height: var(--size-36);
  padding: var(--size-10) var(--size-14);
  justify-content: center;
  align-items: center;
  gap: var(--size-10);
  border-radius: var(--size-6);
  background: #EAEDF1;
  margin: var(--size-12) 0 var(--size-18) 0;
  color: #051F5D;
  font-family: "The Jamsil";
  font-size: var(--size-18);
  font-style: normal;
  font-weight: 700;
  line-height: var(--size-18); /* 18px */
}

.team-section .prize-cards-wrapper .circle {
  color: #FFF;
  display: flex;
  width: var(--size-82);
  height: var(--size-82);
  padding: var(--size-17) 0;
  flex-direction: column;
  align-items: center;
  border-radius: var(--size-50);
  background: #0046A1;
  font-family: "The Jamsil";
}

.team-section .prize-cards-wrapper .circle > div {
  font-size: var(--size-14);
  font-weight: 700;
}

.team-section .prize-cards-wrapper .circle strong {  
  font-size: var(--size-30);
  font-weight: 700;
  line-height: var(--size-30); /* 30px */
}

.team-section .prize-cards-wrapper .circle > span {  
  font-size: var(--size-14);
  font-weight: 500;
  line-height: var(--size-14);
}

.prize-card-img {
  width: 100%;
  display: block;
}

/* 단체전 안내 박스 높이 조정 */
.team-info-box {
  min-height: auto;
}

/* 주의사항 */
.prize-notice {
  padding: 0;
  margin: var(--size-32) var(--size-110);
}

.prize-notice p {
  font-family: "Pretendard", sans-serif;
  font-size: clamp(8.5px, 2.361vw, 17px);
  font-weight: 300;
  color: var(--color-white);
  line-height: 1.65;
}

.prize-notice p:last-child {
  margin-bottom: 0;
}

/* ----- Individual Match Section ----- */
.terms-section {
  background-color: var(--color-primary-blue);
  padding: var(--size-80) var(--size-40) var(--size-150);
  font-family: "Pretendard", sans-serif;
}

.terms-content {
  color: var(--color-white);
}

.terms-title {
  font-size: var(--font-size-lg);
  font-weight: 700;
  margin-bottom: var(--size-16);
}

.terms-title:nth-of-type(2) {
  margin-top: var(--size-16);
}

.terms-list {
  opacity: 0.8;
}

.terms-list p {
  font-size: var(--font-size-sm);
  line-height: 1.7;
  margin-bottom: clamp(1.5px, 0.417vw, 3px);
  display: flex;
  letter-spacing: -0.01em;
  gap: clamp(3.6px, 1vw, 7.2px);
  letter-spacing: clamp(-0.25px, 0.0694vw, -0.5px);
}

.terms-list p::before {
  content: "※";
  flex-shrink: 0;
  white-space: nowrap;
}

/* Responsive - Desktop (1024px 이상) */
@media (min-width: 1024px) {

  /* 컨테이너 그림자 효과 */
  .mobile-container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    box-shadow: 0 0 var(--size-32) rgba(0, 0, 0, 0.3);
  }

  /* 데스크톱용 추가 크기 조정 */
  .hero-content {
    padding: 0 var(--size-100);
    top: 334px;
  }

  /* PC에서 배경 이미지 좌우 꽉 채우기 */
  .hero-bg-image {
    object-fit: cover;
    object-position: center center;
  }

  .main-cta-section {
    padding: var(--size-80) var(--size-42);
  }

  .main-title {
    font-size: clamp(26px, 7.222vw, 52px);
    margin-bottom: var(--size-40);
  }


  .lucky-number-info {
    font-size: var(--font-size-2xl);
    margin-bottom: var(--size-48);
  }

  .btn {
    padding: var(--size-22) var(--size-24);
    font-size: var(--font-size-3xl);
  }

  .social-icon {
    width: var(--size-83);
    height: var(--size-83);
  }

  .section-header {
    margin: 0 calc(var(--size-42) * -1) var(--size-32);
  }

  .winner-image {
    margin: 0 calc(var(--size-42) * -1);
  }  

  body .modal-content.result-team-modal .modal-body .status p {
    font-size: 41px;
  }

  body .modal-content.call .modal-body .select-box .choice fieldset {
    font-size: 23px;
  }

  body .modal-content.call .modal-body .select-box .input-box fieldset input,
  body .modal-content.call .modal-body .select-box .input-box fieldset input::placeholder,
  body .modal-content.make .make-box fieldset .group input,
  body .modal-content.make .make-box fieldset .group input::placeholder {
    font-size: 24px;
  }

  body .modal-content.call .modal-body .select-box .input-box fieldset input+.callTeamName,
  body .modal-content.make .make-box fieldset .group input+.dupChk {
    font-size: 24px;
  }

  body .modal-content.call .modal-body .select-box .joinedTeamName p {
    font-size: 16px;
  }

  body .modal-content.call .modal-body .select-box .joinedTeamName .yourteamName {
    font-size: 40px;
    padding: 20px 0;
  }

  body .modal-content.make .make-box fieldset>label {
    font-size: 23px;
  }

  body .modal-content.make .make-box .text-info li {
    font-size: 15px;
  }

  /* PC에서 모달 여백 제한 */
  body .modal-content.result-modal .modal-body {
    padding: 40px 0 30px;
  }

  body .modal-content.result-modal .modal-body .btnWrap {
    padding: 0 30px 40px;
  }


  body .modal-content.result-team-modal .modal-body .status {
    top: 420px;
    width: 85%;
  }

  body .modal-content.result-team-modal .modal-body .status p span {
    padding: 5px 10px;
    border-radius: 5px;
  }

  body .modal-content.select .modal-body .btnWrap {
    padding: 40px 35px;
    gap: 12px;
  }

  body .modal-content.call .modal-body .select-box {
    padding: 25px 30px 0;
  }

  body .modal-content.call .modal-body .select-box .choice {
    margin-bottom: 30px;
    gap: 12px;
    padding: 0 10px;
  }

  body .modal-content.call .modal-body .select-box .choice fieldset input[type=radio] {
    width: 21px;
    height: 21px;
    margin: 0 10px 0 0;
  }

  body .modal-content.call .modal-body .select-box .input-box fieldset input {
    width: 70%;
  }

  body .modal-content.call .modal-body .select-box .input-box fieldset input+.callTeamName {
    width: 30%;
  }

  body .modal-content.call .modal-body .select-box .joinedTeamName {
    margin-top: 30px;
  }

  body .modal-content.call .modal-body .select-box .joinedTeamName p {
    margin-bottom: 15px;
    font-size: 28px;
  }

  body .modal-content.call .modal-body .select-box .joinedTeamName .yourteamName {
    border-width: 2px;
    border-radius: 8px;
  }

  body .modal-content.call .modal-body .btnWrap {
    padding: 25px 0;
    gap: 12px;
  }

  body .modal-content.make .make-box {
    padding: 0 30px;
    top: 727px;
    width: 100%;
  }

  body .modal-content.make .make-box fieldset {
    margin-bottom: 12px;
  }

  body .modal-content.make .make-box fieldset>label {
    margin-bottom: 8px;
  }

  body .modal-content.make .make-box fieldset .group input {
    width: 70%;
  }

  body .modal-content.make .make-box fieldset .group input+.dupChk {
    width: 28%;
  }

  body .modal-content.make .make-box .text-info {
    margin-bottom: 25px;
  }

  body .modal-content.make .make-box .btnWrap {
    gap: 12px;
    margin-bottom: 30px;
  }

  /* PC에서 apply-modal 텍스트 크기 및 여백 제한 */
  body .modal-body {
    padding: 0 30px 30px;
    height: 70vh;
    max-height: 70vh;
  }

  body .modal-body h2 {
    margin-top: 40px;
  }

  body .modal-body h2 img {
    width: 280px;
  }

  body .modal-body.apply-modal>div {
    border-bottom-width: 2px;
    padding: 30px 0;
  }

  body .modal-body.apply-modal>div:last-child {
    padding: 15px 0 30px;
  }

  body .modal-body.apply-modal>div fieldset {
    margin-bottom: 12px;
  }

  body .modal-body.apply-modal>div fieldset>label+input.datepicker {
    background-size: 27px 29px;
  }

  body .modal-body.apply-modal>div .group input[type=checkbox] {
    margin: 0 8px 0 0;
  }

  body .modal-body.apply-modal>div .group>input:not([type=checkbox]) {
    width: 75%;
  }

  body .modal-body.apply-modal>div .group>input:not([type=checkbox])::placeholder {
    font-size: 24px;
  }

  body .modal-body.apply-modal .textInfo li {
    padding-left: 10px;
  }

  body .modal-body.apply-modal .textInfo li:before {
    top: 2px;
  }

  body .modal-body.apply-modal .tip {
    margin-top: 20px;
    font-size: 24px;
  }

  body .modal-body.apply-modal .tip:before {
    margin-right: 8px;
  }

  /* PC에서 select 모달 버튼 크기 조정 */
  body .modal-content.select .modal-body .btnWrap button {
    height: 50px;
    font-size: 16px;
    border-radius: 8px;
  }

  body .modal-content.select .modal-body .btnWrap button span {
    font-size: 16px;
    padding-right: 16px;
  }

  body .modal-content.select .modal-body .btnWrap button span:after {
    width: 8px;
    height: 8px;
    border-right-width: 3px;
    border-bottom-width: 3px;
    top: 6px;
  }

  .main-cta-content .cta-buttons {
    padding: 0;
  }

  /* PC에서 플로팅 버튼 크기 조정 */
  .floatBtn {
    width: 720px;
    transform: translateX(-50%);
    left: 50%;
  }

  .floatBtn .cta-buttons {
    margin-bottom: 0;
    gap: 12px;
  }

  .btn {
    padding: 14px 16px;
    /* font-size: 16px; */
  }

  /* PC에서 약관 모달(#privacy, #attention) 폰트 크기 조정 */
  body .modal-overlay#privacy .modal-body h2,
  body .modal-overlay#attention .modal-body h2 {
    font-size: 22px;
    margin-bottom: 8px;
  }

  body .modal-overlay#privacy .modal-body h3,
  body .modal-overlay#attention .modal-body h3 {
    font-size: 18px;
  }

  body .modal-overlay#privacy .modal-body article,
  body .modal-overlay#attention .modal-body article {
    margin-bottom: 20px;
  }

  body .modal-overlay#privacy .modal-body article p,
  body .modal-overlay#privacy .modal-body article li,
  body .modal-overlay#attention .modal-body article p,
  body .modal-overlay#attention .modal-body article li {
    font-size: 16px;
    line-height: 185%;
  }

  body .modal-overlay#privacy .modal-body article:last-child,
  body .modal-overlay#attention .modal-body article:last-child {
    margin-bottom: 30px;
  }

  body .modal-overlay#attention li {
    padding-left: 10px;
  }

  body .modal-overlay#attention li:before {
    font-size: 12px;
  }

  body .modal-content:not(.result-modal, .select, .make, .call, .result-team-modal):before,
  body .modal-content:not(.result-modal, .select, .make, .call, .result-team-modal):after {
    height: 50px;
  }
}

/* Animation */
@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(var(--size-20));
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.step-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(var(--size-20));
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
}
.ranking-item {
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateY(var(--size-20));
  transition: opacity 0.6s ease-out, transform 0.6s ease-out;
  height: var(--size-103);
}

.step-card.is-visible,
.ranking-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

/* Tab Section 전환 */
.tab-section {
  display: none;
}

.tab-section.active {
  display: block;
}

/* Utility Classes */
.text-center {
  text-align: center;
}

.mb-1 {
  margin-bottom: var(--size-8);
}

.mb-2 {
  margin-bottom: var(--size-16);
}

.mb-3 {
  margin-bottom: var(--size-24);
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

/* ----- Team Match Section ----- */
.team-match-section {
  padding: var(--size-40) var(--size-16) var(--size-32);
  background-color: #003780;
}

.team-match-header {
  font-family: "The Jamsil", sans-serif;
  font-size: var(--font-size-3xl);
  font-weight: 700;
  color: #fff;
  text-align: center;
  margin-bottom: var(--size-24);
}

.team-match-card {
  background: linear-gradient(135deg, #e60013 0%, #b3000f 100%);
  border-radius: clamp(12px, 3.333vw, 24px);
  display: flex;
  flex-direction: row;
  align-items: stretch;
  margin: 0 auto var(--size-24);
  max-width: clamp(320px, 88.889vw, 640px);
  position: relative;
  overflow: visible;
}

.team-match-left {
  flex: 1;
  padding: clamp(16px, 4.444vw, 32px);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-right: 2px dashed rgba(255, 255, 255, 0.3);
}

.team-match-period {
  margin-bottom: clamp(12px, 3.333vw, 24px);
}

.team-match-label {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-md);
  font-weight: 700;
  color: #fff;
  margin: 0 0 clamp(4px, 1.111vw, 8px) 0;
  line-height: 1.3;
}

.team-match-date {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  margin: 0;
}

.team-match-badge {
  display: flex;
  align-items: baseline;
  gap: clamp(4px, 1.111vw, 8px);
}

.team-match-count {
  font-family: "The Jamsil", sans-serif;
  font-size: var(--font-size-10xl);
  font-weight: 700;
  color: #fff;
  line-height: 1;
}

.team-match-unit {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-md);
  font-weight: 400;
  color: #fff;
}

.team-match-right {
  flex: 0 0 clamp(100px, 27.778vw, 200px);
  display: flex;
  flex-direction: column;
}

.team-match-top-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2.222vw, 16px);
  border-bottom: 2px dashed rgba(255, 255, 255, 0.3);
}

.team-match-daterange {
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.team-match-date-label {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-xs);
  font-weight: 600;
  color: #fff;
  margin: 0;
  letter-spacing: 0.05em;
}

.team-match-bottom-box {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: clamp(8px, 2.222vw, 16px);
}

.team-match-barcode {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: clamp(4px, 1.111vw, 8px);
  writing-mode: vertical-rl;
  text-orientation: mixed;
}

.team-match-country {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-xs);
  font-weight: 700;
  color: #fff;
  margin: 0;
  letter-spacing: 0.1em;
}

.barcode-svg {
  width: clamp(30px, 8.333vw, 60px);
  height: clamp(60px, 16.667vw, 120px);
  transform: rotate(90deg);
}

.team-match-note {
  max-width: clamp(320px, 88.889vw, 640px);
  margin: 0 auto;
  padding: 0 var(--size-8);
}

.team-match-note-item {
  font-family: "Pretendard", sans-serif;
  font-size: var(--font-size-xs);
  font-weight: 400;
  color: rgba(255, 255, 255, 0.8);
  line-height: 1.5;
  margin: clamp(4px, 1.111vw, 8px) 0;
}

a[href^="tel"],
a[href^="mailto"] {
  color: inherit !important;
  /* 부모 색상 상속 */
  text-decoration: none !important;
  /* 밑줄 제거 */
}

input[readonly],
input:disabled {
  background-color: #cccccc;
}