@font-face {
    font-family: 'HelveticaNeueLT';
    src: url('../fonts/helvetica-neue-lt/HelveticaNeueLTPro-Roman.otf') format('opentype');
    font-weight: normal;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeueLT';
    src: url('../fonts/helvetica-neue-lt/HelveticaNeueLTPro-Th.otf') format('opentype');
    font-weight: 300;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeueLT';
    src: url('../fonts/helvetica-neue-lt/HelveticaNeueLTPro-Bd.otf') format('opentype');
    font-weight: bold;
    font-style: normal;
}
@font-face {
    font-family: 'HelveticaNeueLT';
    src: url('../fonts/helvetica-neue-lt/HelveticaNeueLTPro-HvEx.otf') format('opentype');
    font-weight: 900;
    font-style: normal;
}
/* Frontend CSS */
.dcl-fullscreen-app {
    /* position: relative; */
    width: 100%;
    min-height: 100vh;
    background-size: cover;
    background-position: 50% 45%;
    /* background-attachment: fixed; */
    font-family: 'HelveticaNeueLT', Helvetica, Impact, sans-serif;
    color: #fff;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
}
.dcl-overlay-gradient {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(180deg, rgba(14,29,54,0.7) 0%, rgba(14,29,54,0.3) 40%, rgba(0,0,0,0.8) 100%);
    z-index: 1;
}
.dcl-app-content {
    position: relative;
    z-index: 2;
    max-width: 500px;
    margin: 0 auto;
    padding: 40px 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}
.dcl-top-header {
    text-align: center;
    margin-bottom: 40px;
}
.dcl-brand-logo {
    max-width: 260px;
    margin-bottom: 20px;
}
.dcl-main-title {
    font-family: 'HelveticaNeueLT', Helvetica, Impact, sans-serif;
    font-size: calc(2rem - 15px);
    font-weight: 900;
    line-height: .9;
    color: #fff;
    text-transform: uppercase;
    margin: 0 0 20px 0;
    letter-spacing: 1px;
}
.dcl-main-title sup {
    font-size: 20px;
    top: -10px;
}
.dcl-subtitle-wrapper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 20px;
    font-family: 'HelveticaNeueLT', Helvetica, Impact, sans-serif;
}
.dcl-subtitle {
    font-size: 14px;
    letter-spacing: 2px;
    font-weight: 400;
    text-transform: uppercase;
    font-family: 'HelveticaNeueLT', Helvetica, Impact, sans-serif;
}
.dcl-line {
    height: 1px;
    width: 40px;
    background: rgba(255,255,255,0.5);
}
.dcl-description {
    font-size: 14px;
    line-height: 1.2;
    color: #fff;
    margin: 0;
    font-family: 'HelveticaNeueLT', Helvetica, Impact, sans-serif;
}
.dcl-glass-container-wrapper {
    position: relative;
    margin-top: 20px;
    flex: 1;
}
.dcl-filters {
    position: absolute;
    top: -20px; /* pull up to overlap border */
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    height: 35px;
    gap: 20px;
    z-index: 3;
}
.dcl-gender-toggle, .dcl-filter select {
    background: rgba(60,60,60,0.8);
    border: 1px solid rgba(255,255,255,0.4);
    border-radius: 20px;
    padding: 6px 15px;
    color: #fff;
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}
.dcl-gender-toggle {
    display: flex;
    align-items: center;
    gap: 8px;
}
.dcl-gender-label {
    font-size: 13px;
    font-weight: normal;
    color: #ccc;
    transition: color 0.3s;
}
.dcl-gender-label.active {
    color: #fff;
    font-weight: 400;
}
.dcl-filter select {
    font-size: 13px;
    outline: none;
    appearance: none;
    cursor: pointer;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='white'%3e%3cpath d='M7 10l5 5 5-5z'/%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 5px center;
    background-size: 16px;
    padding-right: 25px;
}
.dcl-filter select option {
    background: #333;
    color:#fff;
}

