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

:root {
    --bg-primary: #0a0a0f;
    --bg-secondary: #111118;
    --bg-tertiary: #16161d;
    --bg-card: linear-gradient(135deg, rgba(20, 20, 30, 0.9) 0%, rgba(10, 10, 15, 0.9) 100%);
    --border-color: rgba(212, 175, 55, 0.3);
    --border-color-hover: rgba(212, 175, 55, 0.6);
    --gold-primary: #d4af37;
    --gold-secondary: #f4e4bc;
    --gold-accent: #ffd700;
    --red-primary: #8b0000;
    --red-accent: #dc143c;
    --text-primary: #e5e5e5;
    --text-secondary: #a0a0a0;
    --text-gold: #d4af37;
    --success: #22c55e;
    --shadow-gold: 0 0 30px rgba(212, 175, 55, 0.3);
    --shadow-dark: 0 10px 40px rgba(0, 0, 0, 0.8);
    --gold-gradient: linear-gradient(180deg, #fff6d0 0%, #e6c65a 38%, #c49a33 62%, #f7e9b6 100%);
}

::selection {
    background: rgba(212, 175, 55, 0.85);
    color: #0a0a0f;
}

::-webkit-scrollbar {
    width: 11px;
}

::-webkit-scrollbar-track {
    background: #08080c;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #7a5c18, var(--gold-primary));
    border: 2px solid #08080c;
    border-radius: 6px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--gold-primary), #ffe680);
}

a:focus-visible,
button:focus-visible {
    outline: 2px solid var(--gold-accent);
    outline-offset: 3px;
}

html {
    scroll-behavior: smooth;
    scroll-padding-top: 80px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen',
        'Ubuntu', 'Cantarell', 'Fira Sans', 'Droid Sans', 'Helvetica Neue',
        sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

/* Background Effects */
.bg-effects {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.bg-particles {
    position: absolute;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(2px 2px at 20px 30px, var(--gold-primary), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 40px 70px, var(--gold-primary), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 90px 40px, var(--gold-primary), rgba(0,0,0,0)),
        radial-gradient(2px 2px at 130px 80px, var(--gold-primary), rgba(0,0,0,0));
    background-repeat: repeat;
    background-size: 200px 100px;
    opacity: 0.1;
    animation: float 20s ease-in-out infinite;
}

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

.bg-overlay {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at top, rgba(139, 0, 0, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at bottom, rgba(212, 175, 55, 0.05) 0%, transparent 50%);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    position: relative;
    z-index: 1;
}

/* Navigation */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(10, 10, 15, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    min-height: 70px;
}

/* Brand lockup */
.brand {
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
    text-decoration: none;
    flex-shrink: 0;
}

.brand-emblem {
    display: block;
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.45));
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.45s ease;
}

.brand:hover .brand-emblem {
    transform: rotate(-8deg) scale(1.07);
    filter: drop-shadow(0 0 16px rgba(255, 215, 0, 0.75));
}

.brand-text {
    display: flex;
    flex-direction: column;
    line-height: 1;
}

.brand-name {
    font-family: 'Cinzel', serif;
    font-size: 1.42rem;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: #fff;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.85);
}

.brand-accent {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    filter: drop-shadow(0 0 8px rgba(212, 175, 55, 0.35));
}

.brand-sub {
    margin-top: 0.34rem;
    font-size: 0.58rem;
    letter-spacing: 0.34em;
    text-transform: uppercase;
    color: var(--text-secondary);
    white-space: nowrap;
}

.brand--footer .brand-name {
    font-size: 1.3rem;
}

.nav-toggle {
    display: none;
    background: transparent;
    border: 2px solid var(--border-color);
    padding: 0.5rem;
    cursor: pointer;
    flex-direction: column;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 2px;
    background: var(--gold-primary);
    transition: 0.3s;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 1.45rem;
    align-items: center;
}

.nav-link {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.88rem;
    white-space: nowrap;
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
    letter-spacing: 0.5px;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--gold-primary), var(--gold-accent));
    transition: width 0.3s ease;
}

.nav-link:hover {
    color: var(--gold-primary);
}

.nav-link:hover::after {
    width: 100%;
}

.nav-forum {
    color: var(--gold-primary);
}

.nav-register {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    padding: 0.6rem 1.5rem !important;
    border: 1px solid var(--red-accent);
    border-radius: 4px;
    transition: all 0.3s ease;
}

