@import url('https://fonts.googleapis.com/css2?family=Roboto:wght@300;400;500&display=swap');
@import url('icons.css');

body {
  width: 100%;
  height: 100%;
  background: #000;
  margin: 0;
  color: #fff;
}
* {
  font-family: "Roboto", serif !important;
  font-size: 15px;
  font-weight: 400;
  -webkit-font-smoothing: antialiased;
}

/* ------------------- ANIMATION */

@keyframes gradient {
  to {
    background-position: 200% center;
  }
}
@keyframes spin {
  to {
    transform: rotate(360deg);
  }
}

/* ------------------- SCROLL */

::-webkit-scrollbar {
  width: 5px;
  height: 5px;
}
::-webkit-scrollbar-track {
  background: #000;
}
::-webkit-scrollbar-thumb {
  background: #fff;
  border-radius: 5px;
}

/* ------------------- GLOBALS */

a {
  text-decoration: none;
  color: inherit;
  margin: auto;
  font-size: 0;
}
a.icon {
  margin: 0;
}
i {
  display: inline-block !important;
  vertical-align: middle;
}
i.left {
  transform: scale(var(--ggs, 0.7)) !important;
  margin-right: 5px;
}
i.right {
  transform: scale(var(--ggs, 0.7)) !important;
  margin-left: 5px;
}
h1, h2 {
  margin: 0;
}
h2, b {
  font-weight: bold;
}
table {
  width: 100%;
  max-width: 1000px;
  margin: auto;
  border-spacing: 0;
}
table img {
  width: 50px;
  height: 50px;
}
td {
  padding: 10px;
}
td.fixed {
  width: 1%;
  white-space: nowrap;
}
input,
select,
textarea {
  width: calc(100% - 20px);
  height: 50px;
  padding: 0 10px;
  border: 0;
  border-radius: 10px;
  background: #fff;
  color: #000;
  margin: 10px 0 20px 0;
}
select {
  width: 100%;
}
textarea {
  height: 100px;
  padding: 10px;
}
input:focus,
select:focus,
textarea:focus {
  outline: none;
}
input[type="checkbox"] {
  width: 15px;
  height: 15px;
  background: #000;
  border-radius: 50%;
  border: 1px solid #fff;
  vertical-align: top;
  padding: 0;
  margin: 2px 10px 20px 0;
  appearance: none;
  -webkit-appearance: none;
  outline: none;
}
input[type="checkbox"]:checked {
  background: #fff;
}
iframe {
  width: 100%;
  height: 100%;
  border: none;
}
.g-recaptcha {
  margin-bottom: 20px;
  overflow: hidden;
}
.line {
  border-top: 1px solid #333;
  vertical-align: top;
}
.hide {
  display: none !important;
}
.section {
  width: 100%;
  height: fit-content;
  display: flex;
  overflow: hidden;
  border-bottom: 1px solid #333;
  font-size: 0;
}
.section-full {
  width: 100%;
  position: relative;
  display: flex;
  flex-grow: 1;
}
.section-left,
.section-right {
  width: 50%;
  position: relative;
  display: inline-flex;
  flex-grow: 1;
}
.divided .section-left {
  width: 300px;
}
.divided .section-right {
  width: calc(100% - 301px);
  border-left: 1px solid #333;
  flex-direction: column;
}
.info {
  width: calc(100% - 60px);
  text-align: center;
}
.info .title {
  text-align: center;
}
.info .sub {
  margin: 30px 0 10px 0;
  text-decoration: underline;
}
.info a {
  color: #7575ff;
}
.pad {
  padding: 30px 0;
  margin: auto;
}
.head {
  padding: 20px 0;
}
.max {
  max-width: 800px;
}
.left {
  display: block;
  text-align: left;
}
.mid {
  margin: auto;
}
.flow {
  max-width: calc(100% - 60px);
  padding: 30px;
}
.limit {
  max-width: 450px;
}
.slide {
  width: 100%;
  height: 100%;
  position: fixed;
  z-index: 2;
  top: 0;
  overflow: hidden;
  background: #fff;
  transform: translateY(-100%);
  transition: 1s;
}
.slide.dark {
  background: #222;
}
.slide.open {
  transform: translateY(0%);
}
.slide-mid {
  color: #000;
  text-align: center;
}
.nav {
  width: 40px;
  height: 40px;
  position: absolute;
  z-index: 5;
  top: 5px;
  background-position: center;
  background-repeat: no-repeat;
  border-radius: 50%;
  transition: 1s;
}
.invert {
  filter: invert(1);
}
.btn {
  cursor: pointer;
  user-select: none;
  transition: 0.5s;
  overflow: hidden;
}
.btn:hover {
  opacity: 0.5;
}
.btn-s {
  width: 150px;
  height: 30px;
  border: none;
  border-radius: 10px;
  background: #fff;
  color: #000;
}
.btn-s.small {
  width: 120px;
  margin-left: 5px;
  margin-right: 5px;
}
.btn-s.gap {
  margin-top: 20px;
}
.btn-s.green {
  background: #4cd964;
  color: #fff;
}
.btn-s.red {
  background: #ff3b30;
  color: #fff;
}
.btn-s.pink {
  background: #ff2d55;
  color: #fff;
}
.btn-s.blue {
  background: #007aff;
  color: #fff;
}
.gradient {
  background-image: linear-gradient(to right, #ffaccf 20%, #5cb6f8 40%, #ba75e0 60%, #dd5183 80%, #ffaccf 100%);
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: gradient 10s infinite linear;
}
.title,
.title div {
  font-size: 40px;
  font-weight: 400;
  margin-bottom: 20px;
}
.sub,
.sub div,
.sub span {
  font-size: 20px;
  font-weight: 400;
}
.tiny {
  font-size: 12px;
}
.form {
  width: 300px;
  height: fit-content;
}
.multi {
  height: 500px;
}
.article {
  width: 600px;
}
.preview {
  width: calc(100% - 40px);
  border: 1px solid #222;
  overflow-y: scroll;
  overflow-x: hidden;
  margin-top: 10px;
  padding: 20px;
}

/* ------------------- INDEX + PRODUCT GLOBALS */

.x-panel {
  width: 250px;
  min-height: 150px;
  position: relative;
  background: #111;
  margin: 15px;
  padding: 20px;
  border-radius: 10px;
  vertical-align: top;
  display: inline-flex;
  flex-direction: column;
  align-items: center;
}
.x-panel h2 {
  margin-bottom: 30px;
}
.x-panel .btn-s {
  width: 200px;
  background: transparent;
  border: 2px solid #fff;
  color: #fff;
}
.x-info {
  text-align: left;
}
.x-image {
  width: 200px;
  height: 200px;
  border-radius: 10px;
  margin: 30px;
}
.x-image.bg {
  background: #fff no-repeat center;
  background-size: contain;
}
.x-prev,
.x-next {
  position: absolute;
  bottom: 25px;
}
.x-prev {
  left: 20px;
}
.x-next {
  right: 20px;
}
.ad {
  height: 50px;
  background: linear-gradient(45deg, #ffaccf, #0194ff);
  transform: rotate(180deg);
  border-radius: 5px;
  margin-right: 10px;
  padding: 2px;
  writing-mode: vertical-rl;
  text-transform: uppercase;
  font-weight: bold;
}
.sponsor {
  background: #222;
}
.sponsor td:first-child {
  border-top-left-radius: 10px;
  border-bottom-left-radius: 10px;
}
.sponsor td:last-child {
  border-top-right-radius: 10px;
  border-bottom-right-radius: 10px;
}

/* ------------------- DEAL + ARTICLE GLOBALS */

.pagination div {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  border: 1px solid #fff;
  margin: 0 5px;
  display: inline-block;
  vertical-align: middle;
}
.pagination div.active {
  background: #fff;
}
.panel {
  width: calc(100% - 60px);
  height: fit-content;
  position: relative;
  padding: 30px;
  border-bottom: 1px solid #333;
  font-size: 0;
}
.panel:last-child {
  border: none;
}
.clamp {
  overflow: hidden;
  text-overflow: ellipsis;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
}
.clamp.one {
  -webkit-line-clamp: 1;
}
.panel-left,
.panel-right {
  display: inline-block;
  vertical-align: top;
}
.panel-left {
  width: 150px;
  margin-right: 30px;
}
.panel-right {
  width: calc(100% - 180px);
  text-align: left;
}
.panel-left.extend {
  width: 300px;
}
.panel-right.extend {
  width: calc(100% - 330px);
}
.panel-image {
  width: 150px;
  height: 150px;
  background: #fff no-repeat center;
  background-size: contain;
  border-radius: 10px;
}
.extend .panel-image {
  width: 300px;
  height: 170px;
  background-size: cover;
}
.panel-top,
.panel-title,
.panel-mid,
.panel-info {
  margin-bottom: 10px;
}
.panel-top span {
  margin-right: 10px;
  font-size: 12px;
}
.panel-title {
  font-size: 20px;
}
.panel-mid span {
  margin-right: 10px;
}
.panel-mid a,
.panel-info a {
  color: #7575ff;
}
.panel-btn {
  margin-top: 20px;
  float: right;
}
.discount {
  width: fit-content;
  vertical-align: top;
  border: 1px dashed #333;
  margin-left: 10px;
  padding: 5px 10px;
  display: inline-block;
  color: #03bb19;
}
.was {
  text-decoration: line-through;
  color: #555;
}
.warning {
  color: #FF0000;
}
.scroll {
  width: calc(100% - 60px);
  height: auto;
  border-bottom: 1px solid #333;
  padding: 30px;
}
.scroll .sub {
  margin-bottom: 30px;
}
.bubbles {
  padding: 10px 30px;
}
.scroll-panels {
  padding-bottom: 5px;
  white-space: nowrap;
  overflow-x: scroll;
}
.scroll-panel {
  width: 100px;
  margin-right: 30px;
  white-space: normal;
  vertical-align: top;
  display: inline-flex;
  flex-flow: column;
  align-items: self-start;
}
.scroll-right {
  margin-top: 20px;
}
.scroll-panel .panel-title {
  font-size: 15px;
}
.scroll-panel .panel-image {
  width: 100px;
  height: 100px;
}
.scroll-panel .panel-logo {
  width: 50px;
  height: 50px;
}

/* ------------------- ALL PAGES */

/* ad */
#ad {
  width: 100%;
  padding: 0;
}

/* cookies */
#cookies {
  width: 280px;
  height: fit-content;
  position: fixed;
  z-index: 5;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: auto;
  background: #FFF;
  border-radius: 10px;
  padding: 20px;
  color: #000;
  text-align: center;
}

