:root {
  --support: #0a8f3d;
  --dark: #111827;
  --gray: #6b7280;
  --light: #f8fafc;
  --border: #e5e7eb;
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  --radius: 14px;
  --container: 1200px;
}
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

a {
  text-decoration: none;
}

body {
  font-family: "Inter", sans-serif;
  color: var(--dark);
  background: white;
  line-height: 1.5;
}

.container {
  width: min(var(--container), calc(100% - 40px));
  margin: 0 auto;
  padding: 0 16px;
}

header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
  z-index: 100;
  width: 100%;
}

nav {
  display: block;
  margin-left: auto;
}

.navbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 0;
  min-height: 78px;
}
nav ul {
  display: flex;
  align-items: center;
  gap: 28px;
  list-style: none;
}

nav a {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 1rem;
  font-weight: 600;
  color: var(--dark);
  transition: 0.25s;
}

nav .alpha_nav_brands {
  font-size: 1.2rem;
}

nav a i {
  margin-right: 8px;
}

.nav-buttons {
  display: flex;
  align-items: center;
  gap: 20px;
}

.login {
  color: var(--dark);
  font-weight: 500;
  text-decoration: none;
}

.btn {
  background: var(--support);
  color: white;
  padding: 14px 28px;
  border-radius: 10px;
  text-decoration: none;
  font-weight: 600;
  transition: 0.3s;
  box-shadow: var(--shadow);
}

.hero {
  padding: 6px 0 140px;
  background:
    linear-gradient(135deg, rgba(219, 234, 254, 0.4) 25%, transparent 25%) -50px
      0/100px 100px,
    linear-gradient(225deg, rgba(219, 234, 254, 0.4) 25%, transparent 25%) -50px
      0/100px 100px,
    linear-gradient(315deg, rgba(219, 234, 254, 0.4) 25%, transparent 25%) 0px
      0/100px 100px,
    linear-gradient(45deg, rgba(219, 234, 254, 0.4) 25%, transparent 25%) 0px
      0/100px 100px,
    #f8fbff;
  position: relative;

  overflow: hidden;
}

.features {
  padding: 80px 0;
  background: white;
  position: relative;
  z-index: 2;
  box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.04);
  margin-top: -80px;
  border-top-left-radius: 50px;
  border-top-right-radius: 50px;
}

.hero-content {
  max-width: 780px;
  position: relative;
  z-index: 2;
}

.hero p {
  font-size: 1.2rem;
  line-height: 1.9;
  color: var(--gray);
  max-width: 750px;
  margin-top: 25px;
}

.hero h1 {
  font-size: clamp(3rem, 6vw, 5.5rem);

  line-height: 1.05;

  max-width: 850px;

  letter-spacing: -2px;
}

.hero h1 span {
  color: #2563eb;
}
.author-box {
  display: flex;
  align-items: center;
  gap: 18px;
}

.author-box img {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  object-fit: cover;
}

.author-meta h4 {
  color: #0284c7;
  margin-bottom: 8px;
}

.author-meta p {
  color: var(--gray);
}

.features h2 {
  font-size: 2.5rem;
  font-weight: 800;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 30px;
  margin-top: 50px;
}

.card {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  min-height: 320px;
  text-decoration: none;
  color: var(--dark);
  padding: 30px;
  border: 1px solid var(--border);
  border-radius: 24px;
  background: rgba(255, 255, 255, 0.9);
  backdrop-filter: blur(10px);
  box-shadow: 0 15px 35px rgba(0, 0, 0, 0.05);
  transition: 0.35s ease;
}

.card:hover {
  box-shadow: var(--shadow);
  transform: translateY(-10px);
}

.card h3 {
  margin-bottom: 15px;
}

.card p {
  color: var(--gray);
}

footer {
  padding: 40px 0;
  text-align: center;
  color: var(--gray);
  border-top: 1px solid var(--border);
}

.logo img {
  width: 45px;
  height: 45px;
  object-fit: cover;
  background: white;
  border-radius: 16px;
  padding: 3px;
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.12),
    0 1px 3px rgba(0, 0, 0, 0.08);

  transition: 0.3s ease;
}

.alphabs_brands {
  font-size: 100px;
  margin: 20px 0;
  transition: 0.3s ease;
}

.email {
  font-weight: bolder;
}

.sidebar {
  position: fixed;
  top: 0;
  left: -300px;
  width: 260px;
  height: 100%;
  background: white;
  box-shadow: 5px 0 20px rgba(0, 0, 0, 0.15);
  padding: 30px 20px;
  display: flex;
  flex-direction: column;
  gap: 25px;
  transition: left 0.4s ease;
  z-index: 1001;
}

