.light-theme {
  --general-bg-image: url("images/light-theme-background.jpg");
  --general-border-color: rgba(248, 187, 217, 0.4);
  --general-shadow: 0 8px 32px rgba(244, 166, 205, 0.3), 0 2px 16px rgba(244, 166, 205, 0.2);
  --general-font-color: #4A4A4A;
  --general-bg-color: #FFF8F5;

  --cal-theme-switcher-icon: url("images/light-theme-cat.png");
  --cal-theme-switcher-width: 130px;
  --cal-theme-switcher-height: 130px;
  --cal-theme-switcher-mWidth: 120px;
  --cal-theme-switcher-mHeight: 120px;

  --first-bg: #FFF0F5;
  --first-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.1);

  --second-bg: #F8BBD9;
  --second-shadow: 0 6px 18px rgba(248, 187, 217, 0.6);

  --third-bg: #F8BBD9;
  --third-shadow: 0 6px 18px rgba(248, 187, 217, 0.6);

  --fourth-bg: #D4A5A5;
  --fourth-shadow: 0 6px 18px rgba(212, 165, 165, 0.6);

  --text-shadow: 0 2px 6px rgba(212, 165, 165, 0.6), 0 0 14px rgba(212, 165, 165, 0.5);

  --fifth-bg: #E91E63;
  --fifth-shadow: 0 6px 18px rgba(233, 30, 99, 0.6);

  --copyright-gradient: linear-gradient(90deg, #000000, #2b2b2b, #000000);
  --copyright-shadow: 0 0 6px rgba(0, 0, 0, 0.25);
}

.dark-theme {
  --general-bg-image: url("images/dark-theme-background.jpg");
  --general-border-color: rgba(255, 255, 255, 0.1);
  --general-shadow: 0 8px 32px rgba(255, 255, 255, 0.1), 0 2px 16px rgba(255, 255, 255, 0.05);
  --general-font-color: #ffffff;
  --general-bg-color: #1a1a1a;

  --cal-theme-switcher-icon: url("images/dark-theme-cat.png");
  --cal-theme-switcher-width: 80px;
  --cal-theme-switcher-height: 80px;
  --cal-theme-switcher-mWidth: 72px;
  --cal-theme-switcher-mHeight: 72px;

  --first-bg: #2a2a2a;
  --first: inset 0 2px 8px rgba(0, 0, 0, 0.3);

  --second-bg: #4a4a4a;
  --second-shadow: 0 6px 18px rgba(255, 255, 255, 0.2);

  --third-bg: #5a5a5a;
  --third-shadow: 0 4px 12px rgba(255, 255, 255, 0.1);

  --fourth-bg: #3a3a3a;
  --fourth-shadow: 0 6px 18px rgba(255, 255, 255, 0.15);

  --text-shadow: 0 2px 6px rgba(255, 255, 255, 0.15), 0 0 12px rgba(255, 255, 255, 0.2);

  --fifth-bg: #6a6a6a;
  --fifth-shadow: 0 6px 18px rgba(255, 255, 255, 0.25);

  --copyright-gradient: linear-gradient(90deg, #ffb6c1, #f48fb1);
  --copyright-shadow: 0 1px 3px rgba(244, 166, 205, 0.25);
}

/*>>> General Styles <<<*/
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: "Nunito", sans-serif;
  color: var(--general-font-color);
}

::-webkit-scrollbar { display: none; }

body { background-image: var(--general-bg-image); }

main {
  width: 100%;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 20px;
}

/*>>> Landing Page Styles <<<*/
#lp-container {
  width: 750px;
  max-width: 90vw;
  border-radius: 20px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 20px;
  padding: 10px 25px 25px 25px;
  background-color: var(--general-bg-color);
  box-shadow: var(--general-shadow);
  border: 1px solid var(--general-border-color);
  font-family: "Quicksand", sans-serif;
}

h1 {
  font-family: "Bungee", sans-serif;
  font-weight: 400;
  margin-top: 15px;
}

h1, strong {
  text-shadow: var(--text-shadow);
  transition: box-shadow 0.2s ease;
}

p {
  text-align: center;
  font-size: 18px;
}

.lp-buttons {
  margin-top: 12px;
  display: flex;
  flex-flow: row wrap;
  gap: 10px;
}

#lp-container button {
  border-radius: 30px;
  aspect-ratio: auto;
  padding: 15px 25px 17px 25px;
  transition: box-shadow 0.2s ease;
}

#lp-theme-switcher {
  background-color: var(--second-bg);
  box-shadow: var(--fourth-shadow);
}