.nav-register::after {
    display: none;
}

.nav-register:hover {
    color: white;
    box-shadow: 0 0 20px rgba(220, 20, 60, 0.5);
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 130px 0 100px;
    overflow: hidden;
    background:
        radial-gradient(ellipse at 50% 12%, rgba(10, 10, 15, 0.06) 0%, rgba(10, 10, 15, 0.62) 60%, rgba(10, 10, 15, 0.94) 100%),
        linear-gradient(180deg, rgba(10, 10, 15, 0.45) 0%, rgba(10, 10, 15, 0.75) 100%),
        url('../assets/hero-bg.jpg') center 32%/cover no-repeat;
}

.hero::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    bottom: 0;
    height: 200px;
    background: linear-gradient(to bottom, transparent, var(--bg-primary));
    pointer-events: none;
}

.hero-emblem {
    display: flex;
    justify-content: center;
    margin-bottom: 1.6rem;
}

.hero-emblem img {
    width: 160px;
    height: 160px;
    filter: drop-shadow(0 0 30px rgba(212, 175, 55, 0.5)) drop-shadow(0 14px 34px rgba(0, 0, 0, 0.9));
    animation: emblemFloat 7s ease-in-out infinite;
}

@keyframes emblemFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

.hero-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 2rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 2rem;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { box-shadow: 0 0 0 0 rgba(212, 175, 55, 0.4); }
    50% { box-shadow: 0 0 0 10px rgba(212, 175, 55, 0); }
}

.hero-title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.8rem, 7vw, 4.8rem);
    font-weight: 900;
    margin-bottom: 1rem;
    letter-spacing: 5px;
    line-height: 1.15;
    text-shadow: 0 10px 40px rgba(0, 0, 0, 0.85);
}

.hero-title-main {
    background: linear-gradient(180deg, #ffffff 0%, #d9dce4 55%, #8f95a3 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.hero-title-accent {
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
    filter: drop-shadow(0 0 22px rgba(212, 175, 55, 0.35));
}

.hero-slogan {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    font-size: 1.3rem;
    font-weight: 600;
    color: var(--gold-secondary);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.slogan-word {
    position: relative;
}

.slogan-word:not(:last-child)::after {
    content: '•';
    position: absolute;
    right: -1.2rem;
    color: var(--gold-primary);
}

.hero-enchant-info {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
    margin-bottom: 2.5rem;
}

.enchant-badge {
    display: flex;
    align-items: center;
    gap: 0.7rem;
    background: linear-gradient(135deg, rgba(139, 0, 0, 0.3) 0%, rgba(20, 20, 30, 0.8) 100%);
    border: 1px solid var(--red-accent);
    padding: 0.8rem 1.8rem;
    border-radius: 4px;
    color: var(--text-primary);
    font-weight: 600;
    box-shadow: var(--shadow-dark);
}

.enchant-badge i {
    color: var(--red-accent);
    font-size: 1.2rem;
}

.enchant-badge strong {
    color: var(--gold-accent);
    font-size: 1.1rem;
}

.hero-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.9rem 2rem;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    border: 1px solid;
    letter-spacing: 0.5px;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -130%;
    width: 55%;
    height: 100%;
    background: linear-gradient(100deg, transparent, rgba(255, 255, 255, 0.22), transparent);
    transform: skewX(-20deg);
    transition: left 0.55s ease;
    pointer-events: none;
}

.btn:hover::before {
    left: 135%;
}

.btn-primary {
    background: linear-gradient(135deg, var(--red-primary) 0%, var(--red-accent) 100%);
    color: white;
    border-color: var(--red-accent);
    box-shadow: 0 4px 15px rgba(220, 20, 60, 0.4);
}

.btn-primary:hover {
    box-shadow: 0 6px 25px rgba(220, 20, 60, 0.6);
    transform: translateY(-3px);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(20, 20, 30, 0.8) 100%);
    color: var(--gold-primary);
    border-color: var(--border-color);
}

.btn-secondary:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.3) 0%, rgba(20, 20, 30, 0.9) 100%);
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.btn-forum {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.2) 0%, rgba(20, 20, 30, 0.8) 100%);
    color: #22c55e;
    border-color: rgba(34, 197, 94, 0.5);
}

