*, *:before, *:after {
    box-sizing: border-box;
	transition: all 0.5s ease;
}

@font-face {
  font-family: "Chakra Petch";
  src: url("../assets/fonts/ChakraPetch-Regular.ttf");
}

@font-face {
  font-family: "Zen Dots";
  src: url("../assets/fonts/ZenDots-Regular.ttf");
}

:root {
	/* Content Backs (large main content cards) */
	--c-content: #222222; 
	--c-content-trans: #222222cc; 
	
	/* Primary Group (Electric Cyan, Violet, Green) */
	--c-primary-1: #00FFFF; /* Cyan (Main Accent) */
	--c-primary-1-hover: #33FFFF;
	--c-primary-2: #D000FF; /* Violet (Secondary Accent) */
	--c-primary-2-hover: #F066FF;
	--c-primary-3: #39FF14; /* Green */
	--c-primary-3-hover: #7FFF7F;

	/* Secondary Group (Hot Pink, Orange, Gold) */
	--c-secondary-1: #FF007F; /* Hot Pink */
	--c-secondary-1-hover: #FF66A3;
	--c-secondary-2: #FF5F1F; /* Orange */
	--c-secondary-2-hover: #FF7F3F;
	--c-secondary-3: #FFD700; /* Gold Yellow */
	--c-secondary-3-hover: #FFEE99;

	/* Status Colors */
	--c-positive: #ADFF2F; /* Green Yellow (Success) */
	--c-positive-hover: #CFFF77;
	--c-negative: #FF3131; /* Bright Red (Error) */
	--c-negative-hover: #FF9999;
	--c-neutral: #00E0FF; /* Light Blue (Informational) */
	--c-neutral-hover: #66CCFF;

	/* Text/Background Colours */
	--c-text-light: #BBBBCC;
	--c-text-dark: #444433;
}

body {
	margin: 0px;
	position: relative;
    padding: 128px 0 64px 0;
	overflow-x: hidden;
	font-family: "Chakra Petch";
	font-size: 16px;
	color: var(--c-text-light);
	display: flex;
	flex-direction: column;
	min-height: 100vh;
}

html {
	background-image: url(../assets/back.webp);
}

p, span, a, label {
	font-family: "Chakra Petch";
	font-size: 16px;
	color: var(--c-text-light);
}

h1, h2, h3, h4, h5, h6 {
	font-family: "Zen Dots";
	color: var(--c-primary-1);
	font-weight: 1;
}

input[type="text"], input[type="number"], input[type="password"], select, textarea {
	border-radius: 6px;
	width: 100%;
	margin: 6px;
	border: 3px solid #999999;
	background-color: #333333;
	font-family: "Chakra Petch";
	font-size: 16px;
	color: var(--c-text-light);
}

input[type="text"]:focus, input[type="number"]:focus, input[type="password"]:focus, select:focus, textarea:focus {
    border-color: var(--c-primary-1); /* Change border color on focus */
    outline: none; /* Remove default focus outline */
    box-shadow: 0 0 10px var(--c-primary-1); /* The neon glow effect */
}

input[type="number"] {
	text-align: center;
}

table {
    width: 100%;
    border-collapse: collapse;
    margin-bottom: 20px;
}

th {
    background-color: var(--c-primary-2);
    color: var(--c-primary-1);
    padding: 10px;
    text-align: left;
    font-family: "Zen Dots"; /* Consistent with headings */
}

td {
    padding: 8px 10px;
    border-bottom: 1px solid #444444; /* Dark separator line */
}

/* Striped rows for better readability */
tr:nth-child(even) {
    background-color: #1a1a1a;
}

tr:hover {
    background-color: #2a2a2a;
    color: var(--c-primary-1); /* Highlight text on hover */
}

.button-base {
	background-color: var(--c-secondary-3);
	font-family: "Chakra Petch";
	color: var(--c-text-dark); 
	text-decoration: none;
    border-radius: 34px 34px 34px 34px;
    padding: 16px 40px 16px 40px;
    margin: 6px;
    display: inline-block;
	cursor: pointer;
}

