/* ===================================================================
   VELTIS2 — OFFICIAL METIN2 MMORPG WEBSITE STYLESHEET
   Aesthetics: Deep Obsidian, Royal Gold Metallic, Fiery Ember Glow
   =================================================================== */

:root {
    --bg-darker: #06070a;
    --bg-dark: #0a0b10;
    --bg-surface: #10121a;
    --bg-card: rgba(18, 21, 31, 0.75);
    --bg-card-hover: rgba(26, 30, 46, 0.9);
    
    --gold-primary: #e6b73a;
    --gold-bright: #ffe066;
    --gold-dark: #997316;
    --gold-gradient: linear-gradient(135deg, #ffe066 0%, #e6b73a 50%, #997316 100%);
    --gold-glow: rgba(230, 183, 58, 0.35);

    --crimson-primary: #ff4726;
    --crimson-glow: rgba(255, 71, 38, 0.4);
    
    --cyan-primary: #00d2ff;
    --cyan-glow: rgba(0, 210, 255, 0.35);

    --emerald-primary: #10b981;
    --blurple-discord: #5865f2;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #8492a6;
    
    --border-subtle: rgba(230, 183, 58, 0.15);
    --border-active: rgba(230, 183, 58, 0.45);
    --border-glass: rgba(255, 255, 255, 0.08);

    --font-heading: 'Cinzel', serif;
    --font-accent: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;

    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Base & Reset */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
    background-color: var(--bg-dark);
    color: var(--text-primary);
}

body {
    font-family: var(--font-body);
    background-color: var(--bg-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

/* Ember Particle Canvas */
#ember-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    pointer-events: none;
    z-index: 1;
}

/* Utility Containers */
.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
    position: relative;
    z-index: 2;
}

.text-gold { color: var(--gold-primary); }
.text-cyan { color: var(--cyan-primary); }
.text-emerald { color: var(--emerald-primary); }
.text-crimson { color: var(--crimson-primary); }
.text-blurple { color: var(--blurple-discord); }
.text-center { text-align: center; }

.gradient-gold {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Top Announcement Strip */
.top-announcement {
    background: linear-gradient(90deg, #120d04 0%, #1e1305 50%, #120d04 100%);
    border-bottom: 1px solid var(--border-subtle);
    font-size: 0.82rem;
    padding: 7px 0;
    position: relative;
    z-index: 20;
}

.top-bar-flex {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}

.server-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-accent);
    letter-spacing: 0.5px;
    font-size: 0.85rem;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--emerald-primary);
    box-shadow: 0 0 10px var(--emerald-primary);
}

.status-dot.warning,
.status-dot.gold {
    background: #ffb703;
    box-shadow: 0 0 12px rgba(255, 183, 3, 0.85);
}

.status-dot.pulsing {
    animation: pulse-glow 2s infinite;
}

@keyframes pulse-glow {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(0.85); }
}

.announcement-msg {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 8px;
}

.top-social-links {
    display: flex;
    gap: 16px;
}

.top-social-link {
    color: var(--gold-bright);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition-smooth);
}

.top-social-link:hover {
    color: #fff;
    text-shadow: 0 0 8px var(--gold-glow);
}

/* Main Navigation Header */
.main-header {
    position: sticky;
    top: 0;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(14px);
    border-bottom: 1px solid var(--border-subtle);
    z-index: 100;
    transition: var(--transition-smooth);
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 84px;
}

.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: inherit;
    transition: var(--transition-smooth);
}

.brand-icon-anim {
    width: 62px;
    height: 62px;
    object-fit: contain;
    filter: drop-shadow(0 0 14px rgba(255, 71, 38, 0.55));
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), filter 0.35s ease;
}

.brand-logo:hover .brand-icon-anim {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px rgba(255, 71, 38, 0.85));
}

.brand-titles {
    display: flex;
    flex-direction: column;
}

