
::selection {
    color:green
}

h1 {
    font-family: 'Kumar One', sans-serif;
    font-size: 52px;
    margin-bottom: 0px;
    text-align: center;
    margin-top: -30px;
    color: white;
}

h5 {
    font-family: 'Kufam', sans-serif;
    font-size: 16px;
    margin-top: -10px;
    text-align: center;
    font-weight: normal;
    color: #CECDCD;

    max-width: 600px;
    text-wrap: balance;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.5; 
}

h3 {
    font-family: 'Kufam', sans-serif;
    text-align: center;
    font-size: 24px;
    margin-top: -16px;
    color: white;
}

h6 {
    font-family: 'Kufam', sans-serif;
    font-size: 12px;
    text-align: center;
    font-weight: normal; 
    color: #CECDCD;
}

h1, h5, h3, h6, .button {
  opacity: 0;
  animation: fadeInUp 1s ease-out forwards;
}

h1 { animation-delay: 0.2s; }
h5 { animation-delay: 0.4s; }
h3 { animation-delay: 0.6s; }
.button { animation-delay: 0.8s; }

@keyframes pulse-glow {
    0%, 100% { 
        text-shadow: 0 0 8px rgba(47, 228, 107, 0.6); 
    }
    50% { 
        text-shadow: 0 0 12px rgba(47, 228, 107, 0.9), 
                     0 0 25px rgba(47, 228, 107, 0.5),
                     0 0 40px rgba(47, 228, 107, 0.2); 
    }
}

.ip-text {
    color: #2FE46B;
    font-weight: bold;
    animation: pulse-glow 5s infinite ease-in-out;
}

.ip-bold {
    font-weight: bold;
}

.version-string {
    font-weight: 400;
    opacity: 0.9;
    font-size: 0.95em;
}

.button {
    display: flex;
    justify-content: center;
    align-items: center;
}

.discover {
    border: none;
    color: white;
    border-radius: 5px;
    background-color: #3E8455;
    padding: 10px 30px;
    font-family: 'Kreon', sans-serif;
    font-size: 18px;
    
    position: relative;
    overflow: hidden;
    transition: 0.25s;
}

.discover:hover {
    background-color: #365842;
    transform: scale(1.05);
    transition: 0.25s;
}

.discover::before {
    content: "";
    position: absolute;
    top: 0;
    left: -150%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        to right, 
        transparent, 
        rgba(255, 255, 255, 0.4), 
        transparent
    );
    transform: skewX(-25deg);
    animation: buttonGlint 6s infinite ease-in-out 2s;
}

@keyframes buttonGlint {
    0% { left: -150%; }
    20% { left: 150%; }
    100% { left: 150%; }
}

header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 10;

    background: transparent;
    padding: 5px 0;
    transition: background 0.3s ease;
    background: rgba(0, 0, 0, 0.1); 
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(47, 228, 107, 0.1);

    overflow: visible !important; 
}

main {
    margin-top: 120px;
}

.dropdown-menu {
    background-color: transparent;
    padding: 3px 5px;
    width: 30px;
    cursor: pointer;
    display: none;
}

.navbar {
    display: flex;
    align-items: center;
    padding: 0px 60px;
    background: transparent;
}

.nav-left, .nav-right {
    flex: 1; 
    display: flex;
}

.nav-right {
    justify-content: flex-end;
}

.nav-left a.logo-link {
    display: flex !important;
    flex-direction: row !important;
    align-items: center;
    text-decoration: none;
    pointer-events: auto;
    overflow: visible;
    width: fit-content;
}

.nav-left a:hover .logo {
    transform: translateY(-8px) rotate(2deg);
    filter: drop-shadow(0px 5px 5px rgba(251, 251, 251, 0.6)) brightness(1.2) !important;
}

.logo-link {
    display: flex;
    flex-direction: row;
    align-items: center;
    text-decoration: none;
    padding: 5px;
}

.logo-subtext {
    font-family: 'Kufam', sans-serif;
    color: #CECDCD;
    font-size: 10px;
    letter-spacing: 2px;
    line-height: 1.1;
    
    max-width: 0;
    opacity: 0;
    white-space: nowrap;
    transition: max-width 0.6s ease, opacity 0.4s ease, margin-left 0.4s ease;
}

