/* ==================== */
/* GLOBAL STYLES        */
/* ==================== */
html, body {
    font-family: arial, helvetica, sans-serif;
    font-size: 14px;
}

body {
    background-color: #2e2a28;
    background-image: url('https://www.teamfortress.com/images/class_repeat_bg.jpg');
    background-repeat: repeat-y;
    background-position: center;
    margin: 0;
    padding: 0;
}

a,
a:visited,
a:active {
    color: #5c5c5c;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: color 0.3s;
}

a:hover {
    color: #4CAF50; 
    text-decoration: none;
}

img {
    border: 0;
}

/* ==================== */
/* STATUS STYLES        */
/* ==================== */
.status {
  position: relative;
  display: inline-block;
  cursor: url("https://pwnedby1400.neocities.org/images/Help-Select.png"), help;
  color: #0066cc;
  border-bottom: 1px dotted #666;
  margin: 0 2px;
  -webkit-tap-highlight-color: transparent; 
}
.status::before {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%);
  background: rgba(0, 0, 0, 0.8);
  color: white;
  padding: 5px 10px;
  border-radius: 4px;
  font-size: 14px;
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.2s ease;
  z-index: 1000;
  text-shadow: none;
}
.status::after {
  content: '';
  position: absolute;
  bottom: calc(100% - 5px);
  left: 50%;
  transform: translateX(-50%);
  border-width: 5px;
  border-style: solid;
  border-color: rgba(0, 0, 0, 0.8) transparent transparent transparent;
  opacity: 0;
  transition: opacity 0.2s ease;
  z-index: 1000;
}

.status:hover::before,
.status:hover::after,
.status:focus::before,
.status:focus::after,
.status.active::before,
.status.active::after {
  opacity: 1;
}

.status.haste {
  color: #b828ac;
}
.status.slowness {
  color:#b82828;
}
.status.staggered {
  color: #b82828;
}
.status.cleansed {
  color: #30c758;
}
.status.adrenaline {
  color: #28b8b3;
}
.status.full {
  color: #22b569;
}
.status.silenced {
  color: #000000;
}
.status.floaty {
  color: #28a0b8;
}

/* ==================== */
/* ANIMATIONS           */
/* ==================== */
@keyframes glitch {
    0% { transform: translate(0); }
    20% { transform: translate(-0.05em, 0.05em); }
    40% { transform: translate(-0.05em, -0.05em); }
    60% { transform: translate(0.05em, 0.05em); }
    80% { transform: translate(0.05em, -0.05em); }
    100% { transform: translate(0); }
}

.page-monochrome {
    animation: toMonochrome 1s forwards;
}

@keyframes toMonochrome {
    to {
        filter: grayscale(100%) contrast(120%);
    }
}

.page-color {
    animation: toColor 1s forwards;
}

@keyframes toColor {
    to {
        filter: grayscale(0%) contrast(100%);
    }
}

/* ==================== */
/* MAIN LAYOUT          */
/* ==================== */
#pageContainer {
    background-image: url('https://www.teamfortress.com/images/class_top_bg.jpg');
    background-repeat: no-repeat;
    background-position: top center;
    text-align: center;
    min-height: 1023px;
}

#centerFooter {
    background-image: url('https://www.teamfortress.com/images/sp_bottom_bg.jpg');
    background-repeat: no-repeat;
    background-position: top -20px center; 
    text-align: center;
    height: 198px;
    margin-top: -110px;
}

#footerContainer {
    width: 984px;
    height: 52px;
    margin: auto;
    text-align: left;
}

#centerColumn {
    width: 984px;
    margin: auto;
    text-align: left;
    overflow: hidden;
}

/* ==================== */
/* HEADER STYLES        */
/* ==================== */
#primaryHeaderArea {
    height: 103px;
    width: 984px;
    position: relative;
    overflow: visible;
}

#headerAreaImage {
    position: absolute;
    top: 0;
    left: 0;
    width: 984px;
    height: 103px;
    z-index: 10;
}