.button-base:hover {
	background-color: var(--c-secondary-3-hover);
	color: var(--c-text-dark); 
}

.button-positive {
	
}

.button-negative {
	
}

.button-3d {
	background-color: #4CAF50;
	font-family: "Chakra Petch";
	border: none; 
	color: white; 
	padding: 8px 16px; 
	text-align: center; 
	border-radius: 6px;
	text-decoration: none; 
	display: inline-block; 
	font-size: 16px; 
	margin: 4px 2px; 
	cursor: pointer; 
	box-shadow: 0 5px #666; 
	transition: all 0.3s ease; 
	user-select: none;
}

.button-3d-small {
	background-color: #4CAF50;
	font-family: "Chakra Petch";
	border: none; 
	color: white; 
	padding: 4px 8px; 
	text-align: center; 
	border-radius: 6px;
	text-decoration: none; 
	display: inline-block; 
	font-size: 14px; 
	margin: 2px 1px; 
	cursor: pointer; 
	box-shadow: 0 3px #666; 
	transition: all 0.3s ease; 
	user-select: none;
}

.button-3d:hover {
	background-color: #3e8e41; 
}

.button-3d:active {
	background-color: #3e8e41; 
	box-shadow: 0 2px #666; 
	transform: translateY(4px); 
}

.button-3d-small:active {
	background-color: #3e8e41; 
	box-shadow: 0 1px #666; 
	transform: translateY(2px); 
}

.card {
    background-color: var(--c-content);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 20px;
    margin-bottom: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); 
    transition: box-shadow 0.3s ease;
}

.card:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5); 
}

.card3d {
  margin: 4px;
  transform: scale(1);
  perspective: 600px;
}

.card3d:hover {
  z-index: 10;
  transform: scale(1.1);
  filter: brightness(1.25);
}

.card3d,
.card3d * {
  transition: all 250ms ease-out;
}

.cbar_start {
  background: repeating-linear-gradient(
    45deg,
    #ffcc00,
    #ffcc00 10px,
    #ff9900 10px,
    #ff9900 20px
  );
  display: flex;
  justify-content: center;
  align-items: center;
}

.cbar_end {
  width: 100%;
  height: 100%;
  background: repeating-linear-gradient(
    135deg,
    #ffcc00,
    #ffcc00 10px,
    #ff9900 10px,
    #ff9900 20px
  );
}

.close {
    position: absolute;
    display: flex;
    justify-content: center;
    align-items: center;
    top: 6px;
    right: 6px;
    width: 32px;
    height: 32px;
    border-radius: 6px;
    color: #ffffff;
    background-color: #ff0000;
    font-size: 30px;
    cursor: pointer;
	box-shadow: 0 3px #666; 
}

.close:hover {
	background-color: #cc0000; 
}

.close:active {
	background-color: #cc0000; 
	box-shadow: 0 1px #666; 
	transform: translateY(2px); 
}

.content-wrapper {
    display: flex;
    flex-direction: column;
	align-items: center;
    padding: 6px;
}

.content-shelf {
	display: flex;
    flex-direction: row;
	flex-wrap: wrap;
	justify-content: center;
	align-items: stretch;
    padding: 6px;
	margin: 6px;
}

.content-card {
	font-family: "Chakra Petch";
	font-size: 16px;
	border-radius: 6px;
	background-color: #33333399;
	color: #aaaabb;
	text-align: center;
	display: flex;
	flex-direction: column;
	align-items: center;
	justify-content: center;
	margin: 12px;
	padding: 12px;
	max-width: 100%;
	width: 350px;
}

.content-card-full {
	width: 100%;
}

.event-card {
    background-color: var(--c-content);
    border: 1px solid #333333;
    border-radius: 8px;
    padding: 6px;
    margin: 20px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.2); 
	background-size: contain;
    transition: box-shadow 0.3s ease;
	display: flex;
	width: 200px;
	height: 200px;
	align-items: flex-end;
	cursor: pointer;
	text-decoration: none;
}

