/*-----------------------------------
  CSS VARIABLES
-----------------------------------*/
/* Load the custom font */
@font-face {
    font-family: 'GreatVibes';
    src: url('GreatVibes-Regular.ttf') format('truetype');
    font-weight: normal;
    font-style: normal;
}

/* Create a reusable class */
.great-vibes {
    font-family: 'GreatVibes', cursive;
        font-size: 25px;
}



.form-control:focus {
    color: #ffffff;
    background-color: #000000;
    border-color: #333333;
    outline: 0;
    border-radius: 0px;
    box-shadow: 0 0 0 .25rem rgba(13, 110, 253, .25);
}
/*-----------------------------------
  GLOBAL RESET & DARK THEME
-----------------------------------*/
body, html {
  font-family: 'Poppins', sans-serif;
  font-size: 12px;
  margin: auto;
  background-color: #000;
  color: #bbb;
  border-radius: 0px !important;
}

/* Make accordion arrow (chevron) white */
.accordion-button::after {
    filter: brightness(0) invert(1);
}

  .live-dot {
    width: 12px;
    height: 12px;
    background-color: white;
    border-radius: 50%;
    animation: blink 1s infinite;
    display: inline-block;
  }

  @keyframes blink {
    0%, 50%, 100% { opacity: 1; }
    25%, 75% { opacity: 0; }
  }

/* Optional: remove background on hover to maintain dark theme */
.accordion-button:not(.collapsed):focus,
.accordion-button:focus {
    box-shadow: none;
}

.accordion {
    --bs-accordion-color: var(--bs-body-color);
    --bs-accordion-bg: var(--bs-body-bg);
    --bs-accordion-transition: color 0.15s ease-in-out, background-color 0.15s ease-in-out, border-color 0.15s ease-in-out, box-shadow 0.15s ease-in-out, border-radius 0.15s ease;
    --bs-accordion-border-color: black;
    --bs-accordion-border-width: var(--bs-border-width);
    --bs-accordion-border-radius: 0px;
    --bs-accordion-inner-border-radius: calc(var(--bs-border-radius) - (var(--bs-border-width)));
    --bs-accordion-btn-padding-x: 1.25rem;
    --bs-accordion-btn-padding-y: 1rem;
    --bs-accordion-btn-color: var(--bs-body-color);
    --bs-accordion-btn-bg: var(--bs-accordion-bg);
    --bs-accordion-btn-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23212529' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e);
    --bs-accordion-btn-icon-width: 1.25rem;
    --bs-accordion-btn-icon-transform: rotate(-180deg);
    --bs-accordion-btn-icon-transition: transform 0.2s ease-in-out;
    --bs-accordion-btn-active-icon: url(data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 16 16' fill='none' stroke='%23052c65' stroke-linecap='round' stroke-linejoin='round'%3e%3cpath d='M2 5L8 11L14 5'/%3e%3c/svg%3e);
    --bs-accordion-btn-focus-box-shadow: 0 0 0 0.25rem rgba(13, 110, 253, 0.25);
    --bs-accordion-body-padding-x: 1.25rem;
    --bs-accordion-body-padding-y: 1rem;
    --bs-accordion-active-color: var(--bs-primary-text-emphasis);
    --bs-accordion-active-bg: var(--bs-primary-bg-subtle);
}

.accordion-body {
    padding: 15px 15px;
}


.goclogo {
  position: absolute;
  bottom:4px; /* Adjust how far from bottom */
  left: 50%;
  transform: translateX(-50%);
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
}



.navbar .nav-item {
  flex: 1 1 0; /* Force equal width */
  text-align: center;
}





.arrow {
  animation: bounce 2s infinite;
}

.text-danger{
  color: red !important;
}

.img-thumbnail{
  border-radius: 0px;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(10px); }
  60% { transform: translateY(5px); }
}

.overlay {
  position: relative;
  background: url('../img/bgrcl.webp') no-repeat center center;
  background-size: cover;
  z-index: 1;
}
.overlay::before {
  content: "";
  position: absolute;
  inset: 0;
  background-color: rgba(0, 0, 0, 0.3);
  z-index: -1;
}

.badge-title {
  font-size: 32px !important;
}



.timer-box {
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
  font-family: 'Bebas Neue', sans-serif;
}

.time-unit {
  background-color: transparent;
  border: none;
  border-radius: 0;
  width: auto;
  padding: 8px 16px;
  text-align: center;
}
.time-unit span.value {
  display: block;
  font-size: 60px;
  font-weight: bold;
  color: #eeda6e;
  line-height: 1;
}
.time-unit span.label {
  font-size: 22px;
  color: #fff;
  text-transform: uppercase;
}


.bg-danger {
  --bs-bg-opacity: 1;
  background-color: red !important;
}

