html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
b,
u,
i,
center,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td,
article,
aside,
canvas,
details,
embed,
figure,
figcaption,
footer,
header,
hgroup,
menu,
nav,
output,
ruby,
section,
summary,
time,
mark,
audio,
video {
  margin: 0;
  padding: 0;
  border: 0;
  font-size: 100%;
  font: inherit;
  vertical-align: baseline;
}
article,
aside,
details,
figcaption,
figure,
footer,
header,
hgroup,
menu,
nav,
section {
  display: block;
}
body {
  line-height: 1;
}
ol,
ul {
  list-style: none;
}
blockquote,
q {
  quotes: none;
}
blockquote:before,
blockquote:after,
q:before,
q:after {
  content: "";
  content: none;
}
table {
  border-collapse: collapse;
  border-spacing: 0;
}

button {
  background: inherit;
  border: none;
  border-radius: 0;
  padding: 0;
  cursor: pointer;
}

a {
  color: inherit;
  text-decoration: none;
  outline: none;
}

a:visited {
  text-decoration: none;
  color: inherit;
}

input {
  -webkit-appearance: none; /* Safari and Chrome */
  -moz-appearance: none; /* Firefox */
  appearance: none;
}

input[type="number"]::-webkit-inner-spin-button,
input[type="number"]::-webkit-outer-spin-button {
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
}

input:focus {
  outline: none;
}

* {
  box-sizing: border-box;
}

html {
  font-family: Pretendard, sans-serif;
  word-break: keep-all;
}

#title {
  font-size: 40px;
  font-weight: 700;
  text-align: center;
  margin-top: 20px;
  margin-bottom: 20px;
  color: #333;
  font-family: 'Arial', sans-serif;
  animation: SizeChange 3s infinite;
  position: sticky;
  top: 0;
}

#header {
  background-color: #007BFF;
  width: 100%;
  height: 120px;
  position: sticky;
  top: 0;
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

#content {
  display: flex;             
  overflow-x: auto;           
  gap: 16px;                 
  padding: 20px;
  max-width: 85%; 
  margin: auto;
}

#content > div {
  flex: 0 0 calc(33.333% - 16px);  
  min-width: 200px;              
  scroll-snap-align: start;      
  line-height: 1.6;
  color: #000606;
  font-family: 'Georgia', serif;
  height: 350px;
  border: 1px solid #ddd;
  padding: 15px;
  border-radius: 8px;
  background-color: #f9f9f9;
  box-sizing: border-box;
}

body {
  margin: 0;
  background-color: #000;
  color: #fff;
  font-size: 16px;
  line-height: 24px;
}

main {
  margin-bottom: 100px;
}

button {
  border: #ffffff 2px solid;
  background-color: #000;
  color: #ffffff;
  width: fit-content;
  background-color: #18181b;
  border-radius: 16px;
  padding: 8px 16px;
  font-weight: 500;
  font-size: 16px;
  line-height: 24px;
}

button:hover {
  background-color: #ffffff;
  color: #000000;
  cursor: pointer;
}

button:active {
  background-color: #8c8993;
  border-color: #8c8993;
}

.info,
.time {
  flex-basis: 300px;
}

.info {
  display: flex;
  align-items: center;

  gap: 16px;
}

.current {
  border-radius: 14px;
}

.title {
  color: #d9d9d9;
}

section {
  max-width: 1120px;
  width: 100%;
  margin: 80px auto;
  padding: 0 36px;
}

section#start {
  margin-top: 20px;
}

.section-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
  margin: 40px 0;
}

.interests {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
}

.interest {
  flex-basis: 23%;
}

.interest-thumb {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
  transition: transform 0.3s;
}

.interest-thumb-image {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
}

.interest-thumb:hover {
  transform: scale(1.1);
  cursor: pointer;
}

.interest-title {
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
  margin: 16px 0 8px;
  text-align: center;
}

.stations {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.station {
  width: 100%;
  aspect-ratio: 1;
  position: relative;
}

.station-image {
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transition: opacity 0.5s;
}

.station .station-description {
  width: 100%;
  position: absolute;
  font-weight: 500;
  font-size: 24px;
  line-height: 34px;
  text-align: center;
  top: 50%;
  transform: translateY(-50%);
  opacity: 0;
  transition: opacity 0.5s;
}

.station:hover {
  cursor: pointer;
}

.station:hover .station-image {
  opacity: 0.5;
}

.station:hover .station-description {
  opacity: 1;
}

.charts {
  display: grid;
  grid-template-columns: repeat(1, 1fr);
  grid-auto-rows: 160px;
  list-style: none;
  padding: 0;
  margin: 0;
  gap: 32px;
}

.charts-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin: 32px 0;
}

.charts-title {
  margin: 0;
}