.btn-forum:hover {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.3) 0%, rgba(20, 20, 30, 0.9) 100%);
    border-color: #22c55e;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.3);
    transform: translateY(-3px);
}

.btn-large {
    padding: 1rem 2.5rem;
    font-size: 1.1rem;
}

.hero-stats {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2rem;
    flex-wrap: wrap;
    background: rgba(20, 20, 30, 0.6);
    padding: 1.5rem 2rem;
    border: 1px solid var(--border-color);
    border-radius: 4px;
    backdrop-filter: blur(10px);
}

.hero-stat {
    text-align: center;
}

.stat-number {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--gold-primary);
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.stat-label {
    font-size: 0.85rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.hero-stat-divider {
    width: 1px;
    height: 40px;
    background: linear-gradient(to bottom, transparent, var(--border-color), transparent);
}

.hero-scroll {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
}

.scroll-indicator {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

.scroll-indicator:hover {
    color: var(--gold-primary);
}

/* Sections */
.section {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.rates-section {
    background: linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.features-section {
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-tertiary));
}

.raids-section {
    background: linear-gradient(to bottom, var(--bg-tertiary), var(--bg-secondary));
}

.commands-section {
    background: linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid var(--border-color);
    padding: 0.5rem 1.3rem;
    border-radius: 50px;
    color: var(--gold-primary);
    font-weight: 600;
    margin-bottom: 1rem;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2.8rem;
    font-weight: 800;
    margin-bottom: 0.8rem;
    letter-spacing: 2px;
    background: linear-gradient(180deg, #ffffff 0%, #e8e8ee 45%, #b6b6c4 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 110px;
    height: 2px;
    margin: 1.1rem auto 0;
    background: linear-gradient(90deg, transparent, var(--gold-primary) 35%, var(--gold-accent) 50%, var(--gold-primary) 65%, transparent);
    opacity: 0.85;
}

.section-title--left::after {
    margin-left: 0;
}

.section-subtitle--left {
    max-width: 48ch;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

/* Rates Grid */
.rates-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.rate-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
}

.rate-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.9), 0 0 20px rgba(212, 175, 55, 0.2);
}

.rate-card-header {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.2) 0%, transparent 100%);
    padding: 1rem 1.5rem;
    border-bottom: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    gap: 0.7rem;
}

.rate-card-header i {
    color: var(--gold-primary);
    font-size: 1.3rem;
}

.rate-card-header h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.3rem;
    color: var(--text-primary);
}

.rate-items {
    padding: 1rem 1.5rem;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.rate-item:last-child {
    border-bottom: none;
}

.rate-label {
    color: var(--text-secondary);
}

.rate-value {
    color: var(--gold-primary);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Enchant Section */
.enchant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.enchant-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    overflow: hidden;
    box-shadow: var(--shadow-dark);
}

.enchant-card h4 {
    background: linear-gradient(90deg, rgba(139, 0, 0, 0.3) 0%, transparent 100%);
    padding: 0.8rem 1.5rem;
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    border-bottom: 1px solid var(--border-color);
}

.enchant-items {
    padding: 1rem 1.5rem;
}

.enchant-item {
    display: flex;
    justify-content: space-between;
    padding: 0.7rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.enchant-item:last-child {
    border-bottom: none;
}

.enchant-value {
    color: var(--text-primary);
    font-weight: 700;
}

.enchant-value.success {
    color: var(--success);
}

/* Party Bonus */
.party-bonus-container {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    padding: 2rem;
    box-shadow: var(--shadow-dark);
}

.party-bonus-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1rem;
}

.party-bonus-item {
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    padding: 1rem;
    text-align: center;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.party-bonus-item.active {
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.3);
}

.party-bonus-item:hover {
    border-color: var(--border-color-hover);
    transform: scale(1.05);
}

.party-size {
    display: block;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    font-size: 0.9rem;
}

.party-rate {
    display: block;
    color: var(--gold-primary);
    font-size: 1.5rem;
    font-weight: 800;
    font-family: 'Cinzel', serif;
}

/* Features Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    border-radius: 4px;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
    display: flex;
    align-items: flex-start;
    gap: 1rem;
}

.feature-card:hover {
    border-color: var(--border-color-hover);
    transform: translateX(5px);
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.9), 0 0 15px rgba(212, 175, 55, 0.2);
}

.feature-icon {
    width: 50px;
    height: 50px;
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.2) 0%, rgba(139, 0, 0, 0.2) 100%);
    border: 1px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    color: var(--gold-primary);
    font-size: 1.3rem;
}

.feature-title {
    color: var(--gold-primary);
    font-family: 'Cinzel', serif;
    font-size: 1.2rem;
    margin-bottom: 0.3rem;
}

.feature-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Subsections */
.subsection {
    margin-top: 3rem;
}

.subsection-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.subsection-title i {
    color: var(--gold-primary);
}

/* Raids Grid */
.raids-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1rem;
}