/* main */
main {
  max-width: 1500px;
  margin: auto;
  position: relative;
}
main.disabled {
  opacity: .3;
  overflow: hidden;
  pointer-events: none;
}

/* nav */
#logo {
  left: 30px;
  background-image: url(/images/logo.png);
  background-size: 120%;
}
#find {
  right: 90px;
  background-image: url(/images/search.png);
  background-size: 60%;
}
#menu {
  right: 30px;
  background-image: url(/images/menu.png);
  background-size: 100%;
}
#exit {
  right: 30px;
  background-image: url(/images/close.png);
  background-size: 100%;
  display: none;
}

/* global search */
#query {
  width: 300px;
  background: #fff;
  font-size: 25px;
  text-align: center;
}

/* nav bar + breadcrumbs + footer */
#nav-bar,
#breadcrumbs,
#footer {
  height: 50px;
}
#nav-bar {
  position: relative;
}
#nav-inner {
  margin: auto;
}
#nav-inner .btn {
  display: inline-block;
  margin: 0 20px;
}
#region {
  width: 65px;
  margin: 0 -100px 0 80px;
  background: #000;
  border: 1px solid #000;
  color: #fff;
}
#crumbs {
  margin: auto 30px;
}
#crumbs span {
  margin-right: 10px;
}
#legal span {
  margin: 0 10px;
}