.logo-text-wrapper {
    display: flex;
    flex-direction: column;
    align-items: flex-start; 
    justify-content: center;
}

.logo-text {
    font-family: 'Kumar One', sans-serif;
    color: white;
    font-size: 22px;
    
    max-width: 0;
    opacity: 0;
    overflow: hidden;
    white-space: nowrap;
    transition: max-width 0.6s ease, opacity 0.4s ease, margin-left 0.4s ease;
    margin-left: 0;
}

.logo-link:hover .logo-text,
.logo-link:hover .logo-subtext {
    max-width: 300px;
    opacity: 1;
    margin-left: 15px;
}

.logo {
    height: 80px;
    display: block;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    pointer-events: none; 
    transition: transform 0.3s ease, filter 0.3s ease;
    flex-shrink: 0;
}

.logo:hover {
    transform: translateY(-8px) rotate(2deg) !important;
    filter: drop-shadow(0 5px 15px rgba(47, 228, 107, 0.6)) !important;
}

#nav-toggle {
    display: none;
}

.nav-menu {
    display: flex;
    list-style: none;
    justify-content: center;
    margin: 0;
    padding: 0;
    gap: 22px;
}

nav ul {
    list-style-type: none;
    padding: 0;
    margin: 10px 0 0;
}

nav ul li {
    display: inline-block;
    font-size: 1em;
    margin: 0 22px;
}

nav ul li a {
    color: white;
    font-weight: 400;
    text-decoration: none;
    font-family: 'Kufam', sans-serif;
    font-size: 20px;
}

nav ul li a:hover {
    color: #2FE46B;
}

@media screen and (max-width: 1024px) {
    .navbar {
        padding: 10px 20px;
    }

    #nav-toggle {
        display: flex;
        flex-direction: column;
        justify-content: center;
        gap: 5px;
        background: none;
        border: none;
        cursor: pointer;
    }

    .strip {
        display: block;
        width: 25px;
        height: 3px;
        background-color: white;
    }

    #nav-container {
        display: none;
        position: absolute;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: rgba(0, 0, 0, 0.95);
        flex-direction: column;
        align-items: center;
        opacity: 0;
        padding: 20px 0;
        margin: 0;
        z-index: 2;
        transition: opacity 0.3s ease-in-out;
    }

    #nav-container.active {
        display: flex;
        opacity: 1;
        pointer-events: auto;
    }

    #nav-container li {
        margin: 15px 0;
    }
}

.splash-wrapper {
    perspective: 1000px;
    animation: fadeInUp 1.5s ease-out forwards;
}

.splash-wrapper, .splash-image {
    will-change: transform;
    backface-visibility: hidden;
    transform: translateZ(0);
}

.splash-image {
    display: block;
    margin: 20px auto 0;
    max-width: 90%;
    height: auto;
    width: 600px;
    pointer-events: none;
    -webkit-user-drag: none;
    -webkit-user-select: none;
    -ms-user-select: none;
    user-select: none;
    animation: bobbing 4s ease-in-out infinite 1.5s;
}

