:root {
  --primary-color: #ff00ff;
  --secondary-color: #00f7ff;
  --dark-bg: #0f0a15;
  --card-bg: rgba(30, 20, 40, 0.8);
  --text-color: #fff;
  --shadow-neon: 0 0 15px rgba(255, 0, 255, 0.6);
  --transition: all 0.3s ease;
}

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

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  line-height: 1.6;
  color: var(--text-color);
  background: linear-gradient(135deg, #0f0a1a, #2a0a3a, #1a0a2a);
  background-attachment: fixed;
  min-height: 100vh;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

.header {
  background: rgba(15, 10, 25, 0.9);
  padding: 1rem 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--primary-color);
  box-shadow: var(--shadow-neon);
}

.logo {
  font-size: 1.8rem;
  font-weight: 800;
  color: var(--secondary-color);
  text-shadow: 0 0 10px var(--secondary-color);
  text-align: center;
  margin-bottom: 1rem;
  letter-spacing: 1px;
  position: relative;
  display: inline-block;
}

.logo::after {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--primary-color);
  opacity: 0.7;
}

.nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  flex-wrap: wrap;
}

.nav-link {
  color: var(--text-color);
  text-decoration: none;
  padding: 0.6rem 1.2rem;
  border-radius: 30px;
  font-weight: 600;
  letter-spacing: 0.5px;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  border: 1px solid transparent;
}

.nav-link::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 0, 255, 0.3), transparent);
  transform: translateX(-100%);
  transition: var(--transition);
  z-index: -1;
}

.nav-link:hover {
  transform: translateY(-2px);
  border-color: var(--primary-color);
  box-shadow: 0 5px 15px rgba(255, 0, 255, 0.3);
}

.nav-link:hover::before {
  transform: translateX(100%);
}

.about-section {
  padding: 4rem 0;
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 20% 30%, rgba(255, 0, 255, 0.1), transparent 40%);
  z-index: 0;
}

.about-section::after {
  content: "";
  position: absolute;
  bottom: 0;
  right: 0;
  width: 100%;
  height: 100%;
  background: radial-gradient(circle at 80% 70%, rgba(0, 247, 255, 0.1), transparent 40%);
  z-index: 0;
}

.about-section .container {
  position: relative;
  z-index: 1;
  text-align: center;
  max-width: 800px;
  margin: 0 auto;
  padding: 2rem;
  background: rgba(25, 15, 40, 0.6);
  border-radius: 20px;
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 0, 255, 0.3);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.about-section h2 {
  font-size: 2.8rem;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-shadow: 0 0 15px var(--secondary-color);
  position: relative;
  display: inline-block;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.about-section h2::after {
  content: "";
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 100%;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.about-section p {
  font-size: 1.3rem;
  line-height: 1.8;
  color: #e0d6ff;
  margin-top: 1rem;
  font-weight: 300;
  letter-spacing: 0.5px;
}

.video-section {
  padding: 3rem 0;
}

.video-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2.5rem;
  text-align: center;
  color: var(--secondary-color);
  text-shadow: 0 0 10px var(--secondary-color);
  position: relative;
  display: inline-block;
  left: 50%;
  transform: translateX(-50%);
}

.video-section h2::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
}

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 25px;
  padding: 0 10px;
  justify-content: center;
}

.video-card {
  display: block;
  background: var(--card-bg);
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
  transition: var(--transition);
  text-decoration: none;
  color: inherit;
  position: relative;
  height: 100%;
  transform-origin: center;
  max-width: 320px;
  margin: 0 auto;
  width: 100%;
}

.video-card:hover {
  transform: translateY(-10px) scale(1.03);
  box-shadow: 0 15px 35px rgba(255, 0, 255, 0.4);
  z-index: 10;
}

