@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@300;400;600;700&family=Rajdhani:wght@500;600;700;800&family=Orbitron:wght@600;700;800&display=swap');

/* Variables  */


:root {
    --h1:  clamp(1.8rem, 3vw + 1rem, 3rem);  /* ~29px to 48px */
    --h2:  clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);  /* ~24px to 36px */
    --h3:  clamp(1.25rem, 2vw + 0.25rem, 1.75rem);  /* ~20px to 28px */
    --h4:  clamp(1.125rem, 1.5vw + 0.25rem, 1.5rem);  /* ~18px to 24px */
    --h5:  clamp(1rem, 1.2vw + 0.2rem, 1.25rem);  /* ~16px to 20px */
    --h6:  clamp(0.875rem, 1vw + 0.2rem, 1rem);  /* ~14px to 16px */
    --p:   clamp(1rem, 1.2vw + 0.5rem, 1.25rem);  /* ~16px to 20px */


    --bg: #0d0d0d;
    --surface: #191919;
    --purple: #6c55d6;
    --lime: #e3ef19;
    --green: #abce2c;
    --text: #f8f8f8;
    --soft: #d8d8d8;


    --font_color: white;


    --primary_color: #e3ef19;
    --secondary_color: #abce2c;

    --color_bright: white;
    --color_dark: black;
    --color_contrast: #333;

    --color_warn: #ff4444;
}

html {
    background-color: #0d0d0d;
    color-scheme: dark;
    min-height: 100%;
    min-height: 100dvh;
}

body {
    min-height: 100vh;
    min-height: 100dvh;
    margin: 0;
    padding: 0;
    background: transparent;
    color: var(--font_color);
    font-family: 'Orbitron', sans-serif;
    position: relative;
    isolation: isolate;
    display: flex;
    flex-direction: column;
}

body::before {
    content: "";
    position: fixed;
    top: calc(0px - env(safe-area-inset-top, 0px));
    right: calc(0px - env(safe-area-inset-right, 0px));
    bottom: calc(0px - env(safe-area-inset-bottom, 0px));
    left: calc(0px - env(safe-area-inset-left, 0px));
    background-image:
            linear-gradient(rgba(13, 13, 13, 0.72), rgba(13, 13, 13, 0.72)),
            url("https://magictwin.net/MagictwinsWorld/files/img/sonar/background.webp");
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    filter: blur(10px) brightness(1);
    transform: scale(1.04);
    z-index: -2;
    pointer-events: none;
}

body::after {
    content: "";
    position: fixed;
    top: calc(0px - env(safe-area-inset-top, 0px));
    right: calc(0px - env(safe-area-inset-right, 0px));
    bottom: calc(0px - env(safe-area-inset-bottom, 0px));
    left: calc(0px - env(safe-area-inset-left, 0px));
    background: linear-gradient(180deg, rgba(13, 13, 13, 0.6) 0%, rgba(25, 25, 25, 0.78) 100%);
    z-index: -1;
    pointer-events: none;
}



label,option,select,footer,h1,h2,h3,h4{
    font-family: 'Orbitron', sans-serif;
}


