        @font-face {
            font-family: 'Noto Sans KR';
            font-style: normal;
            font-weight: 400;
            src: url('/css/font/noto-sans-kr-v36-latin-regular.woff2') format('woff2');
        }

        @font-face {
            font-family: 'Noto Sans KR';
            font-style: normal;
            font-weight: 700;
            src: url('/css/font/noto-sans-kr-v36-latin-700.woff2') format('woff2');
        }

        body {
            font-family: 'Noto Sans KR', sans-serif;
            margin: 0;
            padding: 0;
            background-color: #f4f8fb;
            color: #333;
            display: flex;
            flex-direction: column;
            height: 100vh;
        }

        header {
            background: linear-gradient(135deg, #57c4f5, #3a89c9);
            color: #fff;
            text-align: center;
            padding: 0.7rem 0;
        }

        header h1 {
            font-size: 1.5rem;
            margin: 0;
        }

        .container {
            display: flex;
            flex: 1;
            overflow: hidden;
            /* overflow-y: auto; */
            position: relative;
            /* height: calc(100vh - 70px); */
        }

        .menu-panel {
            width: 250px;
            background-color: #fff;
            border-left: 1px solid #d1d9e6;
            overflow-y: auto;
            transition: transform 0.3s ease;
            position: absolute;
            right: 0;
            z-index: 9999;
            height: 100%;
            transform: translateX(0);
        }

        .menu-panel.closed {
            transform: translateX(calc(100% - 0px));
            /* Leave 10px visible */
            /* background: linear-gradient(to top, rgba(57, 196, 245, 1) 60%, rgba(255, 255, 255, 0) 0%); */
            background: linear-gradient(to top, rgba(255, 255, 255, 0) 0%, rgba(64, 150, 210, 1) 100%);
            /* background-color: #57c4f5; Background for the remaining 10px */
            /* animation: barGauge 1s ease-in-out; */
        }

        @keyframes barGauge {
            0% {
                background: linear-gradient(to top, rgba(57, 196, 245, 1) 0%, rgba(255, 255, 255, 0) 0%);
            }

            50% {
                background: linear-gradient(to top, rgba(57, 196, 245, 1) 0%, rgba(255, 255, 255, 0) 40%);
            }

            100% {
                background: linear-gradient(to top, rgba(57, 196, 245, 1) 40%, rgba(255, 255, 255, 0) 60%);
            }
        }

        .menu-list {
            display: flex;
            flex-direction: column;
            gap: 0.5rem;
            padding: 1rem;
            opacity: 1;
            transition: opacity 0.3s ease;
        }

        .menu-panel.closed .menu-list {
            opacity: 0;
            pointer-events: none;
        }

        .menu-item {
            background-color: #fff;
            border: 1px solid #d1d9e6;
            border-radius: 8px;
            padding: 0.8rem;
            z-index: 1000;
            text-decoration: none;
            color: #333;
            font-weight: bold;
            display: flex;
            justify-content: space-between;
            align-items: center;
            transition: background 0.2s ease;
        }

        .menu-item:hover {
            background-color: #f0f8ff;
        }

        .menu-item .icon {
            font-size: 1.2rem;
            color: #3a89c9;
        }

        .content-panel {
            display: flex;
            flex: 1;
            flex-direction: column;   /* 세로 정렬 */
            align-items: center;      /* 가로 가운데 */
            padding: 0.5rem;
            background-color: #fff;
            overflow-y: auto;
            text-align: center;
            /* height: 100vh; */
            height: calc(100vh - 70px);
        }

        .content-panel h2 {
            font-size: 1.5rem;
            margin-top: 0rem;
            margin-bottom: 0rem;
        }

        @keyframes gradientMove {
            0% {
                background-position: 0% 50%;
            }

            50% {
                background-position: 100% 50%;
            }

            100% {
                background-position: 0% 50%;
            }
        }


        .toggle-button {
            font-size: 1.5rem;
            position: absolute;
            top: 10px;
            right: 20px;
            /* background-color: #3a89c9; */
            color: #fff;
            border: 1px solid #57C4F5;
            border-radius: 4px;
            padding: 0.3rem 0.6rem;
            font-weight: bold;
            cursor: pointer;
            z-index: 1000;
            transform: scaleX(1.3);
            transition: background 0.2s ease;
            background: linear-gradient(135deg, #6f4bad, #ceb3fc);
            background-size: 200% 200%;
            animation: gradientMove 2.5s ease infinite;
        }

        .toggle-button:hover {
            background-color: #336699;
        }

        .new-label {
            display: inline-flex; /* 텍스트와 자연스럽게 배치 */
            align-items: flex-end; /* 텍스트의 하단에 맞춰 정렬 */
            color: red; /* 빨간색 텍스트 */
            font-size: 12px; /* 라벨 크기 */
            font-weight: bold; /* 굵은 텍스트 */
            margin-right: 5px; /* 텍스트와 간격 */
            transform: translateY(-50%); /* 세로로 위쪽 배치 */
            line-height: 1; /* 줄 간격 최소화 */
            margin-right: -1px;
        }

        .new-label2 {
            color: red;
            font-size: 14px;
            position: absolute;
            top: 4px;
            right: 5px;
            z-index: 9999;
            padding-top:0px;
            padding-bottom:3px;
            height:16px;
            line-height:16px;
            background-color: rgba(232, 232, 232, 0.6);
            display: inline-flex;
            align-items: center;
            justify-content: center;
            text-align: center;
            border-radius: 4px;
            box-shadow: 0px 2px 4px rgba(0, 0, 0, 0.3);
            pointer-events: none;
        }       


        @media (min-width: 1024px) {
            .winner_number {
                width: 640px;
                max-width: 640px;
            }

            header h1 {
                font-size: 2rem;
            }

            .menu-panel {
                width: 350px;
            }

            .menu-item {
                padding: 0.6rem;
                font-size: 1.2rem;
            }

            .toggle-button {
                font-size: 1.5rem;
                padding: 0.3rem 0.6rem;
            }
        }

        @media (max-width: 768px) {
            header h1 {
                font-size: 1.5rem;
            }

            .menu-panel {
                width: 220px;
            }

            .menu-item {
                padding: 0.6rem;
                font-size: 1.1rem;
            }

            .toggle-button {
                font-size: 1.2rem;
                padding: 0.2rem 0.4rem;
            }
        }

        @media (max-width: 480px) {
            header h1 {
                font-size: 1.2rem;
            }

            .menu-panel {
                width: 180px;
                /* width: 200px; */
            }

            .menu-item {
                padding: 0.5rem;
                font-size: 1.0rem;
            }

            .toggle-button {
                font-size: 1.2rem;
                padding: 0.1rem 0.3rem;
            }
        }


        .bottom-menu-bar {

            background: #202020;
            border-top: 3px solid #d1d9e6;
            box-shadow: 0 -1px 5px rgba(0, 0, 0, 0.1);
            position: fixed;
            bottom: 0;
            width: 100%;
            display: flex;
            justify-content: space-around;
            padding: 0.1rem 0;
            align-items: center;
            /* height: 50px;
      line-height: 50px; */
            z-index: 99999;
        }

        @keyframes border-glow {
            0% {
                border-image-source: linear-gradient(90deg, orange, yellow, green, blue);
                border-image-slice: 1;
            }

            50% {
                border-image-source: linear-gradient(270deg, orange, yellow, green, blue);
                border-image-slice: 1;
            }

            100% {
                border-image-source: linear-gradient(90deg, orange, yellow, green, blue);
                border-image-slice: 1;
            }
        }

        .bottom-menu-bar-ani {
            animation: border-glow 4s linear infinite;
        }

        .bottom-menu-bar a {
            color: #ccc;
            text-decoration: none;
            font-size: 0.9rem;
            text-align: center;
            padding: 0;
            /* padding: 1px 1px; */
            /* font-size: 17px; */
            /* text-shadow:
                -1px -1px 0 black,
                1px -1px 0 black,
                -1px 1px 0 black,
                1px 1px 0 black; */
            transition: background-color 0.3s;
        }

        .bottom-menu-bar a span {
            display: block;
            font-size: 1.2rem;
            align-items: center;
            /* margin-bottom: 0.2rem; */
        }

        .bottom-menu-bar a.active {
            /* background-color: #f7f7f7; */
            color: #eee;
            font-size: 22px;
            font-weight: bold;
            text-shadow: none;
        }

        .bottom-menu-bar a.active span {
            text-shadow:
                -1px -1px 0 black,
                1px -1px 0 black,
                -1px 1px 0 black,
                1px 1px 0 black;
        }


        .bottom-menu-item {
            color: white;
            text-decoration: none;
            font-size: 18px;
            padding: 10px 15px;
            transition: color 0.3s;
        }

        /* .bottom-menu-item:hover {
            color: #ff4500;
        } */

        #pwa-install-overlay {
            position: fixed;
            top: 1px;
            left: 1px;
            z-index: 9999;
            width: 30px;
            height: 30px;
            background: transparent;
            border: none;
            padding: 0;
            cursor: pointer;
            outline: none;
            /* display: none; */
            align-items: center;
            justify-content: center;
        }

        #lottoi-logo {
            z-index: 100;
            width: 100%;
            height: 100%;
            will-change: transform;
            pointer-events: none;
        }


        /* Swiper 컨테이너 스타일 */
        .swiper {

        width: 100%;
        /* height: calc(100vh - 60px); */
        /* height: 100vh; */
        }

        .swiper-slide {
        text-align: center;
        /* font-size: 24px; */
        background: #f7f7f7;

        /* Center slide text vertically */
        /* display: flex; */
        justify-content: center;
        height: 100vh;
        align-items: center;
        }

        .info-box {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
            padding: 0.5rem;
            margin-bottom: 1rem;
            text-align: left;
            border: 1px solid #333;
        }

        .info-box:hover, .info-box:active  {
        background-color: #D6EBFF; 
        transition: background-color 0.2s ease;
        }        


