/* Reset & Base Styles - GLASSMORPHISM FIRE & ICE EDITION */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Open Sans', Arial, sans-serif;
  line-height: 1.6;
  color: #f0f4f8;
  position: relative;
  overflow-x: hidden;
  background: linear-gradient(135deg, #1a0d2e 0%, #2d1b3a 40%, #4a0e5a 100%); /* Fire & Ice Purple */
  min-height: 100vh;
}

/* Fire & Ice animated background */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(circle at 15% 30%, rgba(255, 107, 107, 0.25) 0%, transparent 50%), /* Fire */
    radial-gradient(circle at 75% 70%, rgba(107, 255, 255, 0.2) 0%, transparent 50%), /* Ice */
    radial-gradient(circle at 35% 60%, rgba(255, 183, 107, 0.15) 0%, transparent 50%), /* Warm */
    radial-gradient(circle at 65% 25%, rgba(107, 183, 255, 0.15) 0%, transparent 50%); /* Cool */
  z-index: -1;
  animation: pulse 15s ease-in-out infinite alternate;
}

@keyframes pulse {
  0% { transform: scale(1) rotate(0deg); opacity: 0.8; }
  100% { transform: scale(1.08) rotate(0.5deg); opacity: 1; }
}

/* Glassmorphism Base - Enhanced for new theme */
.glass {
  background: rgba(255, 255, 255, 0.12);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.16);
  box-shadow: 
    0 15px 50px rgba(0, 0, 0, 0.6),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
  border-radius: 28px;
  position: relative;
  overflow: hidden;
}

/* Hero Section - Fire & Ice Glass */
header.hero {
  @extend .glass;
  color: #fff;
  text-align: center;
  padding: 4.5rem 2.5rem;
  max-width: 1100px;
  margin: 2.5rem auto;
  border-radius: 35px;
}

header.hero::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.25), rgba(107, 255, 255, 0.2));
  z-index: -1;
}

