*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

html{
  scroll-behavior:smooth;
}

body{
  font-family:'Inter',sans-serif;
  background:#050816;
  color:white;
  overflow-x:hidden;
  line-height:1.6;
  padding:30px;
}

/* BACKGROUND GLOW */

body::before{
  content:'';
  position:fixed;
  width:700px;
  height:700px;
  background:
    radial-gradient(circle,#00d9ff33,transparent 70%);
  top:-200px;
  left:-200px;
  z-index:-1;
}

body::after{
  content:'';
  position:fixed;
  width:700px;
  height:700px;
  background:
    radial-gradient(circle,#7a5cff33,transparent 70%);
  bottom:-200px;
  right:-200px;
  z-index:-1;
}

/* CONTAINER */

.container{
  width:90%;
  max-width:1400px;
  margin:auto;
}

/* =========================================
   HEADER
========================================= */

.site-header{
  position:sticky;
  top:0;
  z-index:1000;

  backdrop-filter:blur(18px);

  background:
    rgba(255,255,255,0.05);

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius:24px;

  padding:22px 30px;

  margin-bottom:40px;

  box-shadow:
    0 15px 35px rgba(0,0,0,0.35);
}

.header-top{
  display:flex;
  justify-content:space-between;
  align-items:center;
  margin-bottom:18px;
  gap:20px;
  flex-wrap:wrap;
}

/* LOGO */

.logo{
  display:flex;
  align-items:center;
  gap:15px;
}

.site-logo{
  width:58px;
  height:58px;

  object-fit:contain;

  border-radius:16px;

  box-shadow:
    0 0 25px rgba(0,229,255,0.35);
}

.logo h1{
  font-size:26px;
  font-weight:800;
  margin-bottom:2px;
}

/* =========================================
   NAVIGATION
========================================= */

.nav{
  display:flex;
  align-items:center;
  gap:34px;
  flex-wrap:wrap;
  min-height:50px;
}

/* ALL MENU ITEMS */

.nav a{

  display:flex;
  align-items:center;
  justify-content:center;

  height:50px;

  color:#c7d2ea;

  text-decoration:none;

  background:none;
  border:none;

  font-size:15px;
  font-weight:600;

  cursor:pointer;

  transition:0.3s;

  font-family:'Inter',sans-serif;

  position:relative;

  line-height:1;

  padding:0;
}

/* DROPDOWN */

.dropdown{
  position:relative;
  display:flex;
  align-items:center;
  height:50px;
}

.dropbtn{

  display:flex;
  align-items:center;
  justify-content:center;

  height:50px;

  padding:0;
  margin:0;

  background:none;
  border:none;

  color:#c7d2ea;

  font-size:15px;
  font-weight:600;

  font-family:'Inter',sans-serif;

  cursor:pointer;

  transition:0.3s;

  position:relative;

  line-height:1;

  gap:5px;
}

/* HOVER */

.nav a:hover,
.dropbtn:hover,
.nav .active{
  color:#00e5ff;
}

/* UNDERLINE */

.nav a::after,
.dropbtn::after{

  content:'';

  position:absolute;

  left:0;
  bottom:-8px;

  width:0%;
  height:2px;

  background:#00e5ff;

  transition:0.3s;
}

.nav a:hover::after,
.dropbtn:hover::after,
.nav .active::after{
  width:100%;
}

/* =========================================
   DROPDOWN MENU
========================================= */

.dropdown-content{

  position:absolute;

  top:100%;
  left:0;

  min-width:280px;

  background:
    rgba(10,17,36,0.98);

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius:20px;

  overflow:hidden;

  display:none;

  backdrop-filter:blur(20px);

  box-shadow:
    0 20px 40px rgba(0,0,0,0.45),
    0 0 40px rgba(0,229,255,0.08);

  animation:
    dropdownFade 0.25s ease;

  z-index:9999;

  padding-top:10px;
}

.dropdown:hover .dropdown-content,
.dropdown-content:hover{
  display:block;
}

/* DROPDOWN LINKS */

.dropdown-content a{

  display:block;

  padding:15px 20px;

  height:auto;

  line-height:1.5;

  color:#dbe7ff;

  transition:0.3s;

  border-bottom:
    1px solid rgba(255,255,255,0.04);

  text-decoration:none;
}

.dropdown-content a:last-child{
  border-bottom:none;
}

.dropdown-content a:hover{

  background:
    rgba(0,229,255,0.12);

  color:#00e5ff;

  padding-left:28px;
}

@keyframes dropdownFade{

  from{
    opacity:0;
    transform:translateY(10px);
  }

  to{
    opacity:1;
    transform:translateY(0);
  }
}

/* =========================================
   HEADER BUTTONS
========================================= */

.header-buttons{
  display:flex;
  gap:15px;
}

.btn{

  padding:14px 28px;

  border:none;

  border-radius:14px;

  cursor:pointer;

  font-weight:600;

  transition:0.3s;
}

.btn-outline{

  background:
    rgba(255,255,255,0.06);

  border:
    1px solid rgba(255,255,255,0.1);

  color:white;

  backdrop-filter:blur(12px);
}

.btn-outline:hover{
  background:rgba(255,255,255,0.12);
}

.btn-primary{

  background:
    linear-gradient(135deg,#00e5ff,#0066ff);

  color:white;

  box-shadow:
    0 0 25px #00b7ff55;
}

.btn-primary:hover{

  transform:
    translateY(-3px) scale(1.03);

  box-shadow:
    0 0 35px #00c3ff99;
}

/* =========================================
   TITLES
========================================= */

.main-title{
  font-size:64px;
  line-height:1.1;
  font-weight:900;
  margin-bottom:15px;

  background:
    linear-gradient(
      90deg,
      #00e5ff,
      #4f7dff,
      #b75cff
    );

  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.subtitle{
  color:#a7b1c8;
  font-size:18px;
  margin-bottom:40px;
}

/* =========================================
   TABS
========================================= */

.tabs{
  display:flex;
  gap:18px;
  margin-bottom:35px;
  flex-wrap:wrap;
}

.tab-btn{

  background:
    rgba(255,255,255,0.05);

  border:
    1px solid rgba(255,255,255,0.08);

  color:#dbe7ff;

  padding:14px 28px;

  border-radius:16px;

  cursor:pointer;

  font-weight:700;

  transition:0.3s;

  backdrop-filter:blur(20px);
}

.tab-btn:hover{
  transform:translateY(-2px);
}

.tab-btn.active{

  background:
    linear-gradient(135deg,#00e5ff,#0066ff);

  color:white;

  box-shadow:
    0 0 25px rgba(0,229,255,0.35);
}

.tab-content{
  display:none;
}

.active-tab{
  display:block;
}

/* =========================================
   CARD
========================================= */

.card{

  background:
    rgba(255,255,255,0.05);

  border:
    1px solid rgba(255,255,255,0.08);

  border-radius:30px;

  padding:35px;

  margin-bottom:30px;

  transition:0.4s;

  backdrop-filter:blur(20px);

  box-shadow:
    0 0 25px rgba(0,0,0,0.2);
}

.card:hover{

  transform:translateY(-4px);

  border-color:#00d9ff55;

  box-shadow:
    0 0 40px #00bfff22;
}

.card h2{
  margin-bottom:20px;
  color:#00e5ff;
  font-size:28px;
}

/* =========================================
   METHOD BADGES
========================================= */

.method{
  display:inline-block;
  padding:8px 18px;
  border-radius:100px;
  font-weight:700;
  margin-bottom:18px;
  font-size:13px;
  letter-spacing:1px;
}

.get{
  background:#16a34a;
}

.post{
  background:#2563eb;
}

.put{
  background:#ea580c;
}

.patch{
  background:#9333ea;
}

.delete{
  background:#dc2626;
}

/* =========================================
   URL INPUT
========================================= */

.editable-url{
  width:100%;

  background:
    rgba(255,255,255,0.04);

  color:white;

  border:
    1px solid rgba(255,255,255,0.08);

  padding:16px 18px;

  border-radius:16px;

  margin:18px 0;

  font-size:15px;

  outline:none;

  transition:0.3s;

  backdrop-filter:blur(10px);
}

.editable-url:focus{

  border-color:#00e5ff;

  box-shadow:
    0 0 20px rgba(0,229,255,0.2);
}

/* =========================================
   CODE BLOCKS
========================================= */

pre{

  background:
    rgba(0,0,0,0.35);

  padding:22px;

  border-radius:22px;

  overflow:auto;

  margin-top:18px;

  color:#e6f1ff;

  font-size:14px;

  line-height:1.8;

  border:
    1px solid rgba(255,255,255,0.06);
}

/* =========================================
   BUTTONS
========================================= */

button{

  background:
    linear-gradient(135deg,#00e5ff,#0066ff);

  border:none;

  color:white;

  padding:12px 22px;

  border-radius:14px;

  cursor:pointer;

  margin-top:18px;

  font-weight:700;

  transition:0.3s;
}

button:hover{

  transform:translateY(-2px);

  box-shadow:
    0 0 20px rgba(0,229,255,0.3);
}

.close-btn{

  background:
    linear-gradient(135deg,#ef4444,#dc2626);

  margin-left:10px;
}

/* =========================================
   RESPONSE
========================================= */

.response{

  background:
    rgba(0,0,0,0.35);

  border-radius:20px;

  padding:18px;

  margin-top:18px;

  min-height:120px;

  white-space:pre-wrap;

  border:
    1px solid rgba(255,255,255,0.05);

  color:#dbeafe;
}

.hidden-response{
  display:none;
}

.auth-box{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:25px;
}

.test-section{
  margin-top:22px;
}

/* =========================================
   RESPONSIVE
========================================= */

@media(max-width:1000px){

  .main-title{
    font-size:48px;
  }
}

@media(max-width:768px){

  body{
    padding:15px;
  }

  .header-top{
    flex-direction:column;
    align-items:flex-start;
  }

  .nav{
    flex-direction:column;
    align-items:flex-start;
    gap:12px;
  }

  .nav a,
  .dropbtn,
  .dropdown{
    height:auto;
  }

  .auth-box{
    grid-template-columns:1fr;
  }

  .main-title{
    font-size:40px;
  }

  .dropdown-content{
    position:relative;
    width:100%;
    top:10px;
  }
}