.raid-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
    position: relative;
    overflow: hidden;
}

.raid-card.epic {
    border-color: rgba(139, 0, 0, 0.6);
}

.raid-card.epic::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(to bottom, var(--red-accent, var(--red-primary)));
}

.raid-card:hover {
    border-color: var(--border-color-hover);
    transform: translateX(5px);
}

.raid-name {
    color: var(--text-primary);
    font-weight: 600;
    font-family: 'Cinzel', serif;
}

.raid-time {
    color: var(--gold-primary);
    font-weight: 600;
}

.raid-badge {
    position: absolute;
    top: 0.3rem;
    right: 0.3rem;
    background: var(--red-primary);
    color: white;
    padding: 0.1rem 0.4rem;
    font-size: 0.7rem;
    font-weight: 700;
    border-radius: 2px;
}

/* Instances Grid */
.instances-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(290px, 1fr));
    gap: 1rem;
}

.instance-card {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 1.2rem 1.5rem;
    border-radius: 4px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
}

.instance-card:hover {
    border-color: var(--border-color-hover);
    transform: translateX(5px);
}

.instance-name {
    color: var(--text-primary);
    font-weight: 600;
}

.instance-players {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--gold-primary);
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.instance-name {
    padding-right: 0.75rem;
}

/* Commands Grid */
.commands-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 0.8rem;
}

.command-item {
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    padding: 0.9rem 1.3rem;
    border-radius: 4px;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-dark);
}

.command-item:hover {
    border-color: var(--border-color-hover);
    background: rgba(212, 175, 55, 0.05);
}

.command-name {
    color: var(--gold-primary);
    font-family: 'Courier New', monospace;
    font-weight: 700;
    font-size: 0.95rem;
}

.command-desc {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

/* Download Section */
.download-section {
    background:
        radial-gradient(ellipse at 82% 0%, rgba(212, 175, 55, 0.09) 0%, transparent 55%),
        linear-gradient(to bottom, var(--bg-secondary), var(--bg-primary));
}

.download-grid {
    display: grid;
    grid-template-columns: 1.1fr 1fr 1fr;
    gap: 1.5rem;
    align-items: stretch;
}

.download-card {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding: 2rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-dark);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.download-card:hover {
    border-color: var(--border-color-hover);
    transform: translateY(-4px);
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.9), 0 0 22px rgba(212, 175, 55, 0.18);
}

.download-card.main {
    border-color: rgba(212, 175, 55, 0.55);
    background: linear-gradient(160deg, rgba(212, 175, 55, 0.12) 0%, rgba(10, 10, 15, 0.95) 55%);
}

.download-card.main::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 85% 8%, rgba(212, 175, 55, 0.18), transparent 55%);
    pointer-events: none;
}

.download-icon {
    width: 64px;
    height: 64px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: var(--gold-primary);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.2), rgba(10, 10, 15, 0.9));
    border: 1px solid var(--border-color);
    box-shadow: var(--shadow-gold);
    position: relative;
}

.download-icon.small {
    width: 52px;
    height: 52px;
    font-size: 1.2rem;
    box-shadow: none;
}

.download-card h3 {
    font-family: 'Cinzel', serif;
    font-size: 1.28rem;
    color: var(--text-primary);
    position: relative;
}

.download-card p {
    color: var(--text-secondary);
    font-size: 0.92rem;
    position: relative;
}

.download-list,
.req-list,
.guide-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.55rem;
    color: var(--text-secondary);
    font-size: 0.9rem;
    position: relative;
}

.download-list li {
    display: flex;
    align-items: center;
    gap: 0.6rem;
}

.download-list i {
    color: var(--success);
    font-size: 0.85rem;
}