.sidebar.active {
  left: 0;
}

.sidebar a {
  color: var(--dark);
  font-size: 1.1rem;
  font-weight: 600;
  transition: 0.3s ease;
}

.overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.4);
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 1000;
}

.overlay.active {
  opacity: 1;
  visibility: visible;
}

.support-link,
#contact-link {
  cursor: pointer;
}

#support-link {
  cursor: pointer;
}

.sidebar #support-link {
  cursor: pointer;
}

.sidebar-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 30px;
}

.sidebar-logo {
  display: flex;
  align-items: center;
  gap: 8px;
}

.sidebar-logo img {
  width: 35px;
  height: 35px;
  object-fit: contain;
  background: white;
  border-radius: 14px;
  padding: 4px;
}

.sidebar-logo span {
  font-size: 1.5rem;
  font-weight: 800;
}

button.card {
  background: white;
  border: 1px solid var(--border);
  font: inherit;
  width: 100%;
  cursor: pointer;
}

.close-btn {
  font-size: 1.8rem;
  cursor: pointer;
  align-self: flex-end;
}

.about-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  justify-content: center;
  align-items: center;
  opacity: 0;
  visibility: hidden;
  transition: 0.3s;
  z-index: 2000;
  padding: 20px;
}

.about-modal.active {
  opacity: 1;
  visibility: visible;
}

.about-box {
  width: min(750px, 100%);
  max-height: 85vh;
  background: white;
  border-radius: 24px;
  overflow-y: auto;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.25);
  animation: modalShow 0.3s ease;
  padding: 0;
}

.about-top {
  position: sticky;
  top: 0;
  z-index: 100;
  background: white;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 25px 35px 20px;
  border-bottom: 1px solid var(--border);
}
.about-top h2 {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 800;
}

.about-top h2 img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  background: white;
  border-radius: 14px;
  padding: 4px;
  box-shadow: 0 0 10px rgba(0, 0, 0, 0.15);
}

.about-close {
  border: none;
  background: transparent;
  font-size: 1.8rem;
  cursor: pointer;
  color: var(--dark);
}

.about-content {
  padding: 30px 35px 35px;
}

.about-content p {
  color: var(--gray);
  margin-bottom: 22px;
  line-height: 1.9;
  font-size: 1.05rem;
}

.about-content h2 {
  margin-top: 30px;
  text-align: center;
  color: var(--support);
  font-size: 1.3rem;
}

.alpha-list {
  margin: 30px 0;
  padding-left: 25px;
}

.alpha-list li {
  margin-bottom: 14px;
  color: var(--gray);
  line-height: 1.8;
  font-size: 1.05rem;
}

.alpha-list li::marker {
  color: var(--support);
}

.about-home {
  margin-left: auto;
  margin-right: 18px;
  color: inherit;
  font-size: 1.2rem;
  transition: 0.3s;
}

.about-home:hover {
  color: rgb(93, 84, 228);
  transform: scale(1.1);
}

.about-top h2 {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 2rem;
  font-weight: 800;
  flex-shrink: 0;
}

.about-close {
  margin-left: 18px;
}

.about-title-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.yt:hover {
  color: red;
}

.dsc:hover {
  color: darkblue;
}

.sosial_media:hover {
  color: rgb(0, 255, 0);
}

.fa-bars {
  font-size: x-large;
  margin: 0 20px;
}

img {
  max-width: 100%;
  height: auto;
}

.theme-toggle {
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 1.3rem;
  color: var(--dark);
  transition: 0.3s;
}

.theme-toggle:hover {
  transform: rotate(180deg);
}

body.dark-mode {
  background: #0f172a;
  color: white;
}

body.dark-mode header {
  background: rgba(15, 23, 42, 0.95);
  border-bottom: 1px solid #1e293b;
}

body.dark-mode .features,
body.dark-mode .about-box,
body.dark-mode .sidebar,
body.dark-mode .card {
  background: #111827;
  color: white;
  border-color: #1f2937;
}

body.dark-mode .hero {
  background: #0f172a;
}

body.dark-mode {
  background: #020617;
}

body.dark-mode .hero,
body.dark-mode .features,
body.dark-mode .card,
body.dark-mode header {
  background: #111827;
  border-color: #1f2937;
}

body.dark-mode p,
body.dark-mode .alpha-list li,
body.dark-mode .yt-channel-info p,
body.dark-mode footer {
  color: #cbd5e1;
}

body.dark-mode nav a,
body.dark-mode .theme-toggle,
body.dark-mode .about-close,
body.dark-mode .close-btn,
body.dark-mode .yt-name,
body.dark-mode .sidebar a {
  color: white;
}