@keyframes bobbing {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-15px);
    }
    100% {
        transform: translateY(0px);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(200px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.bg-wrapper {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    background-color: #000000;

    background-image: url('../images/background.png');
    background-repeat: repeat;
    background-size: 1440px;
    background-position: top left;
}

.bg-wrapper::before {
    content: "";
    position: absolute;
    inset: 0;
    
    background: 
        linear-gradient(to right, 
            rgba(0, 0, 0, 0.96) 0%, 
            rgba(0, 0, 0, 0.85) 20%, 
            rgba(0, 0, 0, 0.05) 50%
        ),
        url('../images/overlay.png');

    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;

    opacity: 0.96; 
    
    pointer-events: none;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background-color: #0a0a0a;
    color: white;
}

html, body {
    overflow-x: clip;
    overflow-y: auto;   
    height: auto;
}

html {
  scroll-behavior: smooth;
}

section:not(#hero-image) {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 50px 20px;
}

#about {
    margin-top: 30px; 
}

.server-text {
    color: #2FE46B;
}

h2.section-title {
    font-family: 'Kumar One', sans-serif;
    color: white;
    font-size: 42px;
    margin-bottom: 0px;
}

p.section-desc {
    font-family: 'Kufam', sans-serif;
    color: #CECDCD;
    max-width: 800px;
    font-size: 18px;
    line-height: 1.6;
    margin-bottom: 3vw;
}

.card-grid {
    display: flex;
    gap: 20px;
    margin-top: 40px;
    justify-content: center;
    flex-wrap: wrap;
}

.scroll-indicator {
    display: flex;
    justify-content: center;
    position: relative;
    margin-top: 40px;
    margin-bottom: -60px;
    left: 0;
    transform: none;
    cursor: pointer;
    z-index: 10;
    text-decoration: none;
    width: 100%;
}

.arrow {
    display: block;
    width: 30px;
    height: 30px;
    border-bottom: 5px solid #2FE46B; 
    border-right: 5px solid #2FE46B;
    transform: rotate(45deg);
    filter: drop-shadow(0 0 8px rgba(47, 228, 107, 0.6));
    animation: bounce-arrow 2s infinite;
}

@keyframes bounce-arrow {
    0%, 20%, 50%, 80%, 100% {
        transform: rotate(45deg) translate(0, 0);
    }
    40% {
        transform: rotate(45deg) translate(12px, 12px);
    }
    60% {
        transform: rotate(45deg) translate(6px, 6px);
    }
}


.accent-separator {
    width: 100%;
    background-color: #1a1a1a; 
    border-top: 2px solid #2FE46B;
    border-bottom: 2px solid #2FE46B;
    padding: 20px 0;
    position: relative;
    z-index: 2;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.5);
}

.accent-content {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    font-family: 'Kufam', sans-serif;
    color: #ffffff;
    font-weight: bold;
    letter-spacing: 2px;
    font-size: 14px;
}

@media screen and (max-width: 768px) {
    .accent-content {
        font-size: 11px;
        gap: 12px;
    }
    
    .separator-dot {
        font-size: 14px;
    }

    .accent-separator {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
}

@media screen and (max-width: 480px) {
    .accent-content {
        flex-wrap: wrap; 
        white-space: normal;
        text-align: center;
        gap: 8px 15px;
    }
    
    .accent-content .separator-dot {
        display: none; 
    }
}

.separator-dot {
    color: #2FE46B;
    font-size: 20px;
}

.hero-accent {
    position: absolute;
    top: 55%; 
    left: 0;
    right: 0;
    bottom: 0; 
    z-index: 0;
    
    background: url('../images/background.png');
    background-repeat: repeat;
    background-size: 1440px;
    background-position: top left;
    
    -webkit-mask-image: linear-gradient(to bottom, transparent, black 80%);
    mask-image: linear-gradient(to bottom, transparent, black 95%);
    
    background-color: rgba(47, 228, 107, 0.05);
    background-blend-mode: overlay;
    pointer-events: none;
}

#hero-image {
    position: relative;
    overflow: hidden;
}

.reveal {
  opacity: 0;
  transform: translateX(-100px);
  transition: all 2s cubic-bezier(0.15, 0.45, 0.35, 1);
}

.reveal.reverse {
  transform: translateX(100px);
}

.reveal.active {
  opacity: 1;
  transform: translateX(0px);
}

.feature-text.reveal {
  transition-delay: 0.4s;
}

@import "tailwindcss";

.features {
  max-width: 1200px;
  margin: 0 auto;
  padding: 5vw 20px;
  overflow: hidden;
}

#features h2 {
    font-family: 'Kumar One', sans-serif;
}

.features-text {
    color: #2FE46B;
}


.feature-item {
  display: flex;
  align-items: center;
  gap: 20vw;
  margin-bottom: 250px;
  position: relative;
  justify-content: flex-start;
}

.feature-item.even {
  justify-content: flex-end;
}


.feature-text {
  display: flex;
  flex-direction: column;
  justify-content: center;
  position: relative;
  z-index: 3;
  flex: 0 0 auto;
  width: 20vw;
}

.feature-text p {
  font-family: 'Kreon', serif;
  font-size: clamp(0.9rem, calc(0.8rem + 1.5vw), 1.25rem);
  color: #e0e0e0;
  line-height: 1.6;
  max-width: 450px;
  text-wrap: balance;
  overflow-wrap: anywhere;
}

