/* Titan Realms - Marketing Site Styles */

:root {
    --primary: #f59e0b;
    --primary-dark: #d97706;
    --secondary: #8b5cf6;
    --accent: #ec4899;
    --dark: #0f172a;
    --darker: #020617;
    --light: #f8fafc;
    --gray: #64748b;
    --gray-light: #94a3b8;
    --success: #22c55e;
    --warning: #f59e0b;
    --danger: #ef4444;
    --gradient-primary: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    --gradient-hero: linear-gradient(135deg, #1e1b4b 0%, #312e81 50%, #1e1b4b 100%);
    --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
    --shadow: 0 4px 6px -1px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1);
    --shadow-glow: 0 0 40px rgba(245, 158, 11, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Open Sans', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: 8px;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--darker);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-glow);
}

.btn-outline {
    background: transparent;
    color: var(--light);
    border: 2px solid var(--primary);
}

.btn-outline:hover {
    background: var(--primary);
    color: var(--darker);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.btn:disabled, .btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.btn-link {
    background: none;
    color: var(--primary);
    padding: 0.5rem;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.navbar .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    text-decoration: none;
    color: var(--light);
}

.logo img {
    height: 40px;
    width: auto;
}

.logo span {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    gap: 4px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--light);
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 2rem;
    list-style: none;
}

.nav-menu a {
    color: var(--gray-light);
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s;
}

.nav-menu a:hover {
    color: var(--primary);
}

.nav-cta .btn {
    padding: 0.5rem 1rem;
}

/* Hero Section */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
}

.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -1;
}

.hero-bg video {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.7), rgba(2, 6, 23, 0.9));
}

.hero-content {
    position: relative;
    z-index: 1;
    padding: 2rem;
}

.hero-logo {
    max-width: 200px;
    margin-bottom: 2rem;
    filter: drop-shadow(0 0 30px rgba(245, 158, 11, 0.5));
}

.hero-title {
    font-size: clamp(2.5rem, 8vw, 5rem);
    margin-bottom: 0.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 50%, #d97706 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    color: var(--gray-light);
    margin-bottom: 1rem;
    font-family: 'Cinzel', serif;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--gray-light);
    max-width: 600px;
    margin: 0 auto 2rem;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 3rem;
    flex-wrap: wrap;
}

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary);
    font-family: 'Cinzel', serif;
}

.stat-label {
    color: var(--gray-light);
    font-size: 0.9rem;
}

.scroll-indicator {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    color: var(--gray-light);
}

.scroll-indicator span {
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    border-right: 2px solid var(--primary);
    border-bottom: 2px solid var(--primary);
    transform: rotate(45deg);
    margin: 10px auto 0;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0) rotate(45deg); }
    40% { transform: translateY(-10px) rotate(45deg); }
    60% { transform: translateY(-5px) rotate(45deg); }
}

/* Features Section */
.features {
    padding: 6rem 0;
    background: var(--dark);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.1));
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.feature-icon {
    width: 64px;
    height: 64px;
    margin: 0 auto 1rem;
    color: var(--primary);
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.feature-card p {
    color: var(--gray-light);
    font-size: 0.95rem;
}

/* Screenshots Section */
.screenshots {
    padding: 6rem 0;
    background: var(--darker);
}

.screenshots-carousel {
    position: relative;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.carousel-track {
    display: flex;
    gap: 2rem;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 1rem 0;
}

.carousel-track::-webkit-scrollbar {
    display: none;
}

.screenshot {
    flex: 0 0 auto;
    width: 600px;
    scroll-snap-align: center;
}

.screenshot img {
    width: 100%;
    border-radius: 12px;
    border: 2px solid rgba(245, 158, 11, 0.3);
    transition: all 0.3s;
}

.screenshot img:hover {
    border-color: var(--primary);
    box-shadow: var(--shadow-glow);
}

.screenshot p {
    text-align: center;
    margin-top: 1rem;
    color: var(--gray-light);
}

.carousel-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: var(--darker);
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s;
    flex-shrink: 0;
}

.carousel-btn:hover {
    background: var(--primary-dark);
    transform: scale(1.1);
}

/* Classes Preview */
.classes-preview {
    padding: 6rem 0;
    background: var(--dark);
}

.classes-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.class-card {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.1), rgba(236, 72, 153, 0.1));
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
}