.btn-danger {
    --bs-btn-color: #fff;
    --bs-btn-bg: red;
    --bs-btn-border-color: red;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: red;
    --bs-btn-hover-border-color: red;
    --bs-btn-focus-shadow-rgb: 225, 83, 97;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: red;
    --bs-btn-active-border-color: red;
    --bs-btn-active-shadow: none;
    --bs-btn-disabled-color: #fff;
    --bs-btn-disabled-bg: red;
    --bs-btn-disabled-border-color: red;
}

.text-muted {
    --bs-text-opacity: 1;
    color: rgb(203 203 203 / 75%) !important;
}
.golden-text {
  position: relative;
  font-weight: bold;
  background: linear-gradient(
    120deg,
    #fff8dc 0%,
    #ffd700 40%,
    #f9a602 60%,
    #fff8dc 100%
  );
  background-size: 200% auto;
  background-clip: text;
  -webkit-background-clip: text;
  color: transparent;
  -webkit-text-fill-color: transparent;
  animation: shineText 3s linear infinite;
}

@keyframes shineText {
  0% {
    background-position: -100% 0;
  }
  100% {
    background-position: 200% 0;
  }
}



.golden-button {
  position: relative;
  background: linear-gradient(270deg, #eeda6e, #dcb546, #eeda6e);
  background-size: 800% 800%;
  border: none;
  cursor: pointer;
  text-transform: uppercase;
  animation: fireMove 5s ease infinite;
  overflow: hidden;
  font-weight: bold;
  color: #000;
  padding: 1em 2em;
  font-size: 1rem;
}


.golden-badge {
  position: relative;
  background: linear-gradient(270deg, #eeda6e, #dcb546, #eeda6e);
  background-size: 800% 800%;
  border: none;
  cursor: pointer;
  animation: fireMove 5s ease infinite;
  overflow: hidden;
}

.golden-badge::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shine 2.5s infinite;
  pointer-events: none;
}


.golden-button::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    120deg,
    rgba(255, 255, 255, 0) 0%,
    rgba(255, 255, 255, 0.5) 50%,
    rgba(255, 255, 255, 0) 100%
  );
  transform: rotate(25deg);
  animation: shine 2.5s infinite;
  pointer-events: none;
}

@keyframes fireMove {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

@keyframes shine {
  0% { transform: translateX(-100%) rotate(25deg); }
  100% { transform: translateX(100%) rotate(25deg); }
}


strong {
  color: #fff;
}

.emoji {
  position: absolute;
  font-size: 24px;
  opacity: 0;
  animation: floatUp 1s ease-out forwards;
  pointer-events: none;
}


.table-dark {
  --bs-table-color: #bbb;
}

::placeholder {
  color: #aaa !important;
}

a {
  color: #bbb;
}
a:hover {
  color: #bbb;
}

.table {
  background-color: #bbb;
  color: #bbb;
  vertical-align: middle;
}
.table thead {
  background-color: #222;
}
.table-striped tbody tr:nth-of-type(odd) {
  background-color: #1a1a1a;
}

input.form-control,
select.form-select,
textarea.form-control {
  background-color: #000 !important;
  color: #fff !important;
  border-color: #333 !important;
  border-radius: 0px !important;
}

.alert {
  border-radius: 0px !important;
  padding: 4px 0;
}

.border {
  border: 1px solid #333 !important;
}

.thin-border {
    border-width: 0.3px !important;
    border-style: solid !important;
    border-color: #ffbf0045 !important;
}

/*-----------------------------------
  FULLSCREEN NAVBAR MENU
-----------------------------------*/
/*-----------------------------------
  NAVBAR
-----------------------------------*/
.navbar {
  background-color: black;
  width: 450px;
  margin: auto;
  padding: 4px;
}

.navbar-nav {
  flex-direction: column !important;
  gap: 16px;
  width: 100%;
}
.navbar .nav-item {
  line-height: 1.25rem;
}

/*-----------------------------------
  FORMS & MODALS
-----------------------------------*/
.form-section {
  background-color: #000;
  border-radius: var(--border-radius-lg);
  padding: 48px;
  margin: var(--margin-xxl) 0;
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.08);
}

#cropModal .modal-body {
  text-align: center;
  padding: 0;
  height: 300px;
  overflow: hidden;
}

#imageToCrop {
  max-width: 80%;
  width: 80%;
  margin: 0 auto;
  display: block;
}

.cropper-container {
  width: 100% !important;
}

/*-----------------------------------
  TABLES & DATATABLES
-----------------------------------*/
.dataTables_wrapper > .row:first-of-type {
  font-size: 0 !important;
  flex-wrap: nowrap !important;
  justify-content: flex-start !important;
  flex-direction: row !important;
  width: 60px;
}

.dataTables_filter,
.dataTables_length select {
  margin-top: 0.5rem;
}