.feature-text h3 {
  font-family: 'Press Start 2P', cursive;
  font-size: 2.5rem;
  color: #2FE46B;
  margin-bottom: 15px;
  text-transform: uppercase;
  line-height: 1.1;
}

.feature-media-wrapper {
  flex: 0 0 auto;
  width: 50%;
  display: block;
  overflow: visible !important;
  transition: transform 2s ease, filter 0.4s ease;
  position: relative;
}

.feature-item:not(.even) .feature-text {
  align-items: flex-start;
  text-align: left;
  margin-right: auto;
}

.feature-item:not(.even) .feature-media-wrapper {
  margin-left: -50px;
  transform: rotate(2deg);
}

.feature-item.even .feature-text {
  align-items: flex-end;
  text-align: right;
  margin-left: auto;
  order: 2;
}

.feature-item.even .feature-media-wrapper {
  margin-right: -50px;
  transform: rotate(-2deg);
  order: 1;
}

.feature-media {
  height: auto;
  display: block;
  position: relative;
  z-index: 1;
  width: 100%;
  clip-path: polygon(0% 5%, 15% 0%, 35% 8%, 55% 2%, 75% 10%, 100% 5%, 95% 45%, 100% 90%, 80% 100%, 50% 92%, 20% 98%, 0% 85%, 5% 45%);
}

.feature-item:hover .feature-media-wrapper {
  transform: rotate(-2deg) scale(1.05);
  filter: drop-shadow(0 0 25px rgba(159, 159, 159, 0.3));
  transition: transform 0.5s cubic-bezier(0.15, 0.45, 0.35, 1), filter 0.4s ease;
}

.feature-item.even:hover .feature-media-wrapper {
  transform: rotate(2deg) scale(1.05);
}

@media (max-width: 1000px) {
  .feature-item, .feature-item.even {
    flex-direction: column;
    text-align: center;
    gap: 30px;
    justify-content: center;
  }
  .feature-text {
    left: 0 !important;
    right: 0 !important;
    align-items: center !important;
    text-align: center !important;
    transform: rotate(0deg) translateX(0%) !important;
    width: 100%;
    margin: 0 !important;
  }
  
  .feature-media-wrapper {
    width: 100%;
  }
  
  .feature-item:not(.even) .feature-media-wrapper, 
  .feature-item.even .feature-media-wrapper {
    margin: 0;
    transform: none;
  }
}

:root {
    --char-primary: #c8aa6e;
    --char-secondary: #f0e6d2;
    --char-dark: #785a28;
    --char-glow: rgba(200, 170, 110, 0.5);
    --char-glow-soft: rgba(200, 170, 110, 0.3);
    --char-glow-faint: rgba(200, 170, 110, 0.2);
}

.showcase-container {
    display: flex;
    width: 90%;
    max-width: 1400px;
    gap: 80px;
    padding: 40px;
    align-items: center;
}

.character-portrait {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 20px;
    min-width: 220px;
}

.portrait-frame {
    width: 300px;
    height: 300px;
    position: relative;
    overflow: visible;
    transition: all 0.4s ease;
}

.portrait-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    position: relative;
    z-index: 2;
    border-radius: 4px;
    transition: filter 0.3s ease, opacity 0.3s ease;
}

.portrait-frame::before {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    background: linear-gradient(
        135deg,
        var(--char-primary) 0%,
        var(--char-secondary) 25%,
        var(--char-primary) 50%,
        var(--char-dark) 75%,
        var(--char-primary) 100%
    );
    background-size: 400% 400%;
    border-radius: 6px;
    z-index: 1;
    animation: borderShimmer 8s ease infinite;
    transition: all 0.5s ease;
}

.portrait-frame::after {
    content: '';
    position: absolute;
    top: -8px;
    left: -8px;
    right: -8px;
    bottom: -8px;
    border: 1px solid var(--char-glow-soft);
    border-radius: 8px;
    z-index: 0;
    transition: all 0.5s ease;
}

.portrait-decoration {
    position: absolute;
    width: 20px;
    height: 20px;
    border: 2px solid var(--char-primary);
    z-index: 3;
    pointer-events: none;
    transition: border-color 0.5s ease;
}

.portrait-decoration.top-left {
    top: -10px;
    left: -10px;
    border-right: none;
    border-bottom: none;
}

.portrait-decoration.top-right {
    top: -10px;
    right: -10px;
    border-left: none;
    border-bottom: none;
}