.class-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary);
}

.class-image {
    width: 120px;
    height: 120px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid var(--primary);
}

.class-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.class-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.class-card p {
    color: var(--gray-light);
    margin-bottom: 1rem;
    font-size: 0.95rem;
}

.text-center {
    text-align: center;
}

.mt-4 {
    margin-top: 2rem;
}

/* News Section */
.news {
    padding: 6rem 0;
    background: var(--darker);
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.news-card {
    display: flex;
    gap: 1.5rem;
    background: var(--dark);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    transition: all 0.3s;
}

.news-card:hover {
    border-color: var(--primary);
    transform: translateY(-3px);
}

.news-date {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 8px;
    color: var(--darker);
}

.news-date .day {
    font-size: 1.5rem;
    font-weight: 700;
    line-height: 1;
}

.news-date .month {
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--light);
}

.news-content p {
    color: var(--gray-light);
    font-size: 0.95rem;
    margin-bottom: 0.5rem;
}

.news-content a {
    color: var(--primary);
    text-decoration: none;
    font-weight: 600;
}

.news-content a:hover {
    text-decoration: underline;
}

/* Newsletter */
.newsletter {
    padding: 6rem 0;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.1));
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
    text-align: center;
}

.newsletter h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.newsletter p {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    max-width: 500px;
    margin: 0 auto 1rem;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: 2px solid rgba(245, 158, 11, 0.3);
    border-radius: 8px;
    background: var(--dark);
    color: var(--light);
    font-size: 1rem;
}

.newsletter-form input:focus {
    outline: none;
    border-color: var(--primary);
}

.newsletter-note {
    font-size: 0.85rem;
    color: var(--gray);
}

/* Download CTA */
.download-cta {
    padding: 6rem 0;
    background: var(--dark);
    text-align: center;
}

.download-cta h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.download-cta > p {
    color: var(--gray-light);
    margin-bottom: 2rem;
}

.download-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.system-requirements a {
    color: var(--gray-light);
    text-decoration: underline;
}

/* Footer */
.footer {
    padding: 4rem 0 2rem;
    background: var(--darker);
    border-top: 1px solid rgba(245, 158, 11, 0.1);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr repeat(3, 1fr);
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-brand img {
    height: 50px;
    margin-bottom: 1rem;
}

.footer-brand p {
    color: var(--gray-light);
    margin-bottom: 1.5rem;
    max-width: 300px;
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(245, 158, 11, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s;
}

.social-links a:hover {
    background: var(--primary);
    transform: translateY(-3px);
}

.social-links svg {
    width: 20px;
    height: 20px;
    fill: var(--light);
}

.footer-links h4 {
    color: var(--light);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-links ul {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.5rem;
}

.footer-links a {
    color: var(--gray-light);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--primary);
}

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(245, 158, 11, 0.1);
    color: var(--gray);
    font-size: 0.9rem;
}

/* Cookie Consent */
.cookie-consent {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--dark);
    border-top: 1px solid rgba(245, 158, 11, 0.2);
    padding: 1rem 0;
    z-index: 9999;
    transform: translateY(100%);
    transition: transform 0.3s;
}

.cookie-consent.show {
    transform: translateY(0);
}

.cookie-consent .container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    flex-wrap: wrap;
}

