* {
  box-sizing: border-box;
  font-family: 'Pretendard', -apple-system, BlinkMacSystemFont, system-ui, Roboto, 'Helvetica Neue', 'Segoe UI', 'Apple SD Gothic Neo', 'Noto Sans KR', 'Malgun Gothic', 'Apple Color Emoji', 'Segoe UI Emoji', 'Segoe UI Symbol', sans-serif;
}

li {
  list-style: none;
}

.main-nav {
  position: relative;
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  background: #1a1a1a;
  padding: 15px 0;
  background: linear-gradient(180deg, #2c2c2c, #1a1a1a, #0a0a0a);
  background: linear-gradient(180deg, #2c2c2c24, #1a1a1a, #0a0a0a);
  flex-wrap: wrap;
  /* height: 100px; */
}

.nav-logo {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}

.nav-logo img {
  width: 120px;
  height: auto;
  vertical-align: middle;
  margin-right: 10px;
}

.mobile-menu-btn {
  display: none;
  position: fixed;
  left: 15px;
  top: 15px;
  background: none;
  border: none;
  z-index: 1000;
  cursor: pointer;
}

.mobile-menu-btn span {
  display: block;
  width: 25px;
  height: 3px;
  background: #fff;
  margin: 5px 0;
  transition: 0.3s;
}

.nav-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 15px 20px;
}

.nav-container h1 {
  color: #fff;
  text-align: center;
  margin-bottom: 20px;
  font-size: 24px;
}

.nav-menu {
  display: flex;
  justify-content: center;
  list-style: none;
  padding: 0;
  margin: 0;
}

.nav-menu li {
  margin: 0 10px;
}

.nav-menu a {
  color: #fff;
  text-decoration: none;
  transition: 0.3s;
  font-size: 20px;
  font-weight: bold;
}

.nav-menu a:hover {
  color: #ffd700;
}

/* ?? ???? */
.casino-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 20px;
}

/* 게임 그리? */
.game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 20px;
  margin-top: 30px;
}

/* 게임 카드 */
.game-card {
  background: #1a1a1a;
  border-radius: 10px;
  overflow: hidden;
  transition: all 0.4s ease;
  box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4), 0 2px 8px rgba(255, 215, 0, 0.1), 0 0 1px rgba(255, 255, 255, 0.1);
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 15px 30px rgba(0, 0, 0, 0.6), 0 5px 15px rgba(255, 215, 0, 0.2), 0 0 2px rgba(255, 255, 255, 0.2);
}

.game-card img {
  width: 100%;
  /* height: 180px; */
  height: 280px;
  object-fit: cover;
}

.game-info {
  padding: 15px;
}

.game-title {
  color: #fff;
  font-size: 18px;
  margin: 0 0 10px 0;
}

.game-provider {
  color: #888;
  font-size: 14px;
}

/* ?? ?? */
body {
  background: #0a0a0a;
  color: #fff;
  font-family: 'Noto Sans KR', sans-serif;
  margin: 0;
  padding: 0;
}

/* ?? ?? */
.casino-header {
  text-align: center;
  margin-bottom: 40px;
}

.casino-header h1 {
  font-size: 36px;
  color: #ffd700;
  margin: 0;
}

.casino-header p {
  color: #888;
  margin-top: 10px;
}

/* 로고 ????? */
.logo {
  width: 150px;
  /* 로고? ?? */
  height: auto;
  /* 비율 ?? */
  vertical-align: middle;
  /* ?????? ?? ?? */
  margin-right: 10px;
  /* ?른쪽 ?? 추?? */
}

.login-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
}

.login-popup .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #888;
  cursor: pointer;
}

.login-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.login-form input {
  padding: 12px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #2c2c2c;
  color: #fff;
}

