

    * { margin: 0; padding: 0; box-sizing: border-box; }
    body { font-family: 'GiantsBold'; overflow-x: hidden; }

    @font-face { font-family: 'GiantsBold'; src: url('/app/font/Giants-Bold.ttf') format('truetype'); }
    @font-face { font-family: 'PaperlogyBlack'; src: url('/app/font/Paperlogy-9Black.ttf') format('truetype'); font-weight: 900; }
    @font-face { font-family: 'PaperlogySemiBold'; src: url('/app/font/Paperlogy-6SemiBold.ttf') format('truetype'); font-weight: 600; }
    @font-face { font-family: 'PaperlogyMedium'; src: url('/app/font/Paperlogy-5Medium.ttf') format('truetype'); font-weight: 500; }
    @font-face { font-family: 'PaperlogyRegular'; src: url('/app/font/Paperlogy-4Regular.ttf') format('truetype'); font-weight: 400; }


    nav {
      display: grid;
      grid-template-columns: 1fr auto 1fr;
      align-items: center;
      padding: 6px 40px;
      background: rgba(0, 0, 0, 0.4); /* 초기 반투명 */
      color: white;
      position: fixed;
      top: 0;
      left: 0;
      width: 100%;
      z-index: 10;
      transition: background-color 0.3s ease; 
    }
   
    nav.scrolled { background: rgba(0, 0, 0, 1); }
    nav ul { display: flex; gap: 45px; list-style: none; }
    nav ul li a { color: white; text-decoration: none; font-size: 1.2rem; }


    .hamburger {
      display: none;
      font-size: 2rem;
      color: white;
      cursor: pointer;
      z-index: 20;
    }

    .lang-switch-icon {
      position: fixed;
      top: 70px;
      right: 20px;
      z-index: 9999;
      display: flex;
      align-items: center;
      justify-content: center;
      width: 40px;
      height: 40px;
      border-radius: 50%;
      background-color: #f42328; /* 기본 빨강 */
      box-shadow: 0 2px 6px rgba(0,0,0,0.2);
      transition: background 0.3s ease, transform 0.2s ease, width 0.2s ease, border-radius 0.2s ease;
      overflow: hidden;
    }
    .lang-switch-icon img.lang-icon {
      width: 34px;
      height: 34px;
      pointer-events: none;
      transition: opacity 0.2s ease;
    }
    .lang-switch-icon:hover {
      background-color: #d81c22;
      transform: scale(1.1);
      width: 80px;
      border-radius: 20px;
    }
    /* hover 시 아이콘 사라짐 */
    .lang-switch-icon:hover img.lang-icon {
      opacity: 0;
    }
    /* KO → KOREAN */
    .lang-switch-icon[hreflang="ko"]:hover::after {
      content: "KOREAN";
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-size: 12px;
      font-family: 'PaperlogySemiBold', sans-serif;
      white-space: nowrap;
      pointer-events: none;
    }
    /* EN → ENGLISH */
    .lang-switch-icon[hreflang="en"]:hover::after {
      content: "ENGLISH";
      position: absolute;
      left: 50%;
      top: 50%;
      transform: translate(-50%, -50%);
      color: #fff;
      font-size: 12px;
      font-family: 'PaperlogySemiBold', sans-serif;
      white-space: nowrap;
      pointer-events: none;
    }


    
    .korean-text {
      word-break: keep-all; /* 단어 단위로 줄바꿈 (띄어쓰기 기준) */
      white-space: normal; /* 자동 줄바꿈 허용 */
      line-height: 1.5;
    }
   
    header { padding-top: 100px; }


    h1, h3, p { margin-top: 20px; text-align: center; }
    h1 { font-family: 'GiantsBold'; }
    h2 { font-family: 'PaperlogyBlack'; }
    h3 { font-family: 'PaperlogySemiBold'; font-size: 24px; color: #333; }
    /* p { font-family: 'PaperlogyRegular'; font-size: 16px; color: #555; line-height: 1.6; padding: 0 20px; } */


    .top-visual-wrapper { position: relative; overflow: hidden; }
    .top-visual-wrapper img { width: 100%; height: auto; display: block; }
    .top-visual-textbox {
      position: absolute; inset: 0;
      display: flex; flex-direction: column;
      justify-content: center; align-items: center;
      color: #fff; text-align: center;
    }
    .top-visual-title {
      font-family: 'PaperlogyBlack';
      font-size: 4.8rem;
      text-shadow: 2px 2px 6px rgba(0, 0, 0, 0.6);
    }

    .top-visual-subtitle { font-family: 'PaperlogySemiBold'; font-size: 1.45rem; margin-bottom: 10px; line-height: 1.5; }




    #store .inner {
      max-width: 1440px;
      margin: 0 auto;
    }

    .store-list {
      display: grid;
      grid-template-columns: repeat(3, 1fr); /* 가로 3개 */
      gap: 24px; /* 카드 간격 */
    }



    .store-card {
      background: #fff;
      overflow: hidden;
      box-shadow: 0 4px 12px rgba(0,0,0,0.1);
      transition: transform 0.3s ease, box-shadow 0.3s ease;
    }

    .store-card:hover {
      transform: translateY(-5px);
      box-shadow: 0 8px 20px rgba(0,0,0,0.15);
    }

    
    .store-header { padding: 16px; background-color: #fff; text-align: left; }
    .store-title-line { height: 4px; width: 40px; background-color: #f42328; margin-bottom: 8px; }
    .store-title { font-family: 'PaperlogySemiBold'; font-size: 1.2rem; color: #111; margin: 0; }

    .store-image-wrapper {
      position: relative;
      width: 100%; height: 320px;
      overflow: hidden;
      border-top: 1px solid #ddd;
    }

    .store-image-wrapper img { width: 100%; height: 100%; object-fit: cover; }

    .store-label {
      position: absolute; top: 10px; right: 10px;
      padding: 4px 10px; font-size: 14px;
      border-radius: 4px; font-weight: bold; z-index: 2;
      color: white;
    }
    .store-label.korea { background-color: #f42328; }
    .store-label.global { background-color: #778899; }

    .store-overlay {
      position: absolute;
      bottom: 0; width: 100%;
      padding: 16px;
      background: linear-gradient(to top, rgba(0,0,0,0.6), transparent 60%);
      color: white;
      font-family: 'PaperlogyRegular';
      font-size: 0.95rem;
      line-height: 1.4;
    }

    .store-overlay h3, .store-overlay p {
      margin: 0;
      color: white;
      text-shadow: 1px 1px 3px rgba(0,0,0,0.8);
    }

    
    footer {background-color: #181818; color: white; padding: 20px 0; width: 100%; } 

    .footer-content {
        display: flex;
        justify-content: space-between;
        align-items: center;
        max-width: 1400px;
        margin: 0 auto;
        padding: 0 20px;
        width: 100%; /* footer의 내부 콘텐츠 너비를 100%로 설정 */
    }

    .footer-left, .footer-right { width: 100%; }
    .footer-left { display: flex; flex-direction: column; }
    .footer-left p { font-family: 'PaperlogySemiBold'; text-align: left; color : white;}


    /* 버튼 스타일 */
    footer .top-button { 
      font-size: 1.5rem; 
      display: inline-block; 
      padding: 10px 20px;
      background-color: #f42328; /* 버튼 색상 */
      border-radius: 30px;
      font-weight: bold; /* 텍스트 강조를 위해 font-weight 추가 */
      margin: 0 auto; /* 버튼 가운데 배치 */
    }

    .footer-right { display: flex; flex-direction: column; align-items: flex-end; }

    .footer-right button {
      font-family: 'PaperlogySemiBold'; 
      font-size: 14px; 
      color: white; 
      background-color: transparent;
      border: 1px solid white;
      padding: 12px 20px;
      margin: 5px 0;
      cursor: pointer;
      text-align: center;
      width: 220px;
      max-width: 220px; 
    }

    .footer-right button a { color: white; text-decoration: none; display: block; }
    .footer-right button:hover { background-color: white; color: #181818; }
    .footer-right button:hover a { color: #181818; }

    footer a { text-decoration: none; color: white; }


    /* 야구존 버튼 */
    .btn-baseball {
      display: inline-block;
      font-family: 'PaperlogySemiBold'; font-size: 14px; color: #69C9FF;
      border: 1px solid #69C9FF; padding: 12px 20px; margin: 5px 0;
      text-align: center;
      width: 220px; max-width: 220px;
      background-color: transparent;
      cursor: pointer;
      text-decoration: none;
      transition: background-color 0.3s ease, color 0.3s ease;
    }
    .btn-baseball:hover { background-color: #69C9FF; color: #ffffff; text-decoration: none; }


    @media (max-width: 768px) {

      html, body {
        max-width: 100%;
        overflow-x: hidden;
        font-size: 0.9rem;
      }


      nav a img { height: 50px; }
      nav { padding: 4px 10px; }

      .hamburger {
        display: block;
        font-size: 2rem;
        color: white;
        cursor: pointer;
        position: absolute;
        top: 15px;
        right: 20px;
        z-index: 20;
      }
      nav ul {
        flex-direction: column;
        position: absolute;
        top: 60px;
        right: 0;
        background: rgba(0,0,0,0.9);
        width: 200px;
        overflow: hidden;
        max-height: 0;
        transition: max-height 0.4s ease;
      }
      nav ul li { margin: 5px 5px; text-align: left; }
      nav ul li a { display: block; padding: 3px 3px; }


      .top-visual-wrapper {
        position: relative;
        height: 40vh;
        width: 100vw; /* 💡 전체 너비 확보 */
        overflow: hidden;
        display: flex; /* 💡 이미지 정렬에 필요 */
      }

      .top-visual-wrapper img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        object-position: center;
        display: block;
      }

      .top-visual-textbox {
        position: absolute;
        inset: 0;
        padding: 0 10px;
        display: flex;
        flex-direction: column;
        justify-content: center;
        align-items: center;
        color: white;
        text-align: center;
      }

      .top-visual-title {
        font-size: 2rem;
        line-height: 1.2;
      }

      .top-visual-subtitle {
        font-size: 1rem;
        line-height: 1.4;
      }

      #store .inner {
        padding: 0 16px !important; /* 좌우 여백 */
        box-sizing: border-box;
      }

      #store .inner > div {
        display: flex !important;
        flex-direction: column !important;
        align-items: stretch !important;
      }


      #store h2 { display: none; }
      #store .inner > div > div:first-child {
        height: auto !important;
        margin-bottom: 0 !important;
      }
      
      .footer-content { flex-direction: column; text-align: left; }      

      .footer-right button,
      .btn-baseball {
        width: 100%;
        max-width: 280px; 
        padding: 12px 0; 
        font-size: 14px; 
        text-align: center; 
        margin: 5px auto; 
        display: block;
      }
    }