.portrait-decoration.bottom-left {
    bottom: -10px;
    left: -10px;
    border-right: none;
    border-top: none;
}

.portrait-decoration.bottom-right {
    bottom: -10px;
    right: -10px;
    border-left: none;
    border-top: none;
}

.portrait-frame:hover {
    transform: scale(1.02);
}

.portrait-frame:hover::before {
    animation: borderShimmer 2s ease infinite;
    box-shadow: 
        0 0 20px var(--char-glow),
        0 0 40px var(--char-glow-soft),
        0 0 60px var(--char-glow-faint);
}

.portrait-frame:hover::after {
    border-color: var(--char-glow);
    box-shadow: 
        0 0 30px var(--char-glow-faint),
        inset 0 0 20px var(--char-glow-faint);
}

.portrait-frame:hover img {
    filter: brightness(1.1);
}

@keyframes borderShimmer {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.character-name {
    font-size: 1.4rem;
    font-style: italic;
    margin-top: 25px;
    text-align: center;
    color: #f0f0f0;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
    letter-spacing: 2px;
    position: relative;
    overflow: hidden;
    padding: 5px 15px;
}

.character-name::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0) 20%,
        rgba(255, 255, 255, 0.4) 50%,
        rgba(255, 255, 255, 0) 80%,
        transparent
    );
    animation: nameGlint 4s ease-in-out infinite;
    pointer-events: none;
}

.character-name::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        var(--char-primary) 20%,
        var(--char-secondary) 50%,
        var(--char-primary) 80%,
        transparent
    );
    opacity: 0.8;
    transition: background 0.5s ease;
}

@keyframes nameGlint {
    0% {
        left: -100%;
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    30% {
        left: 100%;
        opacity: 1;
    }
    31%, 100% {
        left: 100%;
        opacity: 0;
    }
}

.character-name-wrapper {
    position: relative;
    display: inline-block;
}

.character-name-glint {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    pointer-events: none;
}

.character-name-glint::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 20px;
    height: 200%;
    background: linear-gradient(
        90deg,
        transparent,
        var(--char-secondary),
        transparent
    );
    transform: rotate(25deg);
    animation: sparkleGlint 5s ease-in-out infinite;
    animation-delay: 2s;
}

@keyframes sparkleGlint {
    0% {
        left: -50%;
        opacity: 0;
    }
    5% {
        opacity: 0.6;
    }
    25% {
        left: 150%;
        opacity: 0.6;
    }
    26%, 100% {
        left: 150%;
        opacity: 0;
    }
}

.character-title {
    font-size: 0.85rem;
    color: #a09b8c;
    text-align: center;
    margin-top: 5px;
    font-style: italic;
    transition: color 0.5s ease;
}

.character-pagination {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 20px;
}

.char-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(160, 155, 140, 0.3);
    border: 1px solid #a09b8c;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.char-dot:hover {
    background: var(--char-glow-soft);
    border-color: var(--char-primary);
    transform: scale(1.2);
}

.char-dot.active {
    background: var(--char-primary);
    border-color: var(--char-secondary);
    box-shadow: 
        0 0 8px var(--char-glow),
        0 0 16px var(--char-glow-soft);
}

.char-dot.active::after {
    content: '';
    position: absolute;
    top: -4px;
    left: -4px;
    right: -4px;
    bottom: -4px;
    border: 1px solid var(--char-glow);
    border-radius: 50%;
    animation: dotPulse 2s ease-in-out infinite;
}

@keyframes dotPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0; }
}

.character-nav-arrows {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-top: 15px;
}

