/* ==========================================================================
   MADAGASKAR SURVIVAL (madagaskar.space) - Core Stylesheet
   Modern, Dark Mode, Tropical Emerald Theme, Glassmorphism, Micro-Animations
   ========================================================================== */

/* --- CSS Variables / Design Tokens --- */
:root {
    --bg-main: #090e0b;
    --bg-secondary: #0f1812;
    --bg-card: rgba(16, 26, 19, 0.75);
    --bg-card-hover: rgba(22, 38, 27, 0.88);
    --bg-glass-nav: rgba(9, 14, 11, 0.85);

    --border-subtle: rgba(255, 255, 255, 0.08);
    --border-accent: rgba(16, 185, 129, 0.35);
    --border-gold: rgba(245, 158, 11, 0.4);

    --primary: #10b981;
    --primary-light: #34d399;
    --primary-dark: #059669;
    --primary-glow: rgba(16, 185, 129, 0.35);

    --accent-gold: #f59e0b;
    --accent-gold-light: #fbbf24;
    --accent-discord: #5865F2;
    --accent-discord-hover: #4752c4;

    --text-primary: #f8fafc;
    --text-secondary: #cbd5e1;
    --text-muted: #94a3b8;
    --text-dark: #090e0b;

    --font-heading: 'Plus Jakarta Sans', system-ui, -apple-system, sans-serif;
    --font-body: 'Outfit', system-ui, -apple-system, sans-serif;

    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --radius-xl: 28px;
    --radius-full: 9999px;

    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-md: 0 10px 30px rgba(0, 0, 0, 0.35);
    --shadow-lg: 0 20px 50px rgba(0, 0, 0, 0.55);
    --shadow-glow: 0 0 35px var(--primary-glow);

    --transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-slow: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

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

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

img {
    max-width: 100%;
    height: auto;
    display: block;
}

a {
    color: var(--primary-light);
    text-decoration: none;
    transition: var(--transition);
}

a:hover {
    color: #fff;
}

ul, ol {
    list-style: none;
}

button {
    cursor: pointer;
    border: none;
    background: none;
    font-family: inherit;
}

.container {
    width: 100%;
    max-width: 1240px;
    margin: 0 auto;
    padding: 0 24px;
}

.text-center { text-align: center; }
.mb-4 { margin-bottom: 1.5rem; }
.mb-5 { margin-bottom: 2.5rem; }
.text-muted { color: var(--text-muted); }

/* --- Ambient Glows --- */
.ambient-glow {
    position: fixed;
    border-radius: 50%;
    pointer-events: none;
    z-index: 0;
    filter: blur(120px);
    opacity: 0.18;
    mix-blend-mode: screen;
}

.glow-top {
    top: -200px;
    left: 20%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--primary) 0%, transparent 70%);
}

.glow-mid {
    top: 50%;
    right: -150px;
    width: 500px;
    height: 500px;
    background: radial-gradient(circle, var(--accent-gold) 0%, transparent 70%);
}

/* --- Top Announcement Bar --- */
.top-announcement {
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(245, 158, 11, 0.15));
    border-bottom: 1px solid var(--border-subtle);
    padding: 8px 0;
    font-size: 0.85rem;
    position: relative;
    z-index: 100;
}

.announcement-inner {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    flex-wrap: wrap;
}

.announcement-pill {
    background: var(--primary);
    color: #052e16;
    font-weight: 800;
    font-size: 0.7rem;
    padding: 2px 8px;
    border-radius: var(--radius-full);
    letter-spacing: 0.05em;
}

.announcement-link {
    color: var(--accent-gold-light);
    font-weight: 600;
}

.announcement-link:hover {
    text-decoration: underline;
}

/* --- Site Header & Navbar --- */
.site-header {
    position: sticky;
    top: 0;
    z-index: 999;
    background: var(--bg-glass-nav);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border-subtle);
    transition: var(--transition);
}

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

/* Logo */
.brand-logo {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    color: #fff;
}

.logo-cube {
    width: 36px;
    height: 36px;
    position: relative;
    transform: rotateX(60deg) rotateZ(-45deg);
    transform-style: preserve-3d;
    transition: transform 0.4s ease;
}

.brand-logo:hover .logo-cube {
    transform: rotateX(60deg) rotateZ(135deg) scale(1.1);
}