/* Switch UI */
.dcl-switch {
  position: relative;
  display: inline-block;
  width: 40px;
  height: 20px;
  margin-bottom: 0px;
}
.dcl-switch input { 
  opacity: 0;
  width: 0;
  height: 0;
}
.dcl-slider {
  position: absolute;
  cursor: pointer;
  top: 0; left: 0; right: 0; bottom: 0;
  background-color: #fff;
  transition: .4s;
}
.dcl-slider:before {
  position: absolute;
  content: "";
  height: 14px;
  width: 14px;
  left: 3px;
  bottom: 3px;
  background-color: #333;
  transition: .4s;
}
input:checked + .dcl-slider {
  background-color: #fff;
}
input:checked + .dcl-slider:before {
  transform: translateX(20px);
}
.dcl-slider.round {
  border-radius: 20px;
}
.dcl-slider.round:before {
  border-radius: 50%;
}

/* Glass Card */
.dcl-glass-card {
    background: rgba(20, 20, 20, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 25px;
    padding: 45px 20px 20px; /* Extra top padding for overlapping filters */
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    min-height: 400px;
}
.dcl-card-header {
    margin-bottom: 10px;
}
.dcl-card-title {
    font-size: 22px;
    font-weight: 900;
    color: #fff;
    margin: 0 0 20px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
    font-family: 'HelveticaNeueLT', Helvetica, Impact, sans-serif;
}
.dcl-red-dot {
    width: 8px;
    height: 8px;
    background: #e53935;
    border-radius: 50%;
    display: inline-block;
}
.dcl-table-headers {
    display: flex;
    justify-content: space-between;
    font-size: 13px;
    color: #bbb;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.2);
}
.dcl-participants-list {
    display: flex;
    flex-direction: column;
}
.dcl-participant-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 10px 0;
    border-bottom: 1px solid rgba(255,255,255,0.15);
}
.dcl-info-wrap {
    display: flex;
    align-items: center;
    gap: 5px;
}
.dcl-medal-container {
    width: 16px;
    display: flex;
    justify-content: center;
}
.dcl-name, .dcl-city-val {
    font-size: 15px;
    font-weight: 300;
}
.dcl-seconds-wrap {
    font-size: 15px;
    font-weight: 300;
}
.dcl-pagination-wrap {
    margin-top: 25px;
}
.dcl-pagination-wp-style {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 14px;
    color: #fff;
}
.dcl-pagination-items, .dcl-pagination-current {
    color: #ddd;
    font-size: 13px;
}
.dcl-page-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
    background: rgba(255,255,255,0.1);
    color: #fff;
    text-decoration: none;
    border: 1px solid rgba(255,255,255,0.3);
    border-radius: 4px;
    transition: all 0.2s;
    font-size: 16px;
    line-height: 1;
}
.dcl-page-link:hover:not(.disabled) {
    background: rgba(255,255,255,0.8);
    color: #333;
    border-color: #fff;
}
.dcl-page-link.disabled {
    opacity: 0.3;
    cursor: not-allowed;
    pointer-events: none;
}
.dcl-loading, .dcl-no-data {
    text-align: center;
    padding: 30px;
    color: #ccc;
    font-size: 14px;
}
.dcl-footer {
    text-align: center;
    margin-top: 40px;
}
.dcl-sponsor-logo {
    max-width: 150px;
}
.dcl-th-name,.dcl-info-wrap{
width: 150px;
}
.dcl-th-time,.dcl-seconds-wrap{
    width: 50px;
}
.dcl-th-city,
.dcl-city-wrap{
width: 100px;
}
/* Desktop Laptop Layout */
@media (min-width: 992px) {
    .dcl-app-content {
     max-width: 1300px;
        display: flex;
        flex-direction: row-reverse;
        justify-content: space-between;
        align-items: flex-start;
        min-height: 100vh;
        padding: 60px 0px;
    }
    .dcl-top-header {
        flex: 1;
        margin-bottom: 100px; /* Leave space for footer logo */
        padding-left: 120px;
        display: flex;
        flex-direction: column;
        align-items: center;
        justify-content: center;
    }
    .dcl-glass-container-wrapper {
        flex: 1;
        max-width: 500px;
        margin: 0;
        margin-left: 40px;
    }
    .dcl-footer {
        position: absolute;
        bottom: 100px;
        right: -80px;
        margin-top: 0;
    }
    .dcl-description {
        max-width: 500px;
    }
    .dcl-brand-logo {
        max-width: 380px; /* Slightly larger on desktop */
    }
    .dcl-main-title {
        font-size: calc(2.5rem - 15px);
    }
    .dcl-sponsor-logo {
        max-width: 200px; /* Larger on desktop */
    }
}