#redirect-to-cal {
  background-color: var(--fourth-bg);
  box-shadow: var(--fourth-shadow);
}

#lp-theme-switcher:hover, #redirect-to-cal:hover {
  box-shadow: var(--fifth-shadow);
  transition: box-shadow 0.2s ease;
}

.lp-image {
  background-image: url(images/lp-cat-image.png);
  width: 350px;
  height: 350px
}

.copyright {
  font-size: 1rem;
  color: #f6c6d4;
  text-align: center;
  letter-spacing: 1px;
  margin-top: 20px;
  font-weight: 600;
  letter-spacing: 0.5px;
  background: var(--copyright-gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: var(--copyright-shadow);
  transition: all 0.4s ease;
}

/*>>> Nekulator Styles <<<*/
#cal-body {
  width: 400px;
  max-width: 90vw;
  border-radius: 18px;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  padding: 10px 25px 25px 25px;
  background-color: var(--general-bg-color);
  box-shadow: var(--general-shadow);
  border: 1px solid var(--general-border-color);
}

.top-bar {
  grid-column: span 4;
  display: flex;
  justify-content: center;
  align-items: center;
  margin-top: 12px;
  margin-bottom: 4px;
  height: 30px;
  padding: 0;
}

#cal-theme-switcher {
  width: var(--cal-theme-switcher-width);
  height: var(--cal-theme-switcher-height);
  background-image: var(--cal-theme-switcher-icon);
  background-size: 95%;
  background-repeat: no-repeat;
  background-position: center 52%;
  border: none;
  cursor: pointer;
  margin: 0;
  padding: 0;
}

.screen {
  padding: 25px 30px;
  display: flex;
  justify-content: flex-end;
  align-items: center;
  grid-column: span 4;
  background-color: var(--first-bg);
  margin-bottom: 25px;
  border-radius: 20px;
  font-size: 26px;
  font-weight: 600;
  box-shadow: var(--first-shadow);
}

button {
  all: unset;
  border-radius: 50%;
  text-align: center;
  cursor: pointer;
  aspect-ratio: 1/1;
  padding: 20px;
  font-size: 16px;
  transition: box-shadow 0.2s ease;
}

.numbers {
  background-color: var(--second-bg);
  box-shadow: var(--second-shadow);
}

.operators {
  background-color: var(--third-bg);
  box-shadow: var(--third-shadow);
}

.special-buttons {
  background-color: var(--fourth-bg);
  box-shadow: var(--fourth-shadow);
}

.equals-button {
  grid-column: span 2 !important;
  background-color: var(--fifth-bg);
  max-width: none !important;
  max-height: none !important;
  border-radius: 80px;
  color: white;
  aspect-ratio: auto;
  padding: 10px 25px;
  box-shadow: var(--fifth-shadow);
}

/*>>> Mobile Styles <<<*/
@media (max-width: 480px) {
  /*>> Landing Page Styles <<*/
  #lp-container {
    width: 94vw;
    padding: 14px 16px 20px;
    border-radius: 14px;
    gap: 14px;
  }

  #lp-container > h1 {
    font-size: 1rem;
    margin-top: 8px;
    line-height: 1.05;
    text-align: center;
    padding: 0 6px;
  }

  #lp-container > p {
    font-size: 15px;
    line-height: 1.36;
    padding: 0 6px;
    text-align: center;
    max-width: 100%;
  }

  .lp-buttons {
    justify-content: center;
    gap: 12px;
    margin-top: 8px;
    flex-flow: row wrap;
  }

  #lp-container button {
    padding: 12px 18px;
    font-size: 14px;
    border-radius: 26px;
    min-width: 130px;
  }

  .lp-image {
    width: 260px;
    height: 260px;
    background-position: center;
    margin: 6px 0 4px;
  }

  .copyright {
    font-size: 0.9rem;
    margin-top: 10px;
    margin-bottom: 6px;
  }

  /*>> Nekulator Styles <<*/
  #cal-body {
    width: 90vw;
    gap: 15px;
    padding: 0 20px 20px 20px;
  }

  .top-bar {
    margin-top: 18px;
    margin-bottom: 8px;
  }

  #cal-theme-switcher {
    width: var(--cal-theme-switcher-mWidth);
    height: var(--cal-theme-switcher-mHeight);
  }

  .screen {
    padding: 20px 25px;
    margin-bottom: 20px;
  }

  button {
    padding: 15px;
    font-size: 14px;
  }

  .equals-button {
    padding: 15px 25px;
  }
}

/*>>> To be used to unhide the nekulator and hide landing page <<<*/
.hidden {
  display: none;
}
