/* style.css */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Raleway', sans-serif;
  line-height: 1.6;
  background: #fff;
  color: #333;
}




@media (max-width: 768px) {
  .site-header .container {
    padding-left: 10px; /* 왼쪽 여백 줄이기 */
    padding-right: 10px;
  }

  @media (max-width: 768px) {
  .site-header .container {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
  }
}


  .logo {
    margin-left: 0 !important; /* 불필요한 마진 제거 */
  }
}



.container,
.container_page {
  width: 76%;
  max-width: 1200px;
  margin: auto;
}

/* 모바일 대응 */
@media (max-width: 768px) {
  .container,
  .container_page {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0 auto; /* 중앙 정렬 유지 */
  }
}





.title-main2 {
  display: block;
  font-size: 36px;     /* PC용 크기 */
  line-height: 1.2;
  margin-bottom: 0;    /* 기본 간격 제거 */
}

.title-strong2 {
  display: block;
  font-size: 44px;     /* PC용 크기 */
  margin-top: -70px;    /* 간격 살짝 줄이기 */
}

@media (max-width: 768px) {
  .container {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
  }

.title-main2 {
    font-size: 24px;
    display: block;
    margin-bottom: 0; /* 간격 제거 */
  }

  .title-strong2 {
    font-size: 28px;
    display: block;
    margin-top: -70px; /* 상단 간격 줄이기 */
  }

  .container3 p {
    font-size: 14px;
    line-height: 1.4;
    max-width: 200px; /* 텍스트가 줄바꿈될 수 있도록 제한 */
  }
}


/* ========== HEADER (상단 흰색 바탕) ========== */

/* 상단 container 구성: 로고 왼쪽, 나머지 오른쪽 */
.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 10px 20px;
  box-shadow: none !important;
}

/* 오른쪽 그룹: lang + 버튼 + 햄버거 */
.right-group {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: auto;
}

/* 언어 선택 select 기본 정렬 */
.lang-select {
  position: relative;
}

.lang-select select {
  background: transparent;
  border: none;
  color: #333;
  font-weight: bold;
  font-size: 14px;
  appearance: none;
  padding: 6px 25px 6px 8px;
  cursor: pointer;
  line-height: 1.2;
}

/* 모바일용 */
@media (max-width: 768px) {
  .desktop-only {
    display: none;
  }

  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
  }
}



.site-header {
  background-color: white;
  border-bottom: 1px solid #ccc;
  padding: 10px 20px;
  position: relative;
}