.table-responsive td,
.table-responsive th {
  white-space: nowrap;
  padding: 0.25rem 0.5rem !important;
}

#example tbody tr {
  height: 150px;
}

#example tbody td:first-child {
  vertical-align: middle;
}

#example tbody td:last-child {
  vertical-align: bottom;
  padding: 0 10px;
}

/*-----------------------------------
  COMPONENTS
-----------------------------------*/
.badge {
  border-radius: 0px !important;
  font-size: 12px;
}


.btn {
  padding: 0.25rem 0.5rem !important;
  line-height: 1.5 !important;
  border-radius: 0px !important;
}

.btn:hover {
  color: #000;
}

.btn-outline-danger {
    --bs-btn-color: red;
    --bs-btn-border-color: red;
    --bs-btn-hover-color: #fff;
    --bs-btn-hover-bg: red;
    --bs-btn-hover-border-color: red;
    --bs-btn-focus-shadow-rgb: 220, 53, 69;
    --bs-btn-active-color: #fff;
    --bs-btn-active-bg: red;
    --bs-btn-active-border-color: red;
    --bs-btn-active-shadow: inset 0 3px 5px rgba(0, 0, 0, 0.125);
    --bs-btn-disabled-color: red;
    --bs-btn-disabled-bg: transparent;
    --bs-btn-disabled-border-color: red;
    --bs-gradient: none;
}



*:focus,
*:active,
.accordion-button:focus,
.form-control:focus {
  outline: none !important;
  box-shadow: none !important;
}

/*-----------------------------------
  SIDEBAR & PROFILE
-----------------------------------*/
.fixed-sidebar {
  position: fixed;
  top: 50%;
  /*left: 10px;*/
  transform: translateY(-50%);
  background-color: #0d6efd;
  color: #fff;
  padding: 10px 12px;
  border-radius: 8px;
  z-index: 999;
  font-size: 12px;
}

.profile-img {
  width: 150px;
}

.info-label {
  font-weight: 600;
  color: #aaa;
}

.tag {
  background-color: #333;
  border-radius: 20px;
  padding: 4px 12px;
  font-size: 12px;
  margin: 2px;
}

.achievements img {
  width: 100%;
  object-fit: cover;
}

.playerprofile h5 {
  border-left: 5px solid red;
  padding-left: 10px;
  color: white !important;
}

/*-----------------------------------
  DROPDOWNS & TABLE CELLS
-----------------------------------*/
select,
option {
  background-color: #000;
  color: #fff;
  border: 1px solid #333;
  padding: 8px;
}

table,
tr {
  border-color: #333;
}

table tbody td {
  background-color: #000 !important;
  color: #bbb !important;
  border-color: #333;
}

table tbody td a {
  background-color: #000 !important;
  color: #bbb !important;
}

.pagination {
  --bs-pagination-color: #bbb;
  --bs-pagination-bg: #000;
  --bs-pagination-border-color: #333;
  --bs-pagination-hover-color: red;
  --bs-pagination-hover-bg: #333;
  --bs-pagination-hover-border-color: #333;
  --bs-pagination-focus-color: red;
  --bs-pagination-focus-bg: #333;
  --bs-pagination-active-color: #bbb;
  --bs-pagination-active-bg: red;
  --bs-pagination-active-border-color: red;
  --bs-pagination-disabled-bg: #000;
  --bs-pagination-disabled-border-color: #333;
}

.disabled > .page-link,
.page-link.disabled {
  color: rgba(255, 255, 255, 0.75);
}

/*-----------------------------------
  LOGIN PAGE
-----------------------------------*/
.login-container {
  height: 70vh;
  display: flex;
  justify-content: center;
  align-items: center;
}

.login-card {
  max-width: 400px;
  width: 100%;
  padding: 2rem;
  background: #000;
  box-shadow: 0 0 15px rgba(0, 0, 0, 0.1);
}

/*-----------------------------------
  UTILITY / MISC
-----------------------------------*/
.flash-text {
  animation: flash 1s linear infinite;
}

@keyframes flash {
  0%, 50%, 100% { opacity: 1; }
  25%, 75% { opacity: 0; }
}

.winner-slider img {
  width: 100%;
  object-fit: cover;
}

.season-caption {
  background: red;
  padding: 5px;
}

.success-icon {
  font-size: 100px;
  color: green;
}

.social-icons a {
  font-size: 12px;
  margin-right: 20px;
}


@media (max-width: 576px) {
  .social-icons a {
    font-size: 1.5rem;
    margin-right: 15px;
  }
}

/*-----------------------------------
  BOTTOM NAVBAR
-----------------------------------*/
.fixed-bottom {
  background-color: #000 !important;
  border-top: 1px solid #333 !important;
  z-index: 1030;
  position: fixed;
  bottom: 0;
}

.fixed-bottom .nav-link {
  color: #fff !important;
}