/* 1) 애니메이션용 커스텀 길이 변수 */
@property --g {
  syntax: '<length>';
  inherits: false;
  initial-value: 0px;
}

/* 2) 파동 유틸: 아무 요소에 .pulse 붙이면 동작 */
.pulse{
  position: relative;
  overflow: visible;          /* 밖으로 퍼져도 보이게 */
  box-sizing: border-box;

  /* 기본값(필요시 HTML/CSS에서 개별 오버라이드) */
  --pulse-color: currentColor;
  --pulse-stroke: 3px;        /* 선 두께 */
  --pulse-duration: 2s;       /* 1루프 시간 */
  --pulse-interval: 1s;      /* 파동 사이 간격 */
  --pulse-start: 0s;          /* 최초 시작 딜레이 */
  --pulse-max: 24px;          /* 픽셀 확장 거리(inset용) */
}

.pulse::before,
.pulse::after {
  content: "";
  position: absolute;
  top: calc(0px - var(--g));
  left: calc(0px - var(--g));
  right: calc(0px - var(--g));
  bottom: calc(0px - var(--g));
  border-radius: inherit;
  border: var(--pulse-stroke) solid var(--pulse-color);
  pointer-events: none;
  animation: pulse-grow var(--pulse-duration) linear infinite;
}

/* 4) 두 번째 파동(간격만 더해 시작) */
.pulse::after{
  animation-delay: calc(var(--pulse-start) + var(--pulse-interval));
  opacity: .4;
}

@keyframes pulse-grow {
  0%   { --g: 0px; opacity: .6; }
  80%  { --g: var(--pulse-max, 24px); opacity: 0; }
  100% { --g: var(--pulse-max, 24px); opacity: 0; }
}

/* 6) 접근성: 모션 최소화 존중 */
@media (prefers-reduced-motion: reduce){
  .pulse::before, .pulse::after{ animation: none; opacity: 0; }
}

/* 7) 선택 테마(원하면 사용) */
.pulse.win   { --pulse-color: #FFD700; } /* 골드(당첨) */
.pulse.lucky { --pulse-color: #50C878; } /* 에메랄드(행운) */
