.container {
  display: flex;
  min-height: 100vh;
}

.sidebar {
  background-color: #1c1c1c;
  padding: 20px 12px;
  box-sizing: border-box;
  flex-shrink: 0;
  flex-basis: 240px; /* 데스크탑 기준 */
  width: 100%;
  max-width: 240px;
  transition: all 0.3s ease-in-out;
}

.sidebar .logo {
  font-size: 1.8rem;
  font-weight: bold;
  color: gold;
  text-align: center;
  margin-bottom: 20px;
}

.sidebar .profile {
  text-align: center;
  margin-bottom: 20px;
}

.sidebar .profile img {
  width: 80px;
  border-radius: 50%;
  margin: 0 auto;
}

.sidebar .btns button {
  width: 100%;
  padding: 10px;
  margin-bottom: 10px;
  font-weight: bold;
  border: none;
  cursor: pointer;
}

.dashboard-menu {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 10px;
  padding: 0;
  list-style: none;
  max-width: 400px;
  margin: 0 auto;
}

.dashboard-menu li {
  background: #303030;
  border-radius: 16px;
  text-align: center;
  color: white;
  font-size: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  aspect-ratio: 1 / 1; /* 정사각형 유지 */
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  cursor: pointer;
}

.dashboard-menu li i {
  font-size: 25px;
  margin-bottom: 10px;
}

.dashboard-menu li:hover {
  transform: translateY(-4px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);
}

.header-btns {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.btn-login {
  background: gold;
}

.btn-register {
  background: #f04eae;
  color: white;
}

.side-menu {
  background-color: #2b2b2b;
  border-radius: 16px;
  padding: 12px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  width: 100%;
  max-width: 360px;
  margin: 0 auto;
  margin-top: 10px;
}

.side-menu a {
  display: flex;
  align-items: center;
  padding: 12px 14px;
  color: white;
  text-decoration: none;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);

  transition: background 0.3s ease;
}