.cookie-consent p {
    margin: 0;
    color: var(--gray-light);
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: var(--dark);
        flex-direction: column;
        padding: 2rem;
        gap: 1rem;
        border-bottom: 1px solid rgba(245, 158, 11, 0.2);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s;
    }
    
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        gap: 1.5rem;
    }
    
    .screenshot {
        width: 300px;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
    
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-brand {
        display: flex;
        flex-direction: column;
        align-items: center;
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: 0.5rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-logo {
        max-width: 150px;
    }
    
    .feature-card, .class-card {
        padding: 1.5rem;
    }
    
    .news-card {
        flex-direction: column;
        text-align: center;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
}

/* Typography — Titan Mythic Upgrade */
:root{
  /* Readability + mythic tone */
  --text: rgba(232,232,242,0.96);
  --text-soft: rgba(232,232,242,0.82);
  --text-dim: rgba(167,169,192,0.86);

  --title-glow: 0 0 26px rgba(245,158,11,0.18);
  --title-stroke: rgba(255,255,255,0.06);

  --reading: 68ch; /* ideal line length */
}

/* Base text smoothing */
body{
  color: var(--text);
  text-rendering: optimizeLegibility;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  letter-spacing: 0.2px;
}

/* Headings */
h1, h2, h3, h4{
  font-family: 'Cinzel', serif;
  font-weight: 800;
  line-height: 1.06;
  letter-spacing: 0.6px;
  color: var(--text);
}

/* “Mythic” headings with subtle stroke + glow */
.section-title{
  font-size: clamp(2.0rem, 4vw, 3.15rem);
  text-align: center;
  margin-bottom: 0.85rem;

  background: linear-gradient(135deg, #ffd58a 0%, var(--primary) 45%, var(--primary-dark) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;

  text-shadow: var(--title-glow);
  position: relative;
}

/* faint outline effect (keeps title readable on bright video areas) */
.section-title::after{
  content: attr(data-title);
  position: absolute;
  inset: 0;
  text-align: center;
  color: transparent;
  -webkit-text-stroke: 1px var(--title-stroke);
  pointer-events: none;
}

/* Subtitle that feels “trailer tagline”, not a blog */
.section-subtitle{
  text-align: center;
  max-width: var(--reading);
  margin: 0 auto 3rem;
  color: var(--text-dim);
  font-size: clamp(1.0rem, 1.2vw, 1.15rem);
  line-height: 1.65;
  letter-spacing: 0.35px;
}

/* Paragraphs – consistent rhythm */
p{
  color: var(--text-soft);
  line-height: 1.75;
  letter-spacing: 0.15px;
}

/* Small text */
.small, .muted{
  color: var(--text-dim);
  font-size: 0.95rem;
}

/* Hero typography */
.hero-title{
  font-size: clamp(2.6rem, 7.5vw, 5.4rem);
  margin-bottom: 0.35rem;
  letter-spacing: 1px;
  text-shadow: 0 0 34px rgba(245,158,11,0.16);
}

.hero-subtitle{
  font-size: clamp(1.15rem, 2.5vw, 1.85rem);
  color: rgba(232,232,242,0.80);
  margin-bottom: 0.9rem;
  letter-spacing: 0.9px;
  text-transform: uppercase;
}

.hero-description{
  max-width: var(--reading);
  margin: 0 auto 2.1rem;
  font-size: 1.08rem;
  color: rgba(232,232,242,0.84);
}

/* Feature titles + copy */
.feature-card h3{
  font-size: 1.35rem;
  letter-spacing: 0.5px;
  margin-bottom: 0.55rem;
}

.feature-card p{
  color: rgba(232,232,242,0.78);
  line-height: 1.65;
}

/* News titles */
.news-content h3{
  font-size: 1.12rem;
  letter-spacing: 0.4px;
}

.news-content p{
  color: rgba(232,232,242,0.78);
  line-height: 1.6;
}

/* Link polish */
a{
  text-underline-offset: 3px;
}

/* Server Status Indicator */
.server-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 0.75rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-right: 1rem;
}

.server-status .status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    animation: pulse-glow 2s infinite;
}

.server-status.online {
    color: #22c55e;
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.server-status.online .status-dot {
    background: #22c55e;
    box-shadow: 0 0 10px #22c55e, 0 0 20px #22c55e;
}

.server-status.offline {
    color: #ef4444;
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.server-status.offline .status-dot {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444, 0 0 20px #ef4444;
    animation: none;
}

@keyframes pulse-glow {
    0%, 100% {
        opacity: 1;
        box-shadow: 0 0 10px currentColor, 0 0 20px currentColor;
    }
    50% {
        opacity: 0.7;
        box-shadow: 0 0 5px currentColor, 0 0 10px currentColor;
    }
}

/* Play Now Button */
.btn-play {
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%);
    color: white;
    border: none;
}

.btn-play:hover {
    background: linear-gradient(135deg, #16a34a 0%, #15803d 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.4);
}

/* Updated navbar layout */
.nav-right {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.nav-right .nav-menu {
    order: 1;
}

.nav-right .server-status {
    order: 2;
    margin-left: 0.5rem;
}

/* Page Header */
.page-header {
    padding: 150px 0 60px;
    text-align: center;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1), rgba(139, 92, 246, 0.1));
}

.page-header h1 {
    font-size: 3rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Archetype Detail Pages */
.archetype-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    padding: 4rem 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.2);
}

.archetype-detail.reverse {
    direction: rtl;
}

.archetype-detail.reverse > * {
    direction: ltr;
}

.archetype-image img {
    width: 100%;
    border-radius: 16px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
}

.archetype-info h2 {
    font-size: 2.5rem;
    color: var(--primary);
    margin-bottom: 1rem;
}

.archetype-info .tagline {
    font-size: 1.2rem;
    color: var(--gray-light);
    font-style: italic;
    margin-bottom: 1.5rem;
}

.archetype-info .abilities {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.archetype-info .abilities h3 {
    color: var(--primary);
    margin-bottom: 1rem;
}

.archetype-info .abilities ul {
    list-style: none;
    padding: 0;
}

.archetype-info .abilities li {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.archetype-info .abilities li:last-child {
    border-bottom: none;
}

/* Roadmap Styles */
.roadmap-container {
    padding: 4rem 0;
}

.roadmap-item {
    display: grid;
    grid-template-columns: 150px 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
    position: relative;
}

.roadmap-item::before {
    content: '';
    position: absolute;
    left: 75px;
    top: 50px;
    bottom: -50px;
    width: 2px;
    background: linear-gradient(to bottom, var(--primary), transparent);
}

.roadmap-item:last-child::before {
    display: none;
}

.roadmap-date {
    text-align: center;
}

.roadmap-date .version {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--gradient-primary);
    color: var(--darker);
    border-radius: 20px;
    font-weight: 700;
    font-size: 0.9rem;
}

.roadmap-date .when {
    display: block;
    margin-top: 0.5rem;
    color: var(--gray);
    font-size: 0.85rem;
}

.roadmap-content {
    background: rgba(245, 158, 11, 0.05);
    border: 1px solid rgba(245, 158, 11, 0.2);
    border-radius: 16px;
    padding: 2rem;
}

.roadmap-content.in-progress {
    border-color: var(--warning);
    background: rgba(245, 158, 11, 0.08);
}

.roadmap-content h3 {
    color: var(--light);
    margin-bottom: 0.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.status-badge {
    padding: 0.25rem 0.75rem;
    border-radius: 4px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-badge.in-progress {
    background: rgba(245, 158, 11, 0.2);
    color: var(--warning);
}

.status-badge.planned {
    background: rgba(100, 116, 139, 0.2);
    color: var(--gray);
}

.feature-list {
    list-style: none;
    padding: 0;
    margin-top: 1rem;
}

.feature-list li {
    padding: 0.5rem 0;
    color: var(--gray-light);
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.feature-list li::before {
    content: '✓';
    color: var(--success);
    font-weight: bold;
}

.feature-list li.pending::before {
    content: '○';
    color: var(--gray);
}

/* Feature Image Placeholders */
.feature-img-placeholder {
    width: 100%;
    aspect-ratio: 16/10;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 2px solid rgba(245, 158, 11, 0.3);
    position: relative;
    overflow: hidden;
}

.feature-img-placeholder::before {
    content: '';
    position: absolute;
    inset: 0;
    opacity: 0.1;
    background-size: cover;
    background-position: center;
}

.feature-img-placeholder svg {
    width: 80px;
    height: 80px;
    color: var(--primary);
    position: relative;
    z-index: 1;
}

.feature-img-placeholder span {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    position: relative;
    z-index: 1;
    text-shadow: 0 2px 10px rgba(0,0,0,0.5);
}

.kingdom-bg {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.2), rgba(245, 158, 11, 0.1));
}

.combat-bg {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.2), rgba(245, 158, 11, 0.1));
}

.alliance-bg {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2), rgba(139, 92, 246, 0.1));
}