#spNavMenu {
    position: absolute;
    top: 45px;
    left: 342px;
    width: 520px;
    height: 28px;
    z-index: 999;
    display: flex;
    align-items: center;
}

.nav-text {
    color: #5c5c5c;
    font-weight: bold;
    font-size: 16px;
    padding: 0 10px;
    height: 28px;
    display: flex;
    align-items: center;
    transition: color 0.3s;
}

.nav-text:hover {
    color: #4CAF50;
    text-decoration: none;
}

.nav-text.glitch {
    position: relative;
    color: #000;
    text-shadow: 
        0.05em 0 0 #000,
        -0.05em 0 0 #000,
        0 0.05em 0 #000,
        0 -0.05em 0 #000;
    animation: glitch .2s infinite alternate;
}

#logoLink {
    position: absolute;
    top: 30px;
    left: 70px;
    z-index: 999;
}

/* ==================== */
/* CONTENT STYLES       */
/* ==================== */
#centerColContent {
    width: 984px;
    position: relative;
}

#classCard {
    width: 984px;
    height: 623px;
    position: relative;
    background-repeat: no-repeat;
    background-position: top center;
    z-index: 10;
    background-image: url('https://pwnedby1400.neocities.org/images/dragondudes/background.png');
}

#classBioText {
    position: absolute;
    top: 380px;
    left: 80px;
    width: 426px;
    color: #000000; 
    font-weight: bold;
    line-height: 20px;
}

#movieMoreLink {
    position: absolute;
    top: 610px;
    left: 82px;
    z-index: 999;
}

#classImageDisplay {
    position: absolute;
    left: 70px;
    top: 20px;
    width: 350px;
    height: 250px;
    display: flex;
    align-items: center;
    justify-content: center;
}

#classImageDisplay img {
    width: 350px;
    height: 250px;
    object-fit: cover;
    mask-image: radial-gradient(circle, black 50%, transparent 100%);
    -webkit-mask-image: radial-gradient(circle, black 50%, transparent 100%);
}

/* ==================== */
/* ARSENAL STYLES       */
/* ==================== */
#arsenalCard {
    position: relative;
    width: 984px;
    height: 293px;
    background-image: url('https://www.teamfortress.com/images/class_arsenal_bg1.png');
    background-position: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding-top: 110px;
}

.arsenal-button {
    margin: 50px 80px;
    cursor: pointer;
    transition: all 0.3s;
    border: none;
    background: none;
    padding: 0;
}

.arsenal-button:hover {
    transform: scale(1.1);
}

.arsenal-button.active img {
    filter: brightness(1.2) drop-shadow(0 0 10px rgba(76, 175, 80, 0.7));
}

#arsenalButtons {
    display: flex;
    justify-content: center;
    margin-bottom: 20px;
    z-index: 100;
}

#arsenalToTopLink {
    position: absolute;
    width: 25px;
    height: 138px;
    left: 23px;
    bottom: 50px;
    z-index: 999;
}

#arsenalCardBG2 {
    position: absolute;
    width: 888px;
    height: 403px;
    top: 0px;
    left: 48px;
    z-index: 10;
    background-image: url('https://pwnedby1400.neocities.org/images/dragondudes/arsenal.png');
}

#arsenalMoreLink {
    position: absolute;
    bottom: 10px;
    left: 82px;
    z-index: 999;
}

/* ==================== */
/* MEDIA QUERIES        */
/* ==================== */

@media (max-width: 768px) {
  #pageContainer {
    background-repeat: no-repeat;
    background-position: top center;
    background-size: 984px auto;
    text-align: center;
    min-height: 1023px;
}

#centerFooter {
    background-image: url('https://www.teamfortress.com/images/sp_bottom_bg.jpg');
    background-repeat: repeat;
}

#classCard {
    background-size: 984px auto;
}

#arsenalCardBG2 {
    background-size: 888px 403px;
}
}