.cube-face {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 4px;
}

.face-top {
    background: #10b981;
    transform: translateZ(18px);
    box-shadow: inset 0 0 8px rgba(255,255,255,0.4);
}

.face-left {
    background: #059669;
    transform: rotateY(-90deg) translateZ(18px);
}

.face-right {
    background: #047857;
    transform: rotateX(-90deg) translateZ(18px);
}

.logo-spark {
    position: absolute;
    top: -12px;
    right: -12px;
    font-size: 14px;
    transform: rotate(45deg);
    pointer-events: none;
}

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

.brand-name {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.25rem;
    letter-spacing: -0.02em;
    color: #fff;
    line-height: 1.1;
}

.brand-accent {
    color: var(--primary-light);
}

.brand-sub {
    font-size: 0.65rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: var(--accent-gold-light);
}

/* Main Nav */
.main-nav .nav-list {
    display: flex;
    align-items: center;
    gap: 8px;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.95rem;
    padding: 8px 16px;
    border-radius: var(--radius-full);
    transition: var(--transition);
}

.nav-link:hover, .nav-link.active {
    color: #fff;
    background: rgba(255, 255, 255, 0.06);
}

.nav-link.active {
    color: var(--primary-light);
    font-weight: 600;
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 14px;
}

.header-status-pill {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 26, 19, 0.8);
    border: 1px solid var(--border-accent);
    padding: 6px 14px;
    border-radius: var(--radius-full);
    font-size: 0.85rem;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.1);
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    display: inline-block;
}

.status-indicator.online {
    background: #10b981;
    box-shadow: 0 0 10px #10b981, 0 0 20px #10b981;
    animation: statusPulse 2s infinite ease-in-out;
}

.status-indicator.offline {
    background: #ef4444;
    box-shadow: 0 0 10px #ef4444;
}

@keyframes statusPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.mobile-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    width: 32px;
    height: 24px;
    justify-content: center;
}

.mobile-toggle span {
    width: 100%;
    height: 2px;
    background-color: #fff;
    border-radius: 2px;
    transition: var(--transition);
}