footer {
    background-color: var(--color_dark, #0d0d0d);
    position: relative;
    width: 100%;
    color: var(--font_color);
    z-index: 90;
    margin-top: auto;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

a {
    color: var(--primary_color);
    text-decoration: none;
}

a:hover {
    color:  var(--font_color);
}

h1{
    color: var(--font_color);
    font-size: clamp(1.8rem, 3vw + 1rem, 3rem);
    line-height: 1.2;
    font-weight: 700;
}

h2{
    font-size: clamp(1.5rem, 2.5vw + 0.5rem, 2.25rem);  /* ~24px to 36px */
    color: var(--font_color);
}

h3{

    font-size: clamp(1.25rem, 2vw + 0.25rem, 1.75rem);  /* ~20px to 28px */
    margin-top: -10px;
    color: var(--primary_color);
}

h4{

    font-size: clamp(1.125rem, 1.5vw + 0.25rem, 1.5rem);  /* ~18px to 24px */
    color:  var(--font_color);
}

h5 {
    font-size: clamp(1rem, 1.2vw + 0.2rem, 1.25rem);  /* ~16px to 20px */
    line-height: 1.4;
    font-weight: 500;
    color: var(--font_color);
}

h6 {
    font-size: clamp(0.875rem, 1vw + 0.2rem, 1rem);  /* ~14px to 16px */
    line-height: 1.5;
    font-weight: 500;
    color: var(--font_color);
}


p{
    color: var(--font_color);
    font-family: Verdana, sans-serif;

    font-size: clamp(1rem, 1.2vw + 0.5rem, 1.25rem);  /* ~16px to 20px */
    line-height: 1.6;
}

span {
    display: inline-block;
    vertical-align: middle;
    line-height: normal;
}

hr {
    padding: 0;
    margin: -1em;
    border-top: 3px solid var(--color_bright);
}


/* ------------------------------------------------------------------*/
/*                           Classes                                 */
/* ------------------------------------------------------------------*/

.left-text{
    text-align: left;
}


.currentpage{
    color: var(--primary_color);
}



.hiddeninput{
    padding: 0;
    margin: 0;
    font-size: 1px;
    max-height: 0;
    display:none;
}


.Sonar_Table{
    width: 100%;
    color:white;
}
.Sonar_Table td{
    padding-left: 5px;
}



.Account_Taps{
    font-family: 'Orbitron', sans-serif;
    margin-left: -10px;
    color: white;
}


.center_text{
    text-align: center;
    z-index: 900;
}

.F_container {
    display: flex;
    flex-wrap: nowrap;
    justify-content: space-between;
    align-items: center;
    padding: 10px;
    margin: 0 auto;
    list-style: none;
    max-width: 100%;
}

.F_block {
    flex: 1 1 30%;
    margin: 5px;
    text-align: center;
    font-weight: bold;
    line-height: 1.5;
    width: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.F_Text{
    font-weight: bold;
    line-height: 1.5;
}

/* Ensure icons don't overflow */
.F_icon {
    width: 30px;
    height: 30px;
    margin: 5px;
    vertical-align: middle;
}

.F_TextElement{
    margin-top: 0;
}


@media screen and (max-width: 976px) {

    .hide_mobile{
        display: none;
    }
}


@media screen and (max-width: 768px) {

    .hide_mobile_small{
        display: none;
    }
}




/* Responsive adjustments for smaller screens */
@media screen and (max-width: 992px) {
    footer {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin-top: auto !important;
        z-index: 10 !important;
        clear: both !important;
    }
}

@media screen and (max-width: 768px) {
    footer {
        position: relative !important;
        left: auto !important;
        bottom: auto !important;
        width: 100% !important;
        margin-top: auto !important;
        z-index: 10 !important;
        clear: both !important;
    }

    .F_container {
        flex-direction: column;
        align-items: center;
        padding: 14px 16px;
        gap: 6px;
    }

    .F_block {
        width: 100%;
        margin: 3px 0;
    }

    .F_icon {
        width: 26px;
        height: 26px;
        margin: 3px 4px;
    }

    .F_TextElement {
        margin-top: 0;
    }
}

@media screen and (max-width: 768px) and (max-height: 500px) {
    .F_icon {
        display: none;
    }
}



.I_container {
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 0;
    margin: 0;
    list-style: none;
}

.I_container_center{
    display: flex;
    flex-flow: row wrap;
    justify-content: center;
    padding: 5px;
    border: var(--primary_color) solid 3px;
    width: 80%;
    margin: 0 auto;
}


.image_C_box{
    max-width: min(30%, 400px);
    min-width: min(30%, 400px);
    max-height: 300px;
    width:auto;
    height: auto;
    filter: drop-shadow(7px 7px 7px rgba(0,0,0,0.5));

}

.image_C{
    max-width: 120%;
    min-width: 20%;
    height: auto;
    margin: auto 10px;
    drop-shadow(5px 5px);
}


.I_T_container {
    display: flex;
    flex-flow: column wrap;
    justify-content: start;
    list-style: none;
    margin: 10px;
}

.C_block {
    padding: 10px;
    width: auto;
    height: auto;

    font-weight: bold;

    line-height: 1.2;
    font-size: var(--h4);
    text-align: center;


    border: 3px var(--primary_color) solid;
    color:  var(--font_color);
    background-color: var(--color_dark);
    background-image: radial-gradient(rgb(0, 102, 255) 1px, black 1px);
    background-size: 30px 30px;
    animation: background 300s linear infinite;
}


.C_block:hover {
    color: var(--primary_color);
}

@keyframes background {
    0% {
        background-position: -300% 100%;
    }
    100% {
        background-position: 100% -300%;
    }
}

.form_design{
    font-family: 'Orbitron', sans-serif;
    color:white;

    font-size: var(--p);
    line-height: 1.6;
    text-align: center;
}



.button {
    background-color: var(--color_dark);
    border: 2px var(--primary_color) solid;
    color:  var(--font_color);
    font-family: 'Orbitron', sans-serif;

    font-size: var(--h4);
    line-height: 1.6;

    padding: 3px 10px;
    cursor: pointer;
}

.button:hover {
    background-color: var(--primary_color);
    border: 2px var(--primary_color) solid;
    color: var(--color_dark);
}

mainimg::before{
    content:  url( "/MagictwinsWorld/files/img/OrbitoFace.WebP");
}

mainimg_blue::before{
    content:  url( "/MagictwinsWorld/files/img/OrbitoFace_Blue.WebP");
}



.mainimg {
    position: fixed;
    bottom: clamp(10px, 5vw, 30px);
    right: 0; /* Aligns the image to the left */
    width: min(30%,500px); /* Span the container width */
    height: 813px; /* Keep a fixed height (can also be made responsive) */
    background-repeat: no-repeat;
    background-image: url("/MagictwinsWorld/files/img/OrbitoFace.WebP");
    background-size: contain; /* or "cover" depending on desired scaling */
    background-position: bottom left;
    z-index: -1;
}


.mainimg:hover {
    background-image: url( "/MagictwinsWorld/files/img/OrbitoFaceBlush.WebP");
}

.mainimg_blue{
    background-image: url( "/MagictwinsWorld/files/img/OrbitoFace_Blue.WebP");
}


@media screen and (max-width: 975px) {
    .mainimg {
        bottom: clamp(95px, 5vw, 30px);
    }
}

@media screen and (max-width: 768px) {
    .mainimg {
        bottom: clamp(133px, 5vw, 30px);
    }
}


@media screen and (max-width: 768px) and (max-height: 500px) {
    .mainimg {
        display: none;
    }
}



.mainimg:hover {
    background-image: url( "/MagictwinsWorld/files/img/OrbitoFaceBlush.WebP");
}




#menuToggle
{
    display: block;
    position: relative;
    top: 50px;
    left: 0;

    z-index: 1001;

    -webkit-user-select: none;
    user-select: none;
}

#menuToggle a
{
    font-family: 'Orbitron', sans-serif;
    text-decoration: none;
    color:  var(--font_color);
    transition: color 0.3s ease;
}

#menuToggle a:hover
{
    color: var(--primary_color);
}


#menuToggle input
{
    display: block;
    width: 40px;
    height: 32px;
    position: absolute;
    top: -7px;
    left: -5px;

    cursor: pointer;

    opacity: 0; /* hide this */
    z-index: 1002; /* and place it over the hamburger */

    -webkit-touch-callout: none;
}

/*
 * Just a quick hamburger
 */
#menuToggle span
{
    display: block;
    width: 33px;
    height: 4px;
    margin-bottom: 5px;
    position: relative;
    left: 15px;
    background: var(--color_bright);
    border-radius: 5px;

    z-index: 1001;

    transform-origin: 4px 0;

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    background 0.5s cubic-bezier(0.77,0.2,0.05,1.0),
    opacity 0.55s ease;
}

#menuToggle span:first-child
{
    transform-origin: 0 0;
}

#menuToggle span:nth-last-child(2)
{
    transform-origin: 0 100%;
}

#menuToggle input:checked ~ span
{
    opacity: 1;
    transform: rotate(45deg) translate(-2px, -1px);
    background: var(--color_bright);
    left: 15px;
}

#menuToggle input:checked ~ span:nth-last-child(3)
{
    opacity: 0;
    transform: rotate(0deg) scale(0.2, 0.2);
}

#menuToggle input:checked ~ span:nth-last-child(2)
{
    transform: rotate(-45deg) translate(0, -1px);
}

#menu
{

    border: 5px var(--color_bright) solid;


    position: absolute;
    min-width: 300px;
    margin: -100px 0 0 -50px;
    left: 10px;
    padding: 125px 50px 50px;
    font-family: 'Orbitron', sans-serif;
    background: var(--color_dark);
    list-style-type: none;
    -webkit-font-smoothing: antialiased;
    /* to stop flickering of text in safari */

    transform-origin: 0 0;
    transform: translate(-100%, 0);

    z-index: 1000;

    transition: transform 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
}

#menu li
{
    font-family: 'Orbitron', sans-serif;
    padding: 10px 0;
    font-size: var(--h4);
}

#menuToggle input:checked ~ ul
{
    transform: none;
}


.text_block {
    color:  var(--font_color);
    font-family: Verdana, sans-serif;
    width: 80%;
    margin: 0 auto;

    font-size: var(--p);
    line-height: 1.6;

}

.image_box {
    width: 35%;
    margin: 0 auto;
}


.input_form{
    min-width: 20%;
}


.form_sonar{
    font-family: 'Orbitron', sans-serif;
    background-color: var(--color_dark);
    padding: 10px;
    border: 5px var(--primary_color) solid;
}

table, th, td {
    border:2px solid var(--primary_color);
    background-color: black;
    border-collapse: collapse;
}
table{
    border:5px solid var(--primary_color);
}
.error_text{
    color: var(--color_warn) !important;
}


.text_box{
    font-family: 'Orbitron', sans-serif;
    color:  var(--font_color);
    border:2px solid var(--primary_color);
    background-color: var(--color_dark);
    border-collapse: collapse;
    width: 80%;
    margin: 0 auto;
}



.progress-container {
    width: 100%;
    background-color: var(--color_bright);
    border-radius: 8px;
    overflow: hidden;
    height: 30px;
    margin-top: 10px;
}

.progress-bar {
    height: 100%;
    background-color: var(--primary_color);
    text-align: center;
    line-height: 30px;
    color: var(--color_dark);
    font-weight: bold;
    transition: width 0.3s;
}

.twitch-streams {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    justify-content: center;
    margin-top: 20px;
}



.warning-message{
    color:  var(--font_color);

    background: repeating-linear-gradient(
            45deg,
            transparent,
            transparent 10px,
            orange 10px,
            orange 20px
    ),
    linear-gradient(
            to bottom,
            black,
            black
    );
    font-size: var(--h3);
    text-shadow:
            3px 3px 0 #000,
            -3px 3px 0 #000,
            -3px -3px 0 #000,
            3px -3px 0 #000;
    font-family: 'Orbitron', sans-serif;
    font-weight: bold;
    padding: 5px;
}


.Input_Field{
    width: max(250px,25%);
    box-sizing: border-box;
    margin-right: -5px;

    cursor: text;

    background-color: var(--color_bright);
    border: 2px var(--primary_color) solid;
    color: var(--color_dark);
    font-family: Verdana, sans-serif;
    line-height: 1.6;

    padding: 3px 1px;
    font-size: var(--h5);
    line-height: 1.6;
}



.impressum{
    color: var(--font_color);
    background-color: var(--color_dark);
    border: 2px var(--primary_color) solid;
    padding: 5px 50px 50px;
    margin-left: 50px;
    margin-right: 50px;
    max-width: 2000px;
    text-align: left;

}

@media screen and (max-width: 975px) {
    .impressum {
        margin-left: 5px;
        margin-right: 5px;
    }
}


.video_holder{
    border: 5px solid var(--primary_color);
    width: clamp(200px,70%,800px);
    max-width: 800px;
    height: auto;
    margin: auto;
    background-color: var(--color_dark);
}
.video{
    width: 100%;
}


.animated-rainbow {
    background: linear-gradient(to left, #f00, #ff2b00, #f50, #ff8000, #fa0, #ffd500, #ff0, #d4ff00, #af0, #80ff00, #5f0, #2bff00, #0f0, #00ff2a, #0f5, #00ff80, #0fa, #00ffd5, #0ff, #00d5ff, #0af, #0080ff, #05f, #002aff, #00f, #2b00ff, #50f, #8000ff, #a0f, #d400ff, #f0f, #ff00d4, #f0a, #ff0080, #f05, #ff002b, #f00);
    animation: rainbow-move-left-right 5s linear infinite alternate;
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;

}
@keyframes rainbow-move-left-right {
    0% {background-position: 0 0    }
    100% {background-position: -500px 0}
}




/* Dropdown Button */
.dropbtn {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--h4);
    border: none;
    color:  var(--font_color);
    background-color: var(--color_dark);
    padding: 10px 27px 10px 0;
}

/* The container <div> - needed to position the dropdown content */
.dropdown {
    position: relative;
    display: inline-block;
}

/* Dropdown Content (Hidden by Default) */
.dropdown-content {
    display: none;
    position: absolute;
    background-color: black;
    border: 1px solid var(--color_bright);
    min-width: 160px;
    box-shadow: 0 8px 16px 0 rgba(0,0,0,0.2);
    z-index: 1;
}

/* Links inside the dropdown */
.dropdown-content a {
    color: var(--color_dark);
    padding: 12px 16px;
    text-decoration: none;
    display: block;
}

/* Change color of dropdown links on hover */
.dropdown-content a:hover {
    border-color: var(--color_bright);
    border-width: 20px;
}

/* Show the dropdown menu on hover */
.dropdown:hover .dropdown-content {display: block;}

/* Change the background color of the dropdown button when the dropdown content is shown */
.dropdown:hover .dropbtn {
    background-color: white;
    color: black;
}



/* Hero Section */
.mtw-hero {
    padding: 80px 20px;
    background: linear-gradient(rgba(0,0,0,0.7), rgba(0,0,0,0.7)), url('/MagictwinsWorld/files/img/Commission/C_BackDrop.webp');
    background-size: cover;
    background-position: center;
    border-radius: 0 0 40px 40px;
    margin-bottom: 50px;
}

.mtw-hero-title { font-size: 3rem; color: var(--color_bright); margin-bottom: 10px; }
.mtw-hero-subtitle { font-size: 1.2rem; color: #ddd; max-width: 600px; margin: 0 auto 30px; }

/* Grid System */
.mtw-commission-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 25px;
    padding: 20px;
    max-width: 1200px;
    margin: 0 auto;
}

/* Card Styling */
.mtw-card {
    background: #1a1a1a;
    border: 1px solid #333;
    border-radius: 20px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.mtw-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary_color); /* Accent color */
}

.mtw-card-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-bottom: 1px solid #333;
}

.mtw-card-content {
    padding: 25px;
    flex-grow: 1;
    text-align: left;
}

.mtw-card-tag {
    font-size: 0.8rem;
    text-transform: uppercase;
    color: var(--primary_color);
    font-weight: bold;
    letter-spacing: 1px;
}

.mtw-price-box {
    margin-top: 15px;
    padding-top: 15px;
    border-top: 1px dashed var(--color_contrast);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.mtw-price-label { font-size: 0.9rem; color: var(--primary_color); }
.mtw-price-value {
    background: var(--primary_color);
    color: var(--color_dark);
    padding: 5px 12px;
    border-radius: 8px;
    font-weight: bold;
}

/* NSFW specific style */
.mtw-card-nsfw:hover { border-color: var(--primary_color); }

@media (max-width: 600px) {
    .mtw-commission-grid { grid-template-columns: 1fr; }
}

/* Process Section Styling */
.mtw-proc-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.mtw-proc-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    position: relative;
}

.mtw-proc-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid var(--color_contrast);
}