body.dark-mode .about-top {
  background: #111827;
  border-bottom: 1px solid #1f2937;
}

.about-theme-toggle {
  border: none;
  background: transparent;
  color: inherit;
  font-size: 1.2rem;
  cursor: pointer;
  transition: 0.3s;
}

.about-theme-toggle:hover {
  transform: scale(1.1);
}

.hero-links {
  display: flex;
  gap: 18px;
  margin-top: 45px;
  flex-wrap: wrap;
}

.hero-link {
  display: flex;
  align-items: center;
  gap: 10px;
  border-radius: 14px;
  background: inherit;
  color: inherit;
  font-size: 1rem;
  border: 1px solid var(--border);
  box-shadow: var(--shadow);
  transition: 0.3s ease;
  padding: 16px 28px;
  font-weight: 700;
}

.hero-link:hover {
  transform: translateY(-4px);
  color: inherit;
}

.hero-link i {
  font-size: 1.2rem;
}

.menu-toggle {
  display: none;
}

.login-nav {
  background: linear-gradient(135deg, #2563eb, #1d4ed8);
  color: white;
  padding: 12px 18px;
  border-radius: 12px;
  box-shadow: 0 10px 25px rgba(37, 99, 235, 0.2);
}

.login-nav:hover {
  color: white;
  transform: translateY(-3px);
}
.hero::before {
  content: "";
  position: absolute;
  width: 500px;
  height: 500px;
  border-radius: 50%;
  background: rgba(37, 99, 235, 0.08);
  top: -200px;
  right: -120px;
  filter: blur(40px);
}

.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 12px 18px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.658);
  border: 1px solid rgba(37, 99, 235, 0.12);
  margin-bottom: 30px;
  color: black;
  font-weight: 700;
  box-shadow: var(--shadow);
}

body.dark-mode .hero-badge {
  background-color: rgba(255, 255, 255, 0);
  color: white;
}

.hero-badge img {
  width: 24px;
  height: 24px;
  object-fit: contain;
}

body.dark-mode .hero-badge img {
  background-color: white;
  border-radius: 14px;
}

.discord-link {
  background: #5865f2;
  color: white;
  border: none;
}

.discord-link:hover {
  color: white;
}

.youtube-link {
  background: white;
  color: #111827;
}

body.dark-mode .youtube-link {
  background: #111827;
  border: white solid 1px;
  color: white;
}

.stat-card h3 {
  font-size: 2.2rem;

  color: #2563eb;
}

.auth {
  display: flex;
  align-items: center;
  gap: 14px;
}

#logoutBtn {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  border: none;
  background: #2563eb;
  color: white;
  cursor: pointer;
  transition: 0.25s;
  display: flex;
  align-items: center;
  justify-content: center;
}

#logoutBtn:hover {
  background: #1d4ed8;
  transform: scale(1.05);
}

.profile {
  display: flex;
  align-items: center;
  gap: 12px;
  background: #f8fafc;
  padding: 6px 10px;
  border-radius: 999px;
  border: 1px solid #e5e7eb;
}

.profile img {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  padding: 2px;
  object-fit: cover;
  background: linear-gradient(45deg, #4285f4, #34a853, #fbbc05, #ea4335);
}

#profileName {
  font-size: 15px;
  font-weight: 600;
  white-space: nowrap;
}

nav a:hover {
  color: #2563eb;
}

.logo span {
  font-size: 2rem;
  font-weight: 800;
}

body.dark-mode .profile {
  background: #1e293b;
  border-color: #334155;
}

#loginBtn {
  background: #2563eb;
  color: white;
  border: none;
  padding: 11px 18px;
  border-radius: 12px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: 0.25s;
}

#loginBtn:hover {
  background: #1d4ed8;
  transform: translateY(-2px);
}

@media (max-width: 575px) {
  .navbar {
    gap: 8px;
    padding: 10px 0;
  }

  .logo {
    gap: 6px;
  }

  .logo img {
    width: 34px;
    height: 34px;
  }

  .logo span {
    font-size: 1.5rem;
  }

  .profile {
    padding: 3px 5px;
    gap: 4px;
  }

  .profile img {
    width: 28px;
    height: 28px;
  }

  #profileName {
    font-size: 11px;
    max-width: 60px;
  }

  #logoutBtn {
    width: 26px;
    height: 26px;
    font-size: 10px;
  }

  #loginBtn {
    padding: 9px 12px;
    font-size: 13px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  #loginBtn i {
    margin: 0;
    font-size: 13px;
  }

  .theme-toggle {
    font-size: 1rem;
  }

  nav ul {
    gap: 8px;
  }

  .fa-bars {
    font-size: 1.4rem;
    margin: 0 10px 0 0;
  }
}