/* --- Buttons --- */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-weight: 600;
    padding: 12px 24px;
    border-radius: var(--radius-full);
    transition: var(--transition);
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-sm {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn-lg {
    padding: 15px 32px;
    font-size: 1.05rem;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
    color: #fff;
    box-shadow: 0 6px 20px var(--primary-glow);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(16, 185, 129, 0.45);
    color: #fff;
}

.btn-discord {
    background-color: var(--accent-discord);
    color: #fff;
    box-shadow: 0 6px 20px rgba(88, 101, 242, 0.3);
}

.btn-discord:hover {
    background-color: var(--accent-discord-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 28px rgba(88, 101, 242, 0.45);
    color: #fff;
}

.btn-outline {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    color: var(--text-primary);
}

.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.btn-glass {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid var(--border-accent);
    color: var(--primary-light);
}

.btn-glass:hover {
    background: rgba(16, 185, 129, 0.2);
    color: #fff;
    transform: translateY(-2px);
}

.btn-full {
    width: 100%;
}

/* --- HERO SECTION --- */
.hero-section {
    position: relative;
    min-height: 88vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 80px 0 60px;
    overflow: hidden;
}

.hero-backdrop {
    position: absolute;
    inset: 0;
    background-size: cover;
    background-position: center;
    z-index: 1;
    transform: scale(1.03);
    filter: brightness(0.72) saturate(1.15);
    transition: transform 12s ease-out;
}

.hero-section:hover .hero-backdrop {
    transform: scale(1.06);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(9, 14, 11, 0.4) 0%, rgba(9, 14, 11, 0.88) 75%, var(--bg-main) 100%),
                linear-gradient(to bottom, transparent 60%, var(--bg-main) 100%);
    z-index: 2;
}

.hero-container {
    position: relative;
    z-index: 3;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.hero-badge-wrap {
    margin-bottom: 24px;
}

.hero-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(16, 26, 19, 0.75);
    border: 1px solid var(--border-accent);
    padding: 6px 18px;
    border-radius: var(--radius-full);
    backdrop-filter: blur(10px);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    color: var(--primary-light);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
}

.badge-dot {
    width: 4px;
    height: 4px;
    background-color: var(--accent-gold);
    border-radius: 50%;
}

.badge-version {
    color: var(--text-secondary);
}

.hero-title {
    font-family: var(--font-heading);
    font-size: clamp(2.5rem, 6vw, 4.2rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.03em;
    margin-bottom: 24px;
    max-width: 900px;
}

.gradient-text {
    background: linear-gradient(135deg, #ffffff 10%, #34d399 55%, #fbbf24 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    display: inline-block;
}

.hero-subtitle {
    font-size: clamp(1rem, 2vw, 1.25rem);
    color: var(--text-secondary);
    max-width: 720px;
    margin-bottom: 40px;
    font-weight: 400;
}

/* Big IP Card */
.hero-ip-card {
    display: flex;
    align-items: center;
    background: rgba(13, 22, 16, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.35);
    border-radius: var(--radius-xl);
    padding: 16px 28px;
    backdrop-filter: blur(24px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.15);
    gap: 32px;
    margin-bottom: 36px;
    transition: var(--transition);
}

.hero-ip-card:hover {
    border-color: var(--primary);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 45px rgba(16, 185, 129, 0.25);
    transform: translateY(-2px);
}

.ip-info {
    text-align: left;
}

.ip-label {
    display: block;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 4px;
}

.ip-display {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
    user-select: none;
}

.ip-address {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
}

.ip-copy-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(16, 185, 129, 0.18);
    color: var(--primary-light);
    border: 1px solid var(--border-accent);
    padding: 4px 12px;
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    transition: var(--transition);
}

.ip-display:hover .ip-copy-tag {
    background: var(--primary);
    color: #052e16;
}

.ip-stats-divider {
    width: 1px;
    height: 50px;
    background: var(--border-subtle);
}

.ip-online-stat {
    display: flex;
    align-items: center;
    gap: 14px;
    text-align: left;
}

.pulse-ring-container {
    position: relative;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pulse-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.pulse-indicator.online {
    background: #10b981;
    box-shadow: 0 0 12px #10b981;
    animation: ping 2s cubic-bezier(0, 0, 0.2, 1) infinite;
}

@keyframes ping {
    75%, 100% {
        transform: scale(2.2);
        opacity: 0;
    }
}

.stat-num {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 800;
    color: #fff;
    line-height: 1;
}

.stat-max {
    font-size: 0.95rem;
    color: var(--text-muted);
}

.stat-caption {
    font-size: 0.75rem;
    color: var(--text-secondary);
    display: block;
    margin-top: 3px;
}

.hero-cta-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 50px;
}

/* Highlights below Hero */
.hero-highlights {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    width: 100%;
    max-width: 1000px;
}

.highlight-item {
    display: flex;
    align-items: center;
    gap: 14px;
    background: rgba(16, 26, 19, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    text-align: left;
    backdrop-filter: blur(12px);
    transition: var(--transition);
}

.highlight-item:hover {
    border-color: var(--border-accent);
    transform: translateY(-3px);
    background: rgba(22, 38, 27, 0.7);
}

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

.highlight-meta strong {
    display: block;
    font-size: 0.95rem;
    color: #fff;
}

.highlight-meta span {
    font-size: 0.75rem;
    color: var(--text-muted);
}

/* --- SERVER STATUS BAR SECTION --- */
.server-status-bar-section {
    position: relative;
    z-index: 5;
    margin-top: -30px;
    margin-bottom: 40px;
}

.status-bar-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: linear-gradient(90deg, rgba(16, 26, 19, 0.95), rgba(11, 20, 14, 0.95));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 16px 28px;
    box-shadow: var(--shadow-md);
    flex-wrap: wrap;
    gap: 16px;
}

.status-motd {
    display: flex;
    align-items: center;
    gap: 16px;
}

.motd-badge {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-light);
    border: 1px solid var(--border-accent);
    font-size: 0.7rem;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: var(--radius-sm);
    letter-spacing: 0.05em;
}

.motd-lines {
    display: flex;
    flex-direction: column;
}

.motd-line1 {
    font-weight: 700;
    font-size: 1rem;
    color: #fff;
}

.motd-sub {
    font-size: 0.8rem;
    color: var(--text-muted);
}

/* --- SECTIONS COMMON --- */
.section {
    padding: 90px 0;
    position: relative;
    z-index: 2;
}

.section-head {
    max-width: 680px;
    margin: 0 auto 56px;
}

.section-tag {
    display: inline-block;
    color: var(--primary-light);
    font-size: 0.8rem;
    font-weight: 800;
    letter-spacing: 0.15em;
    margin-bottom: 12px;
}

.section-title {
    font-family: var(--font-heading);
    font-size: clamp(2rem, 3.5vw, 2.8rem);
    font-weight: 800;
    line-height: 1.15;
    color: #fff;
    margin-bottom: 16px;
    letter-spacing: -0.02em;
}

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

/* --- FEATURES GRID --- */
.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.feature-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 36px 30px;
    backdrop-filter: blur(16px);
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: var(--transition);
}