.mtw-proc-number {
    width: 40px;
    height: 40px;
    background: var(--primary_color);
    color: var(--color_dark);
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-weight: bold;
    margin: 0 auto 15px;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.mtw-proc-step h4 {
    color:  var(--font_color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.mtw-proc-step p {
    font-size: 0.85rem;
    color:  var(--font_color);
    line-height: 1.4;
}

/* Responsive: Stack vertically on mobile */
@media (max-width: 900px) {
    .mtw-proc-container {
        flex-direction: column;
        align-items: center;
    }
    .mtw-proc-step {
        width: 100%;
        max-width: 400px;
    }
}
/* Process Section Styling */
.mtw-proc-section {
    max-width: 1200px;
    margin: 80px auto;
    padding: 0 20px;
}

.mtw-proc-container {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 20px;
    margin-top: 40px;
    position: relative;
}

.mtw-proc-step {
    flex: 1;
    text-align: center;
    position: relative;
    padding: 20px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    border: 1px solid var(--color_contrast);
}


.mtw-proc-step h4 {
    color: var(--font_color);
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.mtw-proc-step p {
    font-size: 0.85rem;
    color:  var(--font_color);
    line-height: var(--p);
}

/* Responsive: Stack vertically on mobile */
@media (max-width: 900px) {
    .mtw-proc-container {
        flex-direction: column;
        align-items: center;
    }
    .mtw-proc-step {
        width: 100%;
        max-width: 400px;
    }
}

/* FAQ Section Container */
.mtw-faq-section {
    max-width: 1000px;
    margin: 80px auto;
    padding: 0 20px;
}

.mtw-faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(450px, 1fr));
    gap: 20px;
    margin-top: 40px;
}

/* Modern Details Styling */
.mtw-faq-item {
    background: rgba(255, 255, 255, 0.03);
    border: 2px solid #333;
    border-radius: 12px;
    overflow: hidden;
    transition: border-color 0.3s ease;
}

.mtw-faq-item[open] {
    border-color: var(--color_bright);
    background: rgba(255, 255, 255, 0.07); /* Optional: slightly brighten background too */
}



.mtw-faq-item:hover {
    border-color: var(--primary_color);
}

.mtw-faq-item summary {
    padding: 20px;
    font-weight: bold;
    color:  var(--font_color);
    cursor: pointer;
    list-style: none; /* Hide default arrow */
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Custom indicator */
.mtw-faq-item summary::after {
    content: '+';
    color: var(--primary_color);
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.mtw-faq-item[open] summary::after {
    transform: rotate(45deg);
}

.mtw-faq-text {
    color:  var(--font_color);
    line-height: 1.6;
    font-size: 0.95rem;
    border-top: 2px solid #222;
    padding: 15px 20px 20px;
}



/* Responsive adjustments */
@media (max-width: 600px) {
    .mtw-faq-grid {
        grid-template-columns: 1fr;
    }
}


/* Bottom Call to Action */
.mtw-cta-section {
    max-width: 1000px;
    margin: 100px auto;
    padding: 60px 20px;
    background: linear-gradient(145deg, rgba(0, 255, 255, 0.05) 0%, rgba(0, 0, 0, 0) 100%);
    border: 5px solid var(--primary_color);
    border-radius: 30px;
    text-align: center;
}

.mtw-cta-title {
    font-size: 2.5rem;
    color:  var(--font_color);
    margin-bottom: 15px;
}

.mtw-cta-text {
    color:  var(--font_color);
    font-size: 1.1rem;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.mtw-cta-btn {
    display: inline-block;
    padding: 18px 45px;
    background: var(--primary_color);
    color: var(--color_dark);
    text-decoration: none;
    font-weight: bold;
    font-size: 1.2rem;
    border-radius: 50px;
    transition: all 0.3s ease;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.2);
}

.mtw-cta-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 55px rgba(0, 255, 255, 0.4);
    background: var(--color_bright); /* Shifts to white on hover for high contrast */
    color:var(--color_dark);
}

/* Container & Layout */
.mt-page-wrapper {
    padding: 100px 20px;
    min-height: 80vh;
}

.mt-contact-container {
    max-width: 1100px;
    margin: 0 auto;
    color:  var(--font_color);
    font-family: sans-serif;
}

.mt-contact-header {
    text-align: center;
    margin-bottom: 50px;
}

.mt-main-title {
    font-size: clamp(2rem, 7vmin, 3.5rem);
    margin: 0;
}

.mt-sub-text {
    opacity: 1;
    font-size: 1.1rem;
}

.mt-contact-grid {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 40px;
}

/* Form Styling */
.mt-contact-form {
    background: rgba(255, 255, 255, 0.07);
    padding: 30px;
    border-radius: 15px;
    border: 1px solid var(--primary_color);
}

.mt-form-row {
    display: flex;
    gap: 20px;
    margin-bottom: 20px;
}

.mt-form-group {
    flex: 1;
    margin-bottom: 20px;
    text-align: left;
}

.mt-form-label {
    display: block;
    font-size: 0.8rem;
    text-transform: uppercase;
    margin-bottom: 8px;
    letter-spacing: 1px;
    color:  var(--font_color);
}

.mt-input {
    width: 100%;
    padding: 12px;
    background: #1a1a1e;
    border: 3px solid #333;
    border-radius: 8px;
    color:  var(--font_color);
    font-size: 1rem;
    box-sizing: border-box;
}

.mt-input:focus {
    outline: none;
    border-color: var(--primary_color);
}

.mt-textarea {
    height: 150px;
    resize: vertical;
}

.mt-submit-btn {
    width: 100%;
    padding: 15px;
    background: var(--primary_color);
    color: black;
    border: none;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    font-size: 1rem;
    transition: 0.3s;
}

.mt-submit-btn:hover {
    box-shadow: 0 0 55px rgba(0, 255, 255, 0.4);
    background:  var(--font_color);
    color: var(--color_dark);
    transform: translateY(-2px);
}

/* Sidebar & Status */
.mt-status-card {
    background: rgba(46, 204, 113, 0.1);
    border: 1px solid var(--primary_color);
    padding: 20px;
    border-radius: 12px;
    margin-bottom: 20px;
    display: flex;
    align-items: center;
    gap: 15px;
    text-align: left;
}

.mt-pulse {
    width: 12px;
    height: 12px;
    background: #2ecc71;
    border-radius: 50%;
    animation: mt-pulse-kf 2s infinite;
}

@keyframes mt-pulse-kf {
    0% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0.7); }
    70% { box-shadow: 0 0 0 10px rgba(46, 204, 113, 0); }
    100% { box-shadow: 0 0 0 0 rgba(46, 204, 113, 0); }
}

.mt-widget-wrapper {
    border-radius: 12px;
    overflow: hidden;
    background: var(--primary_color);
}

/* Contact Cards */
.mt-link-group {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 15px;
}

.mt-contact-card {
    background: #23272a;
    padding: 15px;
    border-radius: 10px;
    text-decoration: none;
    color: var(--font_color);
    border: 3px solid var(--color_contrast);
    transition: 0.3s;
    text-align: left;
}

.mt-contact-card:hover {
    border-color: var(--primary_color);
    background: #2c2f33;
}

.mt-label { display: block; font-size: 0.7rem; opacity: 0.5; }
.mt-value { display: block; font-weight: bold; }

/* Feedback */
.mt-form-feedback {
    padding: 15px;
    border-radius: 8px;
    margin-bottom: 20px;
}
.mt-success { background: rgba(46, 204, 113, 0.2);
    color: #2ecc71;
    border: 1px solid #2ecc71; }
.mt-error {
    background: rgba(231, 76, 60, 0.2);
    color: #e74c3c;
    border: 1px solid #e74c3c; }

.mt-divider {
    color: var(--font_color);
    text-align: center;
    margin: 30px 0;
    border-bottom: 3px solid var(--color_contrast);
    line-height: 0.1em;
}
.mt-divider span { background: var(--color_dark); padding: 0 15px; font-size: 0.8rem; opacity: 0.5; }

.mt-legal-area { margin-top: 30px; opacity: 0.4; }
.mt-legal-link { color: #fff; font-size: 0.8rem; }

/* Responsive */
@media (max-width: 900px) {
    .mt-contact-grid { grid-template-columns: 1fr; }
    .mt-contact-sidebar { order: -1; }
    .mt-form-row { flex-direction: column; gap: 0; }
}


.mt-home-hero {
    padding: 20px 20px;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
}

.mt-hero-grid {
    display: grid;
    grid-template-columns: 1.2fr 1fr;
    gap: 50px;
    align-items: center;
    width: 100%;
}

/* Typography & Colors */
.mt-main-title {
    font-size: clamp(2.5rem, 8vw, 4rem);
    color:  var(--font_color);
    margin: 0 0 20px 0;
}

.mt-name {
    color: var(--primary_color);
    font-weight: bold;
}

.mt-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: var(--font_color);
    margin-bottom: 30px;
}

.mt-description b {
    color:  var(--font_color);
}

/* Availability Badge */
.mt-availability {
    display: inline-flex;
    align-items: center;
    border: 1px solid var(--primary_color);
    background: rgba(0, 255, 255, 0.05);
    color: var(--primary_color);
    padding: 8px 16px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: bold;
    margin-bottom: 20px;
}

.mt-status-dot {
    width: 8px;
    height: 8px;
    background: var(--primary_color);
    border-radius: 50%;
    margin-right: 10px;
    box-shadow: 0 0 8px var(--primary_color);
}

/* Buttons */
.mt-cta-group {
    display: flex;
    gap: 15px;
    margin-bottom: 25px;
}


.mt-btn-secondary {
    background: var(--color_contrast);
    color:  var(--font_color);
    border: 1px solid #333;
    padding: 16px 28px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: 0.3s;
    font-size: var(--h5);
}

.mt-btn-secondary:hover {
    border-color: var(--primary_color);
}

.mt-warning-banner {
    background: #aa0000;
    color:  var(--font_color);
    padding: 15px;
    text-align: center;
}

/* Mobile */
@media (max-width: 850px) {
    .mt-hero-grid { grid-template-columns: 1fr; text-align: center; }
    .mt-hero-text { order: 2; }

    .mt-cta-group { justify-content: center; }
}

#about-container {
    max-width: 950px;
    margin: 40px auto;
    padding: 0 20px;
    line-height: 1.7;
    color:  var(--font_color);
}

/* Section Cards */
.about-card {
    background: rgba(255, 255, 255, 0.03);
    border-left: 4px solid var(--primary_color);
    padding: 30px;
    margin-bottom: 25px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);

}

/* Layout Grids */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 25px;
    margin-bottom: 25px;
}

.about-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 30px;
}

/* Typography */
.aqua-header {
    color: var(--primary_color);
    font-size: 1.6rem;
    margin-top: 0;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}

.sub-text {
    color:  var(--font_color);
    font-size: 1.1rem;
    margin-top: -10px;
    margin-bottom: 30px;
}






/* Responsive Design */
@media (max-width: 850px) {
    .about-grid {
        grid-template-columns: 1fr;
    }

    .about-flex {
        flex-direction: column-reverse;
        text-align: center;
    }

    .about-image-side img {
        margin-bottom: 20px;
    }
}