.req-list li {
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

.req-list li:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.req-list strong {
    color: var(--gold-secondary);
    font-weight: 600;
}

.guide-list {
    counter-reset: step;
}

.guide-list li {
    position: relative;
    padding-left: 2rem;
}

.guide-list li::before {
    counter-increment: step;
    content: counter(step);
    position: absolute;
    left: 0;
    top: 0.05rem;
    width: 1.35rem;
    height: 1.35rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.72rem;
    font-weight: 700;
    color: var(--gold-primary);
    border: 1px solid var(--border-color);
}

.guide-list a {
    color: var(--gold-primary);
    text-decoration: none;
}

.guide-list a:hover {
    color: var(--gold-accent);
}

.btn-download {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.18) 0%, rgba(20, 20, 30, 0.85) 100%);
    color: var(--gold-secondary);
    border-color: var(--border-color);
}

.btn-download:hover {
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.32) 0%, rgba(20, 20, 30, 0.95) 100%);
    border-color: var(--gold-primary);
    box-shadow: 0 0 20px rgba(212, 175, 55, 0.3);
    transform: translateY(-3px);
}

.btn-download-large {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.55rem;
    margin-top: auto;
    padding: 1rem 1.6rem;
    border: 1px solid var(--gold-primary);
    background: linear-gradient(135deg, rgba(212, 175, 55, 0.92) 0%, rgba(245, 217, 139, 0.92) 100%);
    color: #1a1405;
    font-size: 1rem;
    font-weight: 800;
    letter-spacing: 0.4px;
    text-decoration: none;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.btn-download-large:hover {
    box-shadow: 0 8px 30px rgba(212, 175, 55, 0.45);
    transform: translateY(-3px);
}

.download-size {
    color: var(--text-secondary);
    font-size: 0.82rem;
    letter-spacing: 0.08em;
    text-align: center;
    position: relative;
}

.btn.small {
    padding: 0.7rem 1.2rem;
    font-size: 0.88rem;
    margin-top: auto;
}

/* Vote Section */
.vote-section {
    background:
        radial-gradient(ellipse at 15% 0%, rgba(139, 0, 0, 0.18) 0%, transparent 55%),
        linear-gradient(to bottom, var(--bg-primary), var(--bg-secondary));
}

.vote-sites {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
}

.vote-site {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.05rem 1.1rem;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    text-decoration: none;
    position: relative;
    overflow: hidden;
    transition: border-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
}

.vote-site::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 100% 0%, rgba(212, 175, 55, 0.16), transparent 60%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.vote-site:hover {
    border-color: rgba(212, 175, 55, 0.55);
    transform: translateY(-3px);
    box-shadow: 0 18px 40px rgba(0, 0, 0, 0.55);
}

.vote-site:hover::before {
    opacity: 1;
}

.vote-site-mark {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    display: grid;
    place-items: center;
    font-family: 'Cinzel', serif;
    font-size: 0.92rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--gold-secondary);
    border: 1px solid rgba(212, 175, 55, 0.4);
    background: radial-gradient(circle, rgba(212, 175, 55, 0.16), transparent 72%);
}

.vote-site-body {
    display: flex;
    flex-direction: column;
    gap: 0.18rem;
    min-width: 0;
}

.vote-site-body strong {
    font-family: 'Cinzel', serif;
    font-size: 0.98rem;
    letter-spacing: 0.6px;
    color: var(--text-primary);
}

.vote-site-body span {
    font-size: 0.72rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.vote-site-cta {
    margin-left: auto;
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.66rem;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: var(--gold-secondary);
    white-space: nowrap;
}

.vote-site-cta i {
    font-size: 0.68rem;
    transition: transform 0.25s ease;
}

.vote-site:hover .vote-site-cta i {
    transform: translateX(4px);
}

.vote-rewards {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1rem;
    margin-top: 1rem;
}

.vote-reward {
    display: flex;
    gap: 0.9rem;
    align-items: flex-start;
    padding: 1rem 1.1rem;
    background: rgba(20, 20, 30, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.06);
}

.vote-reward i {
    color: var(--gold-primary);
    font-size: 1.2rem;
    margin-top: 0.15rem;
}

.vote-reward strong {
    display: block;
    font-family: 'Cinzel', serif;
    font-size: 0.98rem;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

.vote-reward span {
    color: var(--text-secondary);
    font-size: 0.85rem;
}

.vote-footnote {
    display: flex;
    align-items: flex-start;
    gap: 0.55rem;
    margin-top: 1.2rem;
    color: var(--text-secondary);
    font-size: 0.82rem;
    line-height: 1.6;
}

.vote-footnote i {
    color: rgba(212, 175, 55, 0.75);
    margin-top: 0.22rem;
}

/* CTA Section */
.cta-section {
    padding: 4rem 0;
    background:
        radial-gradient(ellipse at 50% 0%, rgba(139, 0, 0, 0.38) 0%, transparent 62%),
        linear-gradient(180deg, var(--bg-secondary) 0%, #050508 100%);
    position: relative;
    z-index: 1;
    text-align: center;
}

.cta-content {
    max-width: 600px;
    margin: 0 auto;
}

.cta-title {
    font-family: 'Cinzel', serif;
    font-size: 2.5rem;
    font-weight: 800;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.9);
}

.cta-slogan {
    display: flex;
    justify-content: center;
    gap: 1.5rem;
    flex-wrap: wrap;
    margin-bottom: 2rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--gold-secondary);
}

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1.5rem;
}

