    /* ----------------- 기존 로또 추첨 페이지 스타일 ----------------- */
    .intro-container {
        min-height: 30vh;
        background: rgba(0, 0, 0, 0.219); /* 반투명 배경 */
  
        border-radius: 30px;
        box-shadow: 0 8px 32px rgba(0, 0, 0, 0.25);
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
        overflow: hidden;
        color: #fff;
        text-align: center;
        padding: 10px;
        position: relative;   /* 또는 absolute, fixed */
        z-index: 1;            /* 다른 요소보다 낮게 설정 */
      }
      .intro-header h1 {
        font-family: var(--font-family-main);
        font-size: 4em;
        margin-bottom: 20px;
        opacity: 0;
        animation: fadeInDown 1.5s forwards;
      }
      .intro-header p {
        font-family: var(--font-family-main);
        font-size: 1.5em;
        margin-bottom: 40px;
        opacity: 0;
        animation: fadeInUp 1.5s forwards;
        animation-delay: 0.5s;
      }


      .floating-shape {
        position: absolute;
        border-radius: 50%;
        background: rgba(255, 255, 255, 0.08);
        backdrop-filter: blur(4px);
        -webkit-backdrop-filter: blur(4px);
        animation: float 6s ease-in-out infinite;
      }
      .shape1 { width: 100px; height: 100px; top: 10%; left: 20%; }
      .shape2 { width: 150px; height: 150px; bottom: 15%; right: 25%; animation-delay: 2s; }
      .shape3 { width: 80px; height: 80px; top: 50%; right: 10%; animation-delay: 4s; }
      #lottoCanvas {
        background: radial-gradient(ellipse at center, #eeeeee 0%, #bbbbbb 40%, #666666 85%, #333333 100%);
        border: 6px solid rgba(0, 0, 0, 0.2);
        border-radius: 50%;
        box-shadow:
          inset 0 10px 25px rgba(255, 255, 255, 0.1),  /* 위쪽 입체감 */
          inset 0 -20px 30px rgba(0, 0, 0, 0.4),       /* 아래 그림자 */
          0 10px 30px rgba(0, 0, 0, 0.5);              /* 외곽 */
        position: relative;
        overflow: hidden;
        transition: transform 0.3s ease, box-shadow 0.3s ease;
      }
      
      #lottoCanvas::before {
        content: "";
        position: absolute;
        top: 0;
        left: -100%;
        width: 200%;
        height: 100%;
        background: linear-gradient(
          135deg,
          transparent 30%,
          rgba(255, 255, 255, 0.3) 50%,
          transparent 70%
        );
        transform: rotate(25deg);
        animation: shine-canvas 6s ease-in-out infinite;
        pointer-events: none;
        border-radius: 50%;
        z-index: 2;
      }
      
      #lottoCanvas:hover {
        transform: scale(1.05);
        box-shadow:
          inset 0 0 25px rgba(255, 255, 255, 0.3),
          0 15px 30px rgba(0, 0, 0, 0.3);
      }
      
      @keyframes shine-canvas {
        0%   { left: -100%; }
        50%  { left: 100%; }
        100% { left: 100%; }
      }
      
      .selected-ball {
        width: 40px;
        height: 40px;
        border-radius: 50%;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        font-size: 1.5em;
        margin: 5px;
        animation: pop 0.5s ease-in-out;
  
        /* 글래스모피즘 스타일 */
        background: rgba(255, 0, 0, 0.08);
        backdrop-filter: blur(10px);
        -webkit-backdrop-filter: blur(10px);
        border: 1px solid rgba(255, 255, 255, 0.2);
      
        /* 고급스러운 그라디언트 하이라이트 */
        background-image: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.3), rgba(255,255,255,0.05));
      
        box-shadow:
          0 4px 6px rgba(0, 0, 0, 0.25),
          inset 0 1px 3px rgba(255, 255, 255, 0.1);
      
        color: #ffffff;
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6);
        transition: transform 0.2s ease, box-shadow 0.2s ease;
      }
      
      .selected-ball:hover {
        transform: scale(1.05);
        box-shadow:
          0 6px 10px rgba(0, 0, 0, 0.3),
          inset 0 2px 4px rgba(255, 255, 255, 0.15);
      }
      
      @keyframes fadeInDown {
        0% { opacity: 0; transform: translateY(-50px); }
        100% { opacity: 1; transform: translateY(0); }
      }
      @keyframes fadeInUp {
        0% { opacity: 0; transform: translateY(50px); }
        100% { opacity: 1; transform: translateY(0); }
      }
      @keyframes fadeIn {
        0% { opacity: 0; }
        100% { opacity: 1; }
      }
      @keyframes float {
        0% { transform: translateY(0); }
        50% { transform: translateY(-20px); }
        100% { transform: translateY(0); }
      }
      @keyframes pop {
        0% { transform: scale(0); opacity: 0; }
        100% { transform: scale(1); opacity: 1; }
      }
  
      /* -----------------  Carousel 영역 (회전 없이 원형 배치) ----------------- */
      /* ----------------- Carousel 영역 (원형 배치) ----------------- */
      /* 로또, shapes 등 기존 스타일 유지 */

      .carousel-container {
        width: 560px;
        height: 160px;
        margin: 0px auto;
        padding-top: 30px;
        padding-bottom: 30px;
        perspective: 200px;
        position: relative;   /* 또는 absolute, fixed */
        z-index: 0;            /* 다른 요소보다 낮게 설정 */
  
      }
      /* track는 전체 회전(rotateY)만 처리 */
      .carousel-track {
        margin: 0 auto;
        width: 100%;
        height: 100%;
        position: relative;
        transform-style: preserve-3d;
        transform: translateZ(-400px) rotateY(0deg);
        transition: transform 1s ease;
      }
      /* 각 탭은 기본 회전 및 Z축 이동만 지정하고, translateY는 JS에서 동적 조정 */
      .carousel-tab {
        position: absolute;
        top: 50%; left: 50%;
        width: 400px;
        height: 225px;
        margin: -112.5px 0 0 -200px;
        border-radius: 12px;
        overflow: hidden;
        box-shadow: 0 10px 30px rgba(0,0,0,0.3);
        background: #000;
        transform-origin: center center;
        cursor: pointer;
        transition: transform 0.5s ease;
      }
      /* 탭 각각 회전 배치 */
      .carousel-tab:nth-child(1) { transform: rotateY(0deg) translateZ(400px); }
      .carousel-tab:nth-child(2) { transform: rotateY(72deg) translateZ(400px); }
      .carousel-tab:nth-child(3) { transform: rotateY(144deg) translateZ(400px); }
      .carousel-tab:nth-child(4) { transform: rotateY(216deg) translateZ(400px); }
      .carousel-tab:nth-child(5) { transform: rotateY(288deg) translateZ(400px); }
      
  
      .carousel-tab iframe { width:100%; height:100%; }
      
      .carousel-nav {
        text-align: center;
        margin-top: 10px;
  
      }
      .carousel-nav button {
        all: unset;
        padding: 20px 35px;
        margin: 0px 90px;
        background: rgba(255, 255, 255, 0);
        color: #fff;
        cursor: pointer;
        transition: background 0.3s;
      }
      .carousel-nav button:hover {
        background: rgba(255, 255, 255, 0);
      }
      footer {
        display: block;
        unicode-bidi: isolate;
        margin-top: 100px;
  
    }
    /* --- 기존 스타일 아래에 추가 --- */
    /* ---------- 컨테이너 ---------- */
    .glass-nav {
      width: 100%;
      display: flex;
      justify-content: center;
      gap: 14px;
      padding: 10px 0;
      margin-top: 0px;
    
      background: rgba(0, 0, 0, 0.34); /* 유리 느낌 */
      border-radius: 30px;
      box-shadow:
        0 8px 16px rgba(0, 0, 0, 0.15),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
      backdrop-filter: blur(12px);
      -webkit-backdrop-filter: blur(12px);
      border: 1px solid rgba(255, 255, 255, 0.2);
      transition: all 0.3s ease;
    }
    .glass-nav-list {
      display: flex;
      gap: 70px;
      margin: -449;
      padding: 0;
      list-style: none;
    }
  
    /* ---------- 메뉴 아이템 (HEXAGON) ---------- */
    .glass-nav-item {
      position: relative;
      width: 120px; height: 120px;
      clip-path: polygon(
        30% 0%, 70% 0%,
        100% 30%, 100% 70%,
        70% 100%, 30% 100%,
        0% 70%, 0% 30%
      );
          background: rgba(255, 255, 255, 0.15);
      border: 3px solid rgba(255, 255, 255, 0.5);
      box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
      cursor: pointer;
      overflow: hidden;
      transition: transform 0.3s ease, background 0.3s ease;
    }
    .glass-nav-item:hover {
      transform: translateY(-6px) scale(1.05);
      background: rgba(255, 255, 255, 0.25);
    }
  
    /* ---------- 아이콘 + 텍스트 ---------- */
    .glass-nav-item .nav-content {
      position: relative;
      z-index: 1;
      width: 100%; height: 100%;
      display: flex;
      box-shadow:
      inset 0 2px 4px rgba(255,255,255,0.3),
      0 6px 12px rgba(0,0,0,0.25), /* 외부 그림자 */
      0 2px 4px rgba(0,0,0,0.15); /* 하단 그림자 */
      flex-direction: column;
      align-items: center;
      justify-content: center;
      color: #fff;
      font-weight: 500;
    }
    .glass-nav-item .nav-content i {
      font-size: 1.8em;
      margin-bottom: 8px;
    }
    .glass-nav-item .nav-content span {
      font-size: 1em;
    }
  
    /* ---------- 반사광 애니메이션 ---------- */
    .glass-nav-item::before {
      content: "";
      position: absolute;
      top: 0; left: -150%;
      width: 150%; height: 100%;
      background: linear-gradient(120deg,
        transparent 30%,
        rgba(255,255,255,0.8) 50%,
        transparent 70%);
  
      transform: skewX(-25deg);
      animation: shine 2.5s infinite;
    }
    @keyframes shine {
      0%   { left: -150%; }
      50%  { left: 150%; }
      100% { left: 150%; }
    }
  
    /* ---------- 모달 오버레이 & 원형 모달 ---------- */
    .modal-overlay {
      display: none;
      position: fixed; top: 0; left: 0;
      width: 100vw; height: 60vh;
      z-index: 100;
      align-items: center; justify-content: center;
      margin-top: 80px;
  
    }
  
    
    .modal-circle {
      position: relative;
      /* 기존 스타일 그대로 유지 */
      overflow: hidden; /* 반사광 내부에만 보이도록 */
          width: 520px; height: 520px;
      border-radius: 50%;
      background: rgba(255,255,255,0.12);
      backdrop-filter: blur(20px);
      -webkit-backdrop-filter: blur(20px);
      border: 2px solid rgba(255,255,255,0.5);
      box-shadow:
      inset 0 4px 6px rgba(255, 255, 255, 0.2),
      0 15px 30px rgba(0, 0, 0, 0.4),
      0 8px 20px rgba(0, 0, 0, 0.3);    padding: 30px;
      text-align: center;
      color: #fff;
      animation: popIn 0.4s ease-out;
    }
    .modal-circle::before {
      content: "";
      position: absolute;
      top: 0; left: -150%;
      width: 200%; height: 130%;
      background: linear-gradient(
        120deg,
        transparent 40%,
        rgba(255, 255, 255, 0.5) 50%,
        transparent 60%
      );
  
      transform: skewX(-25deg);
      animation: shine-modal 6s infinite;
      pointer-events: none;
      border-radius: 50%;
      z-index: 1;
    }
    
    /* 반사광 키프레임 */
    @keyframes shine-modal {
      0%   { left: -150%; }
      50%  { left: 150%; }
      100% { left: 150%; }
    }
    @keyframes popIn {
      from { transform: scale(0.7); opacity: 0; }
      to   { transform: scale(1);   opacity: 1; }
    }
    .modal-close {
      position: absolute;
      top: 12px; right: 12px;
      font-size: 1.2em;
      cursor: pointer;
      color: #fff;
    }
    .modal-circle h2 {
      margin: 0; font-size: 1.6em;
    }
    .modal-circle p {
      margin: 20px 0; line-height: 1.4;
    }
    .modal-circle a {
      display: inline-block;
      padding: 10px 20px;
      border-radius: 20px;
      background: rgba(255, 255, 255, 0);
      color: #fff;
      text-decoration: none;
      font-weight: 500;
      transition: background 0.3s;
    }
    .modal-circle a:hover {
      background: rgba(255,255,255,0.35);
    }
    /* 각 메뉴 색상 지정 */
  .glass-nav-item:nth-child(1) {
    background: rgba(255, 255, 100, 0.27); /* 노랑 */
    border-color: rgba(255, 255, 100, 0.74);
  }
  .glass-nav-item:nth-child(2) {
    background: rgba(100, 180, 255, 0.27); /* 파랑 */
    border-color: rgba(100, 180, 255, 0.74);
  }
  .glass-nav-item:nth-child(3) {
    background: rgba(255, 100, 100, 0.27); /* 빨강 */
    border-color: rgba(255, 100, 100, 0.74);
  }
  
  /* hover 효과도 동일하게 설정 */
  .glass-nav-item:nth-child(1):hover {
    background: rgba(255, 255, 100, 0.45);
  }
  .glass-nav-item:nth-child(2):hover {
    background: rgba(100, 180, 255, 0.45);
  }
  .glass-nav-item:nth-child(3):hover {
    background: rgba(255, 100, 100, 0.45);
  }
  
  /* 모달 내부 배경 색상 각기 다르게 */
  #modal-stats .modal-circle {
    background: rgba(255, 255, 100, 0.15); /* 노랑 */
    border-color: rgba(255, 255, 100, 0.5);
  }
  #modal-analysis .modal-circle {
    background: rgba(100, 180, 255, 0.15); /* 파랑 */
    border-color: rgba(100, 180, 255, 0.5);
  }
  #modal-combine .modal-circle {
    background: rgba(255, 100, 100, 0.15); /* 빨강 */
    border-color: rgba(255, 100, 100, 0.5);
  }