/* CTA Section Layout */
.cta-flex {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

.cta-content {
    flex: 1;
}

.cta-image-wrapper {
    flex: 0 0 150px; /* Adjust this to make the toaster larger or smaller */
    display: flex;
    justify-content: center;
}

.cta-image-wrapper img {
    width: 100%;
    height: auto;
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.2));
}

/* Button Styling */
.mtw-cta-btn-square {
    display: inline-block;
    padding: 12px 30px;
    background: var(--primary_color);
    color: var(--color_dark);
    text-decoration: none;
    font-weight: bold;
    border-radius: 4px;
    text-transform: uppercase;
    transition: transform 0.2s, box-shadow 0.2s;
}

.mtw-cta-btn-square:hover {
    transform: scale(1.05);
    box-shadow: 0 0 55px rgba(0, 255, 255, 0.4);
    background: var(--color_bright);
    color:var(--color_dark);

}

/* Mobile Tweak */
@media (max-width: 600px) {
    .cta-flex {
        flex-direction: column;
        text-align: center;
    }
    .cta-image-wrapper {
        flex: 0 0 auto;
        width: 100px;
    }
}

/* ==========================================================================
   Account Page Layout
   ========================================================================== */

.account-container {
    max-width: 900px;
    margin: 40px auto;
    padding: 20px;
}

/* Account Cards (Details Elements) */
.account-card {
    background: rgba(0, 0, 0, 0.85);
    border: 2px solid var(--primary_color);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 20px;
}

.account-card-body {
    margin-top: 20px;
}

/* ==========================================================================
   Social Links & Interactive Rows
   ========================================================================== */

.social-row {
    display: flex;
    gap: 10px;
    margin-bottom: 12px;
    align-items: center;
}

.social-row textarea {
    flex-grow: 1;
    min-height: 38px;
    resize: none;
    padding: 8px;
}

/* Primary Social Star Toggle */
.btn-primary-social {
    background: #333;
    color: #666;
    border: 1px solid #444;
    cursor: pointer;
    padding: 5px 10px;
    border-radius: 4px;
    transition: 0.3s ease;
}

.btn-primary-social.active {
    background: var(--primary_color);
    color: var(--color_dark);
    border-color: var(--primary_color);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.5);
}

.btn-primary-social:hover:not(.active) {
    border-color: var(--primary_color);
    color: #aaa;
}

/* ==========================================================================
   Danger Zone (Account Deletion)
   ========================================================================== */

.danger-card {
    border-color: var(--color_warn)  !important;
}

.danger-text {
    color: var(--color_warn)  !important;
}

.btn-danger-full {
    background-color: #aa0000 !important;
    border-color: var(--color_warn) !important;
    color: white !important;
    width: 100%;
    margin-top: 10px;
    transition: 0.3s;
}

.btn-danger-full:hover {
    background-color: var(--color_warn) !important;
    color: black !important;
    transform: translateY(-1px);
}

.mtw-card {
    min-height: 280px;
    justify-content: space-between;
}
.mtw-card-queued {
    border-style: dashed; /* Makes queued items look "waiting" */
    opacity: 0.9;
}

.Queue_Tags{
    color:white;
}

.rating-widget {
    text-align: center;
    margin: 25px 0;
}

.stars-display {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 10px;
}

.rating-value {
    font-size: 1.6rem;
    font-weight: bold;
    color: #00FFFF;
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    margin-bottom: 15px;
}

.stars-row {
    display: flex;
    justify-content: center;
    gap: 5px;
    margin-bottom: 10px;
}

.star-wrapper {
    position: relative;
    width: 45px;
    height: 45px;
}

.star-half {
    position: absolute;
    top: 0;
    height: 100%;
    width: 50%;
    z-index: 2;
    cursor: pointer;
}

.star-left {
    left: 0;
}

.star-right {
    left: 50%;
}

.star-svg {
    width: 100%;
    height: 100%;
    pointer-events: none;
}

/* --- Front Page Reviews Section --- */
.mt-reviews-section {
    padding: 40px 20px;
    max-width: 1200px;
    margin: 30px auto 50px auto;
    text-align: center;
}

.mt-reviews-title {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(1.6rem, 2.5vw + 0.5rem, 2.2rem);
    color: var(--primary_color, #00FFFF);
    margin-bottom: 8px;
    text-shadow: 0 0 12px rgba(0, 255, 255, 0.4);
}

.mt-reviews-subtitle {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 30px;
}

.mt-reviews-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 24px;
    justify-content: center;
}

.mt-review-card-link {
    text-decoration: none;
    color: inherit;
    display: block;
    cursor: pointer;
}

.mt-review-card-link:hover {
    color: inherit;
}

.mt-review-card {
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.25);
    border-radius: 12px;
    padding: 22px;
    text-align: left;
    display: flex;
    flex-direction: column;
    gap: 15px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: transform 0.3s ease, border-color 0.3s ease, box-shadow 0.3s ease;
}

.mt-review-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary_color, #00FFFF);
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.35);
}

.mt-review-header {
    display: flex;
    align-items: center;
    gap: 14px;
}

.mt-review-img {
    width: 48px;
    height: 48px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid var(--primary_color, #00FFFF);
    box-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
    flex-shrink: 0;
}

.mt-review-meta {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.mt-review-client {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--p);
    font-weight: bold;
    color: #fff;
}

.mt-review-com {
    font-size: 0.85rem;
    color: var(--primary_color, #00FFFF);
}

.mt-review-stars {
    display: flex;
    align-items: center;
    gap: 3px;
    margin-top: 3px;
}

.mt-review-quote {
    font-size: 0.95rem;
    font-style: italic;
    color: rgba(255, 255, 255, 0.92);
    line-height: 1.5;
    background: rgba(0, 0, 0, 0.25);
    padding: 12px 15px;
    border-radius: 8px;
    border-left: 3px solid var(--primary_color, #00FFFF);
    flex-grow: 1;
}



/* ==========================================================================
   Unified Error Page Components
   ========================================================================== */
.error-container {
    flex-direction: column !important;
    text-align: center;
    gap: 15px;
}

.error-code {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 700;
    color: var(--primary_color);
    text-shadow: 0 0 20px rgba(171, 206, 44, 0.6), 0 0 40px rgba(171, 206, 44, 0.4);
    margin: 0;
    letter-spacing: 4px;
    line-height: 1;
}

.error-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: var(--lime);
    margin-top: 10px;
    margin-bottom: 20px;
}

.error-desc {
    max-width: 480px;
    color: var(--soft);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-top: 0;
    margin-bottom: 30px;
    margin-left: auto;
    margin-right: auto;
}

.action-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    font-size: 1rem;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}

.btn-primary {
    background: linear-gradient(135deg, var(--secondary_color), var(--primary_color));
    color: var(--color_dark);
    box-shadow: 0 4px 15px rgba(171, 206, 44, 0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(171, 206, 44, 0.5);
    color: #ffffff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text);
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    color: var(--text);
}

/* ==========================================================================
   SONAR Top Navigation Bar
   ========================================================================== */

.sonar-navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-bottom: 1px solid rgba(227, 239, 25, 0.22);
    box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6);
}

.sonar-nav-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 24px;
    box-sizing: border-box;
}

/* Brand & Logo */
.sonar-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
    color: var(--font_color);
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    font-weight: 700;
    letter-spacing: 0.1em;
    transition: transform 0.2s ease;
    flex-shrink: 0;
}

.sonar-brand:hover {
    transform: translateY(-1px);
    color: var(--primary_color);
}

.sonar-logo {
    height: 34px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 0 10px rgba(227, 239, 25, 0.45));
    transition: filter 0.3s ease;
}

.sonar-brand:hover .sonar-logo {
    filter: drop-shadow(0 0 16px rgba(227, 239, 25, 0.8));
}

.sonar-brand-text {
    font-size: 1.35rem;
    color: var(--font_color);
    letter-spacing: 0.12em;
    text-transform: uppercase;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.sonar-brand:hover .sonar-brand-text {
    color: var(--primary_color);
    text-shadow: 0 0 12px rgba(227, 239, 25, 0.6);
}

/* Navigation Menu */
.sonar-nav-menu {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-grow: 1;
    margin-left: 36px;
}

.sonar-nav-list {
    display: flex;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 8px;
}

.sonar-nav-item {
    position: relative;
    list-style: none;
}

.sonar-nav-link {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 14px;
    color: var(--soft);
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    text-decoration: none;
    border-radius: 6px;
    border: 1px solid transparent;
    background: transparent;
    cursor: pointer;
    transition: all 0.25s ease;
}

.sonar-nav-link:hover,
.sonar-nav-link.active {
    color: var(--primary_color);
    background: rgba(227, 239, 25, 0.08);
    border-color: rgba(227, 239, 25, 0.25);
    text-shadow: 0 0 8px rgba(227, 239, 25, 0.35);
}

/* Dropdowns */
.sonar-dropdown {
    position: relative;
}

.sonar-caret {
    font-size: 0.75rem;
    display: inline-block;
    transition: transform 0.25s ease;
    color: var(--soft);
}

.sonar-dropdown:hover .sonar-caret,
.sonar-dropdown:focus-within .sonar-caret {
    transform: rotate(180deg);
    color: var(--primary_color);
}

.sonar-dropdown-menu {
    position: absolute;
    top: calc(100% + 4px);
    left: 0;
    min-width: 220px;
    background: rgba(20, 20, 20, 0.96);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(227, 239, 25, 0.28);
    border-radius: 8px;
    list-style: none;
    padding: 6px 0;
    margin: 0;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.7);
    opacity: 0;
    visibility: hidden;
    transform: translateY(8px);
    transition: opacity 0.22s ease, transform 0.22s ease, visibility 0.22s;
    z-index: 1010;
}

.sonar-caret {
    display: inline-block;
    font-size: 0.8em;
    margin-left: 5px;
    transition: transform 0.25s ease;
}

.sonar-dropdown:hover .sonar-dropdown-menu,
.sonar-dropdown:focus-within .sonar-dropdown-menu,
.sonar-dropdown.is-open .sonar-dropdown-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.sonar-dropdown:hover .sonar-caret,
.sonar-dropdown:focus-within .sonar-caret,
.sonar-dropdown.is-open .sonar-caret {
    transform: rotate(180deg);
}

.sonar-dropdown-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 10px 18px;
    color: var(--soft);
    text-decoration: none;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.95rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    transition: all 0.2s ease;
}