.brand-name {
    font-family: var(--font-heading);
    font-size: 1.68rem;
    font-weight: 900;
    letter-spacing: 2px;
    line-height: 1.1;
    background: linear-gradient(110deg, #ffffff 15%, #ffe680 40%, #ffffff 55%, #f5be38 75%, #ffffff 90%);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    animation: gold-sheen-sweep 5s linear infinite;
    text-shadow: 0 0 18px rgba(230, 183, 58, 0.25);
}

@keyframes gold-sheen-sweep {
    to { background-position: 200% center; }
}

.brand-tagline {
    font-family: var(--font-accent);
    font-size: 0.72rem;
    font-weight: 600;
    letter-spacing: 3px;
    color: var(--gold-primary);
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    font-family: var(--font-accent);
    font-size: 1.05rem;
    font-weight: 600;
    letter-spacing: 1px;
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 16px;
    border-radius: 6px;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link i {
    font-size: 0.9rem;
    color: var(--gold-primary);
    transition: var(--transition-smooth);
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(230, 183, 58, 0.08);
    box-shadow: inset 0 0 12px rgba(230, 183, 58, 0.12);
}

.nav-link:hover i, .nav-link.active i {
    color: var(--gold-bright);
    filter: drop-shadow(0 0 6px var(--gold-bright));
}

.mobile-toggle {
    display: none;
    background: none;
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
    font-size: 1.3rem;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
}

/* Global Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    font-family: var(--font-accent);
    font-weight: 700;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    border: none;
    gap: 12px;
}

.btn-gold-sm {
    background: var(--gold-gradient);
    color: #1a1202;
    padding: 10px 20px;
    font-size: 0.95rem;
    letter-spacing: 1.5px;
    box-shadow: 0 4px 18px var(--gold-glow);
}

.btn-gold-sm:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(230, 183, 58, 0.55);
}

.btn-primary {
    background: linear-gradient(135deg, #ff5722 0%, #e63917 50%, #991b00 100%);
    color: #fff;
    padding: 16px 28px;
    box-shadow: 0 8px 30px var(--crimson-glow);
    border: 1px solid rgba(255, 120, 80, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 38px rgba(255, 71, 38, 0.6);
}

.btn-secondary {
    background: rgba(20, 24, 36, 0.8);
    backdrop-filter: blur(10px);
    color: #fff;
    padding: 16px 28px;
    border: 1px solid var(--border-active);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.btn-secondary:hover {
    background: rgba(230, 183, 58, 0.15);
    border-color: var(--gold-bright);
    transform: translateY(-3px);
    box-shadow: 0 10px 30px var(--gold-glow);
}

.btn-discord {
    background: linear-gradient(135deg, #5865f2 0%, #4752c4 100%);
    color: #fff;
    padding: 16px 24px;
    box-shadow: 0 8px 26px rgba(88, 101, 242, 0.35);
}

.btn-discord:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 34px rgba(88, 101, 242, 0.55);
}

.btn-icon {
    font-size: 1.6rem;
}

.btn-text {
    display: flex;
    flex-direction: column;
    text-align: left;
    line-height: 1.2;
}

.btn-text strong {
    font-size: 1.15rem;
    letter-spacing: 1px;
}

.btn-text small {
    font-family: var(--font-body);
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.85;
}

/* Hero Section */
.hero-section {
    position: relative;
    padding: 90px 0 120px;
    min-height: calc(100vh - 120px);
    display: flex;
    align-items: center;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at 75% 45%, rgba(180, 40, 10, 0.18) 0%, rgba(10, 11, 16, 0.95) 70%),
                radial-gradient(circle at 20% 80%, rgba(230, 183, 58, 0.08) 0%, transparent 50%);
    pointer-events: none;
    z-index: 1;
}

.hero-container {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 2;
}

.hero-content {
    max-width: 680px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: rgba(230, 183, 58, 0.1);
    border: 1px solid var(--border-active);
    color: var(--gold-bright);
    font-family: var(--font-accent);
    font-size: 0.88rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 6px 16px;
    border-radius: 30px;
    margin-bottom: 24px;
    box-shadow: 0 0 20px rgba(230, 183, 58, 0.15);
}

.badge-spark {
    color: var(--gold-primary);
    animation: spin-slow 10s linear infinite;
}

@keyframes spin-slow {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.hero-logo-wrapper {
    margin-bottom: 12px;
}

.hero-title-img {
    max-width: 520px;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0 24px var(--gold-glow));
}

.hero-tagline {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    line-height: 1.25;
    margin-bottom: 18px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.8);
}

.hero-description {
    font-size: 1.08rem;
    color: var(--text-secondary);
    line-height: 1.7;
    margin-bottom: 34px;
}

.hero-description strong {
    color: var(--gold-bright);
    font-weight: 600;
}

.hero-cta-group {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 48px;
}

/* Server Specs Grid */
.server-specs-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.spec-card {
    background: var(--bg-card);
    backdrop-filter: blur(10px);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    transition: var(--transition-smooth);
}

.spec-card:hover {
    border-color: var(--border-active);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
}