/* 🔥 활성화 상태 스타일 */
.side-menu a.active {
  background: linear-gradient(135deg, #fce045, #e3c000);
  color: #000;
  font-weight: bold;
  box-shadow: 0 4px 12px rgba(252, 224, 69, 0.3);
  transform: scale(1.02);
  border-radius: 16px;
}

.side-menu a:last-child {
  border-bottom: none;
}

.side-menu a i {
  font-size: 20px;
  width: 28px;
  text-align: center;
  margin-right: 10px;
}

.side-menu a span {
  font-size: 16px;
  white-space: nowrap;
}

.side-menu a:hover {
  color: #e0b13d;
}

.side-menu a.active:hover {
  color: #000;
}

/* Responsive */
@media (max-width: 480px) {
  .side-menu {
    padding: 10px;
    border-radius: 12px;
  }

  .side-menu a {
    padding: 10px;
  }

  .side-menu a span {
    font-size: 15px;
  }

  .side-menu a i {
    font-size: 18px;
    width: 24px;
  }
}

.side-bottom-time {
  background-color: #171717;
  color: #717171;
  font-size: 14px;
  padding: 10px 16px;
  border-radius: 10px;
  display: flex;
  align-items: center;
  gap: 10px;
  width: fit-content;
  margin: 10px auto;
  width: 100%;
  height: 45px;
}

.side-bottom-time i {
  font-size: 16px;
  opacity: 0.6;
}

/* main에서 sidebar 폭 제외한 나머지 차지 */
.main {
  width: calc(100% - 240px);
  display: flex;
  flex-direction: column;
}

.header {
  background-color: #000;
  padding: 0 10px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 56px;
}

.main-content {
  padding: 10px 15px;
}

/* Swiper 배너 크기 */
/* Swiper 배너 영역 */
.banner {
  width: 100%;
  border-radius: 10px;
  overflow: hidden;
  position: relative;
  margin: 10px 0;
}

/* Swiper 구조 */
.swiper {
  width: 100%;
  height: auto;
}

/* 슬라이드 이미지 */
.swiper-slide img {
  width: 100%;
  height: auto;
}

/* pagination 커스텀 */
.swiper-pagination {
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  justify-content: center;
  z-index: 10;
}

.swiper-pagination-bullet {
  width: 14px !important;
  height: 14px !important;
  background-color: #ffcc33 !important;
  opacity: 0.5 !important;
  margin: 0 5px !important;
  border-radius: 50% !important;
}

.swiper-pagination-bullet-active {
  background-color: #ff9900 !important;
  opacity: 1 !important;
}

.game-section {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
}

.game-card {
  background-color: #222;
  border-radius: 10px;
  width: calc(50% - 10px);
  box-sizing: border-box;
  overflow: hidden;
  text-align: center;
  position: relative;
  cursor: pointer;
  transition: transform 0.4s ease, box-shadow 0.4s ease;
}

.game-card:hover {
  transform: scale(1.02);
  box-shadow: 0 10px 30px rgba(255, 215, 0, 0.3); /* gold-like glow */
}

.game-tit {
  position: absolute;
  top: 60%;
  left: 50%;
  transform: translate(-50%, -50%);
  font-size: 24px;
  font-weight: bold;
  color: #fff;
  opacity: 0.9;
  transition: top 0.4s ease, opacity 0.4s ease;
}

.game-card:hover .game-tit {
  top: 50%;
  opacity: 1;
}

.game-card img {
  width: 100%;
  height: auto;
}

/* 햄버거 버튼 */
.hamburger {
  display: none;

  z-index: 1001;
  background: #222;
  border: none;
  color: #fff;
  font-size: 24px;
  padding: 10px;
  border-radius: 4px;
  cursor: pointer;
}

/* sidebar 닫기 버튼 */
.close-sidebar {
  display: none;
  background: transparent;
  border: none;
  color: #fff;
  font-size: 20px;
  margin-bottom: 20px;
  float: right;
  cursor: pointer;
}

.notice-icon {
  margin-right: 15px;
  color: gold;
  font-size: 20px;
  flex-shrink: 0;
}

/* 공지사항 */
.notice-wrapper {
  display: flex;
  align-items: center;
  padding: 10px 20px;
  overflow: hidden;
  white-space: nowrap;
  font-size: 16px;
}

.notice-icon {
  margin-right: 15px;
  color: gold;
  font-size: 20px;
  flex-shrink: 0;
}

.notice-track {
  flex-grow: 1;
  overflow: hidden;
}

.notice-list span {
  display: inline-block;
  margin-right: 60px;
  cursor: pointer;
}

/* 공지사항 끝*/

.swiper-section {
  margin: 30px auto;

  color: #fff;
  position: relative;
}

.swiper-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
}

.swiper-nav-buttons {
  display: flex;
  gap: 8px;
}

.swiper-nav-buttons button {
  position: static;
  width: 32px;
  height: 32px;
  color: #717171;
  cursor: pointer;
  background: #171717;
  border: 1px solid #717171;
  border-radius: 50%;
  transform: translate(0);
  transition: 0.2s;
  display: flex;
  align-items: center;
  justify-content: center;
}

.swiper-nav-buttons button:hover {
  color: #fff;
  border-color: #fff;
}

@media (max-width: 768px) {
  .swiper-nav-buttons button {
    font-size: 18px;
  }
}

.swiper-section h4 {
  font-size: 16px;
  margin-bottom: 20px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: gold;
  border: 1px solid gold;
  border-radius: 999px;
  padding: 10px 16px;
}

.swiper-slide-popular {
  background: transparent;
  text-align: center;
  overflow: hidden;
  position: relative;
}

.game-list {
  cursor: pointer;
}

.thumb-wrapper {
  position: relative;
  border-radius: 12px;
  overflow: hidden;
}

.thumb-image {
  width: 100%;
  height: auto;
  display: block;
  transition: transform 0.4s ease;
}

.hover-overlay {
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.45);
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;

  transition: opacity 0.4s ease, transform 0.4s ease;
}

.play-button {
  width: 80px;
  height: 80px;
  object-fit: contain;
  border-radius: 50%;
  transition: transform 0.3s ease;
}

.thumb-wrapper:hover .thumb-image {
  transform: scale(1.05);
}

.thumb-wrapper:hover .hover-overlay {
  opacity: 1;
  transform: scale(1);
}

.thumb-wrapper:hover .play-button {
  transform: scale(1.1);
}