.feature-card:hover {
    transform: translateY(-6px);
    border-color: var(--border-accent);
    background: var(--bg-card-hover);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.4), 0 0 25px rgba(16, 185, 129, 0.1);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-box {
    width: 60px;
    height: 60px;
    border-radius: var(--radius-md);
    background: rgba(16, 185, 129, 0.12);
    border: 1px solid var(--border-accent);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--primary-light);
    margin-bottom: 22px;
    transition: var(--transition);
}

.feature-card:hover .feature-icon-box {
    transform: scale(1.1) rotate(4deg);
    background: var(--primary);
    color: #052e16;
}

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

.feature-desc {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

/* --- GALLERY SECTION --- */
.gallery-grid {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    grid-template-rows: repeat(2, 280px);
    gap: 24px;
}

.gallery-large {
    grid-row: span 2;
}

.gallery-card {
    position: relative;
    border-radius: var(--radius-xl);
    overflow: hidden;
    border: 1px solid var(--border-subtle);
    box-shadow: var(--shadow-md);
}

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

.gallery-card:hover img {
    transform: scale(1.08);
}

.gallery-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 28px;
    background: linear-gradient(to top, rgba(9, 14, 11, 0.95) 10%, rgba(9, 14, 11, 0.6) 60%, transparent 100%);
    z-index: 2;
}

.gallery-badge {
    display: inline-block;
    background: var(--primary);
    color: #052e16;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: var(--radius-full);
    margin-bottom: 8px;
}

.gallery-title {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 6px;
}

.gallery-caption p {
    font-size: 0.88rem;
    color: var(--text-secondary);
    max-width: 480px;
}

/* --- JOIN / HOW TO PLAY SECTION --- */
.join-wrapper {
    background: linear-gradient(180deg, rgba(16, 26, 19, 0.85) 0%, rgba(11, 18, 13, 0.95) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 60px 48px;
    box-shadow: var(--shadow-lg);
    backdrop-filter: blur(20px);
}

.platform-tabs {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-bottom: 40px;
}

.tab-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 12px 28px;
    border-radius: var(--radius-full);
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    color: var(--text-secondary);
    font-size: 1rem;
    font-weight: 600;
    transition: var(--transition);
}

.tab-btn:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.1);
}

.tab-btn.active {
    background: var(--primary);
    border-color: var(--primary);
    color: #052e16;
    box-shadow: 0 4px 20px var(--primary-glow);
}

.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

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

.step-card {
    background: rgba(9, 14, 11, 0.6);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 24px;
    position: relative;
    transition: var(--transition);
}

.step-card:hover {
    border-color: var(--border-accent);
    transform: translateY(-4px);
}

.step-card.highlight {
    border-color: var(--border-accent);
    background: rgba(16, 185, 129, 0.08);
}

.step-number {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.12);
    margin-bottom: 12px;
    line-height: 1;
}

.step-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 8px;
}

.step-desc {
    font-size: 0.9rem;
    color: var(--text-secondary);
    line-height: 1.5;
}

.step-ip-copy {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-accent);
    padding: 8px 12px;
    border-radius: var(--radius-sm);
    margin-top: 10px;
    cursor: pointer;
    transition: var(--transition);
}

.step-ip-copy:hover {
    background: var(--primary);
    color: #052e16;
}

.step-ip-copy code {
    font-weight: 700;
    color: var(--primary-light);
}

.step-ip-copy:hover code {
    color: #052e16;
}

.step-copy-hint {
    font-size: 0.75rem;
    font-weight: 600;
}

.bedrock-credentials {
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.85rem;
    margin-top: 8px;
}

.bedrock-credentials code {
    color: var(--accent-gold-light);
    font-weight: 700;
}