.cta-domain {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(20, 20, 30, 0.8);
    padding: 0.6rem 1.5rem;
    border: 1px solid var(--border-color);
    color: var(--gold-primary);
    font-weight: 600;
    border-radius: 4px;
}

/* Footer */
.footer {
    background: var(--bg-primary);
    border-top: 1px solid var(--border-color);
    padding: 3rem 0 1.5rem;
    position: relative;
    z-index: 1;
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 2rem;
}

.footer-logo .brand {
    gap: 0.65rem;
}

.footer-description {
    color: var(--text-secondary);
    margin: 1rem 0;
    line-height: 1.6;
}

.footer-social {
    display: flex;
    gap: 0.8rem;
}

.social-link {
    width: 40px;
    height: 40px;
    background: rgba(20, 20, 30, 0.8);
    border: 1px solid var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    text-decoration: none;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.social-link:hover {
    color: var(--gold-primary);
    border-color: var(--gold-primary);
    background: rgba(212, 175, 55, 0.1);
}

.footer-heading {
    color: var(--text-primary);
    font-family: 'Cinzel', serif;
    margin-bottom: 1rem;
    font-size: 1.2rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.6rem;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s ease;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--gold-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.footer-note {
    margin-top: 0.3rem;
    font-size: 0.8rem;
    opacity: 0.7;
}

/* Responsive Design */
@media (max-width: 968px) {
    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background: #0a0a0f;
        backdrop-filter: blur(18px) saturate(1.2);
        -webkit-backdrop-filter: blur(18px) saturate(1.2);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        box-shadow: 0 10px 27px rgba(0, 0, 0, 0.05);
        padding: 2rem 0;
        gap: 1.5rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .hero-title {
        font-size: 3rem;
    }

    .hero-slogan {
        font-size: 1.1rem;
        gap: 1rem;
    }

    .slogan-word:not(:last-child)::after {
        display: none;
    }

    .hero-enchant-info {
        flex-direction: column;
        align-items: center;
    }

    .hero-stats {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-stat-divider {
        width: 60px;
        height: 1px;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .vote-sites {
        grid-template-columns: 1fr 1fr;
    }

    .vote-rewards {
        grid-template-columns: 1fr;
    }

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

    .download-card.main {
        grid-column: 1 / -1;
    }
}

@media (max-width: 640px) {
    .container {
        padding: 0 1rem;
    }

    .nav-container {
        padding: 0 1rem;
    }

    .hero-title {
        font-size: 2.5rem;
        letter-spacing: 2px;
    }

    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .section {
        padding: 3rem 0;
    }

    .rates-grid,
    .features-grid,
    .raids-grid,
    .instances-grid {
        grid-template-columns: 1fr;
    }

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

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

    .cta-slogan {
        flex-direction: column;
        gap: 0.5rem;
    }

    .cta-buttons {
        flex-direction: column;
    }

    .hero {
        padding: 110px 0 80px;
        background:
            radial-gradient(ellipse 95% 50% at 50% 16%, rgba(10, 10, 15, 0.02) 0%, rgba(10, 10, 15, 0.5) 70%, rgba(10, 10, 15, 0.9) 100%),
            linear-gradient(180deg, rgba(10, 10, 15, 0.28) 0%, rgba(10, 10, 15, 0.72) 100%),
            url('../assets/hero-bg.jpg') center 38%/cover no-repeat;
    }

    .hero-emblem img {
        width: 116px;
        height: 116px;
    }

    .brand-sub {
        display: none;
    }

    .brand-name {
        font-size: 1.15rem;
        letter-spacing: 1.5px;
    }

    .vote-sites {
        grid-template-columns: 1fr;
    }

    .vote-rewards {
        grid-template-columns: 1fr;
    }

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

    .download-card {
        padding: 1.5rem;
    }

}

/* Session nav (injected by forum/auth.js) */
.nav-link.nav-user {
    color: var(--gold-secondary);
    max-width: 190px;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-link.nav-user i,
.nav-link.nav-admin i {
    color: var(--gold-primary);
}

.nav-link.nav-admin {
    color: var(--gold-accent);
}

.nav-link.nav-signout {
    color: var(--text-secondary);
}

.nav-link.nav-signout:hover {
    color: var(--red-accent);
}

.nav-menu.has-session {
    gap: 1rem;
}

@media (min-width: 969px) and (max-width: 1320px) {
    .nav-link.nav-signout span {
        display: none;
    }
}

@media (max-width: 968px) {
    .nav-menu {
        max-height: calc(100vh - 70px);
        overflow-y: auto;
    }
}

/* ============================================
   Coming Soon launch modal
   ============================================ */
.launch-modal {
    position: fixed;
    inset: 0;
    z-index: 3000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: clamp(0.85rem, 4vw, 2rem);
}

.launch-modal.is-open {
    display: flex;
}

body.launch-open {
    overflow: hidden;
}

.launch-backdrop {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse 80% 60% at 50% 0%, rgba(212, 175, 55, 0.1), transparent 65%),
        rgba(4, 4, 8, 0.88);
    -webkit-backdrop-filter: blur(10px) saturate(0.85);
    backdrop-filter: blur(10px) saturate(0.85);
    animation: launchFade 0.4s ease both;
}

.launch-card {
    position: relative;
    z-index: 1;
    width: min(560px, 100%);
    max-height: calc(100vh - 2rem);
    max-height: calc(100dvh - 2rem);
    overflow-y: auto;
    text-align: center;
    padding: clamp(1.9rem, 4.2vw, 2.8rem) clamp(1.2rem, 4vw, 2.6rem) clamp(1.35rem, 3vw, 1.9rem);
    background:
        radial-gradient(ellipse 100% 75% at 50% -20%, rgba(212, 175, 55, 0.16), transparent 62%),
        linear-gradient(165deg, rgba(23, 23, 34, 0.98) 0%, rgba(10, 10, 16, 0.99) 55%, rgba(8, 8, 13, 1) 100%);
    border: 1px solid rgba(212, 175, 55, 0.38);
    border-radius: 8px;
    box-shadow:
        0 34px 90px rgba(0, 0, 0, 0.85),
        0 0 70px rgba(212, 175, 55, 0.14),
        inset 0 1px 0 rgba(255, 255, 255, 0.07);
    animation: launchCardIn 0.65s cubic-bezier(0.16, 0.84, 0.32, 1) both;
    scrollbar-width: thin;
}

.launch-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 12%;
    right: 12%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 231, 150, 0.9), transparent);
}

.launch-close {
    position: absolute;
    top: 0.75rem;
    right: 0.75rem;
    z-index: 2;
    width: 36px;
    height: 36px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    background: rgba(212, 175, 55, 0.06);
    border: 1px solid rgba(212, 175, 55, 0.25);
    border-radius: 50%;
    color: var(--gold-primary);
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.25s ease;
}

.launch-close:hover {
    background: rgba(212, 175, 55, 0.16);
    border-color: var(--gold-primary);
    color: var(--gold-accent);
    transform: rotate(90deg);
}

.launch-emblem {
    display: flex;
    justify-content: center;
    margin-bottom: 1.05rem;
}

.launch-emblem img {
    width: clamp(84px, 22vw, 108px);
    height: auto;
    filter: drop-shadow(0 0 26px rgba(212, 175, 55, 0.45)) drop-shadow(0 12px 26px rgba(0, 0, 0, 0.9));
    animation: launchEmblem 6s ease-in-out infinite;
}

.launch-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.32rem 0.95rem;
    margin-bottom: 1.1rem;
    border: 1px solid rgba(212, 175, 55, 0.35);
    border-radius: 50px;
    background: rgba(212, 175, 55, 0.08);
    color: var(--gold-secondary);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2.4px;
    text-transform: uppercase;
}

