: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);
    --arrow-down-icon: 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");
    --arrow-up-icon:   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");
	--placeholder-input-color: #9AADC3;
}

.fiip0 #gvvP2 {
	background-color: #1F4671;
}

/* Dropdown */

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

.ghost-network-logo {
    width: 22px;
    height: 22px;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ghost-network-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.ghost-network-trigger {
    position: relative;               /* anchor for ::after */
    flex: 1;
    background-image: none;           /* remove the background arrow */
    background-color: transparent;
    border: none;
    color: #fff;
    font-family: 'Ubuntu', sans-serif;
    font-weight: 600;
    font-size: 14px;
    text-align: left;
    cursor: pointer;
    padding: 0 28px 0 0;              /* room for arrow */
    line-height: 1;
    outline: none;
}

.ghost-network-trigger::after {
    content: "";
    position: absolute;
    right: 4px;
    top: 50%;
    width: 20px;
    height: 20px;
    transform: translateY(-50%);
    transform-origin: 60% 58.33%;    /* centroid of the triangle path */
    background-image: var(--arrow-down-icon);
    background-repeat: no-repeat;
    background-position: center;
    background-size: 20px 20px;
    transition: transform 0.2s ease;
    pointer-events: none;
}

.ghost-network-badge.is-open .ghost-network-trigger::after {
    transform: translateY(-50%) rotate(180deg);
}

.ghost-network-menu {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    margin: 4px 0 0;
    padding: 6px 0;
    list-style: none;
    background: #345B87;
    border: 1px solid #AEC4DD;
    border-radius: 6px;
    z-index: 100;
    max-height: 300px;
    overflow-y: auto;
    box-shadow: 0 8px 20px rgba(0,0,0,0.25);
}

.ghost-network-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px 12px;
    color: #fff;
    text-decoration: none;
    font-size: 14px;
	font-weight: 600;
  	text-decoration: none !important;
}

.ghost-network-option:hover {
    background: rgba(255,255,255,0.08);
}

.ghost-network-option img {
    width: 20px;
    height: 20px;
    object-fit: contain;
    flex-shrink: 0;
}

/* 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: normal;
    min-height: 100vh;
    -webkit-font-smoothing: antialiased;
}

/* Turnstile Cloudflare */
.ghost-turnstile-wrapper {
    height: 65px;
    box-sizing: border-box;
    overflow: hidden;
    background-color: #313131;
background: 
    linear-gradient(90deg, rgba(58, 58, 58, 1) 0%, rgba(0, 0, 0, 0.10) 50%, rgba(58, 58, 58, 1) 100%)
    #3a3a3a;
  background-size: 300% 100%;
  animation: l1 1s infinite linear;
}

@keyframes l1 {
  0% { background-position: right; }
}

.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;

    caret-color: transparent;	
}

/* 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-tg) !important;
}

.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;
}

.ghost-pulse-dot {
    width: 20px;
    height: 20px;
    background-color: #10B981;
    border-radius: 50%;
    flex-shrink: 0;
    pointer-events: none;
    z-index: 3;
}

.ghost-network-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    display: inline-flex;
    align-items: center;
    justify-content: center;
}

.ghost-network-logo img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}

.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;
}

.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: 45px;
    padding-right: 28px;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    
    background-image: 
        var(--arrow-down-icon),
        var(--arrow-down-icon);
    background-repeat: no-repeat, no-repeat;
    background-position: right 8px center, right 8px center;
    background-size: 20px 20px, 0 0;
    z-index: 2;
}

.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;
}

.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);
}

.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-stats-bar {
        flex-direction: column;
        gap: 24px;
    }

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

    .ghost-stat-divider {
        display: none;
    }
}

.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-module-header h2 {
	font-size: 17px;
}

.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;
	caret-color: white;
}

.ghost-input::placeholder {
    color: var(--placeholder-input-color);      /* change to whatever you want */
    opacity: 1;          /* Firefox lowers opacity by default */
}
.ghost-input::-webkit-input-placeholder { color: var(--placeholder-input-color); }  /* Chrome, Safari, Edge */
.ghost-input::-moz-placeholder          { color: var(--placeholder-input-color); opacity: 1; }  /* Firefox 19+ */
.ghost-input:-ms-input-placeholder      { color: var(--placeholder-input-color); }  /* IE 10+ */
.ghost-input::placeholder               { color: var(--placeholder-input-color); opacity: 1; }  /* standard */