/* splash */
#splash {
  height: fit-content;
  position: relative;
}
#splash video,
#splash img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* socials */
#socials .social-panel {
  width: 25%;
  height: 100px;
  display: inline-flex;
}
#socials .social-icon {
  width: 50px;
  height: 50px;
}
#share {
  margin-top: 30px;
}

/* trust */
#trust {
  margin-top: 10px;
}
#trust span {
  margin-right: 10px;
  vertical-align: middle;
}
#trust img {
  width: 100px;
  vertical-align: middle;
}

/* ------------------- HOME PAGE */

#about-panels,
#product-panels {
  width: 100%;
  margin: 10px;
  font-size: 0;
  text-align: center;
}
#showcase {
  width: 250px;
  height: 250px;
  transition: 1s;
}
#answer {
  margin-bottom: 50px;
}
#faq-page {
  width: fit-content;
  position: absolute;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: auto;
}

/* ------------------- PRODUCT PAGE */

#track-panels {
  width: 100%;
}
#track-panels .title {
  margin-top: 20px;
}
#refresh {
  margin: 0 auto 30px auto;
}
#spinner {
  width: 30px;
  height: 30px;
  background-image: url(/images/logo.png);
  background-size: 100%;
  display: inline-block;
  vertical-align: middle;
  margin-top: -5px;
  margin-right: 5px;
  animation: spin infinite 1s;
}
#notify {
  width: 50px;
  height: 50px;
  position: fixed;
  z-index: 3;
  bottom: 50px;
  left: 50px;
  border-radius: 50%;
  background-color: #ff1f1f;
  background-image: url(/images/off.png);
  background-size: 80%;
  background-position: center;
  background-repeat: no-repeat;
  transition: 2s;
}
#notify.on {
  background-color: #1eff00;
  background-image: url(/images/on.png);
}
#alert {
  width: fit-content;
  height: fit-content;
  position: fixed;
  z-index: 5;
  top: 30px;
  left: 0;
  right: 0;
  margin: auto;
  background: #fff;
  padding: 20px;
  color: #000;
  text-align: center;
}