/* --- RANKS SECTION & CARDS --- */
.ranks-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 28px;
    align-items: stretch;
}

.rank-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 40px 32px;
    backdrop-filter: blur(16px);
    display: flex;
    flex-direction: column;
    position: relative;
    transition: var(--transition);
}

.rank-card:hover {
    transform: translateY(-8px);
    border-color: var(--border-accent);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.5), 0 0 30px rgba(16, 185, 129, 0.15);
}

.rank-card.featured {
    border-color: var(--accent-gold);
    background: linear-gradient(180deg, rgba(30, 35, 20, 0.9) 0%, rgba(16, 26, 19, 0.85) 100%);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5), 0 0 30px rgba(245, 158, 11, 0.15);
    transform: scale(1.03);
}

.rank-card.featured:hover {
    transform: scale(1.03) translateY(-8px);
    box-shadow: 0 25px 55px rgba(0, 0, 0, 0.6), 0 0 45px rgba(245, 158, 11, 0.25);
}

.rank-badge {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(90deg, #f59e0b, #fbbf24);
    color: #451a03;
    font-weight: 800;
    font-size: 0.72rem;
    padding: 4px 16px;
    border-radius: var(--radius-full);
    letter-spacing: 0.08em;
    text-transform: uppercase;
    box-shadow: 0 4px 15px rgba(245, 158, 11, 0.35);
}

.rank-header {
    text-align: center;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 24px;
    margin-bottom: 24px;
}

.rank-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    margin-bottom: 12px;
}

.rank-price {
    display: flex;
    align-items: baseline;
    justify-content: center;
    gap: 6px;
}

.price-val {
    font-family: var(--font-heading);
    font-size: 2.2rem;
    font-weight: 900;
    color: #fff;
}

.price-period {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.rank-perks-intro {
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-secondary);
    margin-bottom: 16px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.rank-features {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
    flex-grow: 1;
}

.rank-features li {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.92rem;
    color: var(--text-secondary);
}

.check-icon {
    width: 18px;
    height: 18px;
    color: var(--primary-light);
    flex-shrink: 0;
    margin-top: 3px;
}

.rank-footer {
    margin-top: auto;
}

/* --- FAQ ACCORDION --- */
.faq-container {
    max-width: 840px;
}

.faq-accordion {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 32px;
}

.faq-item {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: var(--transition);
}

.faq-item:hover {
    border-color: rgba(255, 255, 255, 0.15);
}

.faq-item.active {
    border-color: var(--border-accent);
    background: rgba(16, 26, 19, 0.9);
}

.faq-question {
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    text-align: left;
    color: #fff;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.05rem;
}

.faq-icon {
    font-size: 1.4rem;
    color: var(--primary-light);
    transition: transform 0.3s ease;
    line-height: 1;
}

.faq-item.active .faq-icon {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s ease, padding 0.35s ease;
    padding: 0 24px;
}

.faq-item.active .faq-answer {
    max-height: 200px;
    padding: 0 24px 22px;
}

.faq-answer p {
    color: var(--text-secondary);
    font-size: 0.95rem;
    line-height: 1.6;
}

.faq-footer-note {
    color: var(--text-muted);
    font-size: 0.95rem;
}

/* --- CTA BANNER --- */
.cta-banner-section {
    padding-bottom: 120px;
}

.cta-banner {
    position: relative;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.2) 0%, rgba(15, 24, 18, 0.95) 50%, rgba(245, 158, 11, 0.15) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    padding: 60px 40px;
    text-align: center;
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 50px rgba(16, 185, 129, 0.15);
}

.cta-pill {
    display: inline-block;
    background: rgba(16, 185, 129, 0.2);
    color: var(--primary-light);
    border: 1px solid var(--border-accent);
    font-size: 0.75rem;
    font-weight: 800;
    padding: 4px 14px;
    border-radius: var(--radius-full);
    letter-spacing: 0.1em;
    margin-bottom: 18px;
}

