:root {
    --ghost-card-bg: rgb(80, 117, 158);
    --ghost-border: rgb(80, 117, 158);
    --ghost-accent: #00F0FF;
    --ghost-accent-hover: #00D8E6;
    --ghost-tg: #F2E370;
    --ghost-tg-hover: #FFF49C;
    --ghost-text-muted: #fff;
    --ghost-bg-gradient: linear-gradient(90deg, #143252, #2f5885);
}

/* Page Reset & Gradient */

body.page-id-2 {
    margin: 0;
    padding: 0;
    background: var(--ghost-bg-gradient) !important;
    color: #F3F4F6;
    font-family:  'Ubuntu', sans-serif;
    letter-spacing: -0.01em;
    letter-spacing: normal;
	min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Turnstile Cloudflare */

.ghost-turnstile-wrapper {
	height: 65px;
	
	/* border-radius: 12px; */
	
	box-sizing: border-box; 
	overflow: hidden;
	background-color: #313131;
}

.ghost-faucet-form-v2 {
	display: flex;
  	flex-direction: column;
  	gap: 12px;
}

/* Background Canvas */
.ghost-canvas {
    display: block;
    filter: blur(0.5px);
    height: 100vh;
    width: 100vw;
    left: 0;
    top: 0;
    opacity: 0.15;
    position: fixed;
    pointer-events: none;
    z-index: 0;
}

/* Wrapper Layout */
.ghost-faucet-wrapper {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Container */
.ghost-container {
    max-width: 1152px;
    margin: 0 auto;
    padding: 32px 16px;
    width: 100%;
    box-sizing: border-box;
}

/* Shared Card Base */
.ghost-card {
    background-color: var(--ghost-card-bg);
    border: 1px solid var(--ghost-border);
    border-radius: 16px;
    backdrop-filter: blur(8px);
    box-sizing: border-box;
}

/* Controls Header */
.ghost-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-bottom: 24px;
    border-bottom: 1px solid var(--ghost-border);
    margin-bottom: 32px;
    flex-wrap: wrap;
    gap: 16px;
}

.ghost-back-link {
    color: var(--ghost-text-muted);
    text-decoration: none;
    font-weight: 500;
}

.ghost-back-link:hover {
    color: var(--ghost-accent);
}

.ghost-network-badge {
    display: flex;
    align-items: center;
    background: #50759E;
    border: 1px solid #AEC4DD;
    border-radius: 4px;
    height: 39px;
    padding: 0 12px;
    width: 200px;
    box-sizing: border-box;
    position: relative; /* Anchor for absolute overlay */
}

.ghost-pulse-dot {
    width: 20px;
    height: 20px;
    background-color: #10B981;
    border-radius: 50%;
    flex-shrink: 0;
    pointer-events: none; /* Allows clicks to register on select underneath */
    z-index: 3; /* Keeps dot rendered above the select overlay */
}

.ghost-network-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--ghost-text-muted);
    text-transform: uppercase;
}

/* Container that manages the arrow layer */
.ghost-select-wrapper {
    position: relative;
    display: inline-block;
    width: 100%;
    height: 100%;
}

/* Custom CSS Arrow */
.ghost-select-wrapper::after {
    content: "";
    position: absolute;
    right: 12px;
    top: 50%;
    width: 8px;
    height: 8px;
    border-right: 2px solid #ffffff;
    border-bottom: 2px solid #ffffff;
    transform: translateY(-65%) rotate(45deg);
    transition: transform 0.2s ease;
    pointer-events: none;
    z-index: 3;
}

/* Rotate arrow when wrapper has .is-open */
.ghost-select-wrapper.is-open::after {
    transform: translateY(-25%) rotate(225deg);
}