.sonar-dropdown-item i {
    width: 16px;
    text-align: center;
    color: var(--primary_color);
}

.sonar-dropdown-item:hover,
.sonar-dropdown-item.active {
    color: var(--primary_color);
    background: rgba(227, 239, 25, 0.12);
    padding-left: 22px;
}

/* Auth Buttons */
.sonar-nav-auth {
    display: flex;
    align-items: center;
    gap: 12px;
}

.sonar-btn {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    border-radius: 6px;
    font-family: 'Rajdhani', 'Orbitron', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.25s ease;
    cursor: pointer;
}

.sonar-btn-login {
    background: transparent;
    color: var(--primary_color);
    border: 1px solid var(--primary_color);
}

.sonar-btn-login:hover {
    background: var(--primary_color);
    color: #0d0d0d;
    box-shadow: 0 0 16px rgba(227, 239, 25, 0.45);
    transform: translateY(-1px);
}

.sonar-btn-user {
    background: rgba(227, 239, 25, 0.1);
    color: var(--font_color);
    border: 1px solid rgba(227, 239, 25, 0.35);
}

.sonar-btn-user:hover {
    border-color: var(--primary_color);
    color: var(--primary_color);
    box-shadow: 0 0 14px rgba(227, 239, 25, 0.3);
    transform: translateY(-1px);
}

/* Mobile Toggle & Responsive Styles */
.sonar-nav-toggle {
    display: none;
}

.sonar-nav-hamburger {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 26px;
    height: 19px;
    cursor: pointer;
    z-index: 1002;
}

.sonar-nav-hamburger span {
    display: block;
    height: 3px;
    width: 100%;
    background: var(--font_color);
    border-radius: 3px;
    transition: all 0.3s ease;
}

@media screen and (max-width: 868px) {
    .sonar-nav-hamburger {
        display: flex;
    }

    .sonar-nav-toggle:checked + .sonar-nav-hamburger span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
        background: var(--primary_color);
    }

    .sonar-nav-toggle:checked + .sonar-nav-hamburger span:nth-child(2) {
        opacity: 0;
    }

    .sonar-nav-toggle:checked + .sonar-nav-hamburger span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
        background: var(--primary_color);
    }

    .sonar-nav-menu {
        position: fixed;
        top: 0;
        right: 0;
        width: min(85vw, 320px);
        height: 100vh;
        height: 100dvh;
        background: rgba(14, 14, 14, 0.98);
        backdrop-filter: blur(20px);
        -webkit-backdrop-filter: blur(20px);
        border-left: 1px solid rgba(227, 239, 25, 0.25);
        flex-direction: column;
        align-items: stretch;
        justify-content: flex-start;
        padding: 70px 20px 30px;
        margin: 0;
        transform: translateX(100%);
        transition: transform 0.35s cubic-bezier(0.77, 0.2, 0.05, 1.0);
        overflow-y: auto;
        z-index: 1001;
        box-shadow: -10px 0 35px rgba(0, 0, 0, 0.8);
    }

    .sonar-nav-toggle:checked ~ .sonar-nav-menu {
        transform: translateX(0);
    }

    .sonar-nav-list {
        flex-direction: column;
        align-items: stretch;
        gap: 6px;
        width: 100%;
    }

    .sonar-nav-link {
        width: 100%;
        box-sizing: border-box;
        padding: 10px 14px;
        font-size: 1.05rem;
    }

    .sonar-dropdown-menu {
        position: static;
        display: none;
        opacity: 0;
        visibility: hidden;
        transform: none;
        box-shadow: none;
        background: rgba(0, 0, 0, 0.45);
        border: 1px solid rgba(227, 239, 25, 0.15);
        border-radius: 6px;
        margin: 4px 0 8px 10px;
        padding: 4px 0;
    }

    .sonar-dropdown.is-open > .sonar-dropdown-menu {
        display: block;
        opacity: 1;
        visibility: visible;
        animation: sonarDropdownFade 0.2s ease;
    }

    .sonar-dropdown.is-open > .sonar-nav-link .sonar-caret {
        transform: rotate(180deg);
    }

    @keyframes sonarDropdownFade {
        from { opacity: 0; transform: translateY(-4px); }
        to   { opacity: 1; transform: translateY(0); }
    }

    .sonar-dropdown-item {
        padding: 8px 14px;
        font-size: 0.9rem;
    }

    .sonar-nav-auth {
        margin-top: 20px;
        padding-top: 15px;
        border-top: 1px solid rgba(255, 255, 255, 0.1);
        width: 100%;
        flex-direction: column;
    }

    .sonar-btn {
        width: 100%;
        justify-content: center;
        box-sizing: border-box;
        padding: 10px;
    }
}

/* ==========================================================================
   SHARED SONAR DESIGN SYSTEM & COMPONENT LIBRARY
   Consolidated styles for all Sonar pages, admin tools, and user portals
   ========================================================================== */

/* --- 1. Common Containers & Layouts --- */
.sonar-page-container,
.loader-container,
.event-manager-container,
.scraper-container,
.manage-container,
.account-container,
.legal-container {
    max-width: 1300px;
    margin: 100px auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
    font-family: 'Montserrat', sans-serif;
    color: var(--text, #fff);
    flex: 1 0 auto;
    width: 100%;
}

.auth-container {
    max-width: 480px;
    margin: 100px auto 90px;
    padding: 0 20px;
    box-sizing: border-box;
    flex: 1 0 auto;
    width: 100%;
}

@media screen and (max-width: 768px) {
    .sonar-page-container,
    .loader-container,
    .event-manager-container,
    .scraper-container,
    .manage-container,
    .account-container,
    .legal-container,
    .auth-container {
        margin: 80px auto 35px;
        padding: 0 14px;
    }
}

/* --- 2. Hero Banners --- */
.sonar-hero,
.loader-hero,
.manager-hero,
.scraper-hero,
.manage-hero,
.user-hero-card {
    background: linear-gradient(135deg, rgba(25, 25, 25, 0.95) 0%, rgba(14, 14, 14, 0.98) 100%);
    border: 1px solid rgba(227, 239, 25, 0.35);
    border-radius: 16px;
    padding: 24px 30px;
    margin-bottom: 25px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5), 0 0 22px rgba(227, 239, 25, 0.08);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 20px;
}