.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-submit-btn:disabled, #ghost-submit-btn:hover:disabled {
	opacity: 0.3;
    cursor: default !important;
	background: var(--ghost-card-bg) !important;
    color: #F2E370 !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: #1F4671;*/
    padding: 12px;
    border-radius: 8px;
    color: #fff;
	background-color: rgba(255, 255, 255, 0.05); /* Very light translucent tint */
  	border: 1px solid rgba(255, 255, 255, 0.2);
}

.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; }

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

.ghost-faucet-success h2 {
    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-faucet-skin-faq .dvfaq-cat-container {
    font-family: 'Ubuntu', sans-serif;
    background-color: transparent !important;
    border-radius: 20px !important;
    overflow: hidden;
}

.dvfaq-faucet-skin-faq .dvfaq-cat-title {
    font-family: 'Ubuntu', sans-serif;
    border: none !important;
    background-color: transparent !important;
    font-size: 17px;
	text-align: left;
	color: var(--ghost-text-muted);
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-wrapper {
    font-family: 'Ubuntu', sans-serif;
    background-color: transparent !important;
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-container {
    font-family: 'Ubuntu', sans-serif;
    background-color: #50759E;
    color: white !important;
    margin: 0px !important;
    position: relative; 
	background-image: none !important;
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-container::after {
    content: "";
    position: absolute;
    left: 32px;
    bottom: 0;
    width: calc(100% - 64px);
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.dvfaq-faucet-skin-faq .dvfaq-cat-container h2 {
    background-color: #50759E !important;
    position: relative;
    padding-left: 32px;
    padding-top: 32px;
}

.dvfaq-faucet-skin-faq .dvfaq-cat-container h2::after {
    content: "";
    position: absolute;
    left: 32px;
    bottom: 0;
    width: calc(100% - 64px);
    height: 1px;
    background: rgba(255, 255, 255, 0.2);
    pointer-events: none;
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-header {
    font-family: 'Ubuntu', sans-serif;
    color: white !important;
    font-size: 16px !important;
    font-weight: 400;
	padding: 20px 56px 20px 32px !important;   /* extra right padding for the arrow */
    position: relative;
}

/* Arrow circle */
.dvfaq-faucet-skin-faq .dvfaq-accordion-header::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50% !important;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #345B87;

    /* Arrow, centered inside the circle */
    background-image: var(--arrow-down-icon);
    background-repeat: no-repeat;
    background-position: 6px center;
    background-size: 16px 16px;      /* smaller than the circle so it breathes */

    pointer-events: none;
    transition: transform 0.2s ease;
	margin-right: 16px !important;
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-header.dvfaq-active-header::after {
    content: "";
    position: absolute;
    right: 24px;
    top: 50% !important;
    transform: translateY(-50%);
    width: 30px;
    height: 30px;
    border-radius: 50%;
    background-color: #345B87;

    /* Arrow, centered inside the circle */
    background-image: var(--arrow-down-icon);
    background-repeat: no-repeat;
    background-position: 5px 5px;
    background-size: 16px 16px;      /* smaller than the circle so it breathes */

    pointer-events: none;
    transition: transform 0.2s ease;
}

/* Rotate arrow when open */
.dvfaq-faucet-skin-faq .dvfaq-accordion-header.dvfaq-active-header::after {
    transform: translateY(-50%) rotate(180deg);
}

.dvfaq-faucet-skin-faq h2.dvfaq-cat-title::before {
    background: transparent;
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-header {
    font-family: 'Ubuntu', sans-serif;
    color: white !important;
    font-size: 20px;
    padding: 20px 32px 20px 32px !important;
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-container:last-of-type .dvfaq-accordion-header.dvfaq-inactive-header {
    padding-bottom: 32px !important;
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-content {
    font-family: 'Ubuntu', sans-serif;
    padding: 0px 32px 25px 32px;
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-content a {
    color: var(--ghost-tg);
}

.dvfaq-faucet-skin-faq .dvfaq-accordion-content ul {
    margin-bottom: 0;
}

.dvfaq-faucet-skin-faq .dvfaq-after-content {
	display: none;
}

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

.dvfaq-faucet-skin-faq .dvfaq-accordion-wrapper .dvfaq-accordion-container:last-of-type::after {
    content: none;
}

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