        @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;
            height: calc(100vh - 65px);
            position: relative;
        }

        .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: inline-block;
            flex: 1;
            padding: 0.5rem;
            background-color: #fff;
            /* margin: 0rem auto;  */
            overflow-y: auto;
            text-align: center;
            background: #f7fbff;
        }

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

        .info-box {
            background-color: #fff;
            border-radius: 8px;
            box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
            padding: 0.5rem;
            margin-bottom: 1rem;
            margin: 0.5rem auto;
            /* 가로 가운데 정렬 */
            /* width:600px; */
            text-align: left;
            border: 1px solid #333;
        }

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

        .info-box a {
            margin-bottom: 0.5rem;
        }

        .info-box h2 {
            font-size: 1.2rem;
            color: #3a89c9;
            margin: 0 0 0.2rem;
        }

        .info-box p {
            font-size: 1.0rem;
            line-height: 1.4;
            margin: 0;
        }

        @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, #007acc, #77d3fc);
            background-size: 200% 200%;
            animation: gradientMove 2.5s ease infinite;
        }

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


        .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;
            /* color: #333; */
            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;
        } */


        @media (min-width: 1024px) {
            .highcharts-data-table table {
                width: 100%;
                min-width: 1024px;
                max-width: 1024px;
            }

            .info-box {
                width: 720px;
                max-width: 720px;
            }

            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: 300px;
            }

            .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: 230px;
                /* width: 200px; */
            }

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

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

        .neon-glow {
            filter: url(#glow);
        }

        .highcharts-figure,
        .highcharts-data-table table {
            font-family: Verdana, sans-serif;
            border-collapse: collapse;
            border: 1px solid #ebebeb;
            margin: 10px auto;
            text-align: center;
            width: 100%;
            min-width: 420px;
            max-width: 1024px;
            margin: 1em auto;
        }


        .highcharts-data-table caption {
            padding: 1em 0;
            font-size: 1.2em;
            color: #555;
        }

        .highcharts-data-table th {
            font-weight: 600;
            padding: 0.5em;
        }

        .highcharts-data-table td,
        .highcharts-data-table th,
        .highcharts-data-table caption {
            padding: 0.5em;
        }

        .highcharts-data-table thead tr,
        .highcharts-data-table tr:nth-child(even) {
            background: #f8f8f8;
        }

        .highcharts-data-table tr:hover {
            background: #f1f7ff;
        }

        .highcharts-tooltip {
            z-index: 9999;
        }

        .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;
        }


        #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;
        align-items: center;
        }        



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

/* info-box 최소 수정 (이미 있으시면 그대로) */
.info-box {
  position: relative;
  border-radius: 12px;     /* 파동 모양 매칭 */
  overflow: visible;       /* 밖으로 퍼지는 링 보이게 */
}

.info-box.pulse {
  --pulse-stroke: 3px; /* 기본 두께 4px */
}

/* 파동효과: 비율(scale) X, 픽셀 inset O */
.info-box.pulse::before{
  animation-delay: var(--pulse-start); /* ✅ 시작 딜레이 적용 */    
}

.info-box.pulse::after {
  content: "";
  position: absolute;
  /* 시작은 부모와 동일 크기 */
  inset: calc(0px - var(--g));
  border-radius: inherit;
  border: var(--pulse-stroke, 2px) solid var(--pulse-color, currentColor);
  /* 투명 배경, 라인만 보이게 */
  background: transparent;
  opacity: .6;
  animation: pulse-grow var(--pulse-duration, 2s) linear infinite;
}

/* 2중 파동 */
.info-box.pulse::after {
  animation-delay: var(--pulse-interval, 2.0s);
  opacity: .4;
}

/* 당첨(1등) → 골드 */
.info-box.pulse.win {
  --pulse-color: #FFD700; /* 골드 */
}

/* 행운 강조 → 에메랄드 그린 */
.info-box.pulse.lucky {
  --pulse-color: #50C878; /* 에메랄드 그린 */
}


/* 픽셀 단위로 동일하게 퍼지는 애니메이션 */
@keyframes pulse-grow {
  0%   { --g: 0px;   opacity: .6; }
  80%  { --g: var(--pulse-max, 24px); opacity: 0; }
  100% { --g: var(--pulse-max, 24px); opacity: 0; }
}

/* 모션 최소화 환경 */
@media (prefers-reduced-motion: reduce){
  .info-box.pulse::before,
  .info-box.pulse::after { animation: none; opacity: 0; }
}