.video-cover {
  width: 100%;
  height: 220px;
  background: url('assets/background.jpg') no-repeat center center;
  background-size: cover;
  border-bottom: 3px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.video-cover::after {
  content: "NEW";
  position: absolute;
  top: 10px;
  right: 10px;
  background: var(--primary-color);
  color: white;
  font-size: 0.8rem;
  font-weight: bold;
  padding: 2px 8px;
  border-radius: 12px;
  opacity: 0.9;
}

.video-title {
  padding: 1.2rem;
  font-size: 1.3rem;
  font-weight: 700;
  text-align: center;
  background: rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
  color: var(--secondary-color);
  text-shadow: 0 0 8px rgba(0, 247, 255, 0.8);
  position: relative;
  z-index: 2;
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  line-height: 1.3;
  min-height: 60px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.contact-section {
  padding: 4rem 0;
  text-align: center;
}

.contact-section .container {
  max-width: 700px;
  margin: 0 auto;
  padding: 2.5rem;
}

.contact-section h2 {
  font-size: 2.5rem;
  margin-bottom: 2rem;
  color: var(--secondary-color);
  text-shadow: 0 0 10px var(--secondary-color);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 100%;
}

.contact-section p {
  font-size: 1.3rem;
  color: #e0d6ff;
  margin: 1.5rem 0;
  font-weight: 300;
  word-break: break-word;
}

.contact-section a {
  color: var(--secondary-color);
  text-decoration: none;
  font-weight: 600;
  position: relative;
  padding: 0 5px;
}

.contact-section a::after {
  content: "";
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 2px;
  background: var(--secondary-color);
  transform: scaleX(0);
  transition: transform 0.3s ease;
}

.contact-section a:hover::after {
  transform: scaleX(1);
}

.feedback-form {
  max-width: 600px;
  margin: 2rem auto 0;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-group label {
  display: block;
  margin-bottom: 0.5rem;
  color: var(--secondary-color);
  font-size: 1.1rem;
  font-weight: 500;
}

.form-group input,
.form-group textarea {
  width: 100%;
  padding: 0.8rem 1rem;
  background: rgba(20, 15, 35, 0.7);
  border: 1px solid rgba(100, 80, 150, 0.5);
  border-radius: 8px;
  color: white;
  font-size: 1rem;
  transition: all 0.3s ease;
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

.form-group input:focus,
.form-group textarea:focus {
  outline: none;
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 2px rgba(0, 247, 255, 0.3);
}

.submit-btn {
  background: linear-gradient(90deg, var(--primary-color), var(--secondary-color));
  color: white;
  border: none;
  padding: 0.8rem 2rem;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 30px;
  cursor: pointer;
  transition: all 0.3s ease;
  display: inline-block;
  margin-top: 0.5rem;
}

.submit-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 5px 15px rgba(255, 0, 255, 0.4);
}

.footer {
  background: rgba(10, 5, 20, 0.9);
  padding: 2rem 0;
  text-align: center;
  margin-top: 2rem;
  border-top: 1px solid rgba(255, 0, 255, 0.3);
}

.footer p {
  font-size: 1rem;
  color: #aaa;
  letter-spacing: 0.5px;
}

@media (max-width: 768px) {
  .logo {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
  }
  
  .nav {
    gap: 0.8rem;
    flex-direction: column;
    align-items: center;
  }
  
  .nav-link {
    width: 100%;
    max-width: 200px;
    text-align: center;
    padding: 0.8rem;
    font-size: 1.1rem;
  }
  
  .about-section {
    padding: 2.5rem 0;
  }
  
  .about-section h2 {
    white-space: normal !important;
    font-size: 1.6rem !important;
    line-height: 1.2 !important;
    max-width: 100% !important;
    text-align: center !important;
  }
  
  .about-section p {
    font-size: 1.1rem;
  }
  
  .video-section h2 {
    font-size: 2rem;
    margin-bottom: 1.8rem;
  }
  
  .video-grid {
    grid-template-columns: 1fr;
    gap: 20px;
    padding: 0;
  }
  
  .video-card {
    max-width: 280px;
  }
  
  .video-cover {
    height: 180px;
  }
  
  .video-title {
    font-size: 1.1rem;
  }
  
  .contact-section {
    padding: 2.5rem 0;
  }
  
  .contact-section h2 {
    white-space: nowrap !important;
    font-size: 1.8rem !important;
    max-width: 90vw !important;
  }
  
  .contact-section p {
    font-size: 1.1rem;
  }
  
  .feedback-form {
    padding: 0 10px;
  }
  
  .form-group input,
  .form-group textarea {
    padding: 0.7rem;
    font-size: 0.95rem;
  }
  
  .submit-btn {
    width: 100%;
  }
  
  .footer p {
    font-size: 0.9rem;
    padding: 0 10px;
  }
}

@media (max-width: 480px) {
  .about-section h2 {
    font-size: 1.5rem;
    max-width: 85vw;
  }
  
  .logo {
    font-size: 1.3rem;
  }
  
  .nav-link {
    font-size: 1rem;
  }
  
  .contact-section h2 {
    max-width: 80vw !important;
    font-size: 1.5rem !important;
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .video-grid {
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
  }
  
  .video-cover {
    height: 190px;
  }
}

@media (min-width: 1024px) {
  .video-cover {
    height: 220px;
  }
  
  .nav-link {
    font-size: 1.1rem;
    padding: 0.7rem 1.5rem;
  }
}

@media (max-width: 767px) and (min-width: 450px) {
  .video-card {
    max-width: 300px;
    width: 90%;
    margin: 0 auto;
  }
  
  .video-cover {
    height: 200px;
  }
  
  .video-title {
    min-height: 60px;
    font-size: 1.2rem;
  }
  
  .video-grid {
    justify-content: center;
    padding: 0 15px;
  }
}
