/* ===== BASE STYLES ===== */
:root {
    --primary-color: #00ddeb;
    --primary-shadow: rgba(0, 221, 235, 0.5);
    --text-color: #e0e0e0;
    --bg-dark: rgba(0, 0, 0, 0.8);
    --border-light: rgba(255, 255, 255, 0.1);
  }
  
  /* ===== RULE SECTION ===== */
  .rule-section {
    position: relative;
    width: 100%;
    padding: 100px 0;
    overflow: hidden;
  }
  
  .grid-background {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
      linear-gradient(90deg, rgba(255,255,255,0.05) 1px, transparent 1px),
      linear-gradient(0deg, rgba(255,255,255,0.05) 1px, transparent 1px);
    background-size: 180px 180px;
    z-index: 1;
    animation: gridMove 40s linear infinite;
  }
  
  @keyframes gridMove {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
  }
  
  .particles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
    pointer-events: none;
  }
  
  .particles span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary-color), 0 0 20px var(--primary-color);
    opacity: 0;
    animation: floatParticle 15s infinite;
  }
  
  @keyframes floatParticle {
    0%, 100% { 
      transform: translate(0, 0);
      opacity: 0; 
    }
    50% { 
      transform: translate(var(--x), var(--y));
      opacity: 1; 
    }
  }
  
  /* ===== GLASS CARD ===== */
  .glass-card {
    position: relative;
    z-index: 3;
    background: rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(0, 221, 235, 0.2);
    border-radius: 20px;
    padding: 40px;
    max-width: 1400px;
    width: 90%;
    margin: 0 auto;
    box-shadow: 0 0 40px rgba(0, 221, 235, 0.3);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 40px;
    align-items: start;
  }
  
  .glass-card h2 {
    font-size: 2.2rem;
    color: var(--primary-color);
    margin-bottom: 30px;
    text-align: left;
    text-shadow: 0 0 15px var(--primary-shadow);
    grid-column: 1 / -1;
  }
  
  h2 p {
    font-size: 1.1rem;
    color: #e0e0e0; /* Light gray for readability */
    line-height: 1.6;
    text-align: left;
    margin: 0 auto;
    padding: 15px 5px;
    text-transform: none;
    letter-spacing: normal;
    font-weight: 300;
    text-shadow: none;
  }
  /* ===== FAQ CONTENT ===== */
  .faq-content {
    overflow-y: auto;
    padding-right: 15px;
    /* Remove scrollbar styling */
    scrollbar-width: none; /* For Firefox */
    -ms-overflow-style: none; /* For IE and Edge */
  }
   

  .faq-content::-webkit-scrollbar {
    display: none;
    width: 0;
    height: 0;
  }
  
  
  .faq-item {
    margin-bottom: 15px;
    border-bottom: 1px solid rgba(0, 221, 235, 0.1);
    transition: all 0.3s ease;
  }
  
  .faq-question {
    cursor: pointer;
    padding: 15px 0;
    font-size: 1.1rem;
    color: var(--primary-color);
    font-weight: 500;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: color 0.3s ease;
  }
  
  .faq-question:hover {
    color: #ffffff;
  }
  
  .faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
    color: var(--text-color);
    font-size: 0.95rem;
    line-height: 1.7;
  }
  
  .faq-answer p {
    margin-bottom: 12px;
    color: #d1d1d1;
  }
  
  .faq-answer strong {
    color: rgba(0, 219, 235, 0.8);
    font-weight: 600;
  }
  
  .faq-item.active .faq-answer {
    max-height: 500px;
    padding-bottom: 15px;
  }
  
  .faq-question::after {
    content: "+";
    font-size: 1.3rem;
    color: var(--primary-color);
    transition: transform 0.3s ease;
  }
  
  .faq-item.active .faq-question::after {
    content: "-";
    transform: rotate(180deg);
  }
  
  /* ===== FEEDBACK FORM ===== */
  .feedback-form {
    background: rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 221, 235, 0.2);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 0 25px rgba(0, 221, 235, 0.2);
  }
  
  .feedback-form h3 {
    font-size: 1.6rem;
    color: var(--primary-color);
    margin-bottom: 15px;
    text-align: center;
    text-shadow: 0 0 8px var(--primary-shadow);
  }
  
  .feedback-form p {
    font-size: 0.95rem;
    color: var(--text-color);
    margin-bottom: 25px;
    text-align: center;
    line-height: 1.6;
  }
  
  .form-group {
    position: relative;
    margin-bottom: 20px;
  }
  
  .form-group label {
    display: block;
    font-size: 0.9rem;
    color: var(--primary-color);
    margin-bottom: 8px;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 5px rgba(0, 221, 235, 0.3);
  }
  
  /* Custom Select Styles */
  .custom-select {
    position: relative;
    width: 100%;
  }
  
  .custom-select select {
    display: none;
  }
  
  .select-selected {
    background-color: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(0, 221, 235, 0.3);
    border-radius: 8px;
    color: #ffffff;
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .select-selected:after {
    position: absolute;
    content: "";
    top: 50%;
    right: 15px;
    width: 10px;
    height: 10px;
    border: 2px solid var(--primary-color);
    border-width: 0 2px 2px 0;
    transform: translateY(-50%) rotate(45deg);
    transition: all 0.3s ease;
  }
  
  .select-selected.select-arrow-active:after {
    transform: translateY(-50%) rotate(-135deg);
  }
  
  .select-items {
    position: absolute;
    background-color: var(--bg-dark);
    border: 1px solid rgba(0, 221, 235, 0.3);
    border-radius: 8px;
    top: 100%;
    left: 0;
    right: 0;
    z-index: 99;
    max-height: 250px;
    overflow-y: auto;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
  }
  
  .select-items div {
    color: var(--text-color);
    padding: 12px 15px;
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid rgba(0, 221, 235, 0.1);
  }
  
  .select-items div:hover {
    background-color: rgba(0, 221, 235, 0.1);
    color: var(--primary-color);
  }
  
  .select-hide {
    display: none;
  }
  
  /* Form Elements */
  .form-group input,
  .form-group textarea {
    width: 100%;
    padding: 12px 15px;
    font-size: 0.95rem;
    border: 1px solid rgba(0, 221, 235, 0.3);
    border-radius: 8px;
    background: rgba(0, 0, 0, 0.4);
    color: #ffffff;
    transition: all 0.3s ease;
  }
  
  .form-group textarea {
    min-height: 120px;
    resize: vertical;
  }
  
  .form-group select:focus,
  .form-group input:focus,
  .form-group textarea:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 221, 235, 0.2);
    outline: none;
  }
  
  .feedback-form button {
    width: 100%;
    padding: 14px;
    background: linear-gradient(90deg, var(--primary-color), #0085a1);
    color: #000;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
  }
  
  .feedback-form button:hover {
    background: linear-gradient(90deg, #00c4d4, #007a94);
    box-shadow: 0 0 15px var(--primary-shadow);
    transform: translateY(-2px);
  }
  
  /* ===== RESPONSIVE DESIGN ===== */
  @media (max-width: 1200px) {
    .glass-card {
      padding: 35px;
      gap: 30px;
    }
    
    .glass-card h2 {
      font-size: 2rem;
    }
  }
  
  @media (max-width: 992px) {
    .rule-section {
      padding: 80px 0;
    }
    
    .glass-card {
      grid-template-columns: 1fr;
      gap: 30px;
    }
    
    .faq-content {
      max-height: 400px;
    }
  }
  
  @media (max-width: 768px) {
    .rule-section {
      padding: 60px 0;
    }
    
    .glass-card {
      padding: 30px;
      width: 95%;
    }
    
    .glass-card h2 {
      font-size: 1.8rem;
    }
    
    .faq-question {
      font-size: 1rem;
    }
    
    .feedback-form {
      padding: 25px;
    }
    
    .feedback-form h3 {
      font-size: 1.4rem;
    }
  }
  
  @media (max-width: 576px) {
    .rule-section {
      padding: 50px 0;
    }
    
    .glass-card {
      padding: 25px 20px;
    }
    
    .glass-card h2 {
      font-size: 1.6rem;
    }
    h2 p {
        font-size: 14px;
        padding: 10px 5px;
      }
    
    
    .faq-content {
      max-height: 350px;
    }
    
    .feedback-form {
      padding: 20px 15px;
    }
    
    .form-group select,
    .form-group input,
    .form-group textarea {
      padding: 10px 12px;
      font-size: 0.9rem;
    }
    
    .feedback-form button {
      padding: 12px;
    }
  }
  
  @media (max-width: 400px) {
    .glass-card h2 {
      font-size: 1.4rem;
    }
    
    .faq-question {
      font-size: 0.95rem;
    }
    
    .feedback-form h3 {
      font-size: 1.2rem;
    }
  }