.worlds-bg {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.2), rgba(139, 92, 246, 0.1));
}

/* Archetype Image Placeholders */
.archetype-img-placeholder {
    width: 100%;
    aspect-ratio: 1;
    border-radius: 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    border: 3px solid var(--primary);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.2);
}

.archetype-emoji {
    font-size: 5rem;
    line-height: 1;
}

.archetype-name {
    font-family: 'Cinzel', serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--light);
    text-shadow: 0 2px 10px rgba(0,0,0,0.8);
}

.vanguard-bg {
    background: linear-gradient(135deg, rgba(59, 130, 246, 0.3), rgba(139, 92, 246, 0.2));
}

.stormblade-bg {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.3), rgba(245, 158, 11, 0.2));
}

.runebound-bg {
    background: linear-gradient(135deg, rgba(139, 92, 246, 0.3), rgba(236, 72, 153, 0.2));
}

.exile-bg {
    background: linear-gradient(135deg, rgba(100, 116, 139, 0.4), rgba(15, 23, 42, 0.5));
}

/* Archetype Images */
.archetype-img {
    width: 100%;
    height: auto;
    border-radius: 16px;
    border: 3px solid var(--primary);
    box-shadow: 0 0 40px rgba(245, 158, 11, 0.3);
    transition: all 0.3s ease;
}