.event-card span {
    color: var(--c-text-light);
	background: var(--c-content-trans);
	padding: 6px;
	border-radius: 6px;
}

.event-card:hover {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.5); 
}

.event-shelf {
	display: flex;
    flex-direction: row;
	flex-wrap: wrap;
	justify-content: flex-start;
	align-items: stretch;
    padding: 6px;
	margin: 6px;
}

.fighter-left {
	position: absolute;
	left: 2px;
	bottom: 0;
	max-height: 300px;
	max-width: 96px;
	z-index: 40;
}

.fighter-left-matchup {
	position: fixed;
	left: -3vw;
	bottom: 64px;
	max-height: 65vh;
	max-width: 33vw;
	z-index: -1;
}

.fighter-right {
	position: absolute;
	right: 2px;
	bottom: 0;
	max-height: 300px;
	max-width: 96px;
	z-index: 40;
	transform: scaleX(-1);
}

.fighter-right-matchup {
	position: fixed;
	right: -3vw;
	bottom: 64px;
	max-height: 65vh;
	max-width: 33vw;
	transform: scaleX(-1);
	z-index: -1;
}

.footer-container {
    display: flex;
    flex-direction: row;
    height: 64px;
    width: 100%;
    background-color: #222;
    padding: 6px;
    position: fixed;
    bottom: 0;
    z-index: 99;
}

.footer-link {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    height: 100%;
    cursor: pointer;
    flex: 1;
    text-decoration: none;
    color: #aaaabb;
}

.header-container {
    display: flex;
	flex-direction: row;
    justify-content: space-between;
    align-items: center;
    height: 128px;
    width: 100%;
    background-color: #222;
    padding: 6px;
    position: fixed;
    top: 0;
    z-index: 99;
}

.header-container h1 {
	font-size: calc(50% + 1.4vw);
}

.header-container div {
	width: 200px;
}

.joker-container {
	height: 375px;
	width: 270px;
	padding: 6px;
	border: 3px white solid;
	border-radius: 6px;
	background-color: #333;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.joker-container-1 {
	background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6) ), url("../assets/joker-icons/back_1.png");background-repeat: no-repeat;  background-position: center;
	border: 4px solid #989998;
}

.joker-container-2 {
	background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6) ), url("../assets/joker-icons/back_2.png");background-repeat: no-repeat;  background-position: center;
	border: 4px solid #37fe76;
}

.joker-container-3 {
	background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6) ), url("../assets/joker-icons/back_3.png");background-repeat: no-repeat;  background-position: center;
	border: 4px solid #c537fe;
}

.joker-container-4 {
	background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6) ), url("../assets/joker-icons/back_4.png");background-repeat: no-repeat;  background-position: center;
	border: 4px solid #ffa02c;
}

.joker-container-B {
	background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6) ), url("../assets/joker-icons/back_b.png");background-repeat: no-repeat;  background-position: center;
	border: 4px solid #ff201d;
}

.joker-container-J {
	background: linear-gradient( rgba(0, 0, 0, 0.4), rgba(0, 0, 0, 0.6) ), url("../assets/joker-icons/back_j.png");background-repeat: no-repeat;  background-position: center;
	border: 4px solid;
	animation: rainbow 7.5s linear infinite;
}

.joker-container img {
	width: 250px;
	border: 2px solid white;
}

@keyframes rainbow {
  0% { border-color: hsl(0, 100%, 50%); }
  25% { border-color: hsl(90, 100%, 50%); }
  50% { border-color: hsl(180, 100%, 50%); }
  75% { border-color: hsl(270, 100%, 50%); }
  100% { border-color: hsl(360, 100%, 50%); }
}

.joker-desc {
	display: flex;
	flex-direction: column;
	align-items: center;
	background-color: #fffb;
	border-radius: 6px;
	font-family: "Chakra Petch";
	font-size: 14px;
	padding: 6px;
	color: #000000;
	height: 182px;
	text-align: center;
	overflow-y: auto;
	width: 100%;
}

