

        :root {
            --page-width: 1610px;
            --page-padding: 20px;

            --text: #e9e5dc;
            --muted: #c4beb5;
            --border: rgba(220, 215, 205, 0.28);
            --panel: rgba(8, 5, 6, 0.32);
            --panel-hover: rgba(35, 24, 25, 0.55);
            --accent: #8e8580;
			--bgimage: "forums/images/ra_bg.png" ;
			--txtimage: "forums/images/RATXTLOGO.png";
        }

        * {
            box-sizing: border-box;
        }
		@font-face {
    font-family: "Dragraces";
    src: url("/fonts/DragracesDemoRegular.ttf") format("truetype");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}
        html,
        body {
            margin: 0;
            min-height: 100%;
			margin: 0;
			padding-top: 65px;
        }

        body {
            min-height: 100vh;
            padding: 20px;
            color: var(--text);
            background:
                linear-gradient(
                    rgba(17, 5, 7, 0.62),
                    rgba(17, 5, 7, 0.62)
                ),
                url("forums/images/ra_bg.png")
                center -5% / cover fixed no-repeat,
                #110607;

            font-family: "Oxanium", Arial, sans-serif;
        }

        .page {
            width: min(100%, var(--page-width));
            margin: 0 auto;
        }

        /* =========================
           TOP HEADER
           ========================= */

        .header {
            position: relative;
            min-height: 112px;
            display: flex;
            align-items: flex-start;
            justify-content: center;
        }

        .logo {
            width: 350px;
            max-width: 30vw;
            height: auto;
            display: block;
            margin-top: 5px;
            object-fit: contain;
			background:url(var(--txtimage));
        }

        /*
         * Top-right online information.
         */
        .online-info {
    position: absolute;
    top: 47px;
    right: 0;
    display: grid;
    grid-template-columns: 140px 130px;
    gap: 55px;
    text-transform: uppercase;

    background: #230a0cd9;
    padding: 10px;
    border-radius: 10px;
    border: 1px solid #4e0000;

    -webkit-mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
    mask-image: linear-gradient(
        to right,
        transparent 0%,
        black 8%,
        black 92%,
        transparent 100%
    );
}

        .online-column h3 {
            margin: 0 0 11px;
            color: var(--text);
            font-size: 15px;
            line-height: 1;
            font-weight: 700;
            letter-spacing: 0.3px;
        }

        .online-column p {
            margin: 0 0 8px;
            color: var(--muted);
            font-size: 14px;
            line-height: 1;
            font-weight: 500;
        }

        .online-column .value {
            color: var(--text);
            margin-left: 4px;
        }

        /* =========================
           NAVIGATION
           ========================= */

        .nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 9999;

    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;

    padding: 12px 20px;
	
            font-family: "Dragraces", Arial, sans-serif;
    background: rgba(17, 6, 8, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);

    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.35);
}

        .nav a {
            height: 55px;
            display: flex;
            align-items: center;
            padding: 0 20px;
            color: var(--text);
            text-decoration: none;
            text-transform: uppercase;
            font-size: 25px;
            line-height: 1;
            letter-spacing: 0.5px;
            transition:
                background 0.18s ease,
                color 0.18s ease;
			padding-bottom: 17px;
			transition: transform 0.3s ease;
        }

        .nav a:hover,
        .nav a.active {
            /*background: var(--panel-hover);*/
			text-shadow: 0px 0px 10px red;
            color: #fff;
			transform: scale(1.08);
        }

        /* =========================
           MAIN CONTENT
           ========================= */

        .main-panel {
            position: relative;
            min-height: 680px;
            margin-top: 37px;
			margin-top: -20px;
            overflow: hidden;
            border: 1px solid var(--border);
            background:
                linear-gradient(
                    rgba(13, 7, 8, 0.30),
                    rgba(13, 7, 8, 0.30)
                );
        }
		.thelogo {
			width: 220px;
			margin-top: 10px;
			transition: transform 0.3s ease;
		}
		
		.thelogo:hover {
			transform: scale(1.0);
			filter: drop-shadow(0 0 1px #f7da84)
					drop-shadow(0 0 5px #f7da84);
		}
        /*
         * Large faded emblem/watermark.
         * Put your image in $watermarkImage.
         */
        .watermark {
            position: absolute;
            z-index: 0;
            top: 50%;
            left: 50%;
            width: min(650px, 58vw);
            height: auto;
            transform: translate(-50%, -50%);
            opacity: 0;
            pointer-events: none;
            user-select: none;
        }

        /*
         * Content goes above the watermark.
         * You can put news, announcements, server cards, etc. here.
         */
        .content {
            position: relative;
            z-index: 1;
            width: 100%;
            min-height: 1000px;
            padding: 35px;
        }

        /* Optional empty-state area matching the screenshot. */
        .content-empty {
            min-height: 610px;
        }

        /* =========================
           RESPONSIVE
           ========================= */

        @media (max-width: 900px) {
            body {
                padding: 12px;
            }

            .header {
                min-height: 150px;
            }

            .logo {
                width: 190px;
                max-width: 42vw;
            }

            .online-info {
                top: 85px;
                left: 50%;
                right: auto;
                transform: translateX(-50%);
                grid-template-columns: 1fr 1fr;
                gap: 30px;
                width: min(420px, 100%);
            }

            .online-column h3,
            .online-column p {
                font-size: 12px;
            }

            .nav {
                flex-wrap: wrap;
                justify-content: center;
                padding: 4px;
            }

            .nav a {
                height: 48px;
                padding: 0 14px;
                font-size: 18px;
            }

            .main-panel {
                margin-top: 20px;
                min-height: 550px;
            }

            .content {
                min-height: 550px;
                padding: 20px;
            }

            .content-empty {
                min-height: 500px;
            }

            .watermark {
                width: min(500px, 80vw);
            }
        }

        @media (max-width: 520px) {
            .online-info {
                gap: 15px;
            }

            .nav a {
                padding: 0 9px;
                font-size: 15px;
            }

            .main-panel {
                min-height: 450px;
            }

            .content,
            .content-empty {
                min-height: 450px;
            }
        }
		
.ad-slideshow {
    position: relative;
    width: 100%;
    max-width: 100%;
    max-height: 423px;
    aspect-ratio: 16 / 6;
    margin: 0 auto 24px;
    overflow: hidden;
    border-radius: 10px;
    background: #0d0d0d;
}

.ad-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.6s ease-in-out;
    text-decoration: none;
    display: block;
}

.ad-slide.active {
    opacity: 1;
    pointer-events: auto;
}

.ad-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.ad-caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgb(0 0 0), transparent);
    color: #f7c89f;
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    font-size: 30px;
    text-shadow: 1px 1px 5px #000000;
    z-index: 2;
}