.char-arrow {
    width: 36px;
    height: 36px;
    background: rgba(0, 0, 0, 0.5);
    border: 1px solid var(--char-primary);
    border-radius: 4px;
    color: var(--char-primary);
    font-size: 1.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.char-arrow:hover {
    background: var(--char-glow-faint);
    box-shadow: 0 0 10px var(--char-glow-soft);
    transform: scale(1.1);
}

.char-arrow:active {
    transform: scale(0.95);
}

.ability-nav {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 10px;
    padding: 20px 0;
    max-width: 350px;
}

.ability-section-title {
    font-size: 3rem;
    font-style: italic;
    margin-bottom: 20px;
    text-shadow: 0 10px 10px rgba(23, 23, 23, 0.2);
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 15px;
    cursor: pointer;
    padding: 10px;
    border-radius: 3px;
    transition: all 0.2s ease;
    opacity: 0.6;
}

.nav-item:hover {
    opacity: 1;
    background-color: rgba(255, 255, 255, 0.05);
}

.nav-item.active {
    opacity: 1;
    border-left: 3px solid var(--char-primary);
    padding-left: 12px;
}

.nav-item img {
    width: 64px;
    height: 64px;
    border-radius: 3px;
    border: 0px solid #757575;
}

.nav-item-text {
    display: flex;
    flex-direction: column;
    gap: 4px;
    font-style: italic;
}

.nav-item-name {
    font-weight: 600;
    font-size: 1rem;
    letter-spacing: 0px;
    color: #f0f0f0;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(0, 0, 0, 0.4);
}

.nav-item-type {
    font-size: 0.7rem;
    color: #696969;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: left;
    font-weight: 400;
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 2px 4px rgba(0, 0, 0, 0.5);
}

.nav-item-type.mastery {
    color: var(--char-primary);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px var(--char-glow-faint);
}

.nav-item-type.passive {
    color: var(--char-primary);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px var(--char-glow-faint);
}

.nav-item-type.basic {
    color: var(--char-primary);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px var(--char-glow-faint);
}

.nav-item-type.ultimate {
    color: var(--char-primary);
    text-shadow: 
        0 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px var(--char-glow-faint);
}

.ability-display {
    flex: 2;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 40px 0;
    max-width: 550px;
}

.media-frame {
    width: 100%;
    aspect-ratio: 16/9;
    background: #000;
    border: 1px solid var(--char-primary);
    overflow: hidden;
    margin-bottom: 25px;
    box-shadow: 
        0 0 20px rgba(0,0,0,0.5),
        0 0 30px var(--char-glow-faint);
    transition: border-color 0.5s ease, box-shadow 0.5s ease;
}

.media-frame img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.text-content {
    text-align: center;
    padding: 10px 0;
}

#display-title {
    font-size: 1.8rem;
    font-style: italic;
    margin-bottom: 8px;
    color: #f0f0f0;
    text-shadow: 
        0 2px 4px rgba(0, 0, 0, 0.8),
        0 0 15px var(--char-glow-soft);
}

.ability-type {
    display: block;
    color: #a09b8c;
    font-size: 0.9rem;
    margin-bottom: 18px;
    font-weight: bold;
    text-shadow: 
        0 1px 3px rgba(0, 0, 0, 0.7);
}

#display-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: #a09b8c;
    max-width: 500px;
    margin: 0 auto;
}

@media (max-width: 1200px) {
    .showcase-container {
        gap: 50px;
        padding: 30px;
    }
    
    .ability-nav {
        max-width: 240px;
    }
    
    .ability-display {
        max-width: 450px;
    }
}

@media (max-width: 1024px) {
    .showcase-container {
        gap: 30px;
        padding: 20px;
    }
    
    .character-portrait {
        min-width: 180px;
    }
    
    .portrait-frame {
        width: 240px;
        height: 240px;
    }
    
    .ability-nav {
        max-width: 200px;
    }
    
    .nav-item img {
        width: 50px;
        height: 50px;
    }
    
    .nav-item-name {
        font-size: 0.8rem;
    }
    
    .nav-item-type {
        font-size: 0.65rem;
    }
}

@media (max-width: 768px) {
    .showcase-container {
        flex-direction: column;
        align-items: center;
        gap: 40px;
    }
    
    .character-portrait {
        order: -1;
        padding: 20px 20px 10px;
    }
    
    .portrait-frame {
        width: 220px;
        height: 220px;
    }
    
    .ability-nav {
        flex-direction: row;
        overflow-x: auto;
        padding: 10px 0;
        justify-content: center;
        flex-wrap: wrap;
        max-width: 100%;
    }
    
    .nav-item {
        flex-direction: column;
        text-align: center;
        min-width: 90px;
    }
    
    .nav-item-text {
        align-items: center;
    }
    
    .ability-section-title {
        display: none;
    }
    
    .section-title {
        display: none;
    }
    
    .ability-display {
        max-width: 100%;
        padding: 20px 0;
    }
}