.joker-desc i {
	margin-bottom: 6px;
	font-size: 12px;
}

.joker-quality {
	padding: 2px 6px;
	border-radius: 20px;
	font-family: "Chakra Petch";
	font-size: 16px;
	color: #ffffff;
	text-shadow: 1px 1px #333;
	font-weight: bold;
	margin-bottom: 6px;
}

.joker-quality-J {
	background: linear-gradient(in hsl longer hue 45deg, red 0 0);
}

.joker-quality-J:before {
  content: "JOKE QUALITY";
}

.joker-quality-1 {
	background-color: #989998;
}

.joker-quality-1:before {
  content: "QUALITY 1";
}

.joker-quality-2 {
	background-color: #37fe76;
}

.joker-quality-2:before {
  content: "QUALITY 2";
}

.joker-quality-3 {
	background-color: #c537fe;
}

.joker-quality-3:before {
  content: "QUALITY 3";
}

.joker-quality-4 {
	background-color: #ffa02c;
}

.joker-quality-4:before {
  content: "QUALITY 4";
}

.joker-quality-B {
	background-color: #ff201d;
}

.joker-quality-B:before {
  content: "BANE QUALITY";
}

.joker-title {
	font-family: "Chakra Petch";
    font-size: 18px;
    text-shadow: 2px 2px #333333;
    font-weight: bold;
    height: 35px;
    color: #ffffff;
    display: flex;
    justify-content: center;
    align-items: center;
}

.main-content-wrapper {
    flex-grow: 1; 
    padding: 16px; 
    width: 100%;
    max-width: 1200px; 
    margin: 0 auto; 
	flex-direction: row;
}

.main-sub-container {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    margin: 6px;
    min-width: 380px;
}

.main-modal {
    display: flex;
    position: relative;
    width: 80vw;
    min-width: 250px;
	max-height: 80vh;
    padding: 12px;
    background: #333333;
    border-radius: 6px;
    flex-direction: column;
	font-family: "Chakra Petch";
	font-size: 16px;
	color: #aaaabb;
	overflow-y: auto;
}

.quickHideModal {
    z-index: -1;
    opacity: 0;
}

.showModal {
    opacity: 1;
    z-index: 101;
    animation: show .2s;
    transform: scale(1);
}

.match-summary-container {
	display: flex;
	padding: 12px;
	margin: 12px;
	border-radius: 6px;
	flex-direction: column;
	width: 90%;
}

.match-summary-container-loss {
	border: 3px #ff1c1c solid;
}

.match-summary-container-win {
	border: 3px #00ff11 solid;
}

.notification {
    display: flex;
    padding: 6px;
    margin: 6px;
	width: 100%;
	text-align: center;
	align-items: center;
	justify-content: center;
    border-radius: 6px;
	font-family: "Chakra Petch";
	font-size: 16px;
	color: #333322;
}

.notification-error {
	background-color: #ff8585;
	border: 3px #ff1c1c solid;
}

.notification-information {
	background-color: #85bcff;
	border: 3px #0073ff solid;
}

.notification-warning {
	background-color: #ffd885;
	border: 3px #ffad00 solid;
}

.notification-success {
	background-color: #85ff8d;
	border: 3px #00ff11 solid;
}

.pack-container {
	height: 330px;
	width: 212px;
	padding: 6px;
	margin: 6px;
	border: 3px white solid;
	border-radius: 6px;
	background-color: #333;
	display: flex;
	justify-content: space-between;
	flex-direction: column;
	align-items: center;
	text-align: center;
}

.pack-desc {
	display: flex;
	flex-direction: column;
	align-items: center;
	border-radius: 6px;
	font-family: "Chakra Petch";
	font-size: 14px;
	padding: 6px;
	height: 120px;
	text-align: center;
	overflow-y: auto;
	width: 100%;
}