/* ------------------- DEALS + ARTICLES PAGE */

#filter {
  width: 100%;
  padding: 30px;
}
#keyword {
  margin: 0;
}
#toggle,
#toggle-i {
  margin-top: 20px;
}
#toggle-i .btn {
  margin-bottom: 20px;
}
#search {
  width: 20px;
  height: 20px;
  position: absolute;
  top: 45px;
  right: 40px;
  background-image: url(/images/search.png);
  background-size: 100%;
}
#page {
  width: fit-content;
  margin: 30px auto;
}
#page div {
  display: inline-block;
}
#prev,
#next {
  width: 90px;
}
#prev {
  margin-right: 15px;
}
#top {
  width: 100%;
  padding: 30px;
}
#top-panels {
  margin-top: 30px;
}

/* ------------------- DEAL PAGES */

#deal .panel {
  width: 100%;
  padding: 0;
  border: 0;
}
#deal .panel-left {
  width: 350px;
}
#deal .panel-right {
  width: calc(100% - 380px);
}
#deal .panel-image {
  width: 350px;
  height: 350px;
}

/* ------------------- ADMIN PAGE */

#admin .manage {
  width: 100%;
}
#admin .section {
  border: none;
}
#admin .form {
  margin: 50px;
  display: inline-block;
  vertical-align: top;
  text-align: left;
}
#login {
  height: 100vh;
  border: none;
}
#login .form {
  margin: auto;
}
#side {
  width: fit-content;
  height: fit-content;
  position: fixed;
  z-index: 5;
  top: 0;
  bottom: 0;
  left: 30px;
  margin: auto;
}
#side .btn {
  width: 50px;
  height: 50px;
  border-radius: 50%;
  margin: 20px 0;
  display: block;
}
#format {
  width: fit-content;
  height: fit-content;
  position: fixed;
  z-index: 5;
  bottom: 30px;
  left: 0;
  right: 0;
  margin: auto;
  background: #fff;
  border-radius: 10px;
  padding: 20px;
  display: none;
}
#format .btn {
  width: 100px;
  display: inline-block;
  margin: 0 10px;
  border: 2px solid #000;
  color: #000;
}

/* ------------------- 404 PAGE */

#four {
  height: 100vh;
  border: 0;
}

/* ------------------- DESKTOP */

@media screen and (min-width: 2000px) {
  main {
    max-width: 2000px;
  }
}

/* ------------------- MOBILE CLASSES */

@media only screen and (min-device-width: 320px) and (max-device-width: 850px) and (orientation: portrait) {
  table .btn,
  .track-panel,
  .section-left,
  .section-right,
  .divided .section-left,
  .divided .section-right,
  .panel-left.extend,
  .panel-right.extend {
    width: 100%;
  }
  .section {
    flex-direction: column;
  }
  .divided .section-left,
  .divided .section-right {
    border: none;
  }
  .divided .section-right {
    border-top: 1px solid #333;
  }
  .btn {
    opacity: 1 !important;
  }
  .title,
  .title div {
    font-size: 30px;
  }
  .form {
    width: calc(100% - 60px);
  }
  .row {
    flex-direction: row;
  }
  .x-panel {
    width: calc(100% - 80px);
    min-height: initial;
  }
  .x-image {
    width: 75px;
    min-width: 75px;
    height: 75px;
    margin: 0 20px 0 0;
  }
  .track-image {
    width: 50px;
    height: 50px;
    vertical-align: middle;
  }
  .track-btn {
    margin: 0 0 0 30px;
    display: inline-block;
    vertical-align: middle;
  }
  .panel-left {
    width: fit-content;
  }
  .panel-right {
    width: calc(100% - 130px);
  }
  .panel-left.extend {
    margin-bottom: 20px;
  }
  .panel-image {
    width: 100px;
    height: 100px;
  }
  .panel-title.clamp {
    font-size: 15px;
  }
  .panel-info.clamp {
    display: none;
  }
  .panel-btn {
    position: initial;
    float: right;
  }
}

/* ------------------- MOBILE IDS */

@media only screen and (min-device-width: 320px) and (max-device-width: 850px) and (orientation: portrait) {
  #admin,
  #nav-inner {
    display: none;
  }
  #footer {
    height: 80px;
  }
  #track .sub {
    max-width: 100%;
  }
  #all-deals .expiry {
    float: none;
    display: block;
    margin-top: 5px;
  }
  #all-deals .retailer {
    display: block;
    margin-bottom: 10px;
  }
  #deal .panel-left,
  #deal .panel-right {
    width: 100% !important;
  }
  #deal .panel-left {
    margin-bottom: 30px;
  }
  #deal .panel-image {
    width: 250px;
    height: 250px;
  }
}