.launch-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: var(--gold-accent);
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.6);
    animation: launchDot 2.2s ease-out infinite;
}

.launch-title {
    font-family: 'Cinzel', serif;
    font-weight: 800;
    font-size: clamp(2rem, 6.2vw, 3.05rem);
    line-height: 1.05;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    margin-bottom: 0.55rem;
    background: var(--gold-gradient);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 4px 14px rgba(212, 175, 55, 0.22));
}

.launch-sub {
    color: var(--text-secondary);
    font-size: 0.82rem;
    letter-spacing: 3px;
    text-transform: uppercase;
}

.launch-divider {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.65rem;
    width: min(280px, 80%);
    margin: 1.3rem auto 1.15rem;
    color: var(--gold-primary);
    font-size: 0.62rem;
}

.launch-divider span {
    flex: 1;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.55));
}

.launch-divider span:last-child {
    background: linear-gradient(90deg, rgba(212, 175, 55, 0.55), transparent);
}

.launch-divider i {
    opacity: 0.85;
}

.launch-text {
    max-width: 44ch;
    margin: 0 auto 1.55rem;
    color: var(--text-secondary);
    font-size: 0.98rem;
    line-height: 1.75;
}

.launch-text strong {
    color: var(--gold-secondary);
    font-weight: 600;
}