.thumb-wrapper img {
  width: 100%;
  border-radius: 12px;
  display: block;
}

.favorite-icon {
  position: absolute;
  top: 8px;
  right: 8px;
  background: #0009;
  border-radius: 50%;
  width: 24px;
  height: 24px;
  color: white;
  font-size: 12px;
  display: flex;
  justify-content: center;
  align-items: center;
}

.game-info {
  margin-top: 10px;
  color: white;
}

.game-brand {
  display: flex;
  align-items: center;
  justify-content: start;
  gap: 6px;
  font-weight: 500;
  font-size: 14px;
  padding: 5px;
}

.brand-icon-wrapper {
  position: relative;
  width: 25px;
  height: 25px;
  border-radius: 50%;
  background: #222;
}

.brand-icon-wrapper::after {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  width: calc(100% + 4px);
  height: calc(100% + 4px);
  border: 1px solid #d4af37; /* 금색 테두리 */
  border-radius: 50%;
  box-sizing: border-box;
}

.brand-icon {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 50%;
}

.game-provider {
  font-size: 12px;
  color: #aaa;
  margin-top: 4px;
}

/* Custom arrows */
.custom-arrow {
  background: #222 !important;
  border: 1px solid #555 !important;
  color: #fff !important;
  width: 40px !important;
  height: 40px !important;
  border-radius: 50% !important;
  top: 40% !important;
  transform: translateY(-50%) !important;
  display: flex !important;
  justify-content: center !important;
  align-items: center !important;
  position: absolute !important;
  z-index: 9999 !important;
  cursor: pointer !important;
}

.swiper-button-prev.custom-arrow {
  left: -20px;
}

.swiper-button-next.custom-arrow {
  right: -20px;
}

.card_list_wrap {
  margin: 20px 0;
}

.card_list_wrap img {
  width: 100%;
}
/* footer */
.footer {
  background-color: #000; /* 배경 색상 */
  padding: 20px 0;
  text-align: center;
  color: #fff;
  font-size: 14px;
  position: relative;
  border-top: 1px solid #202020;
}

.footer-copy {
  margin: 0;
  font-weight: 400;
}
/* footer 끝*/

@media (max-width: 768px) {
  .custom-arrow {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

@media (max-width: 768px) {
  .custom-arrow {
    width: 32px;
    height: 32px;
    font-size: 12px;
  }
}

/* Responsive */
@media (max-width: 768px) {
  .swiper-button-prev.custom-arrow,
  .swiper-button-next.custom-arrow {
    display: none;
  }
}

@media (max-width: 1024px) {
  .game-card {
    width: calc(33.333% - 16px);
  }
}

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

  .sidebar {
    position: fixed;
    top: 0;
    left: -240px;
    height: 100%;
    z-index: 1200;
    overflow-y: auto;
  }

  .sidebar.active {
    left: 0;
  }

  .close-sidebar {
    display: block;
  }

  .container {
    flex-direction: column;
  }

  .main {
    width: 100%;
  }

  .game-card {
    width: calc(50% - 10px);
  }
  .game-tit {
    font-size: 18px;
    font-weight: bold;
  }

  .dashboard-menu li i {
    font-size: 21px;
  }
}

@media (max-width: 480px) {
  .game-card {
    width: 100%;
  }
}

/* 게임 공통 */
.game-layout {
  display: flex;
  align-items: flex-start;
  gap: 2rem;

  flex-wrap: wrap;
}

.game-card-wrap {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  flex: 1 1 0%;
  gap: 2.5rem;
}

/* 고정 패널 */
.game-fixed-panel {
  position: sticky;
  top: 1rem;
  width: 300px;
  background: #1c1c1c;
  border-radius: 16px;
  color: #fff;
  flex-shrink: 0;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.4);
}

.game-fixed-panel > h3 {
  font-size: 24px;
  font-weight: 600;
  text-transform: uppercase;
  text-shadow: 0 4px 3px rgba(0, 0, 0, 0.85);
  margin-bottom: 8px;
}

.game-fixed-panel > p {
  line-height: 1.6;
  font-size: 16px;
}
.jackpot-img {
  width: 100%;
  border-radius: 8px;
  margin-bottom: 1rem;
}

