:root{
  --bg: #070A0F;
  --box: rgba(255,255,255,.06);
  --box2: rgba(255,255,255,.09);
  --border: rgba(255,255,255,.10);

  --text: rgba(255,255,255,.92);
  --muted: rgba(255,255,255,.62);
  --muted2: rgba(255,255,255,.45);

  --blue: #39BEF6;
  --blue2: #0093C2;

  --radius: 22px;
  --radius2: 16px;

  --shadow: 0 18px 70px rgba(0,0,0,.55);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

body{
  margin:0;
  min-height: 100vh;
  display:flex;
  flex-direction:column;

  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial;
  background: radial-gradient(1200px 600px at 20% 15%, rgba(57,190,246,.16), transparent 60%),
              radial-gradient(900px 500px at 75% 70%, rgba(0,147,194,.10), transparent 60%),
              var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

.container{
  max-width: 1120px;
  margin: 0 auto;
  padding: 34px 18px 70px;
  flex: 1 0 auto;
}

/* HEADER */
.header{
  position: sticky;
  top:0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: rgba(7,10,15,.55);
  border-bottom: 1px solid rgba(255,255,255,.06);
}

.header-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 16px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 16px;
}

.logo{
  display:flex;
  align-items:center;
  gap: 10px;
  text-decoration:none;
  color: var(--text);
}

.logo-dot{
  width: 10px;
  height: 10px;
  border-radius: 999px;
  background: var(--blue);
  box-shadow: 0 0 0 6px rgba(57,190,246,.10);
}

.logo-text{
  font-weight: 700;
  letter-spacing: .3px;
}

.header-nav{
  display:flex;
  align-items:center;
  gap: 10px;
  flex-wrap: wrap;
}

.header-link{
  appearance:none;
  border: 1px solid transparent;
  background: transparent;
  color: var(--muted);
  text-decoration:none;
  font-size: 14px;
  padding: 10px 12px;
  border-radius: 999px;
  transition: .18s ease;
  cursor:pointer;
}

.header-link:hover{
  color: var(--text);
  background: rgba(255,255,255,.05);
  border-color: rgba(255,255,255,.08);
}

.header-link.active{
  color: var(--text);
  background: rgba(57,190,246,.12);
  border-color: rgba(57,190,246,.18);
}

.header-login{
  color: var(--text);
  background: rgba(255,255,255,.06);
  border-color: rgba(255,255,255,.10);
}

.header-login:hover{
  background: rgba(255,255,255,.09);
}

/* HERO */
.hero{
  padding: 36px 0 24px;
}

.hero-box{
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.04));
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: var(--shadow);
  border-radius: var(--radius);
  padding: 28px 26px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 24px;
  overflow:hidden;
}

.hero-left{
  flex: 1;
  min-width: 260px;
}

.hero-right{
  width: 220px;
  flex: 0 0 auto;
}

.hero-top{
  margin:0 0 10px;
  color: var(--muted);
  font-size: 14px;
  letter-spacing: .15em;
}

.hero-title{
  margin:0;
  font-size: clamp(34px, 5vw, 58px);
  line-height: 1.05;
  letter-spacing: -0.02em;
}

.hero-subtitle{
  margin: 10px 0 22px;
  color: var(--muted);
  font-size: 16px;
}

.hero-image{
  width: 220px;
  height: 220px;
  border-radius: 999px;
  overflow:hidden;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
}

.hero-image img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

/* SOCIAL */
.socials{
  display:flex;
  gap: 10px;
  flex-wrap: wrap;
}

.social{
  text-decoration:none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  transition: .18s ease;
}

.social:hover{
  transform: translateY(-1px);
  border-color: rgba(57,190,246,.25);
  background: rgba(57,190,246,.08);
}

/* MUSIC */
.music{ margin-top: 18px; }

.music-box{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 22px 22px;
  box-shadow: 0 16px 60px rgba(0,0,0,.45);
}

.music-head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  margin-bottom: 14px;
}

.music-head h2{
  margin:0;
  font-size: 16px;
}

.music-live{
  font-size: 12px;
  padding: 6px 10px;
  border-radius: 999px;
  background: rgba(57,190,246,.14);
  border: 1px solid rgba(57,190,246,.20);
}

.music-content{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 18px;
  flex-wrap: wrap;
}

.music-left{
  display:flex;
  align-items:center;
  gap: 14px;
  min-width: 260px;
}

.music-cover{
  width: 56px;
  height: 56px;
  border-radius: 14px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.05);
  overflow:hidden;
  flex: 0 0 auto;
}

.music-cover img{
  width:100%;
  height:100%;
  object-fit: cover;
  display:block;
}

.music-meta{
  display:flex;
  flex-direction:column;
  gap: 3px;
}

.music-track{
  font-weight: 700;
  color: var(--text);
  font-size: 15px;
}

.music-artist{
  color: var(--muted);
  font-size: 13px;
}

.music-open{
  text-decoration:none;
  color: var(--text);
  font-size: 13px;
  font-weight: 600;
  padding: 10px 12px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: .18s ease;
}

.music-open:hover{
  background: rgba(255,255,255,.07);
}

/* NEWS */
.news{
  margin-top: 18px;
}

.news-head h2{
  margin:0;
  font-size: 18px;
}

.news-head p{
  margin: 6px 0 14px;
  color: var(--muted);
  font-size: 14px;
}