header.hero h1 {
  font-size: 3.2rem;
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #fff, #ff6b6b, #6bff6b, #6bc9ff);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

header.hero p {
  font-size: 1.5rem;
  opacity: 0.95;
  max-width: 650px;
  margin: 0 auto;
  background: rgba(255, 255, 255, 0.1);
  padding: 1rem 2rem;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

/* Navigation - Fire/Ice Glass Links */
nav ul {
  display: flex;
  justify-content: center;
  list-style: none;
  margin-top: 2.5rem;
  gap: 2.5rem;
}

nav ul li a {
  color: #f0f4f8;
  text-decoration: none;
  font-weight: 600;
  padding: 1rem 2rem;
  border-radius: 20px;
  transition: all 0.5s ease;
  position: relative;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

nav ul li a:hover {
  color: #ff6b6b;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.2), rgba(107, 255, 255, 0.15));
  transform: translateY(-5px);
  box-shadow: 0 12px 35px rgba(255, 107, 107, 0.4);
  text-shadow: 0 0 20px rgba(255, 107, 107, 0.6);
}

/* Sections - Fire & Ice Glass Cards */
section, .contact-form, .discussion-board {
  @extend .glass;
  margin: 3rem auto;
  padding: 3rem;
  max-width: 1100px;
  transition: all 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

section:hover, .contact-form:hover, .discussion-board:hover {
  transform: translateY(-8px);
  box-shadow: 
    0 30px 60px rgba(0, 0, 0, 0.7),
    0 15px 35px rgba(255, 107, 107, 0.25);
  border-color: rgba(255, 107, 107, 0.4);
}

section h2, .contact-form h2, .discussion-board h2 {
  margin-bottom: 2rem;
  font-size: 2.5rem;
  background: linear-gradient(135deg, #ff6b6b, #6bff6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-align: center;
}

/* Fire & Ice Neon Buttons */
.btn, button {
  display: inline-block;
  background: linear-gradient(135deg, rgba(255, 107, 107, 0.95), rgba(107, 255, 255, 0.85));
  color: #fff;
  padding: 1.2rem 2.5rem;
  border-radius: 20px;
  text-decoration: none;
  transition: all 0.5s ease;
  border: 1px solid rgba(255, 255, 255, 0.4);
  font-weight: 700;
  cursor: pointer;
  position: relative;
  overflow: hidden;
  text-shadow: 0 2px 4px rgba(0,0,0,0.4);
  backdrop-filter: blur(15px);
  font-size: 1.1rem;
}

.btn:hover, button:hover {
  background: linear-gradient(135deg, rgba(255, 107, 107, 1), rgba(107, 255, 255, 0.98));
  transform: translateY(-6px) scale(1.08);
  box-shadow: 
    0 20px 45px rgba(255, 107, 107, 0.5),
    0 8px 20px rgba(0, 0, 0, 0.4);
}

/* Mentor Cards - Fire/Ice Glass */
.mentor-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 2.5rem;
  margin-top: 2.5rem;
}

.mentor-card {
  background: rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(25px);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 2.5rem;
  border-radius: 25px;
  transition: all 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.mentor-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, transparent, rgba(255, 107, 107, 0.9), rgba(107, 255, 255, 0.9), transparent);
}

.mentor-card:hover {
  transform: translateY(-15px) scale(1.04);
  box-shadow: 
    0 35px 70px rgba(0, 0, 0, 0.7),
    0 15px 40px rgba(255, 107, 107, 0.3);
}

.mentor-card h3 {
  margin-bottom: 1.2rem;
  background: linear-gradient(135deg, #ff6b6b, #6bff6b);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-size: 1.4rem;
}

/* Testimonials - Fire/Ice Quotes */
blockquote {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border-left: 5px solid rgba(255, 107, 107, 0.9);
  padding: 2rem;
  margin: 2rem 0;
  font-style: italic;
  border-radius: 0 20px 20px 0;
  position: relative;
}

blockquote::before {
  content: '"';
  font-size: 5rem;
  color: rgba(255, 107, 107, 0.4);
  position: absolute;
  top: -15px;
  left: 20px;
}

/* Contact Form - Enhanced Glass */
.contact-form {
  padding: 3.5rem;
}

.contact-form label {
  margin: 1.2rem 0 0.6rem;
  font-weight: 700;
  color: #6bff6b;
  font-size: 1.1rem;
}

.contact-form input,
.contact-form textarea {
  padding: 1.2rem;
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 20px;
  margin-bottom: 1.8rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  color: #f0f4f8;
  font-size: 1.1rem;
  transition: all 0.4s;
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.4);
  background: rgba(255, 255, 255, 0.15);
}

/* Discussion Board - Fire/Ice Chat */
.discussion-board {
  padding: 3.5rem;
}

#messageInput {
  min-height: 140px;
  padding: 1.8rem;
  border-radius: 25px;
  font-size: 1.2rem;
}

#messageInput:focus {
  box-shadow: 0 0 0 4px rgba(255, 107, 107, 0.4);
}

/* Posts - Fire/Ice Bubbles */
.post {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  padding: 2rem;
  border-radius: 25px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.4s;
}

.post:hover {
  transform: translateX(12px);
  box-shadow: 0 15px 40px rgba(255, 107, 107, 0.3);
}

.post span {
  color: rgba(107, 255, 255, 0.9);
  font-weight: 600;
}

/* Reply forms */
.replies form {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.15);
  padding: 1.5rem;
  border-radius: 20px;
}

.replies input {
  border-radius: 15px;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.08);
}

/* Footer */
footer {
  @extend .glass;
  color: #f0f4f8;
  text-align: center;
  padding: 3rem;
  margin: 4rem auto 2.5rem;
  max-width: 1100px;
}

/* Responsive */
@media (max-width: 768px) {
  header.hero h1 { font-size: 2.5rem; }
  nav ul { flex-direction: column; gap: 1.2rem; }
  .mentor-grid { grid-template-columns: 1fr; gap: 2rem; }
  section, .contact-form, .discussion-board { margin: 2rem 1.2rem; padding: 2.5rem 2rem; }
  .replies form { flex-direction: column; }
}

@media (max-width: 480px) {
  header.hero { padding: 3rem 1.8rem; margin: 1.5rem 1rem; }
  .btn, button { padding: 1rem 2rem; font-size: 1rem; }
}