@media (max-width: 768px) {
  #logoutBtn {
    width: 32px;
    height: 32px;
    font-size: 13px;
  }

  #profileName {
    display: block;
    font-size: 12px;
    max-width: 85px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
  }

  .profile {
    gap: 6px;
    padding: 4px 6px;
  }

  .profile img {
    width: 32px;
    height: 32px;
  }

  .container {
    width: calc(100% - 24px);
    padding: 0 10px;
  }

  .nav-container {
    padding: 0 16px;
  }

  .navbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 12px 0;
    gap: 12px;
  }

  .hero {
    padding: 50px 0 80px;
  }

  .hero h1 {
    font-size: 3rem;
    line-height: 1.05;
    letter-spacing: -1px;
    margin-top: 20px;
  }

  .hero p {
    font-size: 1rem;
    line-height: 1.8;
    margin-top: 22px;
    text-align: left;
  }

  nav ul {
    gap: 10px;
  }

  nav a {
    font-size: 1.1rem;
  }

  .menu-toggle {
    display: block;
    font-size: 25px;
    cursor: pointer;
  }

  .logo span {
    font-size: 1.4rem;
    white-space: nowrap;
    margin-right: 14px;
  }

  .features {
    padding: 60px 0;
  }

  .features h2 {
    font-size: 1.8rem;
    text-align: center;
  }

  .features-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .card {
    aspect-ratio: unset;
    min-height: 320px;
    padding: 25px;
  }

  .alphabs_brands {
    font-size: 80px;
  }

  .hero-links {
    flex-direction: column;
    align-items: flex-start;
    margin-top: 35px;
  }

  .hero-link {
    width: 100%;
    padding: 16px;
    justify-content: center;
    font-size: 15px;
  }
  nav ul li:not(:last-child) {
    display: none;
  }
  .logo img {
    width: 40px;
    height: 40px;
  }
  #loginBtn {
    padding: 9px 12px;
    font-size: 13px;
  }
  .hero-badge {
    padding: 10px 16px;
    font-size: 14px;
  }
  .login-nav {
    width: 42px;
    height: 42px;
    padding: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 12px;
    font-size: 0;
  }
  .login-nav i {
    font-size: 1rem;
    margin: 0;
  }
  #profileName {
    display: none;
  }
}

@media (max-width: 635px) {
  .alphabs_brands {
    font-size: 70px;
  }

  nav ul {
    display: flex;
  }

  .login-nav {
    padding: 7px 11px;

    font-size: 0.7rem;
  }

  .login-nav i {
    margin-right: 2px;
  }
}

@media (max-width: 900px) {
  .navbar {
    padding: 10px 0;
  }

  nav ul {
    gap: 14px;
  }

  nav a {
    font-size: 0.95rem;
  }

  nav a i {
    margin-right: 5px;
  }

  .logo {
    gap: 8px;
  }

  .logo img {
    width: 38px;
    height: 38px;
  }

  .logo span {
    font-size: 1.8rem;
  }

  .profile {
    gap: 8px;
    padding: 4px 8px;
  }

  .profile img {
    width: 32px;
    height: 32px;
  }

  #profileName {
    font-size: 14px;
  }

  #loginBtn {
    padding: 8px 12px;
    font-size: 13px;
  }

  #logoutBtn {
    width: 30px;
    height: 30px;
    font-size: 12px;
    padding: 0;
  }

  .theme-toggle {
    font-size: 1.1rem;
  }

  .hero {
    padding: 80px 0 140px;
  }

  .hero-stats {
    flex-direction: column;
  }

  .hero-link {
    width: 100%;
    justify-content: center;

    padding: 10px 14px;
    font-size: 13px;
  }
}

@media (max-width: 450px) {
  .navbar {
    gap: 6px;
  }

  .logo {
    gap: 6px;
  }

  .logo span {
    font-size: 1.9rem;
  }

  .logo img {
    width: 36px;
    height: 36px;
  }

  .profile {
    max-width: 120px;
    padding: 2px 4px;
    gap: 4px;
  }

  #profileName {
    font-size: 0.72rem;
    max-width: 45px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
  }

  .profile img {
    width: 30px;
    height: 30px;
  }

  #logoutBtn {
    width: 28px;
    height: 28px;
    padding: 0;
    font-size: 0.7rem;
  }

  .theme-toggle {
    font-size: 1rem;
  }
}

html,
body {
  overflow-x: hidden;
}