.news-grid{
  display:grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.news-item{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px 18px;
  transition: .18s ease;
}

.news-item:hover{
  transform: translateY(-2px);
  border-color: rgba(57,190,246,.18);
}

.news-open{
  width:100%;
  text-align:left;
  cursor:pointer;
}

.news-date{
  color: var(--muted2);
  font-size: 12px;
  margin: 0 0 8px;
}

.news-title{
  margin:0 0 8px;
  font-size: 16px;
}

.news-text{
  margin:0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.news-more{
  margin-top: 12px;
  display:flex;
  justify-content:flex-start;
}

.news-more-btn{
  display:inline-block;
  text-decoration:none;
  color: var(--text);
  font-size: 13px;
  font-weight: 700;
  padding: 12px 14px;
  border-radius: 999px;
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  transition: .18s ease;
}
.news-more-btn:hover{ background: rgba(255,255,255,.07); }

/* FOOTER */
.footer{
  margin-top:auto;
  border-top: 1px solid rgba(255,255,255,.06);
  background: rgba(7,10,15,.55);
  backdrop-filter: blur(16px);
}

.footer-inner{
  max-width: 1120px;
  margin: 0 auto;
  padding: 18px 18px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.footer-copy{
  margin:0;
  color: var(--muted);
  font-size: 13px;
}

.footer-links{
  display:flex;
  gap: 14px;
}

.footer-links a{
  color: var(--muted);
  text-decoration:none;
  font-size: 13px;
  transition:.18s ease;
}

.footer-links a:hover{
  color: var(--text);
}

/* MODAL */
.modal{
  position: fixed;
  inset:0;
  display:none;
  z-index: 100;
}

.modal.open{
  display:block;
}

.modal-backdrop{
  position:absolute;
  inset:0;
  background: rgba(0,0,0,.65);
  animation: fadeIn .18s ease forwards;
}

.modal-box{
  position:relative;
  width: min(520px, 92%);
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,12,18,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 90px rgba(0,0,0,.65);
  padding: 18px 18px 16px;
  animation: popIn .22s ease forwards;
}

@keyframes fadeIn{
  from{ opacity:0; }
  to{ opacity:1; }
}

@keyframes popIn{
  from{ opacity:0; transform: translateY(calc(-50% + 18px)) scale(.96); }
  to{ opacity:1; transform: translateY(-50%) scale(1); }
}

/* FORM */
.form{
  display:flex;
  flex-direction:column;
  gap: 12px;
}

.form label{
  display:flex;
  flex-direction:column;
  gap: 8px;
  color: var(--muted);
  font-size: 13px;
}

.form input,
.form textarea{
  border-radius: var(--radius2);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  padding: 12px 12px;
  outline:none;
  font-size: 14px;
  transition: .18s ease;
}

.form input:focus,
.form textarea:focus{
  border-color: rgba(57,190,246,.28);
  box-shadow: 0 0 0 4px rgba(57,190,246,.10);
}

.form-actions{
  display:flex;
  gap: 10px;
  margin-top: 6px;
}

.btn{
  border: 1px solid rgba(57,190,246,.22);
  background: rgba(57,190,246,.14);
  color: var(--text);
  padding: 12px 14px;
  border-radius: 999px;
  cursor:pointer;
  font-weight: 700;
  transition: .18s ease;
}

.btn:hover{
  transform: translateY(-1px);
  background: rgba(57,190,246,.18);
}

.btn-ghost{
  border-color: rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
}

.btn-ghost:hover{
  background: rgba(255,255,255,.07);
}

.form-hint{
  margin: 8px 0 0;
  color: var(--muted2);
  font-size: 12px;
}

.form-status{
  margin-top: 6px;
  font-size: 13px;
  color: var(--muted);
}

.modal-top{
  display:flex;
  align-items:flex-start;
  justify-content:space-between;
  gap: 10px;
  margin-bottom: 10px;
}

.modal-close{
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(255,255,255,.04);
  color: var(--text);
  width: 40px;
  height: 40px;
  border-radius: 14px;
  cursor:pointer;
  transition:.18s ease;
}

.modal-close:hover{
  background: rgba(255,255,255,.08);
}

/* MOBILE */
@media (max-width: 800px){
  .hero-box{ flex-direction: column; align-items:flex-start; }
  .hero-right{ width: 100%; }
  .hero-image{ width: 160px; height: 160px; }
  .news-grid{ grid-template-columns: 1fr; }
}

/* NEWS FIX */
.news-item{
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: var(--radius);
  padding: 18px 18px;
  transition: .18s ease;
  color: var(--text);
}

.news-item:hover{
  transform: translateY(-2px);
  border-color: rgba(57,190,246,.18);
}

.news-open{
  width: 100%;
  text-align: left;
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background: rgba(255,255,255,.04);
  border: 1px solid rgba(255,255,255,.08);
  color: var(--text);
}

.news-open *{
  color: inherit;
}

.news-title{
  margin: 0 0 8px;
  font-size: 16px;
  color: var(--text);
  font-weight: 700;
}

.news-text{
  margin: 0;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.55;
}

.news-read-more{
  display: block;
  margin-top: 10px;
  font-size: 12px;
  font-weight: 700;
  color: var(--text);
}

/* NEWS MODAL FIX */
.modal-box{
  position: relative;
  width: min(820px, 92%);
  max-height: 85vh;
  margin: 0 auto;
  top: 50%;
  transform: translateY(-50%);
  border-radius: var(--radius);
  border: 1px solid rgba(255,255,255,.10);
  background: rgba(10,12,18,.92);
  backdrop-filter: blur(16px);
  box-shadow: 0 20px 90px rgba(0,0,0,.65);
  padding: 18px 18px 16px;
  animation: popIn .22s ease forwards;
  overflow-y: auto;
}

#newsModalContent{
  white-space: pre-wrap;
  line-height: 1.7;
  font-size: 14px;
  color: var(--text);
  max-height: 62vh;
  overflow-y: auto;
  padding-right: 6px;
}
