* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background: #0b0b0b;
  color: white;
  font-family: Arial, sans-serif;
}

/* TOPBAR */

.topbar {
  height: 70px;
  background: #111;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 25px;
  border-bottom: 1px solid #222;
  position: sticky;
  top: 0;
  z-index: 999;
}

.logo {
  font-size: 28px;
  font-weight: bold;
  color: #ff0000;
}

.top-right input {
  background: #1a1a1a;
  border: none;
  padding: 10px;
  border-radius: 8px;
  color: white;
  width: 220px;
}

/* LAYOUT */

.layout {
  display: flex;
}

/* SIDEBAR */

.sidebar {
  width: 220px;
  background: #111;
  min-height: 100vh;
  padding: 20px;
  border-right: 1px solid #222;
  position: sticky;
  top: 70px;
}

.sidebar h3 {
  margin-bottom: 20px;
  color: #999;
}

.category-btn {
  width: 100%;
  background: transparent;
  border: none;
  color: white;
  text-align: left;
  padding: 14px;
  margin-bottom: 10px;
  border-radius: 10px;
  cursor: pointer;
  transition: 0.3s;
  font-size: 15px;
}

.category-btn:hover {
  background: #222;
}

.category-btn.active {
  background: #ff0000;
  color: black;
  font-weight: bold;
}

/* CONTENT */

.content {
  flex: 1;
  padding: 20px;
}

/* PLAYER */

#player-section {
  width: 100%;
  margin-bottom: 30px;
}

#video-player {
  width: 100%;
  height: 500px;
  border: none;
  border-radius: 16px;
  background: black;
}

/* SECTION */

.section {
  margin-bottom: 40px;
}

.section h2 {
  margin-bottom: 20px;
  font-size: 24px;
}

/* VIDEO GRID */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 20px;
}

/* CARD */

.video-card {
  cursor: pointer;
  transition: 0.3s;
}

.video-card:hover {
  transform: scale(1.06);
}

.video-card img {
  width: 100%;
  border-radius: 14px;
}

.video-card p {
  margin-top: 8px;
  font-size: 14px;
  line-height: 1.4;
}

/* HIDDEN */

.hidden {
  display: none;
}

/* MOBILE */

@media(max-width: 900px) {

  .layout {
    flex-direction: column;
  }

  .sidebar {
    width: 100%;
    min-height: auto;
    display: flex;
    overflow-x: auto;
    gap: 10px;
    top: 70px;
  }

  .sidebar h3 {
    display: none;
  }

  .category-btn {
    min-width: 150px;
    margin-bottom: 0;
  }

  #video-player {
    height: 240px;
  }

  .top-right input {
    width: 140px;
  }

}


/* VIDEO INFO */

.video-info {
  margin-top: 20px;
  margin-bottom: 30px;
}

.video-info h1 {
  font-size: 28px;
  margin-bottom: 10px;
}

.video-info p {
  color: #aaa;
  line-height: 1.6;
}

/* AUTH */

.auth-buttons {
  display: flex;
  gap: 10px;
}

.auth-buttons button {
  background: #ff0000;
  border: none;
  padding: 10px 18px;
  border-radius: 10px;
  cursor: pointer;
  font-weight: bold;
}

.auth-modal {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.8);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 9999;
}

.auth-box {
  width: 320px;
  background: #111;
  padding: 30px;
  border-radius: 18px;
}

.auth-box h2 {
  margin-bottom: 20px;
}

.auth-box input {
  width: 100%;
  margin-bottom: 15px;
  padding: 12px;
  border-radius: 10px;
  border: none;
  background: #1a1a1a;
  color: white;
}

.auth-box button {
  width: 100%;
  padding: 12px;
  border: none;
  border-radius: 10px;
  background: #ffcc00;
  font-weight: bold;
  cursor: pointer;
}

#forgotPassword,
#switchAuth {
  margin-top: 15px;
  color: #999;
  cursor: pointer;
  font-size: 14px;
}

.hidden {
  display: none;
}


/* ABOUT SECTION */

.about-site {
  margin-top: 60px;
  padding: 40px;
  background: #111;
  border-radius: 20px;
  text-align: center;
  border: 1px solid #222;
}

.about-site h2 {
  font-size: 32px;
  margin-bottom: 20px;
  color: #ffcc00;
}

.about-site p {
  color: #bbb;
  line-height: 1.8;
  max-width: 700px;
  margin: 0 auto 20px;
}

.about-site button {
  background: #ffcc00;
  color: black;
  border: none;
  padding: 14px 28px;
  border-radius: 12px;
  font-weight: bold;
  cursor: pointer;
  transition: 0.3s;
}

.about-site button:hover {
  transform: scale(1.05);
}


.guest-text {
  margin-top: 15px;
  color: #888;
  font-size: 14px;
}



.logo img{
  height:100px;
  width:auto;
}


.continue-box{
  margin-top:25px;
  padding:20px;
  background:#111;
  border-radius:15px;
  }


  .hero-buttons a{
    display:inline-block;
    margin:10px;
    padding:12px 20px;
    background:#ff0000;
    color:black;
    text-decoration:none;
    border-radius:5px;
    } 