.login-form button {
  padding: 12px;
  background: #ffd700;
  border: none;
  border-radius: 5px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.login-form button:hover {
  background: #ffed4a;
}

.login-footer {
  margin-top: 20px;
  text-align: center;
}

.login-footer a {
  color: #888;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}

.login-footer a:hover {
  color: #ffd700;
}

.login-area {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
}

.login-button {
  padding: 8px 20px;
  border-radius: 5px;
  background-color: #ffd700;
  color: #000;
  text-decoration: none;
  font-weight: bold;
}

.login-button:hover {
  background-color: #ffed4a;
}

.site-footer {
  background-color: #1a1a1a;
  padding: 50px 0;
  color: #fff;
  margin-top: 50px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: space-around;
  padding: 0 20px;
}

.footer-section {
  flex: 1;
  max-width: 300px;
}

.footer-section h3 {
  color: #ff4444;
  font-size: 1.5rem;
  margin-bottom: 20px;
  font-weight: 600;
}

.footer-section ul {
  list-style: none;
  padding: 0;
}

.footer-section ul li {
  margin-bottom: 10px;
}

.footer-section ul li a {
  color: #fff;
  text-decoration: none;
  font-size: 1rem;
  transition: color 0.3s ease;
}

.footer-section ul li a:hover {
  color: #ff4444;
}

.signup-popup {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: rgba(0, 0, 0, 0.7);
  z-index: 1001;
}

.signup-popup .close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 24px;
  color: #888;
  cursor: pointer;
}

.signup-content {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #1a1a1a;
  padding: 30px;
  border-radius: 10px;
  width: 90%;
  max-width: 400px;
  box-shadow: 0 0 20px rgba(255, 215, 0, 0.2);
}

.signup-form {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-top: 20px;
}

.signup-form input {
  padding: 12px;
  border: 1px solid #333;
  border-radius: 5px;
  background: #2c2c2c;
  color: #fff;
}

.signup-form button {
  padding: 12px;
  background: #ffd700;
  border: none;
  border-radius: 5px;
  color: #000;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.signup-form button:hover {
  background: #ffed4a;
}

.signup-footer {
  margin-top: 20px;
  text-align: center;
}

.signup-footer a {
  color: #888;
  text-decoration: none;
  margin: 0 10px;
  font-size: 14px;
}

.signup-footer a:hover {
  color: #ffd700;
}

.notice-popup-container {
  position: absolute;
  top: 50px;
  z-index: 1000;
  display: flex;
  /* gap: 20px; */
  flex-wrap: wrap;
  flex-direction: row;
  width: 100%;
  justify-content: space-around;
}

.notice-popup {
  background: #000000;
  padding: 20px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
  width: 400px;
  position: relative;
  height: 100%;
}

.notice-popup img {
  width: 100%;
}

.notice-popup .close-notice {
  position: absolute;
  right: 10px;
  top: 10px;
  cursor: pointer;
  font-size: 20px;
}

.notice-popup .notice-content {
  margin-top: 20px;
  margin-bottom: 20px;
  font-size: 14px;
}

.notice-popup .notice-footer {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 15px;
  padding-top: 10px;
  border-top: 1px solid #eee;
  text-align: center;
  font-size: 14px;
}

.notice-popup .dont-show-again {
  display: flex;
  align-items: center;
  gap: 5px;
}

.notice-popup .close-btn {
  width: 100%;
  padding: 8px;
  border: none;
  background: linear-gradient(135deg, #ffd700, #ffa500);
  color: #000;
  border-radius: 5px;
  cursor: pointer;
  font-weight: bold;
  text-shadow: 0 1px 1px rgba(255, 255, 255, 0.3);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.3), inset 0 -2px 5px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
}

.notice-popup .close-btn:hover {
  background: linear-gradient(135deg, #ffed4a, #ffb732);
  box-shadow: 0 2px 15px rgba(255, 215, 0, 0.4), inset 0 -2px 5px rgba(0, 0, 0, 0.15);
}

.login-area {
  position: absolute;
  right: 20px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  gap: 10px;
}

.login-button {
  padding: 8px 20px;
  border-radius: 5px;
  background-color: #ffd700;
  color: #000;
  text-decoration: none;
  font-weight: bold;
  white-space: nowrap;
}

.user-info-bar {
  background-color: #2c2c2c;
  padding: 10px 0;
  width: 100%;
  z-index: 100;
}

.user-info-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 20px;
  padding: 0 20px;
}

.user-info-content span {
  color: #fff;
  font-size: 14px;
}

.user-name {
  color: #ffd700 !important;
  font-weight: bold;
}

.user-message {
  color: #ff4444 !important;
}

@media (max-width: 768px) {
  .mobile-menu-btn {
    display: block;
  }

  .nav-container {
    position: fixed;
    left: -100%;
    top: 0;
    width: 100%;
    height: 100vh;
    background: #000;
    transition: 0.3s;
    z-index: 999;
    overflow-y: auto;
    background-image: url(/images/nav-background.webp);
    background-size: cover;
    background-position: center;
  }

  .nav-container.active {
    left: 0;
  }

  .nav-menu {
    flex-direction: column;
    padding-top: 25px;
  }

  .nav-menu li {
    margin: 15px 0;
    text-align: center;
  }

  .casino-container {
    padding: 10px;
  }

  .game-grid {
    grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    gap: 10px;
  }

  .game-card img {
    height: 120px;
  }

  .game-title {
    font-size: 16px;
  }

  .login-area {
    right: 10px;
    /* 모바? 메뉴 버튼? 겹치? ??? 조정 */
  }

  .footer-content {
    flex-direction: column;
    text-align: center;
  }

  .footer-section {
    margin-bottom: 30px;
    max-width: 100%;
  }

  .login-button {
    padding: 5px 8px;
    font-size: 14px;
  }

  .notice-popup-container {
    flex-direction: row;
    /* top: 50%; */
    max-height: 100vh;
    overflow-y: auto;
    width: 100%;
    /* overflow-y: auto; */
    /* overflow-x: hidden; */
    top: 0;
    flex-wrap: wrap;
  }

  .notice-popup {
    margin: 0 auto;
  }

  .login-area {
    right: 15px;
    /* ?? 조정 */
    gap: 5px;
    /* 버튼 간격 줄임 */
  }

  .login-button {
    padding: 6px 12px;
    font-size: 14px;
  }

  .user-info-bar {}

  .user-info-content {
    flex-direction: row;
    gap: 5px;
    text-align: center;
    justify-content: center;
  }

  .user-info-content span {
    margin-right: 10px;
  }
}


.casino-container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 40px 20px;
  background: #1a1a1a;
  color: #fff;
}

/* ŸƲ Ÿ */
.title_wrap {
  margin-bottom: 40px;
  ` text-align: center;
}

.title {
  font-size: 32px;
  font-weight: 700;
  color: #ffd700;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.title:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 60px;
  height: 3px;
  background: #ffd700;
}


/* ִϸ̼ ȿ */
[data-animation="fadeInUp"] {
  animation: fadeInUp 0.3s ease-out;
}

[data-animation="fadeInRight"] {
  animation: fadeInRight 0.3s ease-out;
}

@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInRight {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

 

/* ̼ Ÿ */
.pageing_wrap {
  margin-top: 30px;
  text-align: center;
}

.pageing_table {
  width: 100%;
}

.pageing_table td {
  padding: 8px 15px;
  color: #ccc;
  cursor: pointer;
  transition: all 0.3s ease;
  background: #000;
  line-height: 40px;
}

.pageing_table td:hover {
  color: #ffd700;
}