 * {
      margin: 0;
      padding: 0;
      box-sizing: border-box;
      font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    }

    :root {
      --primary: #4a90e2;
      --primary-dark: #357abd;
      --secondary: #ff6b6b;
      --dark: #121111;
      --darker: #0a0a0a;
      --light: #f5f5f5;
      --gray: #2a2a2a;
      --orange: darkorange;
      --green: #25D366;
      --success: #4CAF50;
      --warning: #FFC107;
      --error: #f44336;
    }

    body {
      background-color: var(--dark);
      color: var(--light);
      min-height: 100vh;
      background-image: linear-gradient(to bottom, var(--darker), var(--dark));
    }

    .container {
      max-width: 1200px;
      margin: 10px auto;
      padding: 0 5px;
    }

    .section {
      background-color: rgba(30, 30, 30, 0.9);
      border-radius: 16px;
      padding: 25px;
      margin-bottom: 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
      overflow: hidden;
    }
    .section1 {
      background-color: rgba(30, 30, 30, 0.9);
      border-radius: 16px;
      padding: 15px;
      margin-bottom: 20px;
      box-shadow: 0 8px 24px rgba(0, 0, 0, 0.3);
      border: 1px solid rgba(255, 255, 255, 0.08);
      position: relative;
      overflow: hidden;
    }
     .section1 i {
      color:rgba(255, 140, 0, 0.489);
    }


    .section:before {
      content: '';
      position: absolute;
      top: 0;
      left: 0;
      right: 0;
      height: 4px;
      background:rgba(255, 140, 0, 0.489);
    }

    .section-title {
      text-align: center;
      color: var(--orange);
      margin-bottom: 1px;
      font-size: 1.8rem;
      position: relative;
      padding-bottom: 10px;
    }
    
    .auth-container .hh2 {
      text-align: center;
      color: var(--orange);
      margin-bottom: 10px;
      font-size: 1.4rem;
      position: relative;
      padding-bottom: 10px;
    }

    .section-title::after {
      content: '';
      position: absolute;
      bottom: 0;
      left: 50%;
      transform: translateX(-50%);
      width: 100px;
      height: 3px;
      background: linear-gradient(to right, transparent, var(--orange), transparent);
    }

    .video-container {
      border-radius: 12px;
      overflow: hidden;
      box-shadow: 0 6px 18px rgba(0, 0, 0, 0.4);
      margin-top: 10px;
      transition: transform 0.3s ease;
    }

    .video-container:hover {
      transform: scale(1.01);
    }

    video {
      width: 100%;
      display: block;
      border-radius: 12px;
    }

    .auth-container {
      text-align: center;
      padding: 5px;
    }

    .auth-form {
      max-width: 500px;
      margin: 0 auto;
    }

    .input-group {
      margin-bottom: 20px;
      position: relative;
    }

    input[type="number"] {
      width: 100%;
      padding: 16px 20px;
      font-size: 1.1rem;
      border-radius: 10px;
      border: 2px solid var(--gray);
      background-color: rgb(50, 50, 50);
      color: white;
      transition: all 0.3s ease;
    }

    input[type="number"]:focus {
      border-color: var(--primary);
      outline: none;
      box-shadow: 0 0 0 3px rgba(74, 144, 226, 0.3);
    }

    .btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 100%;
      padding: 16px;
      font-size: 1.1rem;
      font-weight: 600;
      border: none;
      border-radius: 10px;
      cursor: pointer;
      background: linear-gradient(to right, var(--primary), var(--primary-dark));
      color: white;
      transition: all 0.3s ease;
      box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
      gap: 8px;
    }

    .btn:hover:not(:disabled) {
      transform: translateY(-2px);
      box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
    }

    .btn:disabled {
      background: #5a5a5a;
      cursor: not-allowed;
      opacity: 0.7;
    }

    .btn-success {
      background: linear-gradient(to right, var(--primary), var(--primary-dark));
    }

    .btn-warning {
      background: linear-gradient(to right, var(--warning), #e6ac00);
    }

    .btn-error {
      background: linear-gradient(to right, var(--error), #d32f2f);
    }

    .control-panel {
      display: none;
    }

    .warning-box {
      background-color: rgba(42, 26, 26, 0.8);
      border-left: 4px solid var(--secondary);
      padding: 10px;
      border-radius: 8px;
      margin-top: 20px;
      text-align: center;
      animation: pulse-warning 2s infinite;
    }

    @keyframes pulse-warning {
      0% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0.4); }
      70% { box-shadow: 0 0 0 10px rgba(255, 107, 107, 0); }
      100% { box-shadow: 0 0 0 0 rgba(255, 107, 107, 0); }
    }

    .warning-box h5 {
      color: var(--secondary);
      font-size: 1rem;
      margin-bottom: 5px;
    }
    
    .warning-box p {
      font-size: 0.9rem;
      color: #ffb3b3;
    }

    .door-control {
      background: linear-gradient(to right, rgba(37, 37, 37, 0.7), rgba(47, 47, 47, 0.7));
      padding: 20px;
      border-radius: 12px;
      margin: 16px 0;
      border: 1px solid rgba(255, 255, 255, 0.08);
      transition: transform 0.3s ease;
    }

    .door-control:hover {
      transform: translateY(-3px);
    }

    .door-control h3 {
      color: wheat;
      margin-bottom: 15px;
      font-size: 1.4rem;
      display: flex;
      align-items: center;
      gap: 12px;
    }

    .door-control .btn {
      max-width: 300px;
      margin: 0 auto;
    }

    .popup {
      display: none;
      position: fixed;
      z-index: 1000;
      left: 0;
      top: 0;
      width: 100%;
      height: 100%;
      background-color: rgba(0, 0, 0, 0.9);
      align-items: center;
      justify-content: center;
      backdrop-filter: blur(5px);
    }

    .popup-content {
      background: linear-gradient(to bottom right, #2d2d2d, #1f1f1f);
      padding: 30px;
      border-radius: 16px;
      width: 90%;
      max-width: 450px;
      text-align: center;
      box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
      border: 1px solid rgba(255, 255, 255, 0.1);
      position: relative;
      animation: popup-appear 0.3s ease-out;
    }

    @keyframes popup-appear {
      from { transform: scale(0.9); opacity: 0; }
      to { transform: scale(1); opacity: 1; }
    }

    .popup h2 {
      color: var(--orange);
      margin-bottom: 20px;
      font-size: 1.5rem;
      display: flex;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .popup p {
      color: #ddd;
      margin-bottom: 30px;
      font-size: 1.2rem;
      line-height: 1.6;
    }

    .popup .btn {
      width: auto;
      min-width: 120px;
      margin: 0 auto;
      padding: 12px 24px;
    }

    .contact-section {
      text-align: center;
      padding: 20px;
      margin-top: 30px;
    }

    .contact-btn {
      display: inline-flex;
      align-items: center;
      justify-content: center;
      width: 60px;
      height: 60px;
      margin-top: 15px;
      font-size: 2rem;
      color: white;
      background-color: var(--green);
      border-radius: 50%;
      transition: all 0.3s ease;
      text-decoration: none;
    }

    .contact-btn:hover {
      transform: scale(1.1);
      box-shadow: 0 0 20px rgba(37, 211, 102, 0.5);
    }

    .important {
      background: linear-gradient(to right, rgba(42, 26, 26, 0.8), rgba(42, 26, 26, 0.6));
      border-radius: 12px;
      padding: 25px;
      margin-top: 30px;
      border: 1px solid rgba(255, 107, 107, 0.2);
    }

    .important h3 {
      color: var(--secondary);
      text-align: center;
      margin-bottom: 15px;
      font-size: 1.4rem;
      align-items: center;
      justify-content: center;
      gap: 10px;
    }

    .important p {
      color: #ddd;
      line-height: 1.7;
      text-align: center;
    }

    .status-bar {
      display: flex;
      justify-content: space-between;
      margin-top: 20px;
      padding: 15px;
      background-color: rgba(42, 42, 42, 0.6);
      border-radius: 10px;
      font-size: 0.9rem;
      border: 1px solid rgba(255, 255, 255, 0.05);
    }

    .status-item {
      text-align: center;
      flex: 1;
      padding: 0 10px;
    }

    .status-value {
      font-weight: bold;
      color: var(--primary);
      margin-top: 5px;
      font-size: 1.2rem;
    }

    .session-expired {
      text-align: center;
      padding: 30px;
      background: rgba(42, 26, 26, 0.7);
      border-radius: 12px;
      margin: 20px 0;
      border-left: 4px solid var(--error);
    }

    .session-expired h3 {
      color: var(--error);
      margin-bottom: 15px;
      font-size: 1.5rem;
    }

    .session-expired p {
      color: #ffb3b3;
      margin-bottom: 20px;
    }

    .click-counter {
      display: inline-block;
      background: rgba(0, 0, 0, 0.3);
      padding: 4px 5px;
      border-radius: 20px;
      font-size: 0.8rem;
      margin-left: 10px;
    }

    @media (max-width: 768px) {
      .container {
        padding: 0 10px;
      }
      
      .section {
        padding: 20px;
      }
      
      .section-title {
        margin-top: -4%;
        font-size: 1.4rem;
      }
      
      .door-control {
        padding: 15px;
      }
      
      .status-bar {
        flex-direction: column;
        gap: 15px;
      }
      
      .status-item {
        padding: 10px 0;
        border-bottom: 1px solid rgba(255, 255, 255, 0.1);
      }
      
      .status-item:last-child {
        border-bottom: none;
      }
    }

    /* Animation */
    @keyframes pulse {
      0% { transform: scale(1); }
      50% { transform: scale(1.05); }
      100% { transform: scale(1); }
    }

    .pulse {
      animation: pulse 2s infinite;
    }

    .fade-in {
      animation: fadeIn 0.5s ease-in;
    }

    @keyframes fadeIn {
      from { opacity: 0; transform: translateY(20px); }
      to { opacity: 1; transform: translateY(0); }
    }
    
    .expired-overlay {
      position: fixed;
      top: 0;
      left: 0;
      width: 100vw;
      height: 100vh;
      background: rgb(0, 0, 0);
      display: flex;
      flex-direction: column;
      justify-content: center;
      align-items: center;
      z-index: 9999;
      color: var(--error);
      text-align: center;
      padding: 20px;
    }
    
    .expired-overlay h2 {
      font-size: 2rem;
      margin-bottom: 20px;
    }
    
    .expired-overlay p {
      font-size: 1.2rem;
      margin-bottom: 30px;
      max-width: 600px;
      color: #ffb3b3;
    }
    
    .hidden {
      display: none !important;
    }

    .security-notice {
      background: rgba(26, 42, 26, 0.7);
     
      padding: 10px;
      border-radius: 8px;
      text-align: center;
    }
    
    .security-notice h5 {
      color: darkorange;
      font-size: 1.2rem;
      margin-bottom: 5px;
    }
    
    .security-notice p {
      font-size: 0.9rem;
      color: #b3ffb3;
    }



    

.boxes {
  width: 40%;
  margin: 0 auto;
  
  padding: 35px;

  border-radius: 20px/50px;
  background-clip: padding-box;
  text-align: center;
}

.buttones {
  font-size: 1em;
  letter-spacing: 1.5px;
  padding: 10px;
  color: #fff;
  border: 2px solid #06D85F;
  border-radius: 20px/50px;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.3s ease-out;
}
.buttones:hover {
  background: #06D85F;
}

.overlay1 {
  position: fixed;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(0, 0, 0, 0.7);
  transition: opacity 500ms;
  visibility: hidden;
  opacity: 0;
}
.overlay1:target {
  visibility: visible;
  opacity: 1;
}

.popup1 {
  margin: 70px auto;
  padding: 20px;
  background: #fff;
  border-radius: 5px;
  width: 30%;
  position: relative;
  transition: all 5s ease-in-out;
}

.popup1 h3 {
  margin-top: 0;
  color: #333;
  font-family: Tahoma, Arial, sans-serif;
}
.popup1 .close1 {
  position: absolute;
  top: 10px;
  right: 20px;
  transition: all 200ms;
  font-size: 30px;
  font-weight: bold;
  text-decoration: none;
  color: #333;
}
.popup1 .close1:hover {
  color: #06D85F;
}
.popup1 .content1 {
  max-height: 30%;
  overflow: auto;
  color: #333;
}

@media screen and (max-width: 700px){
  .boxes{
    width: 80%;
  }
  .popup1{
    width: 80%;
  }
}
