/* CMP Countdown Theme — Echologists Edition */

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

html {
    height: 100%;
}

body {
    background: #0a0a0a !important;
    background-image: none !important;
    color: #e8e8e8;
    font-family: 'JetBrains Mono', 'Share Tech Mono', 'Courier New', monospace;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow-x: hidden;
}

/* Scanlines */
body::after {
    content: '';
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.055) 2px,
        rgba(0, 0, 0, 0.055) 4px
    );
    pointer-events: none;
    z-index: 9999;
}

/* Remove any background overlays */
.bg, #bg, .overlay,
.cmp-bg, .background,
[class*="bg-"] {
    display: none !important;
}

/* Main wrapper */
.main-wrapper,
.wrapper,
#wrapper,
.cmp-wrapper {
    background: transparent !important;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Inner content */
.inner-content {
    background: transparent !important;
    box-shadow: none !important;
    border: none !important;
    border-radius: 0 !important;
    padding: 40px 24px !important;
    max-width: 580px !important;
    width: 90vw !important;
    margin: 0 auto !important;
    text-align: center !important;
}

/* Logo / site name */
.logo-wrapper,
.text-logo-wrapper {
    margin-bottom: 20px !important;
}

h1.text-logo {
    font-family: 'JetBrains Mono', 'Share Tech Mono', monospace !important;
    font-size: 12px !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    color: rgba(74, 255, 145, 0.7) !important;
    font-weight: 400 !important;
    margin: 0 0 8px !important;
}

h1.text-logo a {
    color: inherit !important;
    text-decoration: none !important;
}

/* Main heading */
h2.cmp-title {
    font-family: 'JetBrains Mono', 'Share Tech Mono', monospace !important;
    font-size: 18px !important;
    letter-spacing: 0.18em !important;
    text-transform: uppercase !important;
    color: #e8e8e8 !important;
    font-weight: 400 !important;
    margin: 0 0 32px !important;
    line-height: 1.3 !important;
}

/* Countdown container */
#counter {
    display: flex !important;
    flex-wrap: nowrap !important;
    gap: 10px !important;
    justify-content: center !important;
    align-items: stretch !important;
    margin: 0 auto 32px !important;
    max-width: 520px !important;
    width: 100% !important;
}

/* Counter boxes */
.counter-box {
    background: #0d0d0d !important;
    border: 0.5px solid rgba(74, 255, 145, 0.12) !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    flex: 1 !important;
    min-width: 0 !important;
    padding: 18px 10px !important;
    position: relative !important;
}

/* Green top line on counter box */
.counter-box::before {
    content: '';
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(74,255,145,0.3), transparent);
}

.counter-inner {
    background: transparent !important;
    display: flex !important;
    flex-direction: column !important;
    align-items: center !important;
    justify-content: center !important;
}

/* Counter numbers */
.counter-number,
span[id^="counter-"] {
    display: block !important;
    font-family: 'JetBrains Mono', 'Share Tech Mono', monospace !important;
    font-size: 32px !important;
    font-weight: 400 !important;
    color: #4aff91 !important;
    letter-spacing: 0.05em !important;
    line-height: 1 !important;
    margin-bottom: 8px !important;
    text-shadow: 0 0 12px rgba(74, 255, 145, 0.35) !important;
}

/* Counter labels */
.counter-label,
p.counter-label {
    font-family: 'JetBrains Mono', 'Share Tech Mono', monospace !important;
    font-size: 8px !important;
    font-weight: 400 !important;
    color: rgba(232, 232, 232, 0.3) !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
    line-height: 1 !important;
}

/* Divider */
hr, .cmp-divider {
    border: none !important;
    height: 0.5px !important;
    background: linear-gradient(90deg, transparent, rgba(74,255,145,0.2), transparent) !important;
    margin: 24px 0 !important;
}

/* Subscribe form */
.cmp-subscribe,
[class*="subscribe"] {
    margin: 24px auto !important;
    max-width: 420px !important;
}

.cmp-subscribe form,
[class*="subscribe"] form {
    display: flex !important;
    gap: 0 !important;
}