.sonar-hero-title h1,
.loader-hero-title h1,
.manager-hero-title h1,
.scraper-hero-title h1,
.manage-hero-title h1,
.user-hero-details h1 {
    font-size: 0.9rem;
    color: var(--primary_color, #e3ef19);
    margin: 0 0 4px 0;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    font-family: 'Rajdhani', sans-serif;
}

.sonar-hero-title h2,
.loader-hero-title h2,
.manager-hero-title h2,
.scraper-hero-title h2,
.manage-hero-title h2,
.user-hero-details h2 {
    font-size: clamp(1.4rem, 2.5vw, 1.9rem);
    color: #fff;
    margin: 0;
    font-weight: 700;
    font-family: 'Montserrat', sans-serif;
}

.user-hero-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.user-hero-details .username-sub {
    font-size: 0.9rem;
    color: var(--soft, #aaa);
    font-weight: 400;
}

/* --- 3. Stat Badges --- */
.sonar-stats,
.loader-stats,
.manager-stats,
.scraper-stats,
.manage-stats {
    display: flex;
    gap: 12px;
    flex-wrap: wrap;
}

.stat-badge {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(227, 239, 25, 0.2);
    border-radius: 10px;
    padding: 8px 16px;
    text-align: center;
    min-width: 85px;
    box-sizing: border-box;
}

.stat-badge .num {
    font-size: 1.3rem;
    font-weight: 800;
    color: var(--primary_color, #e3ef19);
    font-family: 'Orbitron', sans-serif;
}

.stat-badge .lbl {
    font-size: 0.72rem;
    color: var(--soft, #aaa);
    text-transform: uppercase;
    letter-spacing: 0.04em;
    font-family: 'Montserrat', sans-serif;
}

/* --- 4. Cards & Action Grids --- */
.action-cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 20px;
    margin-bottom: 25px;
}

.loader-card,
.scraper-card,
.table-card,
.events-table-card,
.controls-card,
.flagged-card,
.legal-card,
.auth-card,
.user-manage-card {
    background: rgba(18, 18, 18, 0.92);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(227, 239, 25, 0.25);
    border-radius: 14px;
    padding: 22px 26px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4);
    margin-bottom: 22px;
    box-sizing: border-box;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.loader-card:hover,
.scraper-card:hover,
.user-manage-card:hover {
    border-color: rgba(227, 239, 25, 0.5);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(227, 239, 25, 0.12);
}

.loader-card h3,
.scraper-card h3,
.flagged-card h3 {
    margin-top: 0;
    margin-bottom: 12px;
    color: var(--primary_color, #e3ef19);
    font-size: 1.15rem;
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.controls-card {
    padding: 16px 22px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.controls-left,
.controls-right {
    display: flex;
    align-items: center;
    gap: 12px;
    flex-wrap: wrap;
}

.file-info-box,
.db-info-box {
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 10px 14px;
    margin-bottom: 16px;
    font-size: 0.82rem;
    line-height: 1.45;
}

.adjusted-box {
    background: rgba(227, 239, 25, 0.08);
    border: 1px solid rgba(227, 239, 25, 0.3);
    border-radius: 10px;
    padding: 14px 18px;
    margin-bottom: 25px;
    font-size: 0.85rem;
}

.legal-card h1 {
    color: var(--primary_color, #e3ef19);
    font-size: clamp(1.6rem, 2.5vw, 2.2rem);
    margin: 0 0 8px 0;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.legal-card .subtitle {
    color: var(--soft, #a0a0a0);
    font-size: 0.95rem;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.legal-card h2 {
    color: var(--primary_color, #e3ef19);
    font-size: 1.2rem;
    margin: 24px 0 10px 0;
    font-weight: 600;
}

.legal-card p {
    color: var(--soft, #cfcfcf);
    font-size: 0.96rem;
    margin: 0 0 14px 0;
}

.legal-card ul {
    color: var(--soft, #cfcfcf);
    font-size: 0.96rem;
    margin: 0 0 18px 24px;
    padding: 0;
}

.legal-card li {
    margin-bottom: 8px;
}

.highlight-box {
    background: rgba(227, 239, 25, 0.06);
    border: 1px solid rgba(227, 239, 25, 0.3);
    border-radius: 10px;
    padding: 16px 20px;
    margin: 20px 0;
    color: #fff;
}

.legal-card a {
    color: var(--primary_color, #e3ef19);
    text-decoration: underline;
    transition: color 0.2s ease;
}

.legal-card a:hover {
    color: #fff;
}

.legal-section-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(227, 239, 25, 0.4), transparent);
    margin: 35px 0;
}

.legal-lang-badge {
    display: inline-block;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.75rem;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    background: rgba(227, 239, 25, 0.15);
    border: 1px solid var(--primary_color, #e3ef19);
    color: var(--primary_color, #e3ef19);
    margin-bottom: 8px;
}

.legal-lang-badge.de {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.25);
    color: #ddd;
}

/* --- 5. Action Buttons & Links --- */
.sonar-action-btn,
.discord-btn,
.event-btn,
.check-btn,
.sync-btn,
.hosts-btn,
.link-btn,
.auth-btn {
    background: var(--primary_color, #e3ef19);
    color: #0d0d0d !important;
    border: 1px solid var(--primary_color, #e3ef19);
    padding: 11px 20px;
    border-radius: 8px;
    font-family: 'Rajdhani', 'Montserrat', sans-serif;
    font-size: 0.98rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: all 0.2s ease;
    box-shadow: 0 4px 16px rgba(227, 239, 25, 0.25);
    box-sizing: border-box;
}

.sonar-action-btn:hover,
.discord-btn:hover,
.event-btn:hover,
.check-btn:hover,
.sync-btn:hover,
.hosts-btn:hover,
.link-btn:hover,
.auth-btn:hover {
    background: #f5ff33;
    border-color: #f5ff33;
    box-shadow: 0 6px 22px rgba(227, 239, 25, 0.45);
    transform: translateY(-2px);
}

.sonar-action-btn:disabled,
.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
    box-shadow: none;
}

.action-row-btn,
.sonar-btn-edit {
    background: rgba(227, 239, 25, 0.12);
    border: 1px solid var(--primary_color, #e3ef19);
    color: var(--primary_color, #e3ef19) !important;
    padding: 4px 10px;
    border-radius: 5px;
    font-size: 0.78rem;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    transition: all 0.2s ease;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    text-decoration: none;
    vertical-align: middle;
}

.action-row-btn:hover,
.sonar-btn-edit:hover {
    background: var(--primary_color, #e3ef19);
    color: #0d0d0d !important;
    box-shadow: 0 0 12px rgba(227, 239, 25, 0.5);
    transform: translateY(-1px);
}

.action-row-delete,
.btn-action-del {
    background: rgba(255, 68, 68, 0.12);
    border: 1px solid rgba(255, 68, 68, 0.45);
    color: #ff8888 !important;
}

.action-row-delete:hover,
.btn-action-del:hover {
    background: #ff4444;
    color: #fff !important;
    box-shadow: 0 0 12px rgba(255, 68, 68, 0.5);
    transform: translateY(-1px);
}

/* --- 6. Badges & Tags --- */
.id-badge,
.thread-id-badge {
    font-family: monospace;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    color: #90909f;
    padding: 3px 8px;
    border-radius: 4px;
    font-size: 0.82rem;
    text-decoration: none;
    display: inline-block;
}

.id-badge:hover,
.thread-id-badge:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.12);
    color: #90909f;
    box-shadow: none !important;
}

.type-badge,
.type-badge-opendecks,
.type-badge-main,
.type-badge-special {
    background: rgba(255, 255, 255, 0.07);
    border: 1px solid rgba(255, 255, 255, 0.18);
    color: #dddde5;
    padding: 3px 10px;
    border-radius: 6px;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-block;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.badge-role-host {
    background: rgba(227, 239, 25, 0.15);
    border: 1px solid var(--primary_color, #e3ef19);
    color: var(--primary_color, #e3ef19);
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.badge-role-perf {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 2px 8px;
    border-radius: 4px;
    font-size: 0.76rem;
    font-weight: 700;
    display: inline-flex;
    align-items: center;
}

.perm-badge {
    display: inline-flex;
    align-items: center;
    padding: 4px 12px;
    border-radius: 6px;
    font-size: 0.78rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    font-family: 'Rajdhani', sans-serif;
}

.perm-commander {
    background: rgba(227, 239, 25, 0.15);
    border: 1px solid var(--primary_color, #e3ef19);
    color: var(--primary_color, #e3ef19);
}

.perm-staff {
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #bbb;
}

.world-link {
    color: var(--primary_color, #e3ef19);
    font-weight: 600;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: all 0.2s ease;
}

.world-link:hover {
    color: #fff;
    text-decoration: underline;
}

.muted-text {
    color: var(--soft, #a0a0a0);
    font-style: italic;
    font-size: 0.85rem;
}

/* --- 7. Form Controls --- */
.form-group,
.mt-form-group {
    margin-bottom: 18px;
}

.form-group label,
.mt-form-label {
    display: block;
    font-size: 0.88rem;
    font-weight: 600;
    margin-bottom: 7px;
    color: var(--soft, #d8d8d8);
    letter-spacing: 0.03em;
    font-family: 'Rajdhani', 'Montserrat', sans-serif;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    box-sizing: border-box;
}

.mt-input {
    width: 100%;
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 10px 14px;
    color: var(--text, #fff);
    font-size: 0.95rem;
    font-family: 'Montserrat', sans-serif;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.mt-input:focus {
    outline: none;
    border-color: var(--primary_color, #e3ef19);
    box-shadow: 0 0 14px rgba(227, 239, 25, 0.25);
    background: #141414;
}

.mt-input.is-invalid {
    border-color: var(--color_warn, #ff4444);
    background: rgba(255, 68, 68, 0.05);
}

.invalid-feedback {
    color: #ff7777;
    font-size: 0.82rem;
    margin-top: 5px;
}

.mt-select {
    background: #0d0d0d;
    border: 1px solid rgba(255, 255, 255, 0.16);
    border-radius: 8px;
    padding: 9px 14px;
    color: #fff;
    font-size: 0.88rem;
    font-family: 'Montserrat', sans-serif;
    cursor: pointer;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.mt-select:focus {
    outline: none;
    border-color: var(--primary_color, #e3ef19);
}

.search-row,
.search-form {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
}

.filter-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.filter-pill {
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    text-decoration: none;
    color: var(--soft, #bbb);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
}

.filter-pill:hover,
.filter-pill.active {
    background: rgba(227, 239, 25, 0.14);
    border-color: var(--primary_color, #e3ef19);
    color: var(--primary_color, #e3ef19);
}

/* --- 8. Feedback Alerts --- */
.mt-form-feedback {
    border-radius: 10px;
    padding: 14px 20px;
    font-size: 0.95rem;
    margin-bottom: 22px;
    line-height: 1.5;
    box-sizing: border-box;
}

.mt-success {
    background: rgba(227, 239, 25, 0.12);
    border: 1px solid rgba(227, 239, 25, 0.4);
    color: var(--primary_color, #e3ef19);
    box-shadow: 0 0 14px rgba(227, 239, 25, 0.15);
}

.mt-error {
    background: rgba(255, 68, 68, 0.12);
    border: 1px solid rgba(255, 68, 68, 0.45);
    color: #ff8888;
    box-shadow: 0 0 14px rgba(255, 68, 68, 0.15);
}

/* --- 9. Navigation Tabs --- */
.table-tabs-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
    margin-bottom: 18px;
}

.nav-tabs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.tab-btn {
    padding: 8px 16px;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 700;
    text-decoration: none;
    color: var(--soft, #bbb);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.2s ease;
    display: inline-flex;
    align-items: center;
    font-family: 'Rajdhani', 'Montserrat', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(227, 239, 25, 0.4);
}

.tab-btn.active {
    background: var(--primary_color, #e3ef19);
    border-color: var(--primary_color, #e3ef19);
    color: #0d0d0d !important;
    font-weight: 800;
    box-shadow: 0 0 16px rgba(227, 239, 25, 0.35);
}

/* --- 10. Modals & Overlays --- */
.sonar-modal-overlay,
.event-modal-overlay,
.csv-edit-modal-overlay,
.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.82);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    align-items: center;
    justify-content: center;
}

.sonar-modal-overlay.active,
.event-modal-overlay.active,
.csv-edit-modal-overlay.active,
.modal-overlay.active {
    display: flex;
}

.sonar-modal,
.event-modal,
.csv-edit-modal {
    background: #141414;
    border: 1px solid var(--primary_color, #e3ef19);
    border-radius: 14px;
    padding: 26px 30px;
    max-width: 560px;
    width: 92%;
    box-shadow: 0 12px 48px rgba(0, 0, 0, 0.85), 0 0 28px rgba(227, 239, 25, 0.2);
    animation: modalFadeIn 0.2s ease-out;
    max-height: 90vh;
    overflow-y: auto;
    box-sizing: border-box;
}

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
}

.modal-header h3 {
    margin: 0;
    color: var(--primary_color, #e3ef19);
    font-size: 1.25rem;
    font-family: 'Rajdhani', sans-serif;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

@keyframes modalFadeIn {
    from { opacity: 0; transform: scale(0.95); }
    to   { opacity: 1; transform: scale(1); }
}

/* --- 11. User & Account Management --- */
.user-hero-avatar,
.user-avatar-sm {
    border-radius: 50%;
    background: linear-gradient(135deg, #6c55d6 0%, #abce2c 50%, #e3ef19 100%);
    color: #0d0d0d;
    font-weight: 800;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Orbitron', sans-serif;
    flex-shrink: 0;
}

.user-hero-avatar {
    width: 60px;
    height: 60px;
    font-size: 1.7rem;
    box-shadow: 0 0 16px rgba(227, 239, 25, 0.3);
}

.user-avatar-sm {
    width: 44px;
    height: 44px;
    font-size: 1.25rem;
}

.user-hero-badges {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
}

.account-badge-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.04em;
    font-family: 'Rajdhani', 'Montserrat', sans-serif;
    text-transform: uppercase;
    border: 1px solid transparent;
    text-decoration: none;
}

.pill-vrc-linked {
    background: rgba(171, 206, 44, 0.12);
    border-color: rgba(171, 206, 44, 0.45);
    color: #abce2c;
}

.pill-discord-linked {
    background: rgba(88, 101, 242, 0.14);
    border-color: rgba(88, 101, 242, 0.45);
    color: #8a96ff;
}

.pill-unlinked {
    background: rgba(255, 255, 255, 0.04);
    border-color: rgba(255, 255, 255, 0.12);
    color: var(--soft, #777);
}

.account-card {
    background: rgba(18, 18, 18, 0.9);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid rgba(227, 239, 25, 0.25);
    border-radius: 14px;
    padding: 0;
    margin-bottom: 18px;
    overflow: hidden;
    transition: all 0.25s ease;
}

.account-card:hover {
    border-color: rgba(227, 239, 25, 0.5);
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.4), 0 0 14px rgba(227, 239, 25, 0.1);
}

.account-card[open] {
    border-color: rgba(227, 239, 25, 0.4);
    box-shadow: 0 8px 28px rgba(0, 0, 0, 0.45);
}

.account-card summary.Account_Taps {
    padding: 18px 24px;
    font-size: 1.05rem;
    font-weight: 700;
    color: var(--font_color, #fff);
    cursor: pointer;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: background 0.2s ease, color 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
    list-style: none;
}

.account-card summary.Account_Taps::-webkit-details-marker {
    display: none;
}

.account-card summary.Account_Taps:hover {
    background: rgba(227, 239, 25, 0.06);
    color: var(--primary_color, #e3ef19);
}

.account-card summary.Account_Taps::after {
    content: "▼";
    font-size: 0.8rem;
    color: var(--primary_color, #e3ef19);
    transition: transform 0.25s ease;
    margin-left: auto;
    padding-left: 12px;
}

.account-card[open] summary.Account_Taps::after {
    transform: rotate(180deg);
}

.account-card-body {
    padding: 22px 24px 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    margin-top: 0;
}

.danger-card {
    border-color: rgba(255, 68, 68, 0.35) !important;
}

.danger-card:hover,
.danger-card[open] {
    border-color: rgba(255, 68, 68, 0.65) !important;
    box-shadow: 0 0 18px rgba(255, 68, 68, 0.15) !important;
}

.danger-card summary.Account_Taps::after {
    color: var(--color_warn, #ff4444) !important;
}

.social-row {
    display: flex;
    gap: 12px;
    align-items: stretch;
}

.social-row .mt-input {
    flex-grow: 1;
}

.social-row .sonar-btn {
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0 20px;
    min-height: 42px;
}

.discord-oauth-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: #5865f2;
    color: #ffffff !important;
    border: 1px solid #5865f2;
    padding: 12px 24px;
    border-radius: 8px;
    font-family: 'Rajdhani', 'Montserrat', sans-serif;
    font-size: 1.05rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    text-decoration: none;
    transition: all 0.25s ease;
    box-shadow: 0 4px 18px rgba(88, 101, 242, 0.4);
    cursor: pointer;
}

.discord-oauth-btn:hover {
    background: #4752c4;
    border-color: #4752c4;
    box-shadow: 0 6px 24px rgba(88, 101, 242, 0.6);
    transform: translateY(-2px);
}

@media screen and (max-width: 680px) {
    .social-row {
        flex-direction: column;
    }
    .user-hero-card {
        padding: 20px;
    }
    .user-hero-left {
        flex-direction: column;
        text-align: center;
        width: 100%;
    }
    .user-hero-badges {
        justify-content: center;
        width: 100%;
    }
    .account-card summary.Account_Taps {
        padding: 16px 18px;
    }
    .account-card-body {
        padding: 18px;
    }
}

.user-manage-card.is-deleted {
    border-color: rgba(255, 68, 68, 0.35);
    background: rgba(30, 10, 10, 0.7);
    opacity: 0.85;
}

.user-grid {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.user-card-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 14px;
    margin-bottom: 16px;
    padding-bottom: 14px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.07);
}

.user-info-titles h3 {
    margin: 0;
    font-size: 1.15rem;
    color: #fff;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.user-info-titles .handle {
    font-size: 0.88rem;
    color: var(--soft, #aaa);
    font-weight: 400;
}

.user-info-titles .uid-tag {
    font-size: 0.75rem;
    background: rgba(255, 255, 255, 0.08);
    padding: 2px 8px;
    border-radius: 4px;
    color: var(--soft, #bbb);
    font-family: monospace;
}

.user-tags {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    align-items: center;
}

.user-meta-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 12px;
    margin-bottom: 16px;
    font-size: 0.86rem;
}

.meta-item {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 8px;
    padding: 8px 12px;
}

.meta-label {
    color: var(--soft, #888);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    margin-bottom: 3px;
}

.meta-val {
    color: #fff;
    font-weight: 600;
    word-break: break-all;
}

.permissions-section {
    background: rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 10px;
    padding: 12px 16px;
    margin-bottom: 16px;
}

.perm-chips-wrapper {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    margin-top: 8px;
}

.perm-chip {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(227, 239, 25, 0.1);
    border: 1px solid rgba(227, 239, 25, 0.4);
    border-radius: 6px;
    padding: 4px 10px;
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--primary_color, #e3ef19);
}

.perm-chip-del {
    background: none;
    border: none;
    color: #ff6666;
    cursor: pointer;
    font-size: 0.9rem;
    padding: 0 2px;
    line-height: 1;
    transition: color 0.2s ease;
}

.perm-chip-del:hover {
    color: #ff2222;
}

.perm-add-form {
    display: inline-flex;
    gap: 6px;
    align-items: center;
}

.user-actions-row {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    align-items: center;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.btn-action {
    font-size: 0.82rem;
    padding: 7px 14px;
    border-radius: 6px;
    font-weight: 700;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    border: 1px solid transparent;
    font-family: 'Rajdhani', sans-serif;
    letter-spacing: 0.04em;
    text-transform: uppercase;
}

.btn-action-pass {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.btn-action-pass:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #fff;
}

.btn-action-restore {
    background: rgba(171, 206, 44, 0.12);
    border-color: rgba(171, 206, 44, 0.4);
    color: #abce2c;
}

.btn-action-restore:hover {
    background: rgba(171, 206, 44, 0.25);
    border-color: #abce2c;
}

.quick-pass-box {
    background: rgba(0, 0, 0, 0.5);
    border: 1px dashed rgba(227, 239, 25, 0.4);
    border-radius: 8px;
    padding: 14px 16px;
    margin-top: 12px;
    display: none;
}

.quick-pass-box.is-open {
    display: block;
}

.auth-header {
    text-align: center;
    margin-bottom: 25px;
}

.auth-header h2 {
    font-size: 1.8rem;
    color: var(--primary_color, #e3ef19);
    margin: 0 0 6px 0;
    font-weight: 700;
    letter-spacing: 0.04em;
}

.auth-header p {
    color: var(--soft, #a0a0a0);
    font-size: 0.9rem;
    margin: 0;
    line-height: 1.4;
}

.captcha-box {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-top: 8px;
    flex-wrap: wrap;
}

.captcha-img {
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    cursor: pointer;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.captcha-img:hover {
    opacity: 0.85;
    transform: scale(1.02);
}

.auth-switch {
    text-align: center;
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    font-size: 0.92rem;
    color: var(--soft, #a0a0a0);
}

.auth-switch a {
    color: var(--primary_color, #e3ef19);
    font-weight: 700;
    text-decoration: underline;
    margin-left: 4px;
    transition: color 0.2s ease;
}

.auth-switch a:hover {
    color: #fff;
}

/* --- 12. Error Pages (403, 500) --- */
.error-code {
    font-family: 'Rajdhani', sans-serif;
    font-size: clamp(4rem, 12vw, 7rem);
    font-weight: 700;
    color: var(--primary_color);
    text-shadow: 0 0 20px rgba(227, 238, 25, 0.6), 0 0 40px rgba(227, 238, 25, 0.4);
    margin: 0;
    letter-spacing: 4px;
    line-height: 1;
}

.error-code.signal-anomaly {
    color: var(--primary_color, #e3ef19);
    text-shadow: 0 0 20px rgba(227, 239, 25, 0.6), 0 0 40px rgba(108, 85, 214, 0.4);
}

.error-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #ffa502;
    margin-top: 10px;
    margin-bottom: 20px;
}

.error-title.signal-anomaly {
    color: #abce2c;
}

.error-desc {
    max-width: 480px;
    color: var(--soft, #a0a0a0);
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 30px;
}

.action-links {
    display: flex;
    gap: 15px;
    flex-wrap: wrap;
    justify-content: center;
}

.action-links .btn-action {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.action-links .btn-primary {
    background: linear-gradient(135deg, var(--primary_color, #e3ef19), #abce2c);
    color: #0d0d0d !important;
    font-weight: 700;
    box-shadow: 0 4px 15px rgba(227, 239, 25, 0.3);
}

.action-links .btn-danger-gradient {
    background: linear-gradient(135deg, #ff4757, #6c55d6) !important;
    color: #ffffff !important;
    box-shadow: 0 4px 15px rgba(255, 71, 87, 0.3);
}

.action-links .btn-danger-gradient:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 71, 87, 0.5);
}

.action-links .btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(227, 239, 25, 0.5);
}

.action-links .btn-secondary {
    background: rgba(255, 255, 255, 0.08);
    color: var(--text, #fff) !important;
    border: 1px solid rgba(255, 255, 255, 0.15);
}

.action-links .btn-secondary:hover {
    background: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
}

#is_performer_div {
    display: none;
}

/* ==========================================================================
   TIMELINE & ARCHIVE STYLES
   ========================================================================== */
.timeline-page-container {
    max-width: 1180px;
    margin: 100px auto 80px;
    padding: 0 20px;
    box-sizing: border-box;
    width: 100%;
    position: relative;
    z-index: 2;
}

.timeline-tagline {
    font-size: 0.82rem;
    color: var(--primary_color, #e3ef19);
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.14em;
    margin-bottom: 6px;
}

.timeline-deck {
    background: rgba(18, 18, 22, 0.92);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 16px 22px;
    margin-bottom: 35px;
    box-shadow: 0 6px 24px rgba(0, 0, 0, 0.45);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.deck-search-wrap {
    position: relative;
    flex: 1 1 280px;
    max-width: 440px;
}

.deck-search-wrap svg {
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
    width: 17px;
    height: 17px;
    fill: #777;
    pointer-events: none;
}

.deck-search-input {
    width: 100%;
    background: rgba(10, 10, 12, 0.75);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 24px;
    padding: 9px 16px 9px 40px;
    font-size: 0.88rem;
    color: #fff;
    outline: none;
    box-sizing: border-box;
    transition: all 0.25s ease;
}

.deck-search-input:focus {
    border-color: var(--primary_color, #e3ef19);
    box-shadow: 0 0 12px rgba(227, 239, 25, 0.2);
    background: rgba(15, 15, 18, 0.95);
}

.deck-pills-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.deck-pill {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 20px;
    color: #b5b5b5;
    padding: 6px 14px;
    font-size: 0.78rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    cursor: pointer;
    transition: all 0.2s ease;
    user-select: none;
}

.deck-pill:hover {
    border-color: rgba(227, 239, 25, 0.4);
    color: #fff;
    background: rgba(227, 239, 25, 0.08);
}

.deck-pill.active {
    background: var(--primary_color, #e3ef19);
    border-color: var(--primary_color, #e3ef19);
    color: #0d0d0d;
    font-weight: 700;
    box-shadow: 0 0 12px rgba(227, 239, 25, 0.35);
}

.deck-sort-btn {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    color: #ddd;
    padding: 7px 14px;
    font-size: 0.8rem;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: all 0.2s ease;
}

.deck-sort-btn:hover {
    border-color: var(--primary_color, #e3ef19);
    color: var(--primary_color, #e3ef19);
}

/* Timeline Track */
.timeline-stream-container {
    position: relative;
    padding: 10px 0 50px;
}

.timeline-stream-container::before {
    content: '';
    position: absolute;
    top: 20px;
    bottom: 30px;
    left: 28px;
    width: 3px;
    background: linear-gradient(180deg, var(--primary_color, #e3ef19) 0%, #9d5cff 50%, #00f2ff 100%);
    box-shadow: 0 0 12px rgba(227, 239, 25, 0.3);
    border-radius: 3px;
    z-index: 1;
}

@media screen and (min-width: 900px) {
    .timeline-stream-container::before {
        left: 50%;
        transform: translateX(-50%);
    }
}

.timeline-year-section {
    position: relative;
    width: 100%;
}

.year-milestone {
    position: relative;
    z-index: 3;
    margin: 40px auto 35px;
    text-align: center;
    width: 100%;
}

.year-milestone:first-of-type {
    margin-top: 10px;
}

.year-badge {
    display: inline-flex;
    align-items: center;
    background: #0d0d0f;
    border: 2px solid var(--primary_color, #e3ef19);
    border-radius: 28px;
    padding: 8px 24px;
    color: var(--primary_color, #e3ef19);
    font-family: 'Orbitron', monospace;
    font-weight: 800;
    font-size: 1.1rem;
    letter-spacing: 0.1em;
    box-shadow: 0 0 20px rgba(227, 239, 25, 0.28), 0 4px 15px rgba(0, 0, 0, 0.8);
}

.timeline-item {
    position: relative;
    z-index: 2;
    margin-bottom: 36px;
    display: flex;
    flex-direction: column;
    width: 100%;
}

@media screen and (min-width: 900px) {
    .timeline-item {
        flex-direction: row;
        justify-content: flex-start;
    }
    .timeline-item.right-aligned {
        justify-content: flex-end;
    }
}

.timeline-node {
    position: absolute;
    left: 18px;
    top: 26px;
    width: 16px;
    height: 16px;
    border-radius: 50%;
    background: #141416;
    border: 2px solid #5a5a68;
    z-index: 4;
}

.timeline-item:hover .timeline-node {
    /* No hover glow or scaling */
}

.timeline-node.upcoming {
    border-color: #5a5a68;
}

@media screen and (min-width: 900px) {
    .timeline-node {
        left: 50%;
        transform: translateX(-50%);
    }
    .timeline-item:hover .timeline-node {
        transform: translateX(-50%);
    }
}

.timeline-card-wrap {
    width: calc(100% - 55px);
    margin-left: 55px;
    box-sizing: border-box;
}

@media screen and (min-width: 900px) {
    .timeline-card-wrap {
        width: calc(50% - 36px);
        margin-left: 0;
    }
    .timeline-item.left-aligned .timeline-card-wrap {
        margin-right: auto;
    }
    .timeline-item.right-aligned .timeline-card-wrap {
        margin-left: auto;
    }
}

.timeline-card {
    background: rgba(18, 18, 20, 0.88);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid rgba(227, 239, 25, 0.22);
    border-radius: 16px;
    padding: 22px 24px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.45);
    transition: transform 0.25s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.25s ease, box-shadow 0.25s ease;
    position: relative;
    overflow: hidden;
}

.timeline-card:hover {
    transform: translateY(-4px);
    border-color: rgba(227, 239, 25, 0.55);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 20px rgba(227, 239, 25, 0.12);
}

.timeline-card.upcoming-card {
    border-color: rgba(0, 242, 255, 0.4);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 18px rgba(0, 242, 255, 0.1);
}

.timeline-card.upcoming-card:hover {
    border-color: rgba(0, 242, 255, 0.8);
    box-shadow: 0 14px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 242, 255, 0.2);
}

.card-top-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 10px;
}

.card-date-wrap {
    font-size: 0.86rem;
    color: #d1d1d6;
    font-weight: 600;
}

.card-badges {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: wrap;
}

.badge-upcoming {
    background: rgba(0, 242, 255, 0.15);
    color: #00f2ff;
    border: 1px solid rgba(0, 242, 255, 0.4);
    font-size: 0.7rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    padding: 3px 9px;
    border-radius: 10px;
    text-transform: uppercase;
}

.card-event-title {
    font-size: 1.25rem;
    font-weight: 800;
    color: #ffffff;
    margin: 0 0 10px;
    line-height: 1.35;
    letter-spacing: -0.01em;
}

.card-venue-row {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 14px;
}

.venue-tag {
    font-size: 0.68rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    color: #8e8ea0;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    padding: 1px 6px;
}

.venue-plain {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 5px 11px;
    font-size: 0.8rem;
    color: #aaa;
}

.venue-sonar-badge {
    font-size: 0.68rem;
    padding: 2px 7px;
    border-radius: 6px;
    background: rgba(227, 239, 25, 0.15);
    color: var(--primary_color, #e3ef19);
    border: 1px solid rgba(227, 239, 25, 0.3);
    font-weight: 700;
    text-transform: uppercase;
}

.card-desc-box {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-left: 3px solid var(--primary_color, #e3ef19);
    border-radius: 0 8px 8px 0;
    padding: 10px 14px;
    margin-bottom: 14px;
    font-size: 0.84rem;
    color: #ccc;
    line-height: 1.5;
    white-space: pre-wrap;
    word-break: break-word;
}

.roster-block {
    margin-top: 10px;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.roster-group {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    flex-wrap: wrap;
}

.roster-label {
    display: inline-flex;
    align-items: center;
    font-size: 0.72rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 4px 8px;
    border-radius: 6px;
    min-width: 60px;
    box-sizing: border-box;
    user-select: none;
}

.roster-label.label-host {
    background: rgba(255, 187, 0, 0.15);
    color: #ffbb00;
    border: 1px solid rgba(255, 187, 0, 0.35);
}

.roster-label.label-dj {
    background: rgba(0, 242, 255, 0.12);
    color: #00f2ff;
    border: 1px solid rgba(0, 242, 255, 0.3);
}

.roster-pills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    flex: 1;
}

.roster-pill {
    display: inline-flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 14px;
    padding: 3px 10px;
    font-size: 0.8rem;
    font-weight: 600;
    color: #f0f0f0;
    transition: all 0.2s ease;
}

.roster-pill:hover {
    border-color: rgba(227, 239, 25, 0.45);
    background: rgba(227, 239, 25, 0.1);
    color: #fff;
}

.roster-pill.host-pill {
    border-color: rgba(255, 187, 0, 0.3);
    color: #ffd875;
}

.roster-pill.dj-pill {
    border-color: rgba(0, 242, 255, 0.25);
    color: #a4f5fc;
}

.card-footer-meta {
    margin-top: 14px;
    padding-top: 10px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 0.75rem;
    color: #777;
}

.thread-link,
.thread-meta-text {
    color: #777788;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 5px;
}

.thread-link:hover,
.thread-meta-text:hover {
    color: #777788;
    box-shadow: none !important;
    text-shadow: none !important;
}

.thread-link code,
.thread-code {
    color: #777788 !important;
    font-family: monospace;
}

.timeline-empty-state {
    text-align: center;
    padding: 80px 20px;
    background: rgba(18, 18, 20, 0.7);
    border: 1px dashed rgba(255, 255, 255, 0.15);
    border-radius: 16px;
    margin: 40px 0;
}

.timeline-empty-state h3 {
    color: #fff;
    font-size: 1.3rem;
    margin: 0 0 8px;
}

.timeline-empty-state p {
    color: #888;
    font-size: 0.9rem;
    margin: 0 0 20px;
}

.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    background: rgba(18, 18, 22, 0.9);
    border: 1px solid var(--primary_color, #e3ef19);
    color: var(--primary_color, #e3ef19);
    width: 44px;
    height: 44px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.6);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    transition: all 0.25s ease;
}

.back-to-top-btn.visible {
    opacity: 1;
    visibility: visible;
}

.back-to-top-btn:hover {
    background: var(--primary_color, #e3ef19);
    color: #0d0d0d;
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(227, 239, 25, 0.4);
}

/* Event Roster & Participant Management Modal */
.event-modal.roster-modal {
    max-width: 680px;
}

.roster-section-title {
    font-size: 0.78rem;
    color: var(--soft, #aaa);
    text-transform: uppercase;
    font-weight: 700;
    letter-spacing: 0.05em;
    margin-bottom: 10px;
    font-family: 'Rajdhani', sans-serif;
}

.roster-person-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 10px 14px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 8px;
    margin-bottom: 8px;
    gap: 12px;
    transition: all 0.2s ease;
}

.roster-person-row:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(255, 255, 255, 0.15);
}

.roster-person-info {
    flex: 1;
    min-width: 0;
}

.roster-person-name {
    font-weight: 700;
    color: #fff;
    font-size: 0.95rem;
}

.roster-person-sub {
    font-size: 0.75rem;
    color: #888;
    font-family: monospace;
    margin-top: 2px;
}

.roster-empty-notice {
    text-align: center;
    padding: 24px;
    color: #777;
    font-size: 0.88rem;
    border: 1px dashed rgba(255, 255, 255, 0.12);
    border-radius: 8px;
    margin-bottom: 16px;
}

.roster-assign-card {
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 16px;
    margin-top: 20px;
}