/* 반응형 */
@media (max-width: 1024px) {
  .game-fixed-panel {
    position: static;
    width: 100%;
    margin-top: 2rem;
  }

  .game-fixed-panel > h3 {
    font-size: 20px;
    font-weight: 600;
    text-transform: uppercase;
    text-shadow: 0 4px 3px rgba(0, 0, 0, 0.85);
    margin-bottom: 5px;
  }

  .game-fixed-panel > p {
    line-height: 1.6;
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .game-layout {
    flex-direction: column;
  }
  .game-card-wrap {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
    gap: 1.5rem;
    width: 100%; /* 전체 너비 차지 */
    box-sizing: border-box;
  }
}

@media (max-width: 480px) {
  .game-card-wrap {
    display: grid;
    grid-template-columns: 1fr; /* 카드 하나씩 줄 세우기 */
    gap: 1.5rem;
    width: 100%; /* 전체 너비 차지 */
    box-sizing: border-box;
  }
}

.category-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  flex-wrap: wrap; /* 모바일 대응 */
  margin: 15px 0 25px;
  gap: 1rem;
}

.category-buttons {
  display: flex;
  gap: 0.5rem;
  flex-wrap: wrap;
}

.category-btn {
  border: 1px solid #333;
  background: #1c1c1c;
  color: white;
  padding: 0.6rem 1.2rem;
  border-radius: 999px;
  font-weight: 600;
  transition: 0.3s ease;
  cursor: pointer;
}

.category-btn.active {
  background: linear-gradient(to bottom, #ffe169, #ffcc33);
  color: black;
  box-shadow: 0 0 8px #ffe169aa;
  border-box: box-sizing;
}

/* 검색창 */
.search-bar {
  display: flex;
  align-items: center;
  border: 1px solid rgba(255, 215, 0, 0.4);
  border-radius: 999px;
  padding: 0.5rem 1rem;
  background-color: #1a1a1a;
  color: #ffe045;
  gap: 0.5rem;
  max-width: 280px;
  width: 100%;
  flex-shrink: 0;
}

.search-bar i {
  color: #ffe045;
  font-size: 1.2rem;
}

.search-bar input {
  background: transparent;
  border: none;
  outline: none;
  color: #ffe045;
  font-size: 1rem;
  flex: 1;
  min-width: 0;
}

/* 반응형 조정 */
@media (max-width: 768px) {
  .category-header {
    flex-direction: column;
    align-items: stretch;
  }

  .search-bar {
    width: 100%;
  }
}

.notice-container {
  display: flex;
  flex-direction: row;
  height: 100vh;
}

.notice-sidebar {
  background-color: #2b2b2b;
  padding: 1rem;
  width: 300px;
  min-width: 200px;
  box-sizing: border-box;
  border-right: 2px solid #ffd740;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.notice-sidebar .notice-btn {
  border: none;
  color: #000;
  padding: 0.5rem;

  font-size: 1rem;
  border-radius: 20px;
  cursor: pointer;
  text-align: left;
}

.notice-sidebar .notice-btn.active {
  background-color: #ffd740;
  color: #000;
  font-weight: bold;
}

.notice-sidebar .notice-btn {
  background: none;
  color: #fff;
  padding: 1rem;
  font-size: 0.95rem;
}

.notice-content {
  flex: 1;
  padding: 2rem;
  display: flex;
  flex-direction: column;
  justify-content: start;
  align-items: center;
}

.notice-content img {
  width: 180px;
  height: auto;
  margin-bottom: 1rem;
}

.notice-content-text {
  flex: 1;
  background-color: #1e1e1e;
  padding: 32px;
  border-radius: 12px;
  line-height: 1.9;
  font-size: 18px;
  color: #eaeaea;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  max-width: 900px;
  margin: 0 auto;
}

.notice-content-text h1,
.notice-content-text h2,
.notice-content-text h3 {
  color: #5ab4ff;
  margin-top: 0;
  font-weight: bold;
  line-height: 1.4;
}

.notice-content-text h1 {
  font-size: 2rem;
  margin-bottom: 1rem;
}

.notice-content-text h2 {
  font-size: 1.75rem;
  margin-top: 2rem;
}

.notice-content-text h3 {
  font-size: 1.5rem;
  margin-top: 1.5rem;
}

.notice-content-text p {
  margin: 16px 0;
}

.notice-content-text a {
  color: #4ac8ff;
  text-decoration: underline;
  font-weight: 500;
}

.notice-content-text ul,
.notice-content-text ol {
  margin: 1rem 0 1rem 1.5rem;
  padding-left: 1rem;
}

.notice-content-text ul {
  list-style: disc;
}

.notice-content-text ol {
  list-style: decimal;
}

.notice-content-text li {
  margin: 0.5rem 0;
}

.notice-content-text strong {
  color: #ffffff;
  font-weight: 600;
}

.notice-content-text code {
  background-color: #2c2c2c;
  color: #f3f3f3;
  padding: 4px 6px;
  border-radius: 5px;
  font-family: 'Courier New', monospace;
  font-size: 16px;
}

.notice-content-text blockquote {
  border-left: 4px solid #69f;
  background-color: #2a2a2a;
  padding: 12px 20px;
  margin: 20px 0;
  color: #ccc;
  font-style: italic;
}

@media (max-width: 768px) {
  .notice-content-text {
    padding: 24px 16px;
    font-size: 16px;
  }

  .notice-content-text h1 {
    font-size: 1.5rem;
  }

  .notice-content-text h2 {
    font-size: 1.3rem;
  }

  .notice-content-text h3 {
    font-size: 1.2rem;
  }

  .notice-content-text code {
    font-size: 14px;
  }
}

@media (max-width: 768px) {
  .notice-container {
    flex-direction: column;
  }
  .notice-sidebar {
    width: 100%;
    border-right: none;
    border-bottom: 2px solid #ffd740;
    flex-direction: row;
    overflow-x: auto;
  }
  .notice-sidebar .notice-btn {
    white-space: nowrap;
  }
}
/* 공통 스타일 */
.btns {
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 15px;
  width: 100%;
  max-width: 400px;
}

.btn {
  border: none;
  border-radius: 25px;
  font-weight: bold;
  cursor: pointer;
  transition: all 0.3s ease;
  padding: 15px 20px;
  font-size: 16px;
  text-align: center;
}

.btn i {
  margin-right: 8px;
}

/* 로그인 전 스타일 */
.login-btns {
  gap: 15px;
}

.btn-login {
  background-color: #FEED4A; /* 노란색 */
  color: #000;
  position: relative;
  overflow: hidden;
}

.btn-login:before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, #FEED4A, #FFD700, #FEED4A);
  background-size: 200% 200%;
  animation: glowing 2s ease-in-out infinite;
  opacity: 0.2;
  z-index: -1;
  border-radius: 30px;
}