.cta-title {
    font-family: var(--font-heading);
    font-size: clamp(1.8rem, 3.5vw, 2.6rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.cta-text {
    font-size: 1.1rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto 32px;
}

.cta-action-wrap {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
}

.cta-copy-box {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-accent);
    padding: 12px 24px;
    border-radius: var(--radius-full);
    cursor: pointer;
    transition: var(--transition);
}

.cta-copy-box:hover {
    background: var(--primary);
    color: #052e16;
}

.cta-ip-tag {
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 1.1rem;
}

.cta-btn-hint {
    font-size: 0.85rem;
    font-weight: 600;
    opacity: 0.8;
}

/* --- FOOTER --- */
.site-footer {
    background: #060907;
    border-top: 1px solid var(--border-subtle);
    padding: 70px 0 30px;
    position: relative;
    z-index: 5;
}

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

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

.logo-emoji {
    font-size: 1.6rem;
}

.footer-desc {
    color: var(--text-muted);
    font-size: 0.9rem;
    line-height: 1.6;
    margin-bottom: 20px;
}

.footer-socials {
    display: flex;
    gap: 12px;
}

.social-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-secondary);
    transition: var(--transition);
}

.social-btn:hover {
    background: var(--primary);
    color: #052e16;
    transform: translateY(-2px);
}

.footer-heading {
    font-family: var(--font-heading);
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 20px;
}

.footer-links {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.footer-links a {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--primary-light);
    transform: translateX(4px);
}

.server-detail-line {
    font-size: 0.88rem;
    color: var(--text-secondary);
    margin-bottom: 8px;
}

.highlight-code {
    color: var(--primary-light);
    font-family: monospace;
    font-weight: 700;
}

.footer-ip-box {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid var(--border-subtle);
    padding: 10px 14px;
    border-radius: var(--radius-sm);
    font-size: 0.82rem;
    color: var(--text-secondary);
    margin-top: 14px;
    cursor: pointer;
    transition: var(--transition);
}

.footer-ip-box:hover {
    background: rgba(16, 185, 129, 0.15);
    border-color: var(--border-accent);
    color: #fff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 30px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 16px;
}

.footer-legal p {
    font-size: 0.82rem;
    color: var(--text-muted);
}

.mojang-disclaimer {
    font-size: 0.75rem;
    color: #64748b;
    margin-top: 6px;
    max-width: 800px;
}

/* --- TOAST NOTIFICATION --- */
.toast-notification {
    position: fixed;
    bottom: -100px;
    right: 24px;
    background: rgba(16, 26, 19, 0.95);
    border: 1px solid var(--primary);
    border-radius: var(--radius-md);
    padding: 14px 20px;
    display: flex;
    align-items: center;
    gap: 14px;
    backdrop-filter: blur(16px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 20px var(--primary-glow);
    z-index: 9999;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), bottom 0.4s ease;
}

.toast-notification.show {
    bottom: 24px;
}

.toast-icon {
    font-size: 1.4rem;
}

.toast-content {
    display: flex;
    flex-direction: column;
}

.toast-title {
    font-weight: 700;
    font-size: 0.95rem;
    color: #fff;
}

.toast-msg {
    font-size: 0.82rem;
    color: var(--text-secondary);
}

/* --- SUBPAGE HERO & RULES / STORE STYLES --- */
.page-container {
    padding-bottom: 80px;
    position: relative;
    z-index: 2;
}

.page-hero {
    padding: 70px 0 50px;
    background: radial-gradient(circle at center, rgba(16, 185, 129, 0.1) 0%, transparent 70%);
}

.page-title {
    font-family: var(--font-heading);
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    color: #fff;
    margin-bottom: 14px;
}

.page-lead {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto;
}

/* Rules Layout */
.rules-grid {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
    align-items: start;
}

.rules-sidebar {
    position: sticky;
    top: 100px;
}

.sidebar-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 24px;
    backdrop-filter: blur(16px);
}

.sidebar-title {
    font-family: var(--font-heading);
    font-size: 1.1rem;
    color: #fff;
    margin-bottom: 16px;
    padding-bottom: 10px;
    border-bottom: 1px solid var(--border-subtle);
}

.sidebar-nav {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 24px;
}

.sidebar-nav a {
    color: var(--text-secondary);
    font-size: 0.9rem;
    padding: 6px 10px;
    border-radius: var(--radius-sm);
    display: block;
}

.sidebar-nav a:hover {
    color: #fff;
    background: rgba(255, 255, 255, 0.05);
}

.sidebar-alert {
    background: rgba(16, 185, 129, 0.08);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-md);
    padding: 16px;
    font-size: 0.85rem;
}