.ad-captiontext {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 50px 20px;
    background: linear-gradient(to top, rgb(0 0 0), transparent);
    color: #f7c89f;
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    font-size: 30px;
    text-shadow: 1px 1px 5px #000000;
    z-index: 2;
}

.ad-captiontextunder {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    padding: 14px 20px;
    background: linear-gradient(to top, rgb(0 0 0), transparent);
    color: white;
    font-family: 'Oxanium', sans-serif;
    font-weight: 600;
    font-size: 15px;
    text-shadow: 1px 1px 5px #000000;
    z-index: 2;
}

.ad-dots {
    position: absolute;
    bottom: 10px;
    right: 16px;
    display: flex;
    gap: 6px;
    z-index: 2;
}

.ad-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(255,255,255,0.4);
    cursor: pointer;
    transition: background 0.3s;
}

.ad-dot:hover{
	box-shadow: 0 0px 10px rgba(200,200,200,1.0);
}


.ad-dot.active {
    background: #fff;
	box-shadow: 0 0px 10px rgba(255,255,255,1.0);
}
.ad-slide img {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;

    animation-duration: 10s;
    animation-timing-function: ease-in-out;
    animation-iteration-count: infinite;
    animation-direction: alternate;
}

.ad-glass {
    position: absolute;
    inset: 0;
    pointer-events: none;
    z-index: 1;

    background:
        linear-gradient(
            135deg,
            rgba(255, 255, 255, 0.12) 0%,
            rgba(255, 255, 255, 0.03) 35%,
            rgba(255, 255, 255, 0.00) 60%,
            rgba(0, 0, 0, 0.8) 100%
        );

    border: 1px solid rgba(255, 255, 255, 0.12);

    box-shadow:
        inset 0 1px 0 rgba(255, 255, 255, 0.18),
        inset 0 -1px 0 rgba(0, 0, 0, 0.20);
}

.ad-glass::before {
    content: "";
    position: absolute;
    top: -50%;
    left: -30%;
    width: 45%;
    height: 200%;

    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.10),
        transparent
    );

    transform: rotate(20deg);
    pointer-events: none;
}


@keyframes panLeftRight {
    from {
        transform: scale(1.05) translate3d(-2%, 0, 0);
    }
    to {
        transform: scale(1.10) translate3d(2%, 0, 0);
    }
}

@keyframes panRightLeft {
    from {
        transform: scale(1.05) translate3d(2%, 0, 0);
    }
    to {
        transform: scale(1.10) translate3d(-2%, 0, 0);
    }
}

@keyframes panUpDown {
    from {
        transform: scale(1.05) translate3d(0, -2%, 0);
    }
    to {
        transform: scale(1.10) translate3d(0, 2%, 0);
    }
}