.spec-icon {
    font-size: 1.75rem;
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(255, 255, 255, 0.04);
    border-radius: 8px;
}

.spec-info {
    display: flex;
    flex-direction: column;
}

.spec-label {
    font-size: 0.78rem;
    color: var(--text-muted);
    font-weight: 500;
}

.spec-val {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: #fff;
}

/* Hero Emblem Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.emblem-container {
    position: relative;
    width: 440px;
    height: 440px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.runic-circle-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    border: 2px dashed rgba(230, 183, 58, 0.25);
    box-shadow: 0 0 50px rgba(255, 71, 38, 0.15);
    animation: rotate-cw 60s linear infinite;
}

.runic-circle-inner {
    position: absolute;
    width: 82%;
    height: 82%;
    border-radius: 50%;
    border: 1px solid rgba(255, 71, 38, 0.2);
    animation: rotate-ccw 45s linear infinite;
}

@keyframes rotate-cw {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes rotate-ccw {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

.hero-emblem-img {
    max-width: 90%;
    height: auto;
    object-fit: contain;
    position: relative;
    z-index: 2;
    filter: drop-shadow(0 0 40px rgba(255, 71, 38, 0.5));
    animation: float-soft 5s ease-in-out infinite;
}

@keyframes float-soft {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-12px); }
}

/* Showcase Highlights Strip */
.showcase-strip-section {
    padding: 60px 0;
    background: linear-gradient(180deg, rgba(16, 18, 26, 0.95) 0%, rgba(10, 11, 16, 0.95) 100%);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.strip-header {
    text-align: center;
    margin-bottom: 40px;
}

.gold-subtitle {
    font-family: var(--font-accent);
    font-size: 0.9rem;
    font-weight: 700;
    letter-spacing: 3px;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 8px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    letter-spacing: 1px;
}

.gold-divider {
    width: 60px;
    height: 3px;
    background: var(--gold-gradient);
    margin: 14px auto 18px;
    border-radius: 2px;
}

.section-desc {
    font-size: 1.05rem;
    color: var(--text-secondary);
    max-width: 640px;
    margin: 0 auto;
}

.strip-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 24px;
}

.strip-item {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 24px;
    display: flex;
    gap: 18px;
    transition: var(--transition-smooth);
}

.strip-item:hover {
    border-color: var(--border-active);
    transform: translateY(-4px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}

.strip-icon-box {
    width: 52px;
    height: 52px;
    min-width: 52px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.strip-icon-box img {
    width: 32px;
    height: 32px;
    object-fit: contain;
    filter: drop-shadow(0 0 6px var(--gold-glow));
}

.strip-content h3 {
    font-family: var(--font-accent);
    font-size: 1.25rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.strip-content p {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.5;
}

/* Detailed Features Section */
.features-section {
    padding: 100px 0;
}

.section-head {
    margin-bottom: 60px;
}

.feature-cards-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 32px;
    margin-bottom: 60px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.feature-card:hover {
    border-color: var(--border-active);
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5), 0 0 20px rgba(230, 183, 58, 0.1);
}

.card-media {
    position: relative;
    width: 100%;
    height: 270px;
    overflow: hidden;
}

.card-media img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.feature-card:hover .card-media img {
    transform: scale(1.05);
}

.card-tag {
    position: absolute;
    top: 16px;
    left: 16px;
    background: rgba(10, 11, 16, 0.85);
    backdrop-filter: blur(8px);
    border: 1px solid var(--gold-primary);
    color: var(--gold-bright);
    font-family: var(--font-accent);
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 1.5px;
    padding: 4px 12px;
    border-radius: 6px;
}

.card-body {
    padding: 28px;
}

.card-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 12px;
}

.card-text {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 20px;
}

.card-bullets {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
    border-top: 1px solid var(--border-glass);
    padding-top: 18px;
}

.card-bullets li {
    font-size: 0.9rem;
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 10px;
}

.card-bullets li strong {
    color: #fff;
}

/* Alchemy Showcase Box */
.alchemy-showcase-box {
    background: linear-gradient(135deg, rgba(22, 18, 12, 0.85) 0%, rgba(14, 16, 24, 0.95) 100%);
    border: 1px solid var(--border-active);
    border-radius: 20px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1.3fr 0.7fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 16px 50px rgba(0, 0, 0, 0.5), inset 0 0 40px rgba(230, 183, 58, 0.08);
}

.alchemy-title {
    font-family: var(--font-heading);
    font-size: 1.9rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.alchemy-desc {
    color: var(--text-secondary);
    font-size: 1.02rem;
    margin-bottom: 28px;
    line-height: 1.6;
}

.stones-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
}

.stone-item {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-glass);
    border-radius: 10px;
    padding: 14px;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: var(--transition-smooth);
}