.pack-desc i {
	margin-bottom: 6px;
	font-size: 12px;
}

.pack-container img {
	width: 196px;
	border: 2px solid white;
}

.right-align {
	text-align: right;
}

.scoreboard {
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    text-align: center;
    font-size: 60px;
    color: #ffffff;
	flex-wrap: wrap;
}

.season-matchup {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    position: relative;
    width: calc(100% - 24px);
    min-height: 400px;
    border-radius: 6px;
    background-color: #222222;
    border: #0044aa 3px solid;
    margin: 12px;
    padding: 10px 0;
    text-decoration: none;
}

.season-matchup-bar-container {
	height: 48px;
	width: 100%;
	background-color: #333333;
	display: flex;
	flex-direction: row;
	justify-content: space-between;
}

.season-matchup-bar-left {
	height: 100%;
	border-radius: 0 6px 6px 0;
}

.season-matchup-bar-right {
	height: 100%;
	border-radius: 6px 0 0 6px;
}

.season-matchup-bar-scorekeeper {
	position: absolute; 
	left: 50%; 
	right: 50%; 
	width: 96px;
	height: 48px;
	display: flex;
	align-items: center;
	justify-content: center;
	background: linear-gradient(to bottom, 
		#ffffff 0%,
		#444444 1%,
		#000000 40%,
		#000000 60%,
		#444444 99%,
		#ffffff 100%);
	text-align: center; 
	align-self: center; 
	justify-self: center;
	font-family: "Chakra Petch";
	font-size: 24px;
	border-left: 2px solid white;
	border-right: 2px solid white;
	color: #ccccdd;
}

.season-matchup-rules {
	font-family: "Chakra Petch";
	font-size: 16px;
	border-radius: 6px;
	background-color: #33333399;
	color: #aaaabb;
	text-align: center;
	align-self: center;
	margin: 12px;
	padding: 12px;
	width: 400px;
	max-width: calc(100% - 96px);
	z-index: 41;
}

.shadow {
    z-index: 101;
    position: fixed;
    width: 100%;
    height: 100vh;
    overflow: auto;
    top: 0;
    left: 0;
    background: #00000066;
    display: flex;
    justify-content: center;
    align-items: center;
}

.hideShadow {
    z-index: -1;
    opacity: 0;
    animation: hideshad .25s;
}

.showShadow {
    opacity: 1;
    z-index: 101;
    animation: showshad .2s;
}

@keyframes show {
    from {
        transform: scale(0.8);
        opacity: 0;
        z-index: -1;
    } to {
        transform: scale(1);
        opacity: 1;
        z-index: 2;
    }
}

@keyframes showshad {
    from {
        opacity: 0;
        z-index: -1;
    } to {
        opacity: 1;
        z-index: 2;
    }
}

.stripe-blue {
	background: repeating-linear-gradient(
		45deg,
		#606dbc,
		#606dbc 10px,
		#465298 10px,
		#465298 20px
	);
}

.stripe-green {
	background: repeating-linear-gradient(
		45deg,
		#6dbc60,
		#6dbc60 10px,
		#529846 10px,
		#529846 20px
	);
}

.stripe-yellow {
	background: repeating-linear-gradient(
		45deg,
		#bcbc60,
		#bcbc60 10px,
		#989846 10px,
		#989846 20px
	);
}

.stripe-red {
	background: repeating-linear-gradient(
		45deg,
		#bc6d60,
		#bc6d60 10px,
		#985246 10px,
		#985246 20px
	);
}

.season-matchup-name-container {
    display: flex;
    flex-direction: row;
    justify-content: space-between;
	align-items: center;
    position: relative;
    width: 100%;
	background: linear-gradient(to bottom, 
		#000000 0%,
		#000000 60%,
		#444444 99%,
		#ffffff 100%);
}

.season-matchup-name-container span {
	font-family: "Zen Dots";
	color: #ddddff;
	font-size: 24px;
	font-weight: 1;
	padding: 6px;
	width: 50%;
}