@import url('https://fonts.googleapis.com/css2?family=Tektur:wght@700;900&family=Exo+2:wght@400;700&display=swap');

body {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
    padding-bottom: 0 !important;
    background: #1b1b1b;
    color: #fff;
    font-family: 'Exo 2', Arial, sans-serif;
}
body, .footer, .sticky-footer, .main-header, .stream-info-bar, .stream-card, .nav-tabs-bar, .btn, .form-control {
    font-family: 'Exo 2', Arial, sans-serif;
}
.main-header {
    background: linear-gradient(120deg, #2d0036 0%, #23233b 100%);
    box-shadow: 0 4px 24px rgba(145,71,255,0.25);
    border-bottom: 2.5px solid #9147ff;
    position: relative;
    z-index: 1030;
    margin-bottom: 0;
}
.main-header h1, .main-header .site-title {
    font-family: 'Tektur', 'Exo 2', Arial, sans-serif;
    font-weight: 900;
    letter-spacing: 1px;
    color: #ffe600;
    text-shadow: none !important;
    font-size: 2.2rem;
}
.main-header .subtitle, .main-header .site-subtitle {
    font-family: 'Exo 2', Arial, sans-serif;
    font-weight: 700;
    color: #fff;
    text-shadow: none !important;
    font-size: 1.1rem;
}
.team-midnite-highlight, .main-header .team-midnite, .footer .team-midnite, .sticky-footer .team-midnite {
    color: #9147ff !important;
    background: none;
    font-weight: 700;
    text-shadow: none !important;
    letter-spacing: 0.5px;
    font-family: 'Tektur', 'Exo 2', Arial, sans-serif;
}
.site-title {
    font-family: 'Tektur', 'Exo 2', Arial, sans-serif;
    font-size: 2.3rem;
    font-weight: 800;
    color: #fff200;
    text-shadow: none !important;
    letter-spacing: 2px;
    margin-bottom: 0.1em;
}
.subtitle {
    font-family: 'Exo 2', Arial, sans-serif;
    font-weight: 700;
    color: #ffeb3b;
    font-size: 1.1rem;
    letter-spacing: 1px;
    text-shadow: none !important;
    margin-top: -4px;
}
.brand { color: #9147ff; font-weight: 700; text-shadow: none !important; }
.dev { color: #ffeb3b; font-weight: 600; }
.thanks { color: #fff200; font-weight: 600; }
.nav-tabs-bar {
    background: transparent;
    border-bottom: 2px solid #9147ff;
}
.nav-tabs .nav-link {
    color: #ffeb3b;
    font-weight: 600;
    border: none;
    background: rgba(145,71,255,0.12);
    margin-right: 4px;
    border-radius: 8px 8px 0 0;
    transition: background 0.2s, color 0.2s;
}
.nav-tabs .nav-link.active, .nav-tabs .nav-link:hover {
    background: #9147ff;
    color: #fff200 !important;
}
.stream-card, .card.stream-card {
    background: linear-gradient(135deg, #2d0036 60%, #23233b 100%);
    border: 2.5px solid #9147ff;
    border-radius: 28px;
    box-shadow: 0 4px 32px 0 #9147ff55, 0 2px 16px 0 #000A;
    color: #fff;
    margin-bottom: 1.2rem;
    padding: 1.3rem 0.4rem 1.1rem 0.4rem;
    position: relative;
    transition: transform 0.12s, box-shadow 0.12s;
    min-width: 0;
}
.stream-card:hover {
    transform: translateY(-6px) scale(1.025);
    box-shadow: 0 8px 48px 0 #9147ff88, 0 4px 32px 0 #000B;
    border-color: #fff200;
}
.stream-card .card-title {
    color: #fff200;
    font-size: 1.18rem;
    font-weight: 800;
    letter-spacing: 1px;
    text-shadow: 0 0 8px #9147ff88, 0 2px 4px #000;
    margin-bottom: 0.25rem;
    margin-top: 0.1rem;
}
.stream-card .stream-preview {
    border-radius: 14px;
    box-shadow: 0 2px 16px #9147ff33;
    overflow: hidden;
    margin-bottom: 0.5rem;
    border: 1.5px solid #fff20033;
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    display: flex;
    align-items: center;
    justify-content: center;
    min-width: 0;
    min-height: 0;
    height: auto;
    max-width: 100%;
}
.stream-card .stream-preview iframe {
    width: 100%;
    height: 100%;
    border-radius: 14px;
    display: block;
    aspect-ratio: 16 / 9;
    min-width: 0;
    min-height: 0;
}
.stream-card .btn-primary {
    background: linear-gradient(90deg, #9147ff 60%, #ffeb3b 100%);
    color: #23233b;
    border: none;
    font-weight: bold;
    border-radius: 999px;
    box-shadow: 0 2px 12px #9147ff44;
    padding: 0.5rem 1.3rem;
    margin-bottom: 0.5rem;
    font-size: 1.08rem;
    transition: background 0.15s, color 0.15s;
}
.stream-card .btn-primary:hover {
    background: #fff200;
    color: #9147ff;
}
.stream-card .shared-by-label {
    color: #fff200;
    font-size: 1.04rem;
    font-weight: 600;
    margin-top: 8px;
    text-shadow: 0 1px 8px #9147ff88, 0 0 2px #000;
}
.stream-card .live-badge {
    position: absolute;
    top: 18px;
    right: 22px;
    background: linear-gradient(90deg, #ff003c 60%, #ffeb3b 100%);
    color: #fff;
    font-weight: bold;
    padding: 0.28em 0.95em;
    border-radius: 999px;
    font-size: 0.98rem;
    box-shadow: 0 2px 8px #ff003c55;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px #0009;
    z-index: 2;
}
.stream-card .btn-success {
    background: #ffeb3b;
    color: #9147ff;
    font-weight: bold;
    border: none;
    border-radius: 8px;
}
.stream-card .btn-success:hover {
    background: #fff200;
    color: #9147ff;
}
.stream-card input.form-control {
    background: #23233b;
    color: #fff;
    border: 1.5px solid #9147ff;
}
.stream-card input.form-control:focus {
    border-color: #fff200;
    background: #2d0036;
    color: #fff;
}
.stream-grid-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 18px;
    margin-top: 1.5rem;
    justify-items: center;
}
.stream-grid-item {
    background: #1b1120;
    border-radius: 14px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-width: 0;
    box-shadow: 0 2px 16px #9147ff22;
    border: 1.5px solid #9147ff55;
    max-width: 420px;
    width: 100%;
}
.stream-player-wrap {
    width: 100%;
    aspect-ratio: 16 / 9;
    background: #000;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}
.stream-player-wrap iframe {
    width: 100%;
    height: 100%;
    border: none;
    display: block;
    border-radius: 0;
}
.stream-info-bar {
    background: #21123a;
    color: #fff;
    padding: 0.65em 1em 0.55em 1em;
    display: flex;
    flex-direction: column;
    gap: 0.18em;
    border-bottom-left-radius: 14px;
    border-bottom-right-radius: 14px;
}
.streamer-name {
    font-weight: 800;
    color: #fff200;
    font-size: 1.08rem;
    margin-bottom: 2px;
    text-shadow: 0 0 3px #9147ff88, 0 1px 1px #0009;
}
.shared-by {
    font-size: 0.98rem;
    color: #ffe066;
    font-weight: 500;
    opacity: 0.95;
}
.footer, .sticky-footer {
    font-family: 'Exo 2', Arial, sans-serif;
    font-size: 1.04rem;
    color: #fff;
    background: #3a176a;
    border-top: 2px solid #9147ff;
    text-align: center;
    padding: 0.7em 0.5em 0.7em 0.5em;
    text-shadow: none !important;
}
.footer .team-midnite, .sticky-footer .team-midnite {
    color: #9147ff !important;
    font-weight: 700;
    text-shadow: none !important;
    font-family: 'Tektur', 'Exo 2', Arial, sans-serif;
}
.sticky-footer {
    position: static;
    margin-top: 0;
    width: 100%;
    background: linear-gradient(90deg, #23233b 0%, #9147ff 100%);
    color: #ffeb3b;
    font-size: 1.08rem;
    padding: 10px 0 8px 0;
    border-top: 2px solid #9147ff;
    z-index: 1050;
    box-shadow: 0 -2px 12px #9147ff55;
}
.footer-link { color: #ffeb3b; text-decoration: underline dotted; }
.footer-link:hover { color: #fff200; text-decoration: underline; }
.welcome-user { color: #fff; font-size: 1.07rem; font-weight: 500; }
.btn-outline-warning { border-color: #fff200; color: #fff200; }
.btn-outline-warning:hover { background: #fff200; color: #9147ff; }

.alert-bar {
    width: 100%;
    max-width: 100vw;
    position: relative;
    left: 0;
    right: 0;
    transform: none;
    margin: 0;
    padding: 0;
    z-index: 1100;
    line-height: 1.2;
    overflow-x: hidden;
    overflow-y: visible;
    height: auto;
}
.alert-marquee {
    border: 2px solid #9147ff;
    background: linear-gradient(90deg, #3a176a 60%, #9147ff 100%);
    color: #fff;
    font-family: 'Exo 2', Arial, sans-serif;
    font-weight: 700;
    font-size: 1.05rem;
    letter-spacing: 0.5px;
    padding: 0;
    border-radius: 0 0 8px 8px;
    min-height: unset;
    height: 2em;
    display: flex;
    align-items: center;
    overflow: hidden;
    white-space: nowrap;
    margin: 0;
    width: 100%;
    box-sizing: border-box;
    line-height: 1.2;
}
.marquee {
    width: 100%;
    overflow: hidden;
    position: relative;
    height: 2em;
    display: flex;
    align-items: center;
}
.marquee span {
    display: inline-block;
    padding-left: 100%;
    animation: marquee-scroll 12s linear infinite;
    white-space: nowrap;
}
@keyframes marquee-scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-100%); }
}

.raid-picker-list {
    margin: 0 auto;
    max-width: 650px;
    padding: 1.2em 0.5em 0.5em 0.5em;
}
.raid-picker-list ul.list-group {
    background: transparent;
    border: none;
    padding: 0;
    margin: 0;
}
.raid-picker-list .list-group-item {
    background: rgba(60, 20, 90, 0.85);
    color: #fff;
    border-radius: 8px;
    border: none;
    margin-bottom: 0.5em;
    box-shadow: 0 2px 8px 0 rgba(145,71,255,0.07);
    font-family: 'Exo 2', Arial, sans-serif;
    font-size: 1.03rem;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0.6em 1.2em;
}
.raid-picker-list .copy-raid-btn {
    font-family: 'Exo 2', Arial, sans-serif;
    font-size: 0.97rem;
    font-weight: 700;
    background: linear-gradient(90deg,#9147ff 60%,#42dcff 100%);
    border: none;
    color: #fff;
    border-radius: 6px;
    padding: 0.35em 1.1em;
    transition: background 0.18s, color 0.18s;
}
.raid-picker-list .copy-raid-btn:hover {
    background: linear-gradient(90deg,#42dcff 60%,#9147ff 100%);
    color: #fff200;
}

/* --- Add or update for dashboard buttons --- */
.btn-fancy, .dashboard-main .btn-fancy {
  background: linear-gradient(90deg,#9147ff 60%,#42dcff 100%);
  color: #fff !important;
  border: none;
  border-radius: 8px;
  padding: 16px 0;
  font-size: 1.2rem;
  font-weight: 700;
  box-shadow: 0 2px 8px #9147ff99;
  transition: all 0.2s;
  width: 100%;
  margin-bottom: 1rem;
  text-shadow: 0 2px 8px #000a;
  letter-spacing: 0.5px;
}
.btn-fancy:hover, .dashboard-main .btn-fancy:hover {
  background: linear-gradient(90deg,#42dcff 60%,#9147ff 100%);
  color: #ffe600 !important;
  text-decoration: none;
}
.dashboard-main .row.g-4 > .col-md-3 {
  margin-bottom: 1.5rem;
}
.dashboard-main .lead {
  margin-bottom: 2.2rem;
}
.dashboard-main .hub-title {
  margin-top: 1.5rem;
  margin-bottom: 1.2rem;
}
.dashboard-main .subtitle {
  margin-bottom: 1.2rem;
}

/* --- Dashboard Application Form Fixes --- */
.dashboard-main .form-label,
.dashboard-main .form-control,
.dashboard-main .form-select,
.dashboard-main textarea,
.dashboard-main input[type="text"],
.dashboard-main input[type="email"] {
  color: #fff !important;
  background: #232436 !important;
  border-color: #42dcff !important;
}
.dashboard-main .form-control:focus,
.dashboard-main .form-select:focus {
  background: #232436 !important;
  color: #fff !important;
  border-color: #ffe600 !important;
  box-shadow: 0 0 0 2px #42dcff55;
}
.dashboard-main .form-label {
  color: #fff !important;
}
.dashboard-main .form-text {
  color: #42dcff !important;
}
.dashboard-main ::placeholder {
  color: #b2c0d6 !important;
  opacity: 1;
}
.dashboard-main .form-select option {
  color: #232436;
}
select.form-select, select.form-select:focus {
  color: #ffe600 !important;
  background-color: #232436 !important;
  border-color: #42dcff !important;
}
option, select.form-select option {
  color: #42dcff !important;
  background-color: #232436 !important;
}
select.form-select option[disabled], select.form-select option[value=""] {
  color: #b2c0d6 !important;
}

/* Force text rendering for all dropdowns */
select, option {
  -webkit-text-stroke: 0.2px #232436;
  text-shadow: 0 0 2px #232436, 0 0 1px #000;
}

/* Custom button classes */
.btn-soft-blue {
  background: #42dcff;
  color: #232436;
  border: none;
  box-shadow: 0 2px 8px rgba(66,220,255,0.08);
  transition: background 0.2s, color 0.2s;
}
.btn-soft-blue:hover, .btn-soft-blue:focus {
  background: #2fa7c9;
  color: #fff;
}

.btn-soft-yellow {
  background: #ffe600;
  color: #232436;
  border: none;
  box-shadow: 0 2px 8px rgba(255,230,0,0.08);
  transition: background 0.2s, color 0.2s;
}
.btn-soft-yellow:hover, .btn-soft-yellow:focus {
  background: #e6c800;
  color: #232436;
}

.btn-discord {
  background: #5865F2;
  color: #fff;
  border: none;
  box-shadow: 0 2px 8px rgba(88,101,242,0.10);
  transition: background 0.2s, color 0.2s;
}
.btn-discord:hover, .btn-discord:focus {
  background: #4048a9;
  color: #fff;
}

.btn-outline-blue {
  background: transparent;
  color: #42dcff;
  border: 2px solid #42dcff;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-blue:hover, .btn-outline-blue:focus {
  background: #42dcff;
  color: #232436;
}

.btn-outline-yellow {
  background: transparent;
  color: #ffe600;
  border: 2px solid #ffe600;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-yellow:hover, .btn-outline-yellow:focus {
  background: #ffe600;
  color: #232436;
}

.btn-outline-dashboard {
  background: transparent;
  color: #fff;
  border: 2px solid #42dcff;
  box-shadow: none;
  transition: background 0.2s, color 0.2s;
}
.btn-outline-dashboard:hover, .btn-outline-dashboard:focus {
  background: #42dcff;
  color: #232436;
}

.btn-fancy {
  font-size: 1.1rem;
  font-weight: 700;
  border-radius: 0.7em;
  padding: 0.75em 2em;
  margin-bottom: 0.5em;
  letter-spacing: 0.01em;
}

#main-content, .directory-content, .page-content, .content-wrapper, .main-content {
    flex: 1 0 auto;
    width: 100%;
    margin-bottom: 32px;
}

.profile-card {
    margin-bottom: 32px !important;
}

.profile-card > div {
    flex: 1 1 0;
    min-width: 0;
}

footer, #footer, .site-footer {
    position: static;
    margin-top: 0;
    width: 100%;
    z-index: 10;
}