@keyframes panDownUp {
    from {
        transform: scale(1.05) translate3d(0, 2%, 0);
    }
    to {
        transform: scale(1.10) translate3d(0, -2%, 0);
    }
}

@keyframes panDiagonal1 {
    from {
        transform: scale(1.05) translate3d(-2%, -1%, 0);
    }
    to {
        transform: scale(1.10) translate3d(2%, 1%, 0);
    }
}

@keyframes panDiagonal2 {
    from {
        transform: scale(1.05) translate3d(2%, -1%, 0);
    }
    to {
        transform: scale(1.10) translate3d(-2%, 1%, 0);
    }
}
#killfeed {
    position: fixed;
    top: 45%;
    right: 12px;
    width: 300px;
    max-height: 260px;
    overflow: hidden;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 4px;
    pointer-events: none;
    font-family: 'Segoe UI', sans-serif;
    font-size: 13px;
}

.killfeed-entry {
    background: rgba(20, 20, 20, 0.7);
    color: #eee;
    padding: 6px 10px;
    border-radius: 4px;
    opacity: 0;
    transform: translateY(-6px);
    animation: kf-in 0.25s ease forwards, kf-out 0.5s ease 6s forwards;
}

.killfeed-server { color: #9aa; font-weight: 600; margin-right: 4px; }
.killfeed-killer { color: #6fd66f; }
.killfeed-victim { color: #ff6b6b; }
.killfeed-skull  { margin: 0 6px; opacity: 0.8; }

@keyframes kf-in  { to { opacity: 1; transform: translateY(0); } }
@keyframes kf-out { to { opacity: 0; } }


#plyroutput{
    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
    min-height: 120px;
    min-width: 150px;
    max-width: 300px;
    transition: opacity .15s ease;
    background: #113030;
    border-radius: 10px;
    flex-direction: column;
	padding:12px;
}

#plyroutput .live-loading{
    color:#999;
    font-style:italic;
}


.ra-card {
  width: 350px;
  font-family: Arial, Helvetica, sans-serif;
  background: linear-gradient(180deg, #12181c, #0b0e10);
  border: 1px solid rgba(255,255,255,.08);
  border-radius: 10px;
  padding: 12px;
  color: #e8e8e8;
  box-shadow: 0 12px 30px rgba(0,0,0,.5);
}

.ra-card-head {
  display: flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 10px;
}
.ra-card-avatar {
  width: 60px;
  height: 60px;
  border-radius: 6px;
  object-fit: cover;
  border: 1px solid rgba(255,255,255,.1);
}
.ra-card-head-text { flex: 1; min-width: 0; }
.ra-card-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--team, #fff);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.ra-card-sub {
  font-size: 11px;
  color: rgba(255,255,255,.55);
  display: flex;
  align-items: center;
  gap: 5px;
  margin-top: 2px;
}
.ra-card-status-dot {
  width: 6px; height: 6px;
  border-radius: 50%;
  display: inline-block;
}
.ra-card-dot-sep { opacity: .4; }
.ra-card-ping {
  font-size: 12px;
  font-weight: 700;
  color: rgba(255,255,255,.5);
}
.ra-card-ping span { font-size: 9px; font-weight: 400; margin-left: 1px; }

.ra-card-bars { margin-bottom: 10px; }
.ra-card-bar-row {
  display: grid;
  grid-template-columns: 20px 1fr 24px;
  align-items: center;
  gap: 6px;
  font-size: 10px;
  margin-bottom: 4px;
  color: rgba(255,255,255,.5);
}
.ra-card-bar-track {
  height: 5px;
  background: rgba(255,255,255,.08);
  border-radius: 4px;
  overflow: hidden;
}
.ra-card-bar-fill {
  height: 100%;
  border-radius: inherit;
  transition: width .2s ease;
}
.ra-card-bar-val { text-align: right; }

.ra-card-stats {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 6px;
  margin-bottom: 10px;
  padding: 8px 0;
  border-top: 1px solid rgba(255,255,255,.07);
  border-bottom: 1px solid rgba(255,255,255,.07);
}
.ra-card-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.ra-card-stat-val { font-weight: 700; font-size: 13px; }
.ra-card-stat-label { font-size: 9px; color: rgba(255,255,255,.4); text-transform: uppercase; }

.ra-card-row {
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  margin-bottom: 5px;
  gap: 8px;
}
.ra-card-row-label { color: rgba(255,255,255,.45); flex-shrink: 0; }
.ra-card-row-val {
  color: #eee;
  text-align: right;
  display: flex;
  align-items: center;
  gap: 4px;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.ra-card-weapon-icon { max-height: 16px; 
  filter:
    drop-shadow(0 0 2px rgba(255,255,255,.9))
    drop-shadow(0 0 4px rgba(255,255,255,.5));}
.ra-card-good { color: #7ee87c; }
.ra-card-bad { color: #e87e7e; }

.ra-card-speed {
  font-size: 10px;
  color: rgba(255,255,255,.5);
  margin-top: 4px;
}

.ra-card-radar {
  margin-top: 10px;
  display: flex;
  justify-content: center;
}

.ra-keys {
  display: flex;
  align-items: flex-start;
  justify-content: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 6px 4px;
}

.ra-keys-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 3px;
}

.ra-keys-row {
  display: flex;
  gap: 3px;
}

/* =========================================================
   FULL SCREEN LANDING PAGE
   ========================================================= */

#landing-page {
    position: fixed;

    top: 0;
    left: 0;

    width: 100vw;
    height: 100vh;

    z-index: 999999;

    /*background-image: url("/forums/images/ra_bg.png");*/
	/*background-image: url("/forums/images/FINALARTNOPB.png");*/
	background-image: url("/theme/LANDING_PAGE_ARTWORK.png");
    background-size: cover;
    background-position: center center;
    background-repeat: no-repeat;

    display: flex;
    align-items: center;
    justify-content: center;

    overflow: hidden;

    opacity: 1;
    visibility: visible;

    transition:
        opacity 1s ease,
        visibility 1s ease;
}


/* Dark overlay over the image */
#landing-page::before {
    content: "";

    position: absolute;

    inset: 0;

    background: rgba(0, 0, 0, 0.45);

    z-index: 1;
}


/* Content sits ABOVE the image */
.landing-content {
    position: relative;

    z-index: 2;

    text-align: center;

    color: white;
}


/* Main title */
.landing-title {
	font-family: 'Dragraces';
    font-size: 100px;
    font-weight: bold;
    letter-spacing: 8px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.5), 0 0 30px rgb(249 69 69);
    color: #edc8c8;
}