.site-header .container {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

@media (max-width: 768px) {
  .site-header .container {
    justify-content: space-between;
  }

  .hamburger {
    margin-left: auto;
  }
}



.logo {
  width: 155px;
  height: 33px;
  background-image: url('/theme/daontheme_ver2_10/img/logo.png'); /* ← 로고 이미지 경로 수정 */
  background-repeat: no-repeat;
  background-size: contain;
}

/* 모바일용 로고 */
@media (max-width: 768px) {
  .logo {
    width: 145px; /* 모바일에서의 로고 너비 */
    height: 33px; /* 모바일에서의 로고 높이 */
    background-image: url('/theme/daontheme_ver2_10/img/logo.png'); /* 모바일 로고 이미지 경로 */
  }
}


/* PC 기본 설정 */
.auth-buttons {
  display: flex;
  align-items: center;
  gap: 10px;
}

/* 모바일에서 버튼과 lang-select 모두 숨기기 */
@media (max-width: 768px) {
  .auth-buttons button {
    display: none;
  }

  .lang-select {
    display: none !important;  /* !important를 추가하여 강제로 숨기기 */
  }
}





.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-buttons button {
  padding: 8px 15px;
  border: none;
  border-radius: 5px;
  color: white;
  font-weight: bold;
  cursor: pointer;
}

.auth-buttons .register {
  background: linear-gradient(135deg, #b60b84, #f06292);
  padding: 6px 14px; /* 상하 6px, 좌우 14px */
  font-size: 14px; /* 텍스트 크기도 조절 가능 */
  border-radius: 6px; /* 둥근 모서리(선택) */
}


.auth-buttons .login {
  background: linear-gradient(135deg, #fda235, #ffc107); /* 주황 → 밝은 노랑 */
  padding: 6px 14px;
  font-size: 14px;
  border-radius: 6px;
  color: #fff;
  border: none;
  cursor: pointer;
}



.logout {
  background: linear-gradient(135deg, #16c53f, #6dd47e); /* 연두 → 밝은 초록 */
  color: white;
  border: none;
  padding: 6px 14px; /* 상하 높이 줄임 */
  border-radius: 6px;
  cursor: pointer;
  font-size: 14px;
}



/* ========== PC용 메인 메뉴 (보라색) ========== */
.desktop-nav {
  background-color: #6A0DAD;
}

.desktop-nav ul {
  display: flex;
  justify-content: center;
  padding: 10px 0;
  margin: 0;
  list-style: none;
}

.desktop-nav li {
  margin: 0 15px;
}

.desktop-nav li a:hover {
  color: #fc00ff;
}


.desktop-nav a {
  color: white;
  text-decoration: none;
  font-weight: bold;
}

/* ========== 햄버거 메뉴 (모바일에서만 보임) ========== */
@media (max-width: 768px) {
  .hamburger {
    display: flex;
    flex-direction: column;
    cursor: pointer;
    margin-left: auto;
    margin-right: 0;
    align-self: flex-end;
  }

  .site-header .container {
    padding-left: 10px;
    padding-right: 10px;
  }
}



.hamburger {
  display: none;
  flex-direction: column;
  cursor: pointer;
}

.hamburger span {
  width: 25px;
  height: 3px;
  background-color: #333;
  margin: 4px 0;
}

/* ========== 모바일 슬라이드 메뉴 ========== */
.mobile-nav {
  display: none; /* PC에선 숨김 */
background: linear-gradient(to bottom, #5439fb, #b156dc);

  position: fixed;
  top: 0;
  right: -100%;
  width: 80%;
  height: 100%;
  padding: 20px;
  transition: right 0.3s ease;
  z-index: 1000;
}


.mobile-nav.open {
  right: 0;
}

.mobile-nav ul {
  list-style: none;
  padding: 0;
}

.mobile-nav li {
  margin: 15px 0;
}

.mobile-nav a,
.mobile-nav button {
  color: white;
  font-size: 18px;
  text-decoration: none;
  background: none;
  border: none;
  cursor: pointer;
  text-align: left;
}

.close-btn {
  font-size: 28px;
  color: white;
  position: absolute;
  top: 20px;
  right: 20px;
  cursor: pointer;
}

/* ========== 반응형 ========== */
@media (max-width: 768px) {
  /* 데스크탑 메뉴 숨김 */
  .desktop-nav {
    display: none;
  }

  /* 모바일 메뉴 보임 */
  .mobile-nav {
    display: block;
  }

  /* 햄버거 보임 */
  .hamburger {
    display: flex;
  }

  /* PC용 로그인 버튼 숨김 */
  .auth-buttons {
    display: none;
  }
}

/* 메인 메뉴 전체 wrapper */
.main-nav .nav-inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 100px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}


@media (max-width: 768px) {
  .main-nav .nav-inner {
    padding: 0 10px;
    width: 100%;
  }
}


/* 메뉴 항목 왼쪽 정렬 */
/* 기본 메뉴 스타일 */
.main-nav {
  background-color: #6c0092;
  font-family: 'Raleway', sans-serif;
}

.main-nav .menu-items {
  list-style: none;
  margin: 0;
  padding: 0;
  display: flex;
}

.main-nav .menu-items > li {
  position: relative;
}

.main-nav .menu-items > li > a {
  display: block;
  padding: 15px 10px;
  color: white;
  text-decoration: none;
  transition: background-color 0.3s ease;
  font-size: 16px; /* 또는 원하는 px 값 */

}

.main-nav .menu-items > li > a:hover {
  background-color: #e400ec; /* 변경된 hover 색상 */
}

/* 서브메뉴 애니메이션 초기 상태 */
.submenu {
  display: flex;
  flex-direction: column; /* 세로 정렬 */
  opacity: 0;
  transform: translateY(10px);
  pointer-events: none;
  position: absolute;
  top: 100%;
  left: 0;
  background-color: #fff; /* 변경된 배경색 */
  list-style: none;
  padding: 0;
  margin: 0;
  min-width: 160px;
  z-index: 1000;
  border-radius: 4px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}


/* 서브메뉴 항목 스타일 */
.submenu li a {
  display: block;
  padding: 12px 16px;
  color: black;
  text-decoration: none;
  border-bottom: 1px solid #ddd; /* 실선 구분선 추가 */
  transition: background-color 0.3s ease;
}

/* 마지막 항목은 실선 제거 */
.submenu li:last-child a {
  border-bottom: none;
}

.submenu li a:hover {
  background-color: #eee; /* 서브메뉴 hover 효과 색상 */
}

/* 마우스 올렸을 때 서브메뉴 애니메이션 표시 */
.menu-items > li:hover > .submenu {
  opacity: 1;
  transform: translateY(0);
  pointer-events: auto;
}


/*----------------------------------*/

/* 모바일 네비게이션 서브메뉴 */
.mobile-nav .submenu {
  display: block; /* 서브메뉴가 항상 보이도록 설정 */
  padding-left: 20px;
  background-color: #f9f9f9;
  border-top: 1px solid #ddd;
  padding-top: 5px;
}

/* 서브메뉴 항목 스타일 */
.mobile-nav .submenu li a {
  color: black;
  padding: 10px;
  display: block;
  border-bottom: 1px solid #ddd; /* 항목 간 구분선 추가 */
}

/* 서브메뉴 항목 호버 스타일 */
.mobile-nav .submenu li a:hover {
  background-color: #f0f0f0;
}

/* 모바일 네비게이션에 대한 스타일 */
@media (max-width: 768px) {
  .mobile-nav .submenu {
    display: block; /* 서브메뉴가 항상 보이도록 설정 */
  }
}






/*-------------------------------------*/

.auth-buttons {
  display: flex;
  gap: 10px;
  align-items: center;
}

.lang-select {
  position: relative;
  display: inline-block;
}

.lang-select select {
  background: transparent;
  border: none;
  color: #333;
  font-weight: bold;
  font-size: 14px;
  appearance: none;
  padding: 6px 25px 6px 8px;
  cursor: pointer;
  line-height: 1.2;
}

/* 화살표 스타일 */
.lang-select::after {
  content: '▼';
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: #333;
  pointer-events: none;
  font-size: 10px;
}


.register {
  padding: 10px 20px;
  /*background-color: #4CAF50;*/
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  background-image: url('img/r.png');
  background-size: 20px 20px;  /* 이미지 크기 */
  background-repeat: no-repeat;
  background-position: left center; /* 이미지 위치 */
  padding-left: 40px;  /* 이미지 크기만큼 왼쪽 패딩 추가 */
}

.login {
  padding: 10px 20px;
  background-color: #007BFF;
  color: white;
  border: none;
  border-radius: 5px;
  font-weight: bold;
  cursor: pointer;
  background-image: url('img/l.png');
  background-size: 20px 20px;
  background-repeat: no-repeat;
  background-position: left center;
  padding-left: 40px;  /* 이미지 크기만큼 왼쪽 패딩 추가 */
}


/*---------------------------*/

@media (max-width: 768px) {
.mobile-nav {
  position: fixed;
  top: 0; right: 0;
  height: 100%;
  width: 70%;
  max-width: 300px;
  background: linear-gradient(to top, #ff4e38, #ff7d1d);

  transform: translateX(100%);
  transition: transform 0.3s ease;
  z-index: 10000;
  padding-top: 60px;
  overflow-y: auto;
  color: white;
}

  .mobile-nav.open {
    transform: translateX(0);
  }

  .nav-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid #fff; /* 실선 하얀색 */
  }

 .nav-logo {
  display: block;
  margin: 0 auto;
  height: 33px;
  width: auto;
}


.close-btn {
  font-size: 46px; /* 원하는 크기로 조절 */
  cursor: pointer;
  color: white;
  padding: 10px 20px; /* 클릭 영역 확대 */
  user-select: none;
  line-height: 1;
}

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

  .nav-list > li {
    /*border-bottom: 0.5px solid #fff; /* 실선 하얀색 */*/
  }

  .nav-list > li > a {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 20px;
    text-decoration: none;
    font-size: 16px;
    color: #fff;
  }

  .arrow {
    color: #fff; /* > 기호 하얀색 */
  }

  .submenu {
    display: none;
    background-color: #7e26a8; /* 서브메뉴 약간 밝은 보라색 */
  }

  .submenu li a {
    padding: 10px 30px;
    display: block;
    font-size: 14px;
    color: #fff;
    border-bottom: 1px solid #fff;
  }

  .register,
  .login {
    width: 90%;
    margin: 10px auto;
    display: block;
    padding: 12px;
    font-size: 16px;
    background-color: #fff;
    color: #6c0092;
    border: none;
    border-radius: 4px;
  }
}


/*---------------------------*/




.hero {
  background: linear-gradient(135deg, #ff4e38, #ff7d1d);
  color: white;
  text-align: left;
  padding: 4rem 1rem;
}

.hero h1 {
  font-size: 2.5rem;
  margin-bottom: 1rem;
}

.hero button {
  background: #f4ba2e;
  border: none;
  padding: 0.75rem 1.5rem;
  font-size: 1rem;
  margin-top: 1rem;
  cursor: pointer;
  border-radius: 8px; /* ← 둥글게 */
}


.draws .container1 {
  display: flex;
  gap: 20px;
  padding: 2rem 0;
  justify-content: center;
  max-width: 1200px; /* 원하는 최대 너비 설정 */
  width: 100%; /* 부모 요소의 너비를 100%로 설정 */
  margin: 0 auto; /* 가운데 정렬 */
  flex-wrap: wrap; /* 자식 요소들이 한 줄로 넘치면 자동으로 줄 바꿈 */
}

@media (max-width: 768px) {
  .draws .container1 {
    flex-direction: column; /* 모바일 화면에서 세로 정렬 */
    align-items: center; /* 세로 정렬 후 가운데 배치 */
  }
}







.draw-container {
  display: flex;
  justify-content: space-between;
  gap: 10px;
  padding: 50px 10%; /* 패딩을 줄여서 크기를 줄임 */
  flex-wrap: wrap;
  margin-top: -90px; /* 상단 마진을 조금 더 줄여줌 */
}

@media (max-width: 768px) {
  .draw-container {
    padding: 0; /* 모바일에서 좌우 패딩 제거 */
    margin-top: -50px;    /* 모바일에서 상단 마진 조정 */
  }
}


.draw-box {
  flex: 1 1 45%;
  min-width: 300px;
  border-radius: 10px;
  padding: 0px 30px 30px;
  background-color: #fff;
  background-repeat: no-repeat;
  background-position: top center;
  background-size: cover;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
  text-align: center;
}

/* 개별 배경 이미지 설정 */
/* 기본 데스크탑용 설정 */

.draw-box.mega {
  background-image: url('bg-mega.png');
  margin-left: 40px;
}

/* 모바일 화면에서 마진 제거 및 중앙 정렬 */
@media (max-width: 768px) {
  .draw-box.mega {
    flex: none;        /* flex-grow, shrink 제거 */
    width: 90%;        /* 또는 원하는 고정 너비 */
    margin: 0 auto;    /* 가운데 정렬 */
  }
}


.draw-box.power {
  background-image: url('bg-power.png');
  margin-right: 40px;
}

/* 모바일 화면에서 마진 제거 및 중앙 정렬 */
@media (max-width: 768px) {
  .draw-box.power {
    flex: none;        /* flex-grow, shrink 제거 */
    width: 90%;        /* 또는 원하는 고정 너비 */
    margin: 0 auto;    /* 가운데 정렬 */
  }
}

.draw-content img {
  height: 90px;
  display: block;
  margin: 0 auto;
}

/* 모바일용: 화면 너비 768px 이하일 때 */
@media (max-width: 768px) {
  .draw-content img {
    height: 70px;
  }
}


.draw-content p {
  font-size: 18px;
  color: #333;
  margin-bottom: 20px;
  line-height: 1.5;
  word-break: keep-all;         /* 단어 단위로 줄바꿈 (한국어, 영어 둘 다 자연스럽게) */
  overflow-wrap: break-word;    /* 너무 긴 단어가 있을 경우 강제 줄바꿈 */
}

@media (max-width: 768px) {
  .draw-content p {
    word-break: keep-all;
    overflow-wrap: break-word;
  }
}


.play-btn {
  padding: 12px 24px;
  font-size: 16px;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  color: white;
  margin-bottom: 20px;
  cursor: pointer;
}

.play-btn.orange {
  background: linear-gradient(45deg, #f4ba2e, #fea035);
  padding: 6px 16px; /* 상하 6px, 좌우 16px */
  font-size: 16px;
  border: none;
  border-radius: 6px;
  color: white;
}



.play-btn.purple {
  background: linear-gradient(45deg, #da107d, #83038e);
  padding: 6px 16px; /* 상하 6px, 좌우 16px */
  font-size: 16px;
  border: none;
  border-radius: 6px;
  color: white;
}




/* Features Section */
.features {
  background: #ffffff; /* 색상 코드 수정 */
  padding: 0; /* padding을 0으로 설정하여 공간을 없앰 */
}

/* Flexbox for the features section */
.features .container {
  display: flex;
  justify-content: space-between; /* 항목들 간의 간격을 고르게 분배 */
  gap: 20px; /* 항목들 사이 간격 */
  flex-wrap: wrap; /* 모바일에서 세로로 정렬되도록 flex-wrap 사용 */
  justify-content: center; /* PC에서도 가운데 정렬 */
}

@media (max-width: 768px) {
  .features .container {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
  }
}


.feature {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  font-size: 18px;
  color: #333;
  width: 22%; /* PC에서 각 항목이 4개로 정렬되도록 너비 설정 */
}

.feature .icon {
  width: 50px; /* 아이콘 크기 */
  height: 50px;
  margin-bottom: 10px;
  background-size: contain;
  background-repeat: no-repeat;
  background-position: center;
}

/* 개별 아이콘 이미지 */
.feature.trust .icon {
  background-image: url('https://thelottousa.com/theme/daontheme_ver2_10/img/icon1.png'); /* 이미지 경로 */
  background-size: contain; /* 이미지의 크기를 요소 크기에 맞춰 조정 */
  background-repeat: no-repeat; /* 반복 방지 */
  background-position: center; /* 중앙 정렬 */
  width: 199px;  /* 이미지 크기에 맞는 너비 (조정 가능) */
  height: 177px; /* 이미지 크기에 맞는 높이 (조정 가능) */
}

.feature.safe .icon {
  background-image: url('https://thelottousa.com/theme/daontheme_ver2_10/img/icon2.png'); /* 이미지 경로 */
  background-size: contain; /* 이미지의 크기를 요소 크기에 맞춰 조정 */
  background-repeat: no-repeat; /* 반복 방지 */
  background-position: center; /* 중앙 정렬 */
  width: 199px;  /* 이미지 크기에 맞는 너비 (조정 가능) */
  height: 177px; /* 이미지 크기에 맞는 높이 (조정 가능) */
}

.feature.commission .icon {
  background-image: url('https://thelottousa.com/theme/daontheme_ver2_10/img/icon3.png'); /* 이미지 경로 */
  background-size: contain; /* 이미지의 크기를 요소 크기에 맞춰 조정 */
  background-repeat: no-repeat; /* 반복 방지 */
  background-position: center; /* 중앙 정렬 */
  width: 199px;  /* 이미지 크기에 맞는 너비 (조정 가능) */
  height: 177px; /* 이미지 크기에 맞는 높이 (조정 가능) */
}

.feature.support .icon {
  background-image: url('https://thelottousa.com/theme/daontheme_ver2_10/img/icon4.png'); /* 이미지 경로 */
  background-size: contain; /* 이미지의 크기를 요소 크기에 맞춰 조정 */
  background-repeat: no-repeat; /* 반복 방지 */
  background-position: center; /* 중앙 정렬 */
  width: 199px;  /* 이미지 크기에 맞는 너비 (조정 가능) */
  height: 177px; /* 이미지 크기에 맞는 높이 (조정 가능) */
}

.features .feature {
  font-weight: bold; /* 글자 두껍게 */
}


/* 모바일에서 세로 정렬 */
@media (max-width: 768px) {
  .features .container {
    flex-direction: column; /* 모바일에서는 세로로 정렬 */
    align-items: center;
    gap: 10px;
  }

  .feature {
    width: 80%; /* 모바일에서는 각 항목이 더 크게 보이도록 설정 */
    margin-bottom: 20px;
  }

  /* 모바일에서는 버튼을 숨기고 햄버거 메뉴만 보이게 설정 */
  .auth-buttons {
    display: none; /* 모바일에서는 버튼 숨기기 */
  }

  .hamburger {
    display: block; /* 모바일에서 햄버거 메뉴 표시 */
  }
}

/* 로고와 버튼의 스타일을 다른 영역으로 분리 */
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.site-header .logo {
  width: 150px; /* 로고 크기 */
}

.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-buttons button {

  background-color: #007BFF;
  color: white;
  border: none;
  cursor: pointer;
}

.hamburger {
  display: none; /* 기본적으로 햄버거 메뉴는 숨김 */
}

/* 기본 햄버거 메뉴 숨기기 */
.hamburger {
  display: none; /* 기본적으로 햄버거 메뉴는 숨겨짐 */
  cursor: pointer;
  flex-direction: column;
  justify-content: space-between;
  width: 30px;
  height: 22px;
  background: none;
  border: none;
}

/* 햄버거 메뉴의 3개의 막대 스타일 */
.hamburger span {
  display: block;
  width: 100%;
  height: 4px;
  background-color: #333;
  border-radius: 2px;
}

/* 모바일에서 햄버거 메뉴 보이게 설정 */
@media (max-width: 768px) {
  .hamburger {
    display: block; /* 모바일에서 햄버거 메뉴 표시 */
  }
  
  /* 로그인과 레지스터 버튼은 숨기기 */
  .auth-buttons {
    display: none;
  }

  .auth-buttons .lang-select {
    display: none;
  }
}



/* Results Section */
.results h2 {
  text-align: center; /* 타이틀을 가운데 정렬 */
  margin-top: 2rem; /* 위쪽 여백 추가 */
  font-size: 3rem; /* 글자 크기 크게 */
  color: #5949b3; /* 보라색 텍스트 */
}

.results .subtitle {
  text-align: center; /* 부제목 중앙 정렬 */
  font-size: 1.2rem;
  color: #5949b3;
  margin-top: 0.5rem;
}

/* 모바일 화면에서 Results 타이틀 줄 간격 및 글자 크기 조정 */
@media (max-width: 768px) {
  .results h2 {
    text-align: center; /* 타이틀을 가운데 정렬 */
    margin-top: 2rem; /* 위쪽 여백 추가 */
    font-size: 2rem; /* 글자 크기 설정 */
    line-height: 1.2; /* 줄 간격을 줄여서 텍스트 간격 감소 */
    letter-spacing: -0.5px; /* 글자 간격을 좁혀서 텍스트 간격 감소 */
    color: #5949b3; /* 보라색 텍스트 */
  }

}

.results {
  background-image: url('https://thelottousa.com/theme/daontheme_ver2_10/img/bg2.jpg');
  background-size: 1400px;
  background-position: center 70%; /* 수직 위치를 30%로 내려줌 */
  background-repeat: no-repeat;
  /*padding: 4rem 1rem;*/
  color: #fff;
}





.result {
  background: #fff;
  padding: 1rem;
  margin: 1rem 0;
  border: 1px solid #ddd;
  border-radius: 6px;
}

.entry-times {
  background: #ffe082;
  padding: 2rem 1rem;
  text-align: center;
}

.site-footer {
  background: #320b86;
  color: white;
  padding: 1rem;
  text-align: center;
  font-size: 0.9rem;
}

@media (max-width: 768px) {
  .draws {
    flex-direction: column;
    align-items: center;
  }

  .draw {
    width: 90%;
  }

  @media (max-width: 768px) {
  .draws .container1 {
    width: 100%;
    padding-left: 10px;
    padding-right: 10px;
    margin: 0;
  }
}


  .features {
    flex-direction: column;
    gap: 1rem;
  }
}

/*-----------로또넘버섹션-------------*/

@media (max-width: 768px) {
  .lotto-body {
    text-align: center;
  }

  .lotto-body .numbers,
  .lotto-body .jackpot {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .lotto-body .number-group {
    justify-content: center;
  }
}


.lotto-background {
  background: url('https://thelottousa.com/theme/daontheme_ver2_10/img/') center/cover no-repeat;
 padding: 60px 0px;
}

.lotto-wrapper {
  width: 100%;
  padding: 10px 10%; /* 데스크탑 기준 좌우 여백 */
  background: #ffffff;
  border-radius: 12px;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
}

@media (max-width: 768px) {
  .lotto-wrapper {
    padding: 20px 5%; /* 모바일에서 좌우 여백 5%로 조정 */
  }
}



.lotto-title {
  text-align: center;
  font-size: 28px !important;
  font-weight: bold;
  color: #4a2ea4;
  margin-bottom: 30px;
}

@media (max-width: 768px) {
  .lotto-title {
    font-size: 18px !important;
  }
}


.lotto-card {
  display: flex;
  flex-direction: row;
  background: #f9f9f9;
  border-radius: 10px;
  margin-bottom: 20px;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}

.lotto-info {
  flex: 1;
  padding: 20px;
  background-color: #ffffff; /* 또는 그냥 white */
}


.lotto-header {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-wrap: wrap; /* 모바일에서 줄바꿈 허용 */
}

@media (max-width: 768px) {
  .lotto-header {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 20px;
  }

  .lotto-logo {
    width: 126px;
    height: 93px;
    margin-bottom: 10px;
  }

 .lotto-name {
  font-size: 20px;
  font-weight: bold;
  color: #4a2ea4;
  margin: 5px 0;
}

/* 모바일 전용 스타일 */
@media (max-width: 768px) {
  .lotto-name {
    font-size: 24px; /* 모바일에서 더 크게 */
  }
}


  .draw-date {
    font-size: 14px;
    color: #555;
    margin-top: 5px;
  }
}


.lotto-header img {
  height: auto;
}

.lotto-header h3 {
  margin: 0;
  font-size: 20px;
  color: purple; /* 또는 #6a0dad */
}

/* 모바일 화면에서 폰트 크기 증가 */
@media (max-width: 768px) {
  .lotto-header h3 {
    font-size: 24px; /* 필요시 22px, 26px 등으로 조정 가능 */
  }
}


.draw-date {
  font-size: 14px;
  color: #888;
  text-align: center;  /* 텍스트 가운데 정렬 */
  display: block;      /* span 태그에도 적용하려면 필요할 수 있음 */
}

/* 모바일에서 폰트 크기 16px로 */
@media (max-width: 768px) {
  .draw-date {
    font-size: 16px;
  }
}



hr {
  margin: 15px 0;
  border: none;
  border-top: 1px solid #e0e0e0;
}

.lotto-body {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap;
}

.numbers {
  flex: 1;
  color: purple; /* 또는 원하는 보라색 코드: #6a0dad */
}

.number-group span {
  background: #ff5d75;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  margin-right: 5px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
}

.number-group {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start; /* PC에서는 왼쪽 정렬 */
  gap: 8px;
}

/* ✅ 모바일에서만 가운데 정렬 */
@media (max-width: 768px) {
  .numbers {
    text-align: center !important;
    width: 100%;
  }

  .number-group {
    justify-content: center !important;
    width: 100%;
  }
}

.plus {
  background: transparent;
  color: #000;
}

.bonus {
  background: #ffa500;
}

.jackpot {
  text-align: right;
  min-width: 120px;
}

@media (max-width: 768px) {
  .lotto-body {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
  }

  .jackpot {
    width: 100%;
  }
}


.jackpot p {
  margin: 0;
  font-size: 13px;
  color: #e64a9b;
}

.jackpot strong {
  font-size: 20px;
  color: #333;
}

/*.lotto-video {
  background: linear-gradient(135deg, #8e2de2, #4a00e0);
  color: white;
  padding: 20px;
  text-align: center;
  width: 180px;
  flex-shrink: 0;
}*/

.lotto-video {
  background: url('https://thelottousa.com/theme/daontheme_ver2_10/img/video1.jpg') no-repeat center center;
  background-size: cover;
  color: white;
  padding: 20px;
  text-align: center;
  width: 180px;
  flex-shrink: 0;
}


.lotto-video .next-draw {
  font-size: 12px;
  color: #15cdfe;
}

.lotto-video .video-date {
  font-size: 16px;
  margin: 8px 0;
}

.video-play {
  background: transparent;
  border: none;
  color: white;
  font-size: 16px;
  font-weight: bold;
  cursor: pointer;
}

.video-play span {
  color: #0f0;
}

.view-all {
  text-align: center;
  margin-top: 30px;
  margin-bottom: 30px;
  color: #4a2ea4;
  font-weight: bold;
}

@media (max-width: 768px) {
  .lotto-card {
    flex-direction: column;
  }

  .lotto-video {
    width: 100%;
    border-radius: 0 0 10px 10px;
  }

  .lotto-body {
    flex-direction: column;
    align-items: flex-start;
  }

  .jackpot {
    text-align: left;
    margin-top: 10px;
  }
}

.number-group span {
  background: #ff5d75;
  color: #fff;
  padding: 8px 12px;
  border-radius: 999px;
  margin-right: 5px;
  font-weight: bold;
  font-size: 14px;
  display: inline-block;
}

/* ✅ + 기호만 다르게 스타일링 */
.number-group .plus {
  background: none;      /* 배경 제거 */
  color: #000;           /* 글자색 검정 */
  padding: 0;            /* 내부 여백 제거 */
  border-radius: 0;      /* 동그라미 제거 */
  margin-right: 5px;     /* 필요시 여백 유지 */
  font-weight: normal;   /* 필요에 따라 조정 */
  font-size: 16px;       /* 조금 더 키우고 싶다면 */
}

.number-group .plus {
  background: none;         /* 배경 제거 */
  color: #000;              /* 글자색 검정 */
  font-size: 20px;          /* 크기 키움 */
  font-weight: bold;
  line-height: 1;           /* 기본 라인 높이 */
  display: inline-flex;     /* 수직 정렬을 위해 flex 사용 */
  align-items: center;      /* 세로 중앙 정렬 */
  justify-content: center;
  height: 32px;             /* 숫자들과 비슷한 높이로 맞춤 */
  margin: 0 5px;            /* 좌우 여백 */
}


/*----------------------------------*/

.draw-info-section {
position: relative;
  background-image: url('https://thelottousa.com/theme/daontheme_ver2_10/img/lottoball.png');
  background-size: auto;               /* 원본 크기 */
  background-position: center 80%;     /* 100%가 bottom, 0%가 top → 위로 올리려면 100보다 작은 값 사용 */
  background-repeat: no-repeat;
  text-align: center;
}


.draw-info-content {
  max-width: 1000px;
  margin: 0 auto;
}

.draw-info-content h2 {
  font-size: 24px;
  font-weight: bold;
  color: #2a2a6c;
  margin-bottom: 12px;
}

.draw-info-content p {
  font-size: 16px;
  color: #444;
  line-height: 1.6;
  margin-bottom: 40px;
}

.draw-info-content .highlight {
  color: #2a4bd7;
}


/*-------------------------------*/

.boards-wrapper {
  display: flex;
  flex-wrap: wrap;
  gap: 40px;
  margin-top: 40px;
  width: 100%;
  max-width: 1200px;
  margin-left: auto;
  margin-right: auto;
  justify-content: space-between;
}

.board-box {
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
  padding: 20px;
  width: calc(50% - 20px); /* gap이 40px이므로 양쪽 여백 고려 */
  text-align: left;
  box-sizing: border-box;
}

.board-box h3 {
  font-size: 18px;
  font-weight: 600;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 10px;
}

.board-box h3 a {
  font-size: 14px;
  color: #999;
  text-decoration: none;
}

@media (max-width: 768px) {
  .boards-wrapper {
    flex-direction: column;
    align-items: center;
  }

  .board-box {
    width: 90%;
  }
}


/*-----------------------------*/

.footer {
  background: url('https://thelottousa.com/theme/daontheme_ver2_10/img/footer1.jpg'); /* 여기에 이미지 경로 입력 */
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: white;
  text-align: center;
  padding: 30px 20px;
  position: relative;
  overflow: hidden;
}

    .footer-content {
      position: relative;
      z-index: 1;
    }

    .footer a {
      color: #ffffff;
      text-decoration: none;
      margin: 0 10px;
    }

    .footer a:hover {
      text-decoration: underline;
    }

    .footer .highlight {
      color: #00ff99;
    }

    .footer .note {
      color: #00ff99;
      margin-top: 10px;
      display: block;
      font-size: 14px;
    }

/*-------중간추가 css----------*/