.stone-item:hover {
    background: rgba(230, 183, 58, 0.12);
    border-color: var(--gold-bright);
    transform: translateY(-3px);
}

.stone-item img {
    width: 38px;
    height: 38px;
    object-fit: contain;
    margin-bottom: 8px;
    filter: drop-shadow(0 0 8px var(--gold-glow));
}

.stone-item span {
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 1.05rem;
    color: #fff;
}

.stone-item small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.alchemy-right {
    display: flex;
    justify-content: center;
    align-items: center;
}

.alchemy-window-img {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.6);
    border: 1px solid var(--border-glass);
}

/* Character Classes Section */
.classes-section {
    padding: 90px 0;
    background: rgba(12, 14, 20, 0.8);
    border-top: 1px solid var(--border-subtle);
    border-bottom: 1px solid var(--border-subtle);
}

.class-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.class-tab-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    color: var(--text-secondary);
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 12px 28px;
    border-radius: 8px;
    cursor: pointer;
    transition: var(--transition-smooth);
    display: flex;
    align-items: center;
    gap: 10px;
}

.class-tab-btn:hover {
    color: #fff;
    border-color: var(--border-subtle);
}

.class-tab-btn.active {
    background: var(--gold-gradient);
    color: #1a1202;
    border-color: var(--gold-bright);
    box-shadow: 0 4px 20px var(--gold-glow);
}

.class-display-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 44px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 40px;
    align-items: center;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.4);
}

.class-role {
    font-family: var(--font-accent);
    font-size: 0.95rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--gold-primary);
    display: block;
    margin-bottom: 8px;
}

.class-name {
    font-family: var(--font-heading);
    font-size: 2.1rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 16px;
}

.class-description {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.7;
    margin-bottom: 28px;
}

.class-stats-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.stat-bar-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.stat-name {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-weight: 600;
}

.stat-track {
    width: 100%;
    height: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 4px;
    overflow: hidden;
}

.stat-fill {
    height: 100%;
    background: var(--gold-gradient);
    border-radius: 4px;
    transition: width 0.6s cubic-bezier(0.16, 1, 0.3, 1);
}

.class-perks {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.perk-tag {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-glass);
    padding: 6px 14px;
    border-radius: 6px;
    font-size: 0.85rem;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
}

.class-card-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.class-hero-img {
    width: 100%;
    max-width: 440px;
    aspect-ratio: 1 / 1;
    height: auto;
    object-fit: cover;
    border-radius: 16px;
    border: 1px solid var(--border-active);
    box-shadow: 0 16px 45px rgba(0, 0, 0, 0.7), 0 0 25px rgba(230, 183, 58, 0.15);
    transition: var(--transition-smooth);
}

.class-display-card:hover .class-hero-img {
    transform: scale(1.02);
    border-color: var(--gold-bright);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8), 0 0 35px rgba(230, 183, 58, 0.25);
}

/* Kingdoms Section */
.kingdoms-section {
    padding: 90px 0;
}

.kingdoms-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    margin-top: 50px;
}

.kingdom-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.kingdom-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.5);
}

.jinno-card:hover { border-color: var(--cyan-primary); }
.shinsoo-card:hover { border-color: var(--crimson-primary); }
.chunjo-card:hover { border-color: var(--gold-primary); }

.kingdom-img-wrap {
    position: relative;
    width: 100%;
    height: 220px;
    overflow: hidden;
}

.kingdom-img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.kingdom-card:hover .kingdom-img-wrap img {
    transform: scale(1.06);
}

.kingdom-badge {
    position: absolute;
    bottom: 12px;
    left: 12px;
    padding: 4px 12px;
    border-radius: 6px;
    font-family: var(--font-accent);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    backdrop-filter: blur(8px);
}

.jinno-card .kingdom-badge { background: rgba(0, 150, 255, 0.7); }
.shinsoo-card .kingdom-badge { background: rgba(220, 38, 38, 0.7); }
.chunjo-card .kingdom-badge { background: rgba(217, 119, 6, 0.7); }

.kingdom-body {
    padding: 24px;
}

.kingdom-body h3 {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 10px;
}

.kingdom-body p {
    font-size: 0.92rem;
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 16px;
}