/* Subtitle */
.landing-text {
    margin-top: 15px;

    font-size: 14px;

    letter-spacing: 6px;

    color: #ddd;
}


/* ENTER button */
/*#enter-button {

    margin-top: 45px;

    padding: 15px 60px;

    font-size: 16px;

    letter-spacing: 5px;

    color: white;

    background: rgba(0,0,0,0.65);

    border: 1px solid rgba(180,30,35,0.9);

    border-radius: 4px;

    cursor: pointer;

    transition:
        background 0.3s ease,
        box-shadow 0.3s ease,
        transform 0.3s ease;
}


#enter-button:hover {

    background: rgba(180,30,35,0.85);

    box-shadow:
        0 0 15px rgba(180,30,35,0.7),
        0 0 40px rgba(180,30,35,0.4);

    transform: scale(1.05);
}*/
#enter-button {
	height: 100px;
    width: 372px;
    object-fit: fill;
    margin-top: 45px;
    border: 0px;
    padding: 15px 60px;
    background: url(/theme/PLAY_BUTTON.png);
    background-size: cover;
    background-position: center;
    cursor: pointer;
    transition: transform 0.3s ease;
}


#enter-button:hover {

    
    
    transform: scale(1.05);
}


/* Hidden state */
#landing-page.hidden {

    opacity: 0;

    visibility: hidden;

    pointer-events: none;
}


/* Mobile */
@media (max-width: 600px) {

    .landing-title {
        font-size: 35px;
        letter-spacing: 4px;
    }

    .landing-text {
        font-size: 11px;
        letter-spacing: 3px;
    }

}


.socials-dropdown {
    position: relative;
    display: inline-block;
}

.socials-menu {
    position: absolute;
    top: 100%;
    left: 50%;
    transform: translateX(-50%) translateY(-8px);

    min-width: 150px;

    background: rgba(12, 10, 11, 0.96);
    border: 1px solid rgba(160, 30, 35, 0.6);
    border-radius: 6px;

    opacity: 0;
    visibility: hidden;
    pointer-events: none;

    transition:
        opacity 0.2s ease,
        transform 0.2s ease,
        visibility 0.2s ease;

    z-index: 9999;
	font-family: "Oxanium", Arial, sans-serif;
}

.socials-menu a {
    display: block;
    padding: 10px 16px;
    color: #fff;
    text-decoration: none;
    white-space: nowrap;
    font-size: 20px;
    text-align: left;
    padding-top: 15px;
}

.socials-menu a:hover {
    /*background: rgba(160, 30, 35, 0.35);*/
    color: #f7da84;
}

/* Show dropdown */
.socials-dropdown:hover .socials-menu {
    opacity: 1;
    visibility: visible;
    pointer-events: auto;
    transform: translateX(-50%) translateY(0);
}