/* Clean Select Element */
.ghost-select {
    position: absolute;
    top: 0px;
    left: 0;
    width: 100%;
    height: 100%;
    
    background: transparent;
    color: #FFF;
    border: none;
    font-weight: 500;
    outline: none;
    cursor: pointer;
    box-sizing: border-box;
    
    padding-left: 39px; 
    padding-right: 28px;
    
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    /* Layer 1: Down Arrow | Layer 2: Up Arrow */
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffffff'%3E%3Cpath d='M7 10l5 5 5-5z'/%3E%3C/svg%3E"),
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 20 20' fill='%23ffffff'%3E%3Cpath d='M7 10l5-5 5 5z'/%3E%3C/svg%3E");
    
    background-repeat: no-repeat, no-repeat;
    background-position: right 8px center, right 8px center;
    background-size: 20px 20px, 0 0;
    
    z-index: 2;
}

/* Swap background SVG layers only when .is-open class is active */
.ghost-select.is-open {
    background-size: 0 0, 20px 20px;
}

/* Page Header */
.ghost-header {
    text-align: center;
    margin-bottom: 32px;
}

.ghost-header h1 {
    font-size: 2.25rem;
    font-weight: 800;
    color: #FFF;
    margin: 0;
}

.ghost-header p {
    color: var(--ghost-text-muted);
    margin-top: 8px;
}

/* Stats */
.ghost-stats-bar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 20px 24px;
    margin-bottom: 32px;
    gap: 16px;
    flex-wrap: wrap;
}

.ghost-stat-item {
    flex: 1;
    text-align: center;
}

/* Mobile Layout */
@media (max-width: 768px) {
    .ghost-stats-bar {
        flex-direction: column;
        gap: 20px;
    }

    .ghost-stat-item {
        width: 100%;
    }

    .ghost-stat-divider {
        width: 100%;
        height: 1px;
    }
}

.ghost-stat-divider {
    width: 1px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.2);
}

.ghost-stat-title {
    font-size: 18px;
    font-weight: 500;
    color: var(--ghost-text-muted);
    /* letter-spacing: 0.05em; */
}

.ghost-stat-value {
    font-size: 24px;
    font-weight: 700;
    color: #FFF;
    margin-top: 4px;
}

.ghost-stat-icon {
    padding: 10px 12px;
    background: rgba(31, 41, 61, 0.4);
    border-radius: 8px;
    font-size: 1.25rem;
}

/* Responsive adjustment for mobile screens */
@media (max-width: 768px) {
    .ghost-stat-divider {
        display: none;
    }
    .ghost-stats-bar {
        gap: 24px;
    }
}

.ghost-green-icon { color: #34D399; }

/* Modules Grid */
.ghost-modules-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 32px;
    margin-bottom: 32px;
}