.archetype-img:hover {
    transform: scale(1.02);
    box-shadow: 0 0 60px rgba(245, 158, 11, 0.5);
}

/* Starting Gear Section */
.starting-gear {
    background: rgba(139, 92, 246, 0.05);
    border: 1px solid rgba(139, 92, 246, 0.2);
    border-radius: 12px;
    padding: 1.5rem;
    margin-top: 1.5rem;
}

.starting-gear h3 {
    color: var(--secondary);
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.starting-gear ul {
    list-style: none;
    padding: 0;
}

.starting-gear li {
    padding: 0.3rem 0;
    color: var(--gray-light);
}

/* Stats Comparison Table */
.stats-comparison {
    padding: 4rem 0;
    background: var(--darker);
}

.stats-table-wrapper {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid rgba(245, 158, 11, 0.2);
}

.stats-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--dark);
}

.stats-table th,
.stats-table td {
    padding: 1rem 1.5rem;
    text-align: center;
    border-bottom: 1px solid rgba(245, 158, 11, 0.1);
}

.stats-table th {
    background: rgba(245, 158, 11, 0.1);
    color: var(--primary);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.stats-table tr:hover {
    background: rgba(245, 158, 11, 0.05);
}

.stats-table .highlight {
    background: rgba(245, 158, 11, 0.03);
}

.stats-table .positive {
    color: #22c55e;
    font-weight: 600;
}

.stats-table .negative {
    color: #ef4444;
    font-weight: 600;
}

/* Features Grid Section */
.features-grid-section {
    padding: 6rem 0;
    background: var(--darker);
}

.features-grid-section .features-grid {
    margin-top: 3rem;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .server-status {
        display: none;
    }
}

@media (max-width: 768px) {
    .archetype-detail {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .archetype-detail.reverse {
        direction: ltr;
    }
    
    .roadmap-item {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .roadmap-item::before {
        display: none;
    }
}