.btn-register {
  background-color: #E163AD; /* 분홍색 */
  color: #fff;
  position: relative;
  overflow: hidden;
}

.btn-register:before {
  content: '';
  position: absolute;
  top: -10px;
  left: -10px;
  right: -10px;
  bottom: -10px;
  background: linear-gradient(45deg, #E163AD, #FF69B4, #E163AD);
  background-size: 200% 200%;
  animation: glowing 2s ease-in-out infinite alternate;
  opacity: 0.2;
  z-index: -1;
  border-radius: 30px;
}

@keyframes glowing {
  0% { background-position: 0% 50%; }
  100% { background-position: 100% 50%; }
}

.btn-login:hover, .btn-register:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0,0,0,0.3);
}

/* 로그인 후 스타일 */
.user-info-btns {
  background-color: rgba(30, 30, 30, 0.7);
  border-radius: 15px;
  padding: 20px;
  box-shadow: 0 5px 20px rgba(0,0,0,0.5);
}

.user-greeting {
  color: #fff;
  font-size: 18px;
  margin-bottom: 20px;
  text-align: center;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.user-greeting i {
  color: #FEED4A;
  font-size: 20px;
  margin-right: 8px;
  vertical-align: middle;
}

.username {
  color: #FEED4A;
  font-weight: bold;
}

/* 세로 정렬로 변경 */
.resources-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
  margin-bottom: 20px;
}

.resource-item {
  display: flex;
  flex-direction: row;
  justify-content: space-between;
  align-items: center;
  background-color: rgba(0,0,0,0.3);
  padding: 15px 20px;
  border-radius: 12px;
  box-shadow: 0 3px 10px rgba(0,0,0,0.2);
  position: relative;
  overflow: hidden;
}

