@import url('https://fonts.googleapis.com/css2?family=Noto+Sans+KR:wght@400;700&display=swap');

.latest-lotto {
  margin-top: 50px;
  padding-top: 30px;
  border-top: 1px solid #ddd;
}

.ball.bonus {
  background-color: #444;
}

body {
  margin: 0;
  padding: 0;
  background-color: #f2f4f7;
  font-family: 'Noto Sans KR', sans-serif;
  color: #1e1e1e;
}


.main-content {
  max-width: 600px;
  margin: 80px auto;
  padding: 40px;
  background: #fff;
  border-radius: 20px;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.05);
  text-align: center;
}

/* ¸ÞÀÎ °øÅë ·¹ÀÌ¾Æ¿ô */
.container {
  max-width: 600px;
  margin: 80px auto;
  background: #ffffff;
  padding: 48px 40px;
  border-radius: 24px;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.08);
  text-align: center;
}

/* Á¦¸ñ ½ºÅ¸ÀÏ */
h2 {
  font-size: 26px;
  font-weight: 700;
  margin-bottom: 32px;
  color: #1a1a1a;
}

/* º»¹® ¹®´Ü */
p {
  font-size: 18px;
  margin-bottom: 28px;
  color: #333;
}

/* ±âº» ¹öÆ° */
.btn {
  display: inline-block;
  padding: 14px 28px;
  font-size: 16px;
  font-weight: 500;
  border: none;
  border-radius: 12px;
  text-decoration: none;
  margin: 8px;
  transition: all 0.3s ease;
}

/* ¹öÆ° »ö»ó */
.btn-primary {
  background-color: #1c2e4a;
  color: white;
}
.btn-primary:hover {
  background-color: #2f4c7e;
}

.btn-secondary {
  background-color: #e0e0e0;
  color: #333;
}
.btn-secondary:hover {
  background-color: #c5c5c5;
}

/* ·Î¶Ç °ø ½ºÅ¸ÀÏ */
.lotto-balls {
  display: flex;
  justify-content: center;
  gap: 16px;
  flex-wrap: wrap;
  margin-bottom: 32px;
}

.ball {
  width: 60px;
  height: 60px;
  line-height: 60px;
  border-radius: 50%;
  background: linear-gradient(135deg, #1c2e4a, #2f4c7e);
  color: white;
  font-size: 20px;
  font-weight: bold;
  box-shadow: 0 4px 8px rgba(0,0,0,0.1);
}

/* Header ½ºÅ¸ÀÏ */
.site-header {
  background-color: #1c2e4a;
  padding: 20px 0;
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.08);
}

.header-container {
  max-width: 1000px;
  margin: 0 auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 20px;
}

.logo {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  text-decoration: none;
}

.nav .nav-link {
  color: #ffffff;
  margin-left: 20px;
  font-size: 16px;
  text-decoration: none;
  transition: color 0.3s;
}

.nav .nav-link:hover {
  color: #a3c5ff;
}

/* Footer ½ºÅ¸ÀÏ */
.site-footer {
  background-color: #f2f4f7;
  padding: 30px 0;
  text-align: center;
  font-size: 14px;
  color: #777;
  margin-top: 80px;
}

.site-footer a {
  color: #777;
  text-decoration: none;
  margin: 0 8px;
}

.site-footer a:hover {
  text-decoration: underline;
}


/* ·Î±×ÀÎ */

@media (max-width: 480px) {
  .login-container {
    margin: 40px 20px;
    padding: 30px 20px;
  }

  .login-container h2 {
    font-size: 22px;
  }

  .login-container input[type="text"],
  .login-container input[type="password"] {
    font-size: 14px;
    padding: 10px 12px;
  }

  .login-btn {
    font-size: 16px;
    padding: 12px;
  }

  .extra-links {
    font-size: 12px;
  }
}

.ball {
  width: 48px;
  height: 48px;
  line-height: 48px;
  border-radius: 50%;
  text-align: center;
  font-weight: bold;
  font-size: 18px;
  margin: 4px;
  color: white;
  display: inline-block;
}

.ball.red { background: #e74c3c; }
.ball.orange { background: #f39c12; }
.ball.yellow { background: #f1c40f; color: #000; }
.ball.green { background: #27ae60; }
.ball.blue { background: #2980b9; }
.ball.bonus { background: #7f8c8d; }


/* ÀüÃ¼ ¹è°æ ¹× ÆùÆ® */
body {
  background: #f9fafc;
  font-family: 'Noto Sans KR', sans-serif;
  color: #333;
  margin: 0;
  padding: 0;
}

/* ÄÁÅ×ÀÌ³Ê */
.container {
  max-width: 420px;
  margin: 60px auto 100px;
  background: #fff;
  padding: 40px 30px;
  border-radius: 12px;
  box-shadow: 0 8px 20px rgba(0,0,0,0.1);
}

/* Á¦¸ñ */
h2 {
  font-size: 28px;
  font-weight: 700;
  color: #222;
  text-align: center;
  margin-bottom: 30px;
}

/* Æû ÇÊµå ÀüÃ¼ ½ºÅ¸ÀÏ */
form label {
  display: block;
  font-weight: 600;
  margin-bottom: 8px;
  color: #555;
  font-size: 14px;
}

form input[type="text"],
form input[type="email"],
form input[type="password"],
form input[type="date"] {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 20px;
  border: 1.8px solid #ddd;
  border-radius: 8px;
  font-size: 15px;
  transition: border-color 0.25s ease;
}

form input[type="text"]:focus,
form input[type="email"]:focus,
form input[type="password"]:focus,
form input[type="date"]:focus {
  border-color: #1c2e4a;
  outline: none;
}

/* ¾à°ü µ¿ÀÇ ¿µ¿ª */
form label input[type="checkbox"] {
  margin-right: 8px;
  transform: scale(1.2);
  vertical-align: middle;
}

form label a {
  color: #1c2e4a;
  text-decoration: underline;
  transition: color 0.3s ease;
}

form label a:hover {
  color: #2f4c7e;
}

/* ¿À·ù ¸Þ½ÃÁö ¹Ú½º */
.alert-danger {
  background: #ffe6e6;
  color: #b00020;
  border-radius: 8px;
  padding: 14px 18px;
  margin-bottom: 25px;
  font-size: 14px;
  line-height: 1.5;
}

/* È¸¿ø°¡ÀÔ ¹öÆ° */
button.btn-primary {
  width: 100%;
  background-color: #1c2e4a;
  color: white;
  padding: 14px 0;
  border: none;
  border-radius: 10px;
  font-size: 18px;
  font-weight: 700;
  cursor: pointer;
  transition: background-color 0.3s ease;
}

button.btn-primary:hover {
  background-color: #2f4c7e;
}

/* ÇÏ´Ü ·Î±×ÀÎ ¸µÅ© */
.container p {
  margin-top: 28px;
  font-size: 14px;
  color: #666;
  text-align: center;
}

.container p a {
  color: #1c2e4a;
  font-weight: 600;
  text-decoration: none;
}

.container p a:hover {
  text-decoration: underline;
}

/* ¹ÝÀÀÇü */
@media (max-width: 480px) {
  .container {
    margin: 40px 20px 80px;
    padding: 30px 20px;
  }

  h2 {
    font-size: 24px;
  }

  button.btn-primary {
    font-size: 16px;
    padding: 12px 0;
  }
}