input[type="email"],
input[type="text"] {
    flex: 1 !important;
    background: #0d0d0d !important;
    border: 0.5px solid rgba(74, 255, 145, 0.15) !important;
    border-right: none !important;
    border-radius: 0 !important;
    color: #e8e8e8 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 10px !important;
    letter-spacing: 0.08em !important;
    padding: 11px 14px !important;
    outline: none !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

input[type="email"]:focus,
input[type="text"]:focus {
    border-color: rgba(74, 255, 145, 0.35) !important;
    box-shadow: none !important;
}

input[type="email"]::placeholder,
input[type="text"]::placeholder {
    color: rgba(232, 232, 232, 0.2) !important;
}

input[type="submit"],
button[type="submit"],
.cmp-subscribe input[type="submit"] {
    background: rgba(74, 255, 145, 0.07) !important;
    border: 0.5px solid rgba(74, 255, 145, 0.15) !important;
    border-radius: 0 !important;
    color: #4aff91 !important;
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 9px !important;
    letter-spacing: 0.22em !important;
    text-transform: uppercase !important;
    padding: 11px 16px !important;
    cursor: pointer !important;
    transition: all 0.2s !important;
    box-shadow: none !important;
    -webkit-appearance: none !important;
}

input[type="submit"]:hover,
button[type="submit"]:hover {
    background: rgba(74, 255, 145, 0.13) !important;
    border-color: #4aff91 !important;
}

/* Social icons */
.social-wrapper {
    margin: 24px 0 !important;
}

.social-list a {
    background: transparent !important;
    border: 0.5px solid rgba(232, 232, 232, 0.1) !important;
    border-radius: 0 !important;
    color: rgba(232, 232, 232, 0.3) !important;
    width: 32px !important;
    height: 32px !important;
    display: inline-flex !important;
    align-items: center !important;
    justify-content: center !important;
    transition: all 0.2s !important;
    margin: 0 4px !important;
}

.social-list a:hover,
.social-list.body a:hover {
    background: rgba(74, 255, 145, 0.07) !important;
    border-color: rgba(74, 255, 145, 0.4) !important;
    color: #4aff91 !important;
}

.social-list.body a {
    background: transparent !important;
}

/* Footer */
footer {
    background: transparent !important;
    border-top: 0.5px solid rgba(74, 255, 145, 0.08) !important;
    padding: 20px 0 0 !important;
    margin-top: 32px !important;
    width: 100% !important;
    text-align: center !important;
}

footer p,
p.copyright {
    font-family: 'JetBrains Mono', monospace !important;
    font-size: 9px !important;
    color: rgba(232, 232, 232, 0.15) !important;
    letter-spacing: 0.15em !important;
    text-transform: uppercase !important;
    margin: 0 !important;
}

footer a,
p.copyright a {
    color: rgba(232, 232, 232, 0.15) !important;
    text-decoration: none !important;
    transition: color 0.2s !important;
}

footer a:hover,
p.copyright a:hover {
    color: rgba(74, 255, 145, 0.5) !important;
}

/* Animated elements — keep but recolour */
.animated {
    animation-duration: 1s;
    animation-fill-mode: both;
}

/* Selection */
::selection {
    background: rgba(74, 255, 145, 0.25) !important;
    color: #4aff91 !important;
}

::-moz-selection {
    background: rgba(74, 255, 145, 0.25) !important;
    color: #4aff91 !important;
}

/* Responsive */
@media (max-width: 480px) {
    #counter {
        flex-wrap: wrap !important;
        max-width: 280px !important;
    }
    .counter-box {
        flex: 1 1 calc(50% - 10px) !important;
        min-width: calc(50% - 10px) !important;
    }
    h2.cmp-title {
        font-size: 14px !important;
    }
    .counter-number {
        font-size: 26px !important;
    }
}

/* Kill background image and overlay */
.background-image {
  display: none !important;
}
.background-overlay {
  background: #0a0a0a !important;
  opacity: 1 !important;
}
.counter-box {
  background: #0d0d0d !important;
  border: 0.5px solid rgba(74,255,145,0.12) !important;
  border-radius: 0 !important;
  box-shadow: none !important;
}