.balance-item:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, #FEED4A, #FFD700);
}

.point-item:before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  height: 100%;
  width: 3px;
  background: linear-gradient(to bottom, #E163AD, #FF69B4);
}

.resource-label {
  color: #ccc;
  font-size: 16px;
  display: flex;
  align-items: center;
}

.resource-label i {
  margin-right: 8px;
  font-size: 18px;
}

.balance-item .resource-label i {
  color: #FEED4A;
  animation: sparkle 2s infinite alternate;
}

.point-item .resource-label i {
  color: #E163AD;
}

@keyframes sparkle {
  0% { opacity: 0.7; transform: scale(1); }
  100% { opacity: 1; transform: scale(1.2); }
}

@keyframes spin {
  0% { transform: rotate(0deg); }
  100% { transform: rotate(360deg); }
}

.resource-value {
  font-size: 22px;
  font-weight: bold;
  text-shadow: 0 2px 3px rgba(0,0,0,0.5);
  text-align: right;
}

.balance-value {
  color: #FEED4A;
  font-weight: bold;
  font-size: 16px;  
}

.point-value {
  color: #E163AD;
  font-weight: bold;
  font-size: 16px;    
}

.btn-logout {
  background-color: #444;
  color: #fff;
  margin-top: 10px;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.btn-logout:hover {
  background-color: #666;
  transform: translateY(-2px);
}

.btn-logout:after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 5px;
  height: 5px;
  background: rgba(255,255,255,0.3);
  opacity: 0;
  border-radius: 100%;
  transform: scale(1, 1) translate(-50%);
  transform-origin: 50% 50%;
}

.btn-logout:hover:after {
  animation: ripple 1s ease-out;
}

@keyframes ripple {
  0% {
    transform: scale(0, 0);
    opacity: 0.5;
  }
  100% {
    transform: scale(20, 20);
    opacity: 0;
  }
}

.mypage-container {
  background-color: #1e1e1e;
  color: #f0f0f0;

  padding: 20px;
  max-width: 960px;
  margin: 0 auto;
}

.mypage-section {
  background-color: #2a2a2a;
  border-radius: 12px;
  padding: 20px;
  margin-bottom: 30px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.5);
}

.mypage-section-title {
  font-size: 20px;
  font-weight: bold;
  color: #c9a857;
  margin-bottom: 20px;
  border-bottom: 1px solid #444;
  padding-bottom: 10px;
}

.mypage-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 16px;
}

.mypage-info-item {
  display: flex;
  flex-direction: column;
  background-color: #202020;
  padding: 12px;
  border-radius: 8px;
}

.mypage-label {
  font-size: 14px;
  color: #c9a857;
  margin-bottom: 7px;
}

.mypage-value {
  font-size: 15px;
  color: #f0f0f0;
  word-break: break-word;
}

.mypage-warning {
  color: #e74c3c;
  margin-top: 10px;
  font-size: 14px;
}

.mypage-input {
  background-color: #3a3a3a;
  border: 1px solid #555;
  padding: 8px 12px;
  color: #f0f0f0;
  border-radius: 6px;
  width: 100%;
  margin-top: 8px;
  outline: none;
}

@media (max-width: 600px) {
  .mypage-section-title {
    font-size: 18px;
  }

  .mypage-input {
    font-size: 14px;
  }
}

.mypage-form-group {
  margin-top: 20px;
}

.mypage-amount-buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(90px, 1fr));
  gap: 10px;
  margin-top: 12px;
}

.amount-btn {
  background-color: #1e1e2f;
  color: #fff;
  border: 1px solid #333;
  padding: 10px;
  border-radius: 6px;
  cursor: pointer;
  font-weight: bold;
  text-align: center;
}

.amount-btn:hover {
  background-color: #333;
}

.clear-btn {
  background-color: #ff007a;
  color: white;
  border: none;
}

.mypage-submit {
  margin-top: 30px;
  text-align: right;
}

.submit-btn {
  background-color: #ff007a;
  color: white;
  padding: 10px 24px;
  border: none;
  border-radius: 6px;
  font-size: 16px;
  cursor: pointer;
}