/*
   KSMC Checkout - Página de Contratação Profissional
   Design premium com stepper, sidebar resumo e network builder
*/

/* === FONTES E VARIÁVEIS === */
:root {
    --mc-green: #5c8e32;
    --mc-green-hover: #6da23b;
    --mc-green-light: #8cd843;
    --mc-green-dark: #2a4c17;
    --mc-panel-bg: #212121;
    --mc-dark: #0c0c0c;
    --mc-darker: #080808;
    --ck-accent: #4be0e0;
    --ck-surface-1: #161616;
    --ck-surface-2: #1a1a1a;
    --ck-surface-3: #222222;
    --ck-border: #2a2a2a;
    --ck-text: #f0f0f0;
    --ck-text-dim: #8a8a8a;
    --ck-red: #e04040;
    --ck-gold: #ffc107;

    --font-logo: 'MinecraftTen', 'MinecraftTenv2', Arial, sans-serif;
    --font-pixel: 'MinecraftSeven', 'MinecraftSeven-v2', monospace;
    --font-body: 'Gellix', 'Noto Sans', sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body.checkout-page {
    background-color: var(--mc-dark);
    color: var(--ck-text);
    font-family: var(--font-body);
    font-size: 16px;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* === FONT UTILITIES === */
.font-logo { font-family: var(--font-logo) !important; font-weight: normal; letter-spacing: 1px; }
.font-pixel { font-family: var(--font-pixel) !important; font-size: 14px; }
.font-body { font-family: var(--font-body) !important; }

/* === MC GUI PANELS === */
.mc-gui-panel {
    background-color: var(--mc-panel-bg);
    border: 4px solid #000;
    box-shadow: inset -4px -4px 0px 0px #121212, inset 4px 4px 0px 0px #3e3e3e;
    padding: 24px;
    position: relative;
}

.mc-gui-panel-dark {
    background-color: #121212;
    border: 4px solid #000;
    box-shadow: inset -4px -4px 0px 0px #080808, inset 4px 4px 0px 0px #222222;
    padding: 24px;
    position: relative;
}

/* === MC BRAND === */
.mc-brand-logo {
    font-family: var(--font-logo);
    font-size: 28px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    text-decoration: none;
    letter-spacing: 2px;
}

/* === MC BUTTONS (Authentic Pixel UI) === */
.mc-btn {
    background-color: var(--mc-green);
    border: 2px solid #000;
    box-shadow: inset -2px -4px 0px 0px var(--mc-green-dark), inset 2px 2px 0px 0px var(--mc-green-light);
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    padding: 14px 28px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: none;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.mc-btn:hover {
    background-color: var(--mc-green-hover);
    box-shadow: inset -2px -4px 0px 0px #31581b, inset 2px 2px 0px 0px #9ee94f;
}
.mc-btn:active {
    background-color: #4a7526;
    box-shadow: inset 2px 2px 0px 0px #1d330f, inset -2px -2px 0px 0px #619a35;
}
.mc-btn:disabled {
    opacity: 0.4;
    cursor: not-allowed;
}

.mc-btn-gray {
    background-color: #4a4a4a;
    border: 2px solid #000;
    box-shadow: inset -2px -4px 0px 0px #2a2a2a, inset 2px 2px 0px 0px #707070;
    color: #fff;
    text-shadow: 2px 2px 0px #000;
    padding: 14px 28px;
    text-align: center;
    text-transform: uppercase;
    text-decoration: none;
    cursor: pointer;
    display: inline-block;
    transition: none;
    font-size: 14px;
    letter-spacing: 0.5px;
}
.mc-btn-gray:hover {
    background-color: #5a5a5a;
    box-shadow: inset -2px -4px 0px 0px #3c3c3c, inset 2px 2px 0px 0px #858585;
}

/* Plan tier tags */
.coal-tag { background-color: #434343; box-shadow: inset -1px -2px 0px #212121, inset 1px 1px 0px #616161; }
.iron-tag { background-color: #929292; box-shadow: inset -1px -2px 0px #5c5c5c, inset 1px 1px 0px #c0c0c0; color: #222; text-shadow: none; }
.diamond-tag { background-color: #279e9e; box-shadow: inset -1px -2px 0px #155757, inset 1px 1px 0px #4be0e0; }
.netherite-tag { background-color: #383030; box-shadow: inset -1px -2px 0px #1a1515, inset 1px 1px 0px #584c4c; color: #ffaa00; }

/* ============================================
   HEADER
   ============================================ */
.ck-header {
    background-color: #181818;
    border-bottom: 4px solid #080808;
    padding: 14px 0;
    position: sticky;
    top: 0;
    z-index: 100;
}

.ck-header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 32px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ck-brand { text-decoration: none; }

.ck-back-link {
    color: #ababab;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 1px 1px 0 #000;
    transition: color 0.15s;
}
.ck-back-link:hover { color: #fff; }
.ck-back-link svg { width: 14px; height: 14px; }

/* ============================================
   STEPPER
   ============================================ */
.ck-stepper-container {
    max-width: 700px;
    margin: 40px auto 0;
    padding: 0 32px;
}

.ck-stepper {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
}

.ck-step {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    opacity: 0.3;
    transition: opacity 0.3s, transform 0.3s;
    min-width: 70px;
}

.ck-step.active {
    opacity: 1;
    transform: scale(1.05);
}

.ck-step.done {
    opacity: 0.7;
}

.ck-step-number {
    width: 36px;
    height: 36px;
    background-color: #2a2a2a;
    border: 2px solid #000;
    box-shadow: inset -1px -2px 0 #151515, inset 1px 1px 0 #3e3e3e;
    color: #666;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
    transition: background-color 0.3s, color 0.3s, box-shadow 0.3s;
}

.ck-step.active .ck-step-number {
    background-color: var(--mc-green);
    box-shadow: inset -1px -2px 0 var(--mc-green-dark), inset 1px 1px 0 var(--mc-green-light);
    color: #fff;
}

.ck-step.done .ck-step-number {
    background-color: #2e6b1d;
    box-shadow: inset -1px -2px 0 #1a3a10, inset 1px 1px 0 #52a535;
    color: var(--mc-green-light);
}

.ck-step-label {
    font-size: 10px;
    color: #888;
    text-shadow: 1px 1px 0 #000;
    letter-spacing: 1px;
}

.ck-step.active .ck-step-label {
    color: #fff;
}

.ck-step-line {
    flex: 1;
    height: 2px;
    background-color: #2a2a2a;
    margin: 0 4px;
    margin-bottom: 22px;
    min-width: 40px;
    max-width: 80px;
    transition: background-color 0.3s;
}

.ck-step-line.done {
    background-color: var(--mc-green);
}

/* ============================================
   LAYOUT
   ============================================ */
.ck-main {
    flex: 1;
    padding-bottom: 60px;
}

.ck-layout {
    max-width: 1400px;
    margin: 40px auto 0;
    padding: 0 32px;
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 40px;
    align-items: start;
}

/* ============================================
   SIDEBAR
   ============================================ */
.ck-sidebar {
    position: sticky;
    top: 80px;
}

.ck-sidebar-panel {
    padding: 28px !important;
}

.ck-sidebar-title {
    font-size: 14px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    margin-bottom: 4px;
}

.ck-sidebar-divider {
    height: 2px;
    background-color: #1e1e1e;
    margin: 16px 0;
}

.ck-plan-badge {
    display: flex;
    flex-direction: column;
    gap: 8px;
    margin-bottom: 4px;
}

.ck-plan-badge-name {
    font-size: 22px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
}

.ck-plan-badge-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid #000;
    text-shadow: 1px 1px 0 #000;
    color: #fff;
    width: fit-content;
}

.ck-sidebar-specs {
    display: flex;
    flex-direction: column;
    gap: 0;
}

.ck-spec-row {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 0;
    border-bottom: 1px solid #1a1a1a;
    font-size: 12px;
}

.ck-spec-row:last-child { border-bottom: none; }

.ck-spec-icon { font-size: 16px; min-width: 22px; text-align: center; }

.ck-spec-label {
    flex: 1;
    color: #999;
    text-shadow: 1px 1px 0 #000;
}

.ck-spec-value {
    color: var(--mc-green-light);
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
}

/* Sidebar resources bars */
.ck-resources-title {
    font-size: 12px;
    color: #ccc;
    text-shadow: 1px 1px 0 #000;
    margin-bottom: 12px;
}

.ck-res-bar-group { margin-bottom: 12px; }
.ck-res-bar-group:last-of-type { margin-bottom: 0; }

.ck-res-bar-header {
    display: flex;
    justify-content: space-between;
    font-size: 10px;
    color: #888;
    text-shadow: 1px 1px 0 #000;
    margin-bottom: 4px;
}

.ck-res-bar-track {
    background-color: #0c0c0c;
    border: 2px solid #000;
    height: 10px;
    overflow: hidden;
}

.ck-res-bar-fill {
    height: 100%;
    transition: width 0.25s ease-out, background-color 0.15s;
}
.ck-res-bar-fill.green {
    background-color: var(--mc-green);
    box-shadow: inset -1px -1px 0 var(--mc-green-dark), inset 1px 1px 0 var(--mc-green-light);
}
.ck-res-bar-fill.red {
    background-color: var(--ck-red);
    box-shadow: inset -1px -1px 0 #8b1a1a, inset 1px 1px 0 #ff6b6b;
}

/* Price */
.ck-price-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ck-price-label {
    color: #999;
    text-shadow: 1px 1px 0 #000;
    font-size: 12px;
}

.ck-price-value {
    font-size: 28px;
    color: var(--mc-green-light);
    text-shadow: 2px 2px 0 #000;
}

/* ============================================
   CONTENT PANELS
   ============================================ */
.ck-step-panel {
    display: none;
    animation: fadeSlideIn 0.35s ease-out;
}

.ck-step-panel.active {
    display: block;
}

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

.ck-panel-header {
    margin-bottom: 32px;
}

.ck-panel-title {
    font-size: 32px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 8px;
}

.ck-panel-desc {
    color: #999;
    font-size: 15px;
    max-width: 600px;
}

/* ============================================
   STEP 1: PLAN SELECTOR
   ============================================ */
.ck-plans-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    margin-bottom: 32px;
}

.ck-plan-option {
    cursor: pointer;
    position: relative;
    transition: transform 0.15s;
}

.ck-plan-option:hover {
    transform: translateY(-3px);
}

.ck-plan-option.selected .ck-plan-option-inner {
    border-color: var(--mc-green);
    box-shadow: inset -4px -4px 0px 0px #121212, inset 4px 4px 0px 0px #3e3e3e, 0 0 0 2px var(--mc-green);
}

.ck-plan-option-inner {
    padding: 28px 20px !important;
    text-align: center;
    height: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    transition: border-color 0.15s, box-shadow 0.15s;
}

.ck-plan-tier-tag {
    display: inline-block;
    padding: 4px 10px;
    font-size: 10px;
    font-weight: bold;
    border: 2px solid #000;
    text-shadow: 1px 1px 0 #000;
    color: #fff;
}

.ck-plan-opt-name {
    font-size: 28px;
    color: #fff;
    text-shadow: 2px 2px 0 #000;
}

.ck-plan-opt-price {
    font-size: 26px;
    color: var(--mc-green-light);
    text-shadow: 2px 2px 0 #000;
    margin: 4px 0;
}
.ck-price-cents { font-size: 18px; }
.ck-price-mo { font-size: 12px; color: #888; }

.ck-plan-mini-specs {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-top: 8px;
    width: 100%;
}

.ck-plan-mini-specs li {
    font-size: 12px;
    color: #bbb;
    text-shadow: 1px 1px 0 #000;
    padding: 4px 0;
    border-bottom: 1px solid #1a1a1a;
}

.ck-plan-mini-specs li:last-child { border-bottom: none; }

.ck-plan-opt-check {
    width: 28px;
    height: 28px;
    border: 2px solid #333;
    background: #1a1a1a;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 12px;
    transition: background-color 0.15s, border-color 0.15s;
}

.ck-plan-opt-check svg {
    width: 16px;
    height: 16px;
    color: transparent;
    transition: color 0.15s;
}

.ck-plan-option.selected .ck-plan-opt-check {
    background: var(--mc-green);
    border-color: var(--mc-green-dark);
}

.ck-plan-option.selected .ck-plan-opt-check svg {
    color: #fff;
}

/* Popular ribbon */
.ck-popular-ribbon {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    background-color: var(--mc-green);
    border: 2px solid #000;
    box-shadow: inset -1px -2px 0 #1a3a10, inset 1px 1px 0 #76b043;
    padding: 4px 14px;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    text-shadow: 1px 1px 0 #000;
    z-index: 5;
    white-space: nowrap;
}

/* ============================================
   STEP 2: ACCOUNT FORM
   ============================================ */
.ck-form {
    margin-bottom: 32px;
}

.ck-form-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
}

.ck-form-group {
    margin-bottom: 20px;
}

.ck-form-group label {
    display: block;
    font-size: 11px;
    font-weight: bold;
    color: #ccc;
    text-shadow: 1px 1px 0 #000;
    margin-bottom: 8px;
    letter-spacing: 0.5px;
}

.ck-form-group input {
    width: 100%;
    background-color: #0c0c0c;
    border: 2px solid #000;
    box-shadow: inset -2px -2px 0px #303030, inset 2px 2px 0px #030303;
    padding: 14px 16px;
    color: #fff;
    font-size: 14px;
    font-family: var(--font-pixel);
    transition: box-shadow 0.1s;
}

.ck-form-group input:focus {
    outline: none;
    box-shadow: inset -2px -2px 0px #303030, inset 2px 2px 0px #030303, 0 0 0 2px var(--mc-green);
}

.ck-form-group input::placeholder {
    color: #444;
}

.ck-input-hint {
    display: block;
    margin-top: 6px;
    font-size: 10px;
    color: #555;
    text-shadow: 1px 1px 0 #000;
}

/* ============================================
   STEP 3: NETWORK BUILDER
   ============================================ */
.ck-network-toolbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    padding: 14px 18px;
    background-color: var(--ck-surface-2);
    border: 2px solid #000;
    box-shadow: inset -2px -2px 0 #101010, inset 2px 2px 0 #2e2e2e;
}

.ck-toolbar-info {
    color: #999;
    text-shadow: 1px 1px 0 #000;
    font-size: 12px;
}

.ck-btn-add {
    padding: 8px 14px !important;
    font-size: 11px !important;
    display: flex;
    align-items: center;
    gap: 6px;
}

.ck-btn-add svg {
    width: 12px;
    height: 12px;
}

.ck-servers-list {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-bottom: 24px;
    max-height: 520px;
    overflow-y: auto;
    padding-right: 8px;
}

/* Custom scrollbar */
.ck-servers-list::-webkit-scrollbar { width: 8px; }
.ck-servers-list::-webkit-scrollbar-track { background: #0c0c0c; border: 2px solid #000; }
.ck-servers-list::-webkit-scrollbar-thumb { background: #5a5a5a; border: 1px solid #000; }

/* Server Card */
.ck-server-card {
    background-color: var(--ck-surface-2);
    border: 2px solid #000;
    box-shadow: inset -2px -2px 0 #101010, inset 2px 2px 0 #2e2e2e;
    padding: 22px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    position: relative;
    animation: fadeSlideIn 0.25s ease-out;
}

.ck-server-title-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ck-server-index {
    font-size: 12px;
    color: var(--mc-green-light);
    text-shadow: 1px 1px 0 #000;
}

.ck-btn-remove {
    background-color: #a82e2e;
    box-shadow: inset -1px -2px 0 #5c1818, inset 1px 1px 0 #d45959;
    border: 2px solid #000;
    color: #fff;
    font-size: 10px;
    font-weight: bold;
    padding: 4px 10px;
    cursor: pointer;
    text-shadow: 1px 1px 0 #000;
    font-family: var(--font-pixel);
    transition: background-color 0.1s;
}
.ck-btn-remove:hover { background-color: #c43838; }

.ck-server-fields {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 14px;
}

.ck-field {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.ck-field label {
    font-size: 10px;
    font-weight: bold;
    color: #aaa;
    text-shadow: 1px 1px 0 #000;
    letter-spacing: 0.5px;
    margin-bottom: 0;
}

.ck-field input,
.ck-field select {
    width: 100%;
    background-color: #0c0c0c;
    border: 2px solid #000;
    box-shadow: inset -2px -2px 0 #303030, inset 2px 2px 0 #030303;
    padding: 10px 12px;
    color: #fff;
    font-size: 12px;
    font-family: var(--font-pixel);
}

.ck-field input:focus,
.ck-field select:focus {
    outline: none;
    box-shadow: inset -2px -2px 0 #303030, inset 2px 2px 0 #030303, 0 0 0 2px var(--mc-green);
}

.ck-subdomain-wrap {
    display: flex;
    align-items: stretch;
}

.ck-subdomain-wrap input {
    border-right: none;
    box-shadow: inset 0 -2px 0 #303030, inset 2px 2px 0 #030303;
    flex: 1;
}

.ck-subdomain-suffix {
    background-color: #0c0c0c;
    border: 2px solid #000;
    border-left: none;
    box-shadow: inset -2px -2px 0 #303030, inset 0 2px 0 #030303;
    padding: 10px 8px;
    color: #555;
    font-size: 10px;
    font-family: var(--font-pixel);
    display: flex;
    align-items: center;
    white-space: nowrap;
}

/* Resource error */
.ck-resource-error {
    background-color: rgba(224, 64, 64, 0.12);
    border: 2px solid var(--ck-red);
    color: #ff5555;
    padding: 14px;
    text-align: center;
    text-shadow: 1px 1px 0 #000;
    font-size: 12px;
    margin-bottom: 20px;
    animation: pulseRed 1s ease-in-out infinite;
}

@keyframes pulseRed {
    0%, 100% { border-color: var(--ck-red); }
    50% { border-color: #ff8888; }
}

/* ============================================
   STEP 4: DEPLOY TERMINAL
   ============================================ */
.ck-deploy-view, .ck-success-view {
    animation: fadeSlideIn 0.35s ease-out;
}

.ck-terminal {
    padding: 0 !important;
    overflow: hidden;
    margin-bottom: 20px;
}

.ck-terminal-header {
    background-color: #1a1a1a;
    padding: 10px 16px;
    border-bottom: 4px solid #080808;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #ababab;
    text-shadow: 1px 1px 0 #000;
    font-size: 12px;
}

.ck-dot { width: 8px; height: 8px; border: 1px solid #000; }
.ck-dot.red { background: #ff3b30; }
.ck-dot.yellow { background: #ffcc00; }
.ck-dot.green { background: #34c759; }

.ck-terminal-title { margin-left: 6px; }

.ck-terminal-body {
    background-color: #050508;
    box-shadow: inset 4px 4px 10px rgba(0,0,0,0.8);
    height: 280px;
    overflow-y: auto;
    padding: 16px;
    display: flex;
    flex-direction: column;
    gap: 5px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    font-size: 12px;
    border: 2px solid #000;
}

.ck-terminal-body::-webkit-scrollbar { width: 6px; }
.ck-terminal-body::-webkit-scrollbar-track { background: #050508; }
.ck-terminal-body::-webkit-scrollbar-thumb { background: #333; }

.ck-log-line { word-break: break-all; line-height: 1.5; }

/* Deploy progress bar */
.ck-deploy-progress {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 20px;
}

.ck-deploy-bar-track {
    flex: 1;
    background-color: #0c0c0c;
    border: 2px solid #000;
    height: 20px;
    overflow: hidden;
}

.ck-deploy-bar-fill {
    height: 100%;
    background-color: var(--mc-green);
    box-shadow: inset -1px -2px 0 var(--mc-green-dark), inset 1px 1px 0 var(--mc-green-light);
    transition: width 0.4s ease-out;
}

.ck-deploy-pct {
    font-size: 14px;
    color: var(--mc-green-light);
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
    min-width: 40px;
    text-align: right;
}

/* ============================================
   SUCCESS VIEW
   ============================================ */
.ck-success-header {
    text-align: center;
    margin-bottom: 32px;
}

.ck-success-icon-wrap {
    margin-bottom: 20px;
}

.ck-success-chest {
    height: 72px;
    image-rendering: pixelated;
    animation: chestBounce 0.8s ease-out;
}

@keyframes chestBounce {
    0% { transform: scale(0.3) translateY(40px); opacity: 0; }
    50% { transform: scale(1.15) translateY(-8px); }
    100% { transform: scale(1) translateY(0); opacity: 1; }
}

.ck-success-servers {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 28px;
}

.ck-success-card {
    background-color: var(--ck-surface-2);
    border: 2px solid #000;
    box-shadow: inset -2px -2px 0 #101010, inset 2px 2px 0 #2e2e2e;
    padding: 16px 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
    animation: fadeSlideIn 0.3s ease-out;
}

.ck-success-card-meta {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.ck-success-card-name {
    font-size: 14px;
    color: #fff;
    text-shadow: 1px 1px 0 #000;
}

.ck-success-card-egg {
    font-size: 10px;
    color: #888;
    text-shadow: 1px 1px 0 #000;
}

.ck-success-card-conn {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    gap: 4px;
}

.ck-success-card-sub {
    font-size: 14px;
    color: var(--mc-green-light);
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
}

.ck-success-card-port {
    font-size: 10px;
    color: #666;
    text-shadow: 1px 1px 0 #000;
}

/* Success info panel */
.ck-success-info {
    margin-bottom: 28px;
    background-color: #181818 !important;
}

.ck-info-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 0;
    border-bottom: 2px solid #111;
    font-size: 13px;
}
.ck-info-row:last-of-type { border-bottom: none; }

.ck-info-label {
    color: #bbb;
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
}

.ck-info-value {
    color: #fff;
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
}

.ck-info-link {
    color: var(--ck-accent);
    text-decoration: none;
    text-shadow: 1px 1px 0 #000;
    font-weight: bold;
    font-size: 13px;
    border-bottom: 1px solid transparent;
    transition: color 0.15s;
}
.ck-info-link:hover {
    color: #fff;
    border-bottom-color: #fff;
}

.ck-info-note {
    font-size: 11px;
    color: #666;
    text-shadow: 1px 1px 0 #000;
    padding-top: 12px;
    border-top: 2px solid #111;
    line-height: 1.5;
}

/* ============================================
   ACTIONS
   ============================================ */
.ck-actions {
    display: flex;
    justify-content: flex-end;
    gap: 16px;
    flex-wrap: wrap;
}

.ck-actions-split {
    justify-content: space-between;
}

/* ============================================
   FOOTER
   ============================================ */
.ck-footer {
    background: #080808;
    border-top: 4px solid #121212;
    padding: 24px 32px;
    text-align: center;
}

.ck-footer-text {
    color: #444;
    font-size: 11px;
    text-shadow: 1px 1px 0 #000;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 1024px) {
    .ck-layout {
        grid-template-columns: 1fr;
    }

    .ck-sidebar {
        position: static;
        order: -1;
    }
}

@media (max-width: 768px) {
    .ck-plans-row {
        grid-template-columns: 1fr;
    }

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

    .ck-form-grid {
        grid-template-columns: 1fr;
    }

    .ck-stepper-container {
        padding: 0 16px;
    }

    .ck-step-label {
        font-size: 8px;
    }

    .ck-step-number {
        width: 28px;
        height: 28px;
        font-size: 12px;
    }

    .ck-actions {
        flex-direction: column;
    }

    .ck-actions .mc-btn,
    .ck-actions .mc-btn-gray {
        width: 100%;
        text-align: center;
    }

    .ck-header-inner {
        padding: 0 16px;
    }

    .ck-layout {
        padding: 0 16px;
    }
}

/* ============================================
   AUTHENTICATION & EMAIL VERIFICATION
   ============================================ */
.ck-auth-container {
    animation: fadeSlideIn 0.35s ease-out;
}

.ck-auth-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 4px solid #111;
    padding-bottom: 8px;
}

.ck-auth-tab {
    background: #1e1e1e;
    border: 2px solid #000;
    box-shadow: inset -1px -2px 0 #101010, inset 1px 1px 0 #3e3e3e;
    color: #888;
    padding: 10px 18px;
    cursor: pointer;
    font-size: 11px;
    text-shadow: 1px 1px 0 #000;
    transition: color 0.15s, background-color 0.15s;
}

.ck-auth-tab:hover {
    color: #fff;
    background: #252525;
}

.ck-auth-tab.active {
    background-color: var(--mc-green);
    box-shadow: inset -1px -2px 0 var(--mc-green-dark), inset 1px 1px 0 var(--mc-green-light);
    color: #fff;
}

/* Verification Panel styling */
.ck-verification-panel {
    padding: 32px !important;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 24px;
    background-color: #121215 !important;
    animation: fadeSlideIn 0.4s ease-out;
}

.ck-verif-title {
    font-size: 20px;
    color: #ff55ff;
    text-shadow: 2px 2px 0 #000;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.ck-verif-desc {
    font-size: 14px;
    color: #bbb;
    line-height: 1.5;
}

/* Nether Portal Animation */
.ck-portal-wrapper {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
}

.ck-portal-ring {
    width: 90px;
    height: 90px;
    border-radius: 50%;
    border: 6px solid #4a0e4e;
    box-shadow: 0 0 15px #c71585, inset 0 0 15px #4b0082;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    animation: rotatePortal 8s linear infinite;
    background: radial-gradient(circle, #8a2be2 0%, #4b0082 70%, #000 100%);
}

.ck-portal-core {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background-color: #da70d6;
    box-shadow: 0 0 25px 8px #ff00ff, 0 0 10px #da70d6;
    animation: pulseCore 1.5s ease-in-out infinite;
}

.ck-portal-status {
    font-size: 11px;
    color: #da70d6;
    text-shadow: 1px 1px 0 #000;
    letter-spacing: 0.5px;
    animation: pulseStatus 1.5s ease-in-out infinite;
}

.ck-verif-instruction {
    font-size: 11px;
    color: #666;
    line-height: 1.6;
    max-width: 500px;
    text-shadow: 1px 1px 0 #000;
    border-top: 2px solid #1a1a1a;
    padding-top: 16px;
}

.ck-verif-actions {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Animations */
@keyframes rotatePortal {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulseCore {
    0%, 100% { transform: scale(0.95); opacity: 0.8; box-shadow: 0 0 20px 4px #ff00ff; }
    50% { transform: scale(1.15); opacity: 1; box-shadow: 0 0 35px 12px #ff00ff, 0 0 15px #fff; }
}

@keyframes pulseStatus {
    0%, 100% { opacity: 0.7; }
    50% { opacity: 1; color: #ff88ff; }
}

/* Google Auth Button & Divider */
.ck-auth-divider {
    display: flex;
    align-items: center;
    text-align: center;
    color: #444;
    font-size: 10px;
    margin: 20px 0;
    text-shadow: 1px 1px 0 #000;
}
.ck-auth-divider::before,
.ck-auth-divider::after {
    content: '';
    flex: 1;
    border-bottom: 2px solid #222;
}
.ck-auth-divider:not(:empty)::before {
    margin-right: 15px;
}
.ck-auth-divider:not(:empty)::after {
    margin-left: 15px;
}

.ck-google-btn {
    width: 100%;
    background-color: #1a1a1c;
    border: 2px solid #000;
    box-shadow: inset -2px -2px 0px #0b0b0b, inset 2px 2px 0px #303030;
    color: #fff;
    padding: 14px 16px;
    font-size: 11px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    text-shadow: 1px 1px 0 #000;
    margin-bottom: 24px;
    transition: background-color 0.15s, box-shadow 0.15s;
}

.ck-google-btn:hover {
    background-color: #222225;
    box-shadow: inset -2px -2px 0px #0b0b0b, inset 2px 2px 0px #3c3c40;
}

.ck-google-btn:active {
    box-shadow: inset 2px 2px 0px #0b0b0b, inset -2px -2px 0px #3c3c40;
}

/* Custom Tip Box for Step 3 */
.ck-custom-tip {
    background-color: #111113;
    border: 2px solid var(--mc-green);
    box-shadow: 0 0 15px rgba(85, 255, 85, 0.15), inset 0 0 10px rgba(0, 0, 0, 0.8);
    padding: 14px 18px;
    margin-bottom: 24px;
    display: flex;
    gap: 12px;
    align-items: center;
    line-height: 1.5;
    font-size: 11px;
    color: #dddddd;
    animation: pulseGreenBorder 3s infinite alternate;
}
.ck-tip-icon {
    font-size: 20px;
    animation: bounceTip 1.5s infinite;
}
@keyframes pulseGreenBorder {
    0% { border-color: #3f8724; box-shadow: 0 0 10px rgba(85, 255, 85, 0.1); }
    100% { border-color: #55ff55; box-shadow: 0 0 20px rgba(85, 255, 85, 0.25); }
}
@keyframes bounceTip {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-4px); }
}