.sidebar-alert strong {
    color: var(--primary-light);
    display: block;
    margin-bottom: 6px;
}

.sidebar-alert p {
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.rules-content {
    display: flex;
    flex-direction: column;
    gap: 32px;
}

.rule-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 32px;
    backdrop-filter: blur(16px);
}

.rule-header {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-bottom: 20px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 16px;
}

.rule-num {
    background: rgba(16, 185, 129, 0.15);
    color: var(--primary-light);
    border: 1px solid var(--border-accent);
    font-weight: 800;
    font-size: 0.85rem;
    padding: 4px 12px;
    border-radius: var(--radius-full);
}

.rule-title {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    font-weight: 700;
    color: #fff;
}

.rule-body ol {
    list-style: decimal;
    padding-left: 20px;
    display: flex;
    flex-direction: column;
    gap: 12px;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.penalty-table-wrap {
    overflow-x: auto;
    margin: 16px 0;
}

.penalty-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 0.9rem;
    text-align: left;
}

.penalty-table th {
    background: rgba(255, 255, 255, 0.06);
    color: #fff;
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
}

.penalty-table td {
    padding: 12px 16px;
    border-bottom: 1px solid var(--border-subtle);
    color: var(--text-secondary);
}

.penalty-note {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-style: italic;
    margin-top: 10px;
}

/* Fairplay & Store */
.fairplay-banner {
    display: flex;
    align-items: center;
    gap: 24px;
    background: linear-gradient(90deg, rgba(16, 185, 129, 0.15), rgba(11, 20, 14, 0.8));
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-lg);
    padding: 24px 32px;
}

.fairplay-icon {
    font-size: 2.4rem;
}

.fairplay-text h3 {
    font-family: var(--font-heading);
    color: #fff;
    font-size: 1.25rem;
    margin-bottom: 6px;
}

.fairplay-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.payment-methods-box {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-xl);
    padding: 48px;
    backdrop-filter: blur(16px);
}

.box-title {
    font-family: var(--font-heading);
    font-size: 1.6rem;
    color: #fff;
    margin-bottom: 8px;
}

.payment-badges-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 40px;
}

.payment-badge {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border-subtle);
    padding: 10px 20px;
    border-radius: var(--radius-full);
}

.pay-icon {
    font-size: 1.2rem;
}

.pay-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #fff;
}

.how-to-buy-steps {
    border-top: 1px solid var(--border-subtle);
    padding-top: 32px;
}

.how-title {
    font-family: var(--font-heading);
    font-size: 1.15rem;
    color: #fff;
    margin-bottom: 24px;
    text-align: center;
}

.steps-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

.step-col {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}

.mini-step-num {
    width: 38px;
    height: 38px;
    border-radius: 50%;
    background: var(--primary);
    color: #052e16;
    font-weight: 900;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 12px;
}

.step-col p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