.kingdom-bonus {
    font-size: 0.85rem;
    font-weight: 600;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.jinno-card .kingdom-bonus { color: var(--cyan-primary); }
.shinsoo-card .kingdom-bonus { color: var(--crimson-primary); }
.chunjo-card .kingdom-bonus { color: var(--gold-bright); }

/* Download & Registration Section */
.download-section {
    padding: 80px 0 120px;
}

.download-banner-box {
    background: linear-gradient(135deg, rgba(18, 14, 10, 0.95) 0%, rgba(10, 11, 16, 0.95) 100%);
    border: 1px solid var(--border-active);
    border-radius: 24px;
    padding: 56px;
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 50px;
    align-items: center;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6), inset 0 0 50px rgba(255, 71, 38, 0.08);
}

.download-title {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 14px;
}

.download-desc {
    color: var(--text-secondary);
    font-size: 1.05rem;
    line-height: 1.6;
    margin-bottom: 32px;
}

.mirrors-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.mirror-btn {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 12px;
    padding: 16px;
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: #fff;
    transition: var(--transition-smooth);
    position: relative;
}

.mirror-btn:hover {
    border-color: var(--gold-bright);
    background: var(--bg-card-hover);
    transform: translateY(-3px);
    box-shadow: 0 8px 24px var(--gold-glow);
}

.mirror-icon {
    font-size: 1.6rem;
    color: var(--gold-primary);
    margin-bottom: 12px;
}

.mirror-info strong {
    font-family: var(--font-accent);
    font-size: 1.1rem;
    letter-spacing: 0.5px;
    display: block;
}

.mirror-info small {
    font-size: 0.75rem;
    color: var(--text-muted);
}

.mirror-arrow {
    position: absolute;
    top: 14px;
    right: 14px;
    font-size: 0.9rem;
    color: var(--text-muted);
    transition: transform 0.3s ease;
}

.mirror-btn:hover .mirror-arrow {
    transform: translateY(3px);
    color: var(--gold-bright);
}

.sys-req-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    font-size: 0.85rem;
    color: var(--text-muted);
    border-top: 1px solid var(--border-glass);
    padding-top: 20px;
}

.sys-req-strip span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.sys-req-strip span i {
    color: var(--gold-primary);
}

.download-visual {
    display: flex;
    justify-content: center;
}

.download-banner-img {
    max-width: 100%;
    height: auto;
    border-radius: 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.7);
    border: 1px solid var(--border-glass);
}

/* Footer */
.main-footer {
    background: #050608;
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 30px;
}

.footer-top {
    display: grid;
    grid-template-columns: 1.5fr 1fr 1fr 1.3fr;
    gap: 40px;
    margin-bottom: 50px;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 16px;
}

.footer-logo img {
    width: 44px;
    height: 44px;
    object-fit: contain;
}

.footer-title {
    font-family: var(--font-heading);
    font-size: 1.45rem;
    font-weight: 800;
    letter-spacing: 1.5px;
}

.footer-about {
    font-size: 0.88rem;
    color: var(--text-muted);
    line-height: 1.6;
}

.footer-links-col h4, .footer-social-col h4 {
    font-family: var(--font-accent);
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold-primary);
    margin-bottom: 18px;
}

.footer-links-col ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links-col ul a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.footer-links-col ul a:hover {
    color: var(--gold-bright);
    padding-left: 4px;
}

.footer-social-col p {
    font-size: 0.88rem;
    color: var(--text-muted);
    margin-bottom: 18px;
}

.footer-discord-card {
    background: rgba(88, 101, 242, 0.1);
    border: 1px solid rgba(88, 101, 242, 0.3);
    border-radius: 10px;
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 16px;
    text-decoration: none;
    color: #fff;
    transition: var(--transition-smooth);
}

.footer-discord-card:hover {
    background: rgba(88, 101, 242, 0.2);
    border-color: #5865f2;
    transform: translateY(-2px);
}

.footer-discord-card i {
    font-size: 2rem;
}

.discord-card-text strong {
    display: block;
    font-family: var(--font-accent);
    font-size: 1.05rem;
}

.discord-card-text small {
    color: var(--text-muted);
    font-size: 0.78rem;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 24px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.82rem;
    color: var(--text-muted);
}

.footer-badges {
    display: flex;
    gap: 14px;
}

.badge-mini {
    background: rgba(255, 255, 255, 0.05);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 0.75rem;
}

/* ===================================================================
   RESPONSIVE DESIGN BREAKPOINTS
   =================================================================== */