.ghost-module {
    padding: 32px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.ghost-module-tg {
    border: 1px solid #F2E370;
}

.ghost-module-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.ghost-tier-tag {
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    color: var(--ghost-text-muted);
}

.ghost-badge {
    background: #60C45B;
    color: rgb(31, 70, 113);
    font-size: 12px;
    padding: 4px 10px;
    border-radius: 16px;
}

.ghost-badge-tg {
    background: var(--ghost-tg);
    font-weight: 450;
}

.ghost-module h2 {
    color: #FFF;
    margin: 0 0 8px 0;
}

.ghost-desc {
    color: var(--ghost-text-muted);
    margin: 0 0 24px 0;
	font-weight: 400;
}

/* Forms & Inputs */
.ghost-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.ghost-input {
    width: 100%;
    background-color: rgb(52, 91, 135) !important;
    border: none !important;
    border-radius: 8px !important;
    padding: 12px 16px !important;
    color: #FFF !important;
	font-weight: 500 !important;
    box-sizing: border-box;
}

.ghost-input:focus {
    outline: none;
    border-color: var(--ghost-accent);
}

.ghost-captcha {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(31, 41, 61, 0.6);
    border-radius: 8px;
    padding: 12px;
    text-align: center;
    font-size: 0.75rem;
    color: #6B7280;
    font-family: monospace;
}

/* Buttons */
.ghost-btn {
    width: 100% !important;
    padding: 6px !important;
    border-radius: 8px !important;
    text-align: center !important;
    text-decoration: none !important;
    border: 1px solid var(--ghost-card-bg) !important;
    cursor: pointer !important;
    box-sizing: border-box !important;
    transition: background 0.2s !important;
    font-size: 15px !important;
    font-weight: 500 !important;
	text-transform: none !important;
	line-height: 2 !important;
	display: block;
}

.ghost-btn-accent {
    background: var(--ghost-card-bg) !important;
    color: #F2E370 !important;
    border: 1px solid #F2E370 !important;
	letter-spacing: normal !important;
}

.ghost-btn-accent:hover {
    background: var(--ghost-tg-hover) !important;
    color: rgb(31, 70, 113) !important;
}

.ghost-btn-tg {
    background: var(--ghost-tg) !important;
    color: #1F4671 !important;
    display: block !important;
	border: 1px solid var(--ghost-tg) !important;
}

.ghost-btn-tg:hover {
    background: var(--ghost-tg-hover) !important;
	border-color: var(--ghost-tg-hover) !important;
}

/* Steps */
.ghost-steps {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 24px;
}

.ghost-step {
    display: flex;
    align-items: center;
    gap: 12px;
    background: #345B87;
    padding: 12px;
    border-radius: 8px;

    color: #fff;
}

.ghost-step-num {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: rgba(34, 158, 217, 0.2);
    color: var(--ghost-tg);
    font-weight: 700;
    display: flex;
    align-items: center;
    justify-content: center;
}


/* Card states Pass-Fail */
.ghost-faucet-card.is-transformed {
    border: 1px solid #30363d;
    border-radius: 12px;
}

.ghost-faucet-card.is-success { border-color: #3fb950; }
.ghost-faucet-card.is-error   { border-color: #f85149; }

/* Status panel fills the card */
.ghost-faucet-card .faucet-status {
}

.ghost-faucet-success {
	border: none !important;
	color: white !important;
	display: flex;
    flex-direction: column;
    gap: 4px;  
}

.ghost-faucet-success h2 {
	/* color: #3fb950; */
	/* margin-bottom: 20px; */
	color: white !important;

}
.ghost-faucet-success h3 {
	color: white !important;
    font-size: 14px;
    margin-bottom: 5px;
}
.ghost-faucet-success p { margin-bottom: 20px; word-break: break-all; }
.ghost-faucet-success a {
	color: #F2E370;
	word-break: break-all;
}

.ghost-faucet-error {
	display: flex;
    flex-direction: column;
    gap: 80px;
}

.ghost-faucet-error h1 { margin-bottom: 20px; }
.ghost-faucet-error p  { margin-bottom: 25px; }

/* DVFAQ */

.dvfaq-cat-container {
    font-family: 'Ubuntu', sans-serif;
	background-color: transparent !important;
  	border-radius: 20px !important;
  	overflow: hidden;
}

.dvfaq-cat-title {
    font-family: 'Ubuntu', sans-serif;
	border: none !important;
	background-color: transparent !important;
	font-size: 20px;
}
.dvfaq-accordion-wrapper {
    font-family: 'Ubuntu', sans-serif;
	background-color: transparent !important;
}
.dvfaq-accordion-container {
	font-family: 'Ubuntu', sans-serif;
	background-color: #50759E !important;
	color: white !important;
  	margin: 0px !important;
	border: none !important;
}

.dvfaq-cat-container h4 {
	background-color: transparent !important !important;	
}

.dvfaq-accordion-header {
    font-family: 'Ubuntu', sans-serif;
	color: white !important;
	font-size: 20px;
	border-bottom: none !imporant;
}
.dvfaq-accordion-content {
	font-family: 'Ubuntu', sans-serif;
}

.dvfaq-accordion-wrapper .dvfaq-accordion-container:last-of-type {
	border-radius: 0 0 16px 16px !important;
	overflow: hidden;
}

.dvfaq-cat-container .dvfaq-accordion-wrapper:last-of-type {
  	margin-bottom: 0px;
}