/* --- RESPONSIVE MEDIA QUERIES --- */
@media (max-width: 1024px) {
    .hero-highlights {
        grid-template-columns: repeat(2, 1fr);
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .gallery-grid {
        grid-template-columns: 1fr;
        grid-template-rows: auto;
    }
    .gallery-large {
        grid-row: auto;
    }
    .footer-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .ranks-grid {
        grid-template-columns: 1fr;
        max-width: 500px;
        margin: 0 auto;
    }
    .rank-card.featured {
        transform: none;
    }
    .rank-card.featured:hover {
        transform: translateY(-8px);
    }
    .rules-grid {
        grid-template-columns: 1fr;
    }
    .rules-sidebar {
        position: static;
    }
}

@media (max-width: 768px) {
    .header-actions .btn-discord {
        display: none;
    }
    .mobile-toggle {
        display: flex;
    }
    .main-nav {
        position: fixed;
        top: 78px;
        left: 0;
        right: 0;
        background: rgba(9, 14, 11, 0.98);
        backdrop-filter: blur(20px);
        padding: 24px;
        border-bottom: 1px solid var(--border-accent);
        display: none;
        box-shadow: var(--shadow-lg);
    }
    .main-nav.open {
        display: block;
    }
    .main-nav .nav-list {
        flex-direction: column;
        align-items: stretch;
    }
    .hero-ip-card {
        flex-direction: column;
        gap: 16px;
        padding: 20px;
        width: 100%;
    }
    .ip-stats-divider {
        width: 100%;
        height: 1px;
    }
    .features-grid {
        grid-template-columns: 1fr;
    }
    .hero-highlights {
        grid-template-columns: 1fr;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .steps-row {
        grid-template-columns: 1fr;
    }
    .footer-grid {
        grid-template-columns: 1fr;
    }
    .join-wrapper {
        padding: 36px 20px;
    }
    .cta-banner {
        padding: 40px 20px;
    }
}

/* ==========================================================================
   CHECKOUT MODAL & STRIPE INTEGRATION STYLES
   ========================================================================== */

.manual-discord-link {
    display: block;
    margin-top: 12px;
    font-size: 0.82rem;
    color: var(--text-muted);
    text-align: center;
    transition: var(--transition);
}

.manual-discord-link:hover {
    color: var(--primary-light);
    text-decoration: underline;
}

.checkout-modal-backdrop {
    position: fixed;
    inset: 0;
    background: rgba(4, 8, 6, 0.82);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.25s;
}

.checkout-modal-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.checkout-modal-dialog {
    background: linear-gradient(180deg, rgba(20, 32, 24, 0.96) 0%, rgba(11, 18, 13, 0.98) 100%);
    border: 1px solid var(--border-accent);
    border-radius: var(--radius-xl);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.75), 0 0 40px rgba(16, 185, 129, 0.2);
    width: 100%;
    max-width: 520px;
    padding: 32px;
    position: relative;
    transform: translateY(20px) scale(0.96);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.checkout-modal-backdrop.active .checkout-modal-dialog {
    transform: translateY(0) scale(1);
}

.checkout-modal-header {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    margin-bottom: 24px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 18px;
}

.modal-badge-title {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.modal-item-badge {
    align-self: flex-start;
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    padding: 3px 12px;
    border-radius: var(--radius-full);
    border: 1px solid var(--primary);
    color: var(--primary-light);
    background: rgba(16, 185, 129, 0.1);
}

.modal-item-title {
    font-family: var(--font-heading);
    font-size: 1.5rem;
    font-weight: 800;
    color: #fff;
    margin: 0;
}

.modal-close-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    font-size: 1.4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.modal-close-btn:hover {
    background: rgba(239, 68, 68, 0.2);
    border-color: rgba(239, 68, 68, 0.4);
    color: #fff;
    transform: rotate(90deg);
}

.checkout-price-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(0, 0, 0, 0.35);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 18px;
    margin-bottom: 22px;
    font-size: 0.95rem;
    color: var(--text-secondary);
}

.modal-price-val {
    font-family: var(--font-heading);
    font-size: 1.35rem;
    font-weight: 800;
    color: var(--primary-light);
}

.form-group {
    display: flex;
    flex-direction: column;
}

.form-label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 8px;
}

.required-star {
    color: #f87171;
}

.input-icon-wrap {
    position: relative;
    display: flex;
    align-items: center;
}

.input-icon {
    position: absolute;
    left: 16px;
    font-size: 1.1rem;
    pointer-events: none;
    opacity: 0.8;
}

.form-control {
    width: 100%;
    background: rgba(0, 0, 0, 0.45);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px 14px 48px;
    font-family: inherit;
    font-size: 1rem;
    color: #fff;
    transition: var(--transition);
    outline: none;
}

.form-control:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(16, 185, 129, 0.25);
    background: rgba(0, 0, 0, 0.65);
}

.form-control::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.form-hint {
    display: block;
    margin-top: 8px;
    font-size: 0.8rem;
    color: var(--text-muted);
    line-height: 1.4;
}

.accepted-methods-summary {
    background: rgba(16, 185, 129, 0.05);
    border: 1px dashed rgba(16, 185, 129, 0.25);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 24px;
}

.methods-label {
    display: block;
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: var(--primary-light);
    margin-bottom: 8px;
}

.methods-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.pill-badge {
    background: rgba(255, 255, 255, 0.06);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-full);
    padding: 3px 10px;
    font-size: 0.78rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.checkout-modal-footer {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.ssl-guarantee-text {
    font-size: 0.78rem;
    color: var(--text-muted);
    text-align: center;
    margin: 0;
}

.btn-spinner {
    display: inline-block;
    width: 16px;
    height: 16px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #fff;
    animation: spin 0.8s linear infinite;
    margin-right: 8px;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}