.launch-actions {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 1.25rem;
}

.launch-actions .btn {
    flex: 1 1 200px;
    max-width: 240px;
    justify-content: center;
    padding: 0.82rem 1.35rem;
    font-size: 0.95rem;
}

.launch-actions .btn-discord {
    flex: 1 1 100%;
    max-width: none;
    padding: 0.7rem 1.35rem;
    font-size: 0.9rem;
}

.btn-launch {
    background: var(--gold-gradient);
    color: #17120a;
    border-color: #f7e9b6;
    box-shadow: 0 8px 26px rgba(212, 175, 55, 0.32);
}

.btn-launch:hover {
    background: linear-gradient(180deg, #fffbe8 0%, #efd77f 38%, #d2a63f 62%, #fbeec3 100%);
    box-shadow: 0 12px 34px rgba(212, 175, 55, 0.48);
    transform: translateY(-3px);
}

.btn-discord {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.26) 0%, rgba(20, 20, 30, 0.85) 100%);
    color: #b9c0ff;
    border-color: rgba(88, 101, 242, 0.5);
}

.btn-discord:hover {
    background: linear-gradient(135deg, rgba(88, 101, 242, 0.4) 0%, rgba(20, 20, 30, 0.95) 100%);
    color: #d7dbff;
    border-color: #5865f2;
    box-shadow: 0 0 22px rgba(88, 101, 242, 0.32);
    transform: translateY(-3px);
}

.launch-note {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: rgba(160, 160, 160, 0.85);
    font-size: 0.76rem;
    letter-spacing: 0.3px;
}

.launch-note i {
    color: var(--gold-primary);
    opacity: 0.8;
}

@keyframes launchCardIn {
    from { opacity: 0; transform: translateY(26px) scale(0.96); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes launchFade {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes launchEmblem {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-7px); }
}

@keyframes launchDot {
    0% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.55); }
    70% { box-shadow: 0 0 0 9px rgba(255, 215, 0, 0); }
    100% { box-shadow: 0 0 0 0 rgba(255, 215, 0, 0); }
}

@media (max-width: 520px) {
    .launch-modal {
        padding: 0.7rem;
    }

    .launch-card {
        max-height: calc(100vh - 1.4rem);
        max-height: calc(100dvh - 1.4rem);
        padding: 1.6rem 1.1rem 1.2rem;
    }

    .launch-close {
        top: 0.55rem;
        right: 0.55rem;
        width: 32px;
        height: 32px;
    }

    .launch-actions {
        gap: 0.6rem;
    }

    .launch-actions .btn {
        flex-basis: 100%;
        max-width: none;
    }

    .launch-text {
        font-size: 0.93rem;
    }

    .launch-note {
        font-size: 0.7rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .launch-card,
    .launch-backdrop,
    .launch-emblem img,
    .launch-dot {
        animation: none !important;
    }
}