.charts-see-all {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  text-decoration: none;
  color: #d9d9d9;
}

.chart {
  width: 100%;
  display: flex;
  align-items: center;
  gap: 30px;
}

.chart-info {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.chart-rank {
  display: flex;
  align-items: center;
  gap: 8px;
}

.chart-number {
  display: flex;
  justify-content: center;
  align-items: center;
  border-radius: 50%;
  width: 40px;
  height: 40px;
  background: #1a1a1a;
  font-weight: 700;
  font-size: 24px;
  line-height: 29px;
}

.chart-cover {
  flex: 0 0;
  width: 160px;
  height: 160px;
  position: relative;
}

.chart-cover-image {
  inset: 0;
  border-radius: 16px;
  width: 160px;
  height: 160px;
}

.chart-cover-play-effect {
  width: 37px;
  height: 30px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}

.chart-cover-play-effect .bar {
  position: absolute;
  width: 7px;
  bottom: 0;
  background-color: #ffffff;
  transform-origin: bottom;
  border-radius: 2px;
  display: none;
}

.chart-cover-play-effect .bar1 {
  height: 60%;
}

.chart-cover-play-effect .bar2 {
  height: 90%;
  left: 10px;
}

.chart-cover-play-effect .bar3 {
  height: 70%;
  left: 20px;
}

.chart-cover-play-effect .bar4 {
  height: 100%;
  right: 0;
}

@keyframes play-effect {
  0% {
    transform: scaleY(0.1);
  }
  50% {
    transform: scaleY(1);
  }
  100% {
    transform: scaleY(0.1);
  }
}

.chart-cover:hover .bar {
  display: block;
  animation: play-effect infinite backwards ease-out;
}

.chart-cover:hover .bar1 {
  animation-duration: 1.5s;
}

.chart-cover:hover .bar2 {
  animation-duration: 1s;
  animation-delay: 0.1s;
}

.chart-cover:hover .bar3 {
  animation-duration: 0.7s;
  animation-delay: 0.2s;
}

.chart-cover:hover .bar4 {
  animation-duration: 1s;
  animation-delay: 0.3s;
}

.chart-title {
  font-weight: 700;
  font-size: 32px;
  line-height: 38px;
}

.chart-artist {
  font-weight: 500;
  font-size: 24px;
  line-height: 29px;
  color: #868686;
}

.wrap {
  margin: 0 auto;
  padding: 15px;
  max-width: 1080px;
  width: 100%;
}

header {
  position: sticky;
  top: 0;
  z-index: 1;
  padding: 18px;
  background-color: #000000;
  font-weight: 700;
}

.chart-cover {
  width: 100%;
  height: 100%;
  border-radius: 16px;
  transition: opacity 0.5s;
}

.chart-cover:hover .chart-cover-image {
  opacity: 0.5;
}

#introduction {
  font-size: large;
  line-height: 1.8;
}

nav{
  margin-left:auto
}

.nav-list{
  display:flex;
  gap:12px;
  align-items:center
}

.nav-list a{
  padding:8px 12px;
  border-radius:10px;
  font-weight:600;
  color:#cfcfd3
}

.nav-list a:hover,.nav-list a.active{
  background:rgba(255,255,255,0.06);
  color:#fff
}

.nav-container {
  position: fixed;    
  top: 0;
  left: 0;
  width: 100%;
  z-index: 1000;

  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(12px);     

  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding: 12px 40px;

  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand {
  font-size: 1.2rem;
  font-weight: bold;
  color: #fff; 
  text-decoration: none;
}

.nav-list {
  display: flex;
  gap: 1.5rem;
  list-style: none;
}

.nav-list a {
  text-decoration: none;
  color: #fff;
  font-weight: 500;
}

.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 24px;
  margin-top: 24px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  background: #18181b;
  border-radius: 16px;
  padding: 20px;
  text-decoration: none;  
  color: inherit;         
  transition: all 0.3s ease;
}

.contact-card:hover {
  background: #242428;
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
  transform: translateY(-4px);
  cursor: pointer;
}

.contact-title {
  font-size: 20px;
  font-weight: 600;
  margin-bottom: 8px;
}

.muted {
  font-size: 16px;
  color: #e1dfe5;
  margin-bottom: 12px;
}

.contact-actions {
  margin-top: auto;
}

.btn {
  display: inline-block;
  padding: 8px 16px;
  border-radius: 12px;
  background: #007bff;
  color: #fff;
  font-weight: 500;
  font-size: 14px;
  text-align: center;
  transition: background 0.3s ease, transform 0.2s ease;
}

.btn:hover {
  background: #3399ff;
  transform: scale(1.05);
}

#backToTop{
  width: 100%;
  bottom:30px;
  z-index:10;
  transition:opacity .3s,visibility .3s;
  opacity:.7
}