@media (max-width: 1080px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .hero-content {
        margin: 0 auto;
    }

    .hero-cta-group {
        justify-content: center;
    }

    .hero-visual {
        order: -1;
    }

    .emblem-container {
        width: 320px;
        height: 320px;
    }

    .strip-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .feature-cards-grid {
        grid-template-columns: 1fr;
    }

    .alchemy-showcase-box {
        grid-template-columns: 1fr;
    }

    .alchemy-right {
        order: -1;
    }

    .class-display-card {
        grid-template-columns: 1fr;
    }

    .download-banner-box {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: rgba(10, 11, 16, 0.98);
        border-bottom: 1px solid var(--border-subtle);
        flex-direction: column;
        padding: 20px;
        gap: 10px;
    }

    .nav-menu.open {
        display: flex;
    }

    .mobile-toggle {
        display: block;
    }

    .hero-tagline {
        font-size: 1.8rem;
    }

    .server-specs-grid {
        grid-template-columns: 1fr;
    }

    .strip-grid {
        grid-template-columns: 1fr;
    }

    .stones-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .kingdoms-grid {
        grid-template-columns: 1fr;
    }

    .mirrors-grid {
        grid-template-columns: 1fr;
    }

    .footer-top {
        grid-template-columns: 1fr;
    }

    .footer-bottom {
        flex-direction: column;
        gap: 12px;
        text-align: center;
    }
}

/* ===================================================================
   STANDBY (DISABLED / COMING SOON) BUTTON STYLES & TOAST NOTIFICATION
   =================================================================== */

.badge-soon {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 800;
    font-family: var(--font-accent);
    letter-spacing: 0.8px;
    background: rgba(230, 183, 58, 0.18);
    color: var(--gold-bright);
    border: 1px solid rgba(230, 183, 58, 0.45);
    padding: 2px 7px;
    border-radius: 4px;
    margin-left: 6px;
    text-transform: uppercase;
    vertical-align: middle;
    line-height: 1.2;
}

.badge-mini-soon {
    display: inline-block;
    font-size: 0.58rem;
    font-weight: 700;
    background: rgba(230, 183, 58, 0.16);
    color: var(--gold-bright);
    border: 1px solid rgba(230, 183, 58, 0.35);
    padding: 1px 5px;
    border-radius: 3px;
    margin-left: 4px;
    text-transform: uppercase;
}

.btn-standby {
    position: relative;
    cursor: pointer;
}

.mirror-standby {
    opacity: 0.88;
    position: relative;
    cursor: pointer;
}

.mirror-standby:hover {
    border-color: rgba(230, 183, 58, 0.5);
    background: rgba(26, 32, 48, 0.85);
    transform: translateY(-2px);
}

.footer-card-standby {
    cursor: pointer;
}

/* Floating Toast Notifications */
.veltis-toast-container {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 999999;
    display: flex;
    flex-direction: column;
    gap: 12px;
    pointer-events: none;
}

.veltis-toast {
    background: linear-gradient(135deg, rgba(16, 20, 32, 0.96) 0%, rgba(24, 30, 46, 0.96) 100%);
    border: 1px solid var(--gold-primary);
    border-radius: 12px;
    padding: 16px 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.75), 0 0 20px rgba(230, 183, 58, 0.25);
    display: flex;
    align-items: flex-start;
    gap: 14px;
    color: #fff;
    font-family: var(--font-body);
    font-size: 0.95rem;
    backdrop-filter: blur(12px);
    opacity: 0;
    transform: translateY(20px) scale(0.96);
    transition: all 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    max-width: 380px;
    pointer-events: auto;
}

.veltis-toast.show {
    opacity: 1;
    transform: translateY(0) scale(1);
}

.veltis-toast-icon {
    font-size: 1.4rem;
    color: var(--gold-bright);
    margin-top: 2px;
    flex-shrink: 0;
}

.veltis-toast-body {
    flex: 1;
}

.veltis-toast-body strong {
    display: block;
    font-family: var(--font-accent);
    color: var(--gold-bright);
    font-size: 1.05rem;
    margin-bottom: 3px;
    letter-spacing: 0.5px;
}

.veltis-toast-body p {
    margin: 0;
    color: var(--text-muted);
    font-size: 0.85rem;
    line-height: 1.35;
}

.veltis-toast-close {
    background: transparent;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 2px 4px;
    transition: color 0.2s ease;
}

.veltis-toast-close:hover {
    color: #fff;
}

