* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Courier New', monospace;
    background: #000;
    color: #0f0;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
}

/* Matrix rain effect background */
#matrix-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    opacity: 0.15;
}

/* Main container */
.container {
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 60px 20px;
    text-align: center;
}

/* Logo/Title */
.logo {
    font-size: 4rem;
    font-weight: bold;
    margin-bottom: 1rem;
    text-shadow: 
        0 0 10px #0f0,
        0 0 20px #0f0,
        0 0 30px #0f0,
        0 0 40px #00ff00;
    animation: pulse 2s ease-in-out infinite;
    letter-spacing: 0.2rem;
}

.subtitle {
    font-size: 1.5rem;
    color: #00ffff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #00ffff;
    letter-spacing: 0.1rem;
}

.tf-head-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin: 30px 0 20px 0;
    position: relative;
}

.tf-head {
    width: 200px;
    height: auto;
    transition: all 0.3s ease;
    filter: drop-shadow(0 0 10px #0f0);
    cursor: pointer;
}

.tf-label {
    color: #0ff;
    font-size: 1rem;
    letter-spacing: 0.2rem;
    text-shadow: 0 0 10px #0ff;
    margin-top: 10px;
    font-weight: 600;
}

.tf-head:hover {
    filter: drop-shadow(0 0 20px #0f0);
    transform: scale(1.05);
}

.tf-hover-text {
    position: absolute;
    bottom: -100px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #0f0;
    padding: 15px 20px;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
    font-size: 0.9rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    z-index: 100;
    text-align: center;
    line-height: 1.6;
}

.tf-head-container:hover .tf-hover-text {
    opacity: 1;
    bottom: -110px;
}

.tf-hover-text .highlight {
    color: #ff0;
    text-shadow: 0 0 10px #ff0;
}

body.high-contrast .tf-head {
    filter: none !important;
}

body.high-contrast .tf-head .brain-glow {
    animation: none !important;
    filter: none !important;
}

body.high-contrast .tf-head .eye-blink {
    animation: none !important;
}

body.high-contrast .tf-head path,
body.high-contrast .tf-head line,
body.high-contrast .tf-head ellipse,
body.high-contrast .tf-head circle,
body.high-contrast .tf-head rect {
    stroke: #000 !important;
}

body.high-contrast .tf-head .brain-glow,
body.high-contrast .tf-head .eye-blink,
body.high-contrast .tf-head .mouth-fill,
body.high-contrast .tf-head ellipse {
    fill: rgba(0, 0, 0, 0.05) !important;
}

body.high-contrast .tf-head .tooth {
    fill: #fff !important;
}

body.high-contrast .tf-label {
    color: #000 !important;
    text-shadow: none !important;
}

body.high-contrast .tf-hover-text {
    background: #fff !important;
    border-color: #000 !important;
    color: #000 !important;
    text-shadow: none !important;
    box-shadow: none !important;
}

body.high-contrast .tf-hover-text .highlight {
    color: #000 !important;
    text-shadow: none !important;
    font-weight: 700;
}

.radical-tagline {
    font-size: 1.8rem;
    color: #ff0;
    margin-bottom: 3rem;
    text-shadow: 
        0 0 10px #ff0,
        0 0 20px #ff0;
    letter-spacing: 0.05rem;
    line-height: 1.6;
}

/* CTA Buttons */
.cta-section {
    margin: 3rem 0 4rem;
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    align-items: center;
}

.primary-cta {
    background: transparent;
    border: 3px solid #0ff;
    color: #0ff;
    padding: 18px 40px;
    font-family: 'Courier New', monospace;
    font-size: 1.3rem;
    cursor: pointer;
    transition: all 0.3s;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    text-shadow: 0 0 10px #0ff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
    text-decoration: none;
    display: inline-block;
    position: relative;
}

.primary-cta .cta-img {
    display: none;
    position: absolute;
    left: 100%;
    top: 50%;
    transform: translateY(-50%) translateX(10px);
    width: 48px;
    height: 48px;
    z-index: 10;
}

.primary-cta:hover .cta-img {
    display: block;
}

.primary-cta.show-img .cta-img {
    display: block;
}

.secondary-cta {
    color: #ff0;
    text-decoration: none;
    font-size: 1.2rem;
    text-shadow: 0 0 10px #ff0;
    transition: all 0.3s;
    border-bottom: 2px dotted #ff0;
    padding-bottom: 3px;
}

.secondary-cta:hover {
    color: #0ff;
    text-shadow: 0 0 15px #0ff;
    border-bottom-color: #0ff;
}

/* Waitlist Section */
.waitlist-section {
    max-width: 600px;
    margin: 0 auto 4rem;
    padding: 40px 30px;
    background: rgba(0, 255, 255, 0.05);
    border: 3px solid #0ff;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.waitlist-title {
    font-size: 2.2rem;
    color: #0ff;
    text-shadow: 0 0 20px #0ff;
    margin-bottom: 1rem;
    text-align: center;
    letter-spacing: 0.1rem;
}

.waitlist-subtitle {
    font-size: 1.1rem;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
}

.waitlist-subtitle strong {
    color: #ff0;
    text-shadow: 0 0 10px #ff0;
}

.waitlist-call-to-action {
    font-size: 1.2rem;
    color: #ff0;
    text-shadow: 0 0 15px #ff0;
    margin-bottom: 2rem;
    text-align: center;
    line-height: 1.6;
    font-weight: bold;
    letter-spacing: 0.05rem;
}

.waitlist-form {
    margin-bottom: 2rem;
}

.form-group {
    display: flex;
    gap: 10px;
    margin-bottom: 1rem;
}

.waitlist-input {
    flex: 1;
    padding: 15px 20px;
    background: rgba(0, 20, 0, 0.8);
    border: 2px solid #0f0;
    color: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.3s;
}

.waitlist-input:focus {
    outline: none;
    border-color: #0ff;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.waitlist-input::placeholder {
    color: rgba(0, 255, 0, 0.5);
}

.waitlist-submit {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #0ff;
    color: #0ff;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    cursor: pointer;
    text-shadow: 0 0 10px #0ff;
    transition: all 0.3s;
    white-space: nowrap;
}

.waitlist-submit:hover {
    background: #0ff;
    color: #000;
    box-shadow: 0 0 20px #0ff;
}

.waitlist-submit:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.form-status {
    min-height: 30px;
    padding: 10px;
    text-align: center;
    font-size: 0.95rem;
    margin-bottom: 1rem;
}

.form-status.success {
    color: #0ff;
    text-shadow: 0 0 10px #0ff;
}

.form-status.error {
    color: #f00;
    text-shadow: 0 0 10px #f00;
}

.waitlist-note {
    font-size: 0.85rem;
    color: rgba(0, 255, 0, 0.7);
    text-align: center;
    font-style: italic;
}

.waitlist-benefits {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 15px;
    margin-top: 2rem;
}

.benefit-item {
    text-align: center;
    color: #ff0;
    text-shadow: 0 0 10px #ff0;
    font-size: 0.95rem;
    padding: 10px;
}

/* Section styling */
.section {
    max-width: 900px;
    margin: 0 auto 5rem;
    padding: 0 20px;
}

.section-title {
    font-size: 2.5rem;
    color: #0ff;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 15px #0ff;
    text-transform: uppercase;
    letter-spacing: 0.15rem;
}

.section-content {
    font-size: 1.2rem;
    color: #0f0;
    line-height: 1.9;
    text-shadow: 0 0 5px #0f0;
    margin-bottom: 1.5rem;
}

/* Clarity Gate Box */
.clarity-gate-box {
    margin: 3rem 0;
    padding: 2.5rem;
    background: rgba(0, 255, 255, 0.05);
    border: 3px solid #0ff;
    box-shadow: 0 0 40px rgba(0, 255, 255, 0.3);
}

/* High contrast styles for Clarity Gate buttons and options */
body.high-contrast #refresh-gate-lock,
body.high-contrast .clarity-gate-option {
    background: #fff !important;
    color: #000 !important;
    border-color: #000 !important;
    text-shadow: none !important;
}
body.high-contrast .clarity-gate-option {
    box-shadow: 0 0 0 #000 !important;
}
body.high-contrast #refresh-gate-lock {
    box-shadow: 0 0 0 #000 !important;
}

.clarity-gate-title {
    font-size: 2.5rem;
    color: #0ff;
    text-shadow: 0 0 20px #0ff;
    margin-bottom: 1.5rem;
    letter-spacing: 0.15rem;
}

.clarity-gate-subtitle {
    font-size: 1.15rem;
    color: #ff0;
    text-shadow: 0 0 10px #ff0;
    margin-bottom: 2rem;
    line-height: 1.7;
}

.clarity-gate-list {
    list-style: none;
    padding: 0;
    margin: 2rem 0;
    font-size: 1.1rem;
    line-height: 2.2;
}

.clarity-gate-list li {
    margin-bottom: 0.8rem;
    color: #0f0;
}

.clarity-gate-list li::before {
    content: '▸ ';
    color: #0ff;
    font-weight: bold;
}

/* Theme Park Box */
.theme-park-box {
    margin: 3rem 0;
    padding: 2.5rem;
    background: rgba(255, 255, 0, 0.05);
    border: 2px solid #ff0;
    box-shadow: 0 0 30px rgba(255, 255, 0, 0.2);
}

.theme-park-title {
    font-size: 2rem;
    color: #ff0;
    text-shadow: 0 0 15px #ff0;
    margin-bottom: 1.5rem;
}

/* Theme Park Icons */
.park-icons-row {
    display: flex;
    justify-content: center;
    gap: 40px;
    margin: 2rem 0 3rem;
    flex-wrap: wrap;
}

.park-icon-container {
    position: relative;
    text-align: center;
}

.park-icon {
    width: 150px;
    height: 150px;
    transition: all 0.3s ease;
    cursor: pointer;
}

.park-icon:hover {
    filter: drop-shadow(0 0 20px #0f0);
    transform: scale(1.05);
}

.gate-frame {
    fill: none;
    stroke: #0f0;
    stroke-width: 3;
    filter: drop-shadow(0 0 5px #0f0);
}

.gate-arch {
    fill: none;
    stroke: #0f0;
    stroke-width: 3;
    filter: drop-shadow(0 0 5px #0f0);
}

.dollar-sign {
    fill: #0f0;
    font-family: 'Courier New', monospace;
    font-size: 24px;
    font-weight: bold;
    filter: drop-shadow(0 0 8px #0f0);
}

.gate-bars {
    stroke: #0f0;
    stroke-width: 2;
    opacity: 0.7;
}

.turnstile {
    fill: none;
    stroke: #ff0;
    stroke-width: 3;
    filter: drop-shadow(0 0 5px #ff0);
}

.entry-arrow {
    fill: #0ff;
    filter: drop-shadow(0 0 5px #0ff);
}

.icon-label {
    color: #0ff;
    text-shadow: 0 0 10px #0ff;
    font-size: 0.9rem;
    margin-top: 10px;
    letter-spacing: 0.05rem;
}

@keyframes pulse-dollar {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.dollar-animated {
    animation: pulse-dollar 2s ease-in-out infinite;
}

.dollar-animated:nth-child(2) {
    animation-delay: 0.3s;
}

.dollar-animated:nth-child(3) {
    animation-delay: 0.6s;
}

/* Pay-as-you-go styles */
.booth-frame {
    fill: none;
    stroke: #0f0;
    stroke-width: 3;
    filter: drop-shadow(0 0 5px #0f0);
}

.booth-roof {
    fill: none;
    stroke: #0f0;
    stroke-width: 3;
    filter: drop-shadow(0 0 5px #0f0);
}

.booth-window {
    fill: rgba(0, 255, 0, 0.1);
    stroke: #0ff;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #0ff);
}

.ticket {
    fill: #ff0;
    stroke: #ff0;
    stroke-width: 1;
    filter: drop-shadow(0 0 8px #ff0);
}

.ticket-text {
    fill: #000;
    font-family: 'Courier New', monospace;
    font-size: 8px;
    font-weight: bold;
}

.price-tag {
    fill: #f00;
    font-family: 'Courier New', monospace;
    font-size: 10px;
    font-weight: bold;
    filter: drop-shadow(0 0 5px #f00);
}

.booth-sign {
    fill: #0ff;
    font-family: 'Courier New', monospace;
    font-size: 12px;
    font-weight: bold;
    filter: drop-shadow(0 0 8px #0ff);
}

@keyframes float-ticket {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-3px); }
}

.ticket-animated {
    animation: float-ticket 1.5s ease-in-out infinite;
}

.ticket-animated:nth-of-type(2) {
    animation-delay: 0.3s;
}

.ticket-animated:nth-of-type(3) {
    animation-delay: 0.6s;
}

@keyframes drop-coin {
    0% { transform: translateY(-20px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateY(0); opacity: 1; }
}

.coin {
    fill: #ff0;
    stroke: #ff0;
    stroke-width: 1;
    filter: drop-shadow(0 0 5px #ff0);
    animation: drop-coin 2s ease-out infinite;
}

.coin:nth-of-type(2) {
    animation-delay: 0.7s;
}

.coin:nth-of-type(3) {
    animation-delay: 1.4s;
}

/* Hover tooltip */
.icon-tooltip {
    position: absolute;
    bottom: -80px;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #0f0;
    padding: 12px 18px;
    color: #0f0;
    text-shadow: 0 0 10px #0f0;
    font-size: 0.85rem;
    white-space: nowrap;
    opacity: 0;
    transition: all 0.3s ease;
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
    z-index: 100;
}

.park-icon-container:hover .icon-tooltip {
    opacity: 1;
    bottom: -70px;
}

/* Co-op park styles */
.gate-open {
    fill: none;
    stroke: #0ff;
    stroke-width: 3;
    filter: drop-shadow(0 0 8px #0ff);
}

.person {
    fill: #0ff;
    filter: drop-shadow(0 0 5px #0ff);
}

.token-in {
    fill: #ff0;
    filter: drop-shadow(0 0 8px #ff0);
}

.token-out {
    fill: #0f0;
    filter: drop-shadow(0 0 8px #0f0);
}

.ownership {
    fill: none;
    stroke: #ff0;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #ff0);
}

.key-symbol {
    fill: #ff0;
    filter: drop-shadow(0 0 10px #ff0);
}

.co-op-text {
    fill: #0ff;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: bold;
    filter: drop-shadow(0 0 8px #0ff);
}

@keyframes flow-in {
    0% { transform: translateX(-30px); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: translateX(0); opacity: 1; }
}

@keyframes flow-out {
    0% { transform: translateX(0); opacity: 1; }
    50% { opacity: 1; }
    100% { transform: translateX(30px); opacity: 0; }
}

.token-flow-in {
    animation: flow-in 2s ease-in-out infinite;
}

.token-flow-out {
    animation: flow-out 2s ease-in-out infinite;
}

@keyframes pulse-glow {
    0%, 100% { filter: drop-shadow(0 0 5px #0ff); }
    50% { filter: drop-shadow(0 0 15px #0ff); }
}

.pulse-person {
    animation: pulse-glow 2s ease-in-out infinite;
}

.pulse-person:nth-of-type(2) {
    animation-delay: 0.4s;
}

.pulse-person:nth-of-type(3) {
    animation-delay: 0.8s;
}

@keyframes rotate-key {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(-10deg); }
    75% { transform: rotate(10deg); }
}

.key-rotate {
    animation: rotate-key 3s ease-in-out infinite;
    transform-origin: 100px 40px;
}

/* Clarity Gate styles */
.glass-panel {
    fill: rgba(0, 255, 255, 0.1);
    stroke: #0ff;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px #0ff);
}

.eye-outer {
    fill: none;
    stroke: #0ff;
    stroke-width: 2;
    filter: drop-shadow(0 0 8px #0ff);
}

.eye-inner {
    fill: #0ff;
    filter: drop-shadow(0 0 10px #0ff);
}

.light-ray {
    stroke: #ff0;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #ff0);
    opacity: 0.8;
}

.doc-symbol {
    fill: none;
    stroke: #0f0;
    stroke-width: 1.5;
    filter: drop-shadow(0 0 3px #0f0);
}

.checkmark {
    stroke: #0f0;
    stroke-width: 2;
    fill: none;
    filter: drop-shadow(0 0 5px #0f0);
}

.label-text {
    fill: #0ff;
    font-family: 'Courier New', monospace;
    font-size: 11px;
    font-weight: bold;
    filter: drop-shadow(0 0 8px #0ff);
}

@keyframes pulse-eye {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.pulse-eye {
    animation: pulse-eye 2s ease-in-out infinite;
    transform-origin: 100px 70px;
}

@keyframes ray-glow {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.glow-ray {
    animation: ray-glow 1.5s ease-in-out infinite;
}

.glow-ray:nth-of-type(2) {
    animation-delay: 0.3s;
}

.glow-ray:nth-of-type(3) {
    animation-delay: 0.6s;
}

@keyframes scan-line {
    0% { transform: translateY(0); }
    100% { transform: translateY(60px); }
}

.scan-line {
    animation: scan-line 3s linear infinite;
}

.inline-link {
    display: inline-block;
    margin-top: 1.5rem;
    color: #0ff;
    text-decoration: none;
    font-size: 1.1rem;
    text-shadow: 0 0 10px #0ff;
    border-bottom: 2px dotted #0ff;
    transition: all 0.3s;
}

.inline-link:hover {
    color: #0f0;
    text-shadow: 0 0 15px #0f0;
    border-bottom-color: #0f0;
    padding-left: 10px;
}

/* Disclaimer */
.disclaimer {
    max-width: 900px;
    margin: 5rem auto 2rem;
    padding: 2rem;
    border: 1px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.05);
}

.disclaimer-title {
    font-size: 1.3rem;
    color: #0ff;
    margin-bottom: 1rem;
    text-shadow: 0 0 10px #0ff;
}

.disclaimer-text {
    font-size: 0.9rem;
    color: rgba(0, 255, 0, 0.8);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.disclaimer-legal {
    font-size: 0.75rem;
    color: rgba(0, 255, 255, 0.6);
    font-style: italic;
    line-height: 1.5;
}

/* Accessibility Controls */
.accessibility-toggle {
    position: absolute;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
}

.home-btn {
    background: rgba(201, 162, 39, 0.2);
    border: 2px solid #c9a227;
    color: #c9a227;
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.3s;
    text-shadow: 0 0 5px #c9a227;
}

.home-btn:hover {
    background: rgba(201, 162, 39, 0.3);
    box-shadow: 0 0 15px rgba(201, 162, 39, 0.5);
}

.accessibility-btn {
    background: rgba(0, 255, 0, 0.2);
    border: 2px solid #0f0;
    color: #0f0;
    padding: 10px 15px;
    cursor: pointer;
    font-family: 'Courier New', monospace;
    font-size: 1rem;
    transition: all 0.3s;
    text-shadow: 0 0 5px #0f0;
}

.accessibility-btn:hover {
    background: rgba(0, 255, 0, 0.3);
    box-shadow: 0 0 15px rgba(0, 255, 0, 0.5);
}

.accessibility-menu {
    display: none;
    position: absolute;
    top: 50px;
    right: 0;
    background: rgba(0, 0, 0, 0.95);
    border: 2px solid #0f0;
    padding: 20px;
    min-width: 250px;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.accessibility-menu.show {
    display: block;
}

.accessibility-close {
    position: absolute;
    top: 10px;
    right: 10px;
    background: transparent;
    border: none;
    color: #0f0;
    font-size: 1.5rem;
    cursor: pointer;
    text-shadow: 0 0 5px #0f0;
    transition: all 0.3s;
}

.accessibility-close:hover {
    color: #0ff;
    text-shadow: 0 0 10px #0ff;
}

.accessibility-option {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    cursor: pointer;
}

.accessibility-option:last-child {
    margin-bottom: 0;
}

.accessibility-checkbox {
    width: 20px;
    height: 20px;
    border: 2px solid #0f0;
    margin-right: 10px;
    position: relative;
    flex-shrink: 0;
    cursor: pointer;
}

.accessibility-checkbox.checked::after {
    content: '✓';
    position: absolute;
    top: -2px;
    left: 2px;
    color: #0ff;
    font-size: 16px;
    text-shadow: 0 0 10px #0ff;
}

.accessibility-label {
    color: #0f0;
    font-size: 0.9rem;
    text-shadow: 0 0 5px #0f0;
    cursor: pointer;
}

/* Accessibility Mode Styles */
body.epilepsy-safe * {
    animation: none !important;
    transition: none !important;
}

body.epilepsy-safe #matrix-canvas {
    display: none !important;
}

body.dyslexic-font,
body.dyslexic-font * {
    font-family: 'Comic Sans MS', 'OpenDyslexic', sans-serif !important;
}

body.high-contrast {
    background: #fff !important;
}

body.high-contrast * {
    color: #000 !important;
    text-shadow: none !important;
    border-color: #000 !important;
}

body.high-contrast .matrix-canvas,
body.high-contrast .grid-overlay {
    display: none !important;
}

body.high-contrast .accessibility-menu {
    background: #fff !important;
}

body.high-contrast .accessibility-btn {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast .accessibility-close {
    color: #000 !important;
    text-shadow: none !important;
}

body.high-contrast .accessibility-close:hover {
    color: #000 !important;
    text-shadow: none !important;
}

body.high-contrast .accessibility-checkbox.checked::after {
    color: #000 !important;
    text-shadow: none !important;
}

body.high-contrast .waitlist-section {
    background: #fff !important;
    border-color: #000 !important;
}

body.high-contrast .waitlist-input {
    background: #fff !important;
    border-color: #000 !important;
    color: #000 !important;
}

body.high-contrast .waitlist-input::placeholder {
    color: #666 !important;
}

body.high-contrast .waitlist-submit {
    background: #fff !important;
    border-color: #000 !important;
    color: #000 !important;
}

body.high-contrast .waitlist-submit:hover {
    background: #000 !important;
    color: #fff !important;
}

/* High contrast SVG fixes - structural elements (stroke only, no fill) */
body.high-contrast .gate-frame,
body.high-contrast .gate-arch,
body.high-contrast .gate-bars,
body.high-contrast .booth-frame,
body.high-contrast .booth-roof,
body.high-contrast .doc-symbol,
body.high-contrast .gate-open,
body.high-contrast .ownership,
body.high-contrast .eye-outer {
    stroke: #000 !important;
    fill: none !important;
    filter: none !important;
}

body.high-contrast .booth-window,
body.high-contrast .glass-panel {
    stroke: #000 !important;
    fill: rgba(0, 0, 0, 0.05) !important;
    filter: none !important;
}

/* High contrast SVG - text elements */
body.high-contrast .dollar-sign,
body.high-contrast .price-tag,
body.high-contrast .booth-sign,
body.high-contrast .co-op-text,
body.high-contrast .label-text,
body.high-contrast .ticket-text {
    fill: #000 !important;
    filter: none !important;
}

/* High contrast SVG - animated elements (remove green/yellow colors) */
body.high-contrast .dollar-animated {
    fill: #000 !important;
    animation: none !important;
}

body.high-contrast .ticket-animated {
    fill: #000 !important;
    stroke: #000 !important;
    animation: none !important;
}

body.high-contrast .coin-drop {
    fill: #000 !important;
    animation: none !important;
}

body.high-contrast .person-animated {
    fill: #000 !important;
    animation: none !important;
}

body.high-contrast .pulse-flow {
    fill: #000 !important;
    stroke: #000 !important;
    animation: none !important;
}

body.high-contrast .key-rotate {
    fill: #000 !important;
    stroke: #000 !important;
    animation: none !important;
}

body.high-contrast .eye-pulse {
    fill: #000 !important;
    animation: none !important;
}

body.high-contrast .light-ray {
    stroke: #000 !important;
    opacity: 0.3 !important;
    animation: none !important;
}

body.high-contrast .scan-line {
    stroke: #000 !important;
    opacity: 0.3 !important;
    animation: none !important;
}

/* High contrast SVG - solid filled elements */
body.high-contrast .turnstile,
body.high-contrast .entry-arrow,
body.high-contrast .person,
body.high-contrast .token-in,
body.high-contrast .token-out,
body.high-contrast .coin,
body.high-contrast .ticket,
body.high-contrast .eye-inner,
body.high-contrast .checkmark {
    fill: #000 !important;
    stroke: #000 !important;
    filter: none !important;
}

/* High contrast SVG - Trojan Horse */
body.high-contrast .horse-body,
body.high-contrast .wheel,
body.high-contrast .hatch {
    stroke: #000 !important;
    fill: none !important;
    filter: none !important;
}
body.high-contrast .fun-symbol,
body.high-contrast .knowledge-symbol {
    fill: #000 !important;
    filter: none !important;
}

/* High contrast SVG - Trojan Horse */
body.high-contrast .horse-body,
body.high-contrast .wheel,
body.high-contrast .hatch {
    stroke: #000 !important;
    fill: none !important;
    filter: none !important;
}
body.high-contrast .fun-symbol,
body.high-contrast .knowledge-symbol {
    fill: #000 !important;
    filter: none !important;
}

body.larger-text {
    font-size: 120%;
}

body.larger-text .logo {
    font-size: 4.8rem;
}

body.larger-text .subtitle {
    font-size: 1.8rem;
}

body.larger-text .radical-tagline {
    font-size: 2.16rem;
}

body.larger-text .section-title {
    font-size: 3rem;
}

body.larger-text .section-content {
    font-size: 1.44rem;
}

/* Age restriction text */
.age-restriction {
    max-width: 900px;
    margin: 2rem auto;
    padding: 1rem 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: rgba(255, 255, 0, 0.7);
    line-height: 1.6;
}

/* Contact email */
.contact-info {
    margin-bottom: 2rem;
}

.contact-email {
    color: #0ff;
    text-decoration: none;
    font-size: 1.3rem;
    text-shadow: 0 0 10px #0ff;
    transition: all 0.3s;
    letter-spacing: 0.05rem;
}

.contact-email:hover {
    color: #0f0;
    text-shadow: 0 0 20px #0f0;
}

/* Social links */
.social-links {
    display: flex;
    gap: 30px;
    margin-top: 2rem;
    justify-content: center;
}

.social-link {
    color: #0f0;
    text-decoration: none;
    font-size: 1.1rem;
    transition: all 0.3s;
    text-shadow: 0 0 5px #0f0;
}

.social-link:hover {
    color: #0ff;
    text-shadow: 0 0 15px #0ff;
    transform: scale(1.1);
}

/* Numbered circle for Clarity Gate options */
.clarity-gate-num {
    font-size:1.35rem; font-weight:bold; color:#0ff; background:#111; border-radius:50%; width:2.2rem; height:2.2rem; display:flex; align-items:center; justify-content:center; border:2px solid #0ff; margin-right:0.5rem;
}
body.high-contrast .clarity-gate-num {
    background: #fff;
    color: #000;
    border-color: #fff;
}
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(0, 255, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 255, 255, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    z-index: 1;
    pointer-events: none;
}

/* Animations */
@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

@keyframes flicker {
    0%, 100% { opacity: 1; }
    41%, 43% { opacity: 0.8; }
    45%, 47% { opacity: 0.9; }
}

/* Accordion styles */
.accordion-item {
    margin-bottom: 1.5rem;
    border: 2px solid rgba(0, 255, 255, 0.3);
    background: rgba(0, 255, 255, 0.03);
    transition: all 0.3s ease;
}

.accordion-item:hover {
    border-color: rgba(0, 255, 255, 0.5);
    background: rgba(0, 255, 255, 0.05);
}

.accordion-header {
    padding: 1.2rem 1.5rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 1rem;
    user-select: none;
    transition: all 0.3s ease;
}

.accordion-header:hover {
    background: rgba(0, 255, 255, 0.08);
}

.accordion-icon {
    color: #0ff;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    text-shadow: 0 0 10px #0ff;
    display: inline-block;
}

.accordion-item.active .accordion-icon {
    transform: rotate(90deg);
}

.accordion-title {
    color: #0ff;
    font-size: 1.2rem;
    font-weight: 600;
    text-shadow: 0 0 10px #0ff;
    letter-spacing: 0.05rem;
}

.accordion-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 1.5rem;
}

.accordion-item.active .accordion-content {
    max-height: 800px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.accordion-content .section-content {
    font-size: 1.1rem;
    line-height: 1.8;
}

/* Responsive */
@media (max-width: 768px) {
    .logo {
        font-size: 2.5rem;
    }
    .subtitle {
        font-size: 1.2rem;
    }
    .tf-head {
        width: 150px;
    }
    .tf-label {
        font-size: 0.85rem;
        letter-spacing: 0.15rem;
    }
    .radical-tagline {
        font-size: 1.3rem;
    }
    .section-title {
        font-size: 1.8rem;
    }
    .section-content {
        font-size: 1rem;
        padding: 0 10px;
    }
    .form-group {
        flex-direction: column;
    }
    .waitlist-submit {
        width: 100%;
    }
    .waitlist-section {
        padding: 30px 20px;
    }
    .waitlist-benefits {
        grid-template-columns: 1fr;
    }
    .cta-section {
        padding: 0 20px;
    }
    .primary-cta {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}

.tf-section-box {
    border: 2.5px dashed #00ffff;
    border-radius: 18px;
    padding: 2rem 1rem;
    margin-bottom: 2.5rem;
    background: rgba(0,255,255,0.04);
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    box-shadow: 0 0 18px rgba(0,255,255,0.08);
}

/* High contrast for timeline modal */
body.high-contrast #timeline-explainer-modal {
    background: rgba(255, 255, 255, 0.95) !important;
}

body.high-contrast #timeline-explainer-modal > div {
    background: #fff !important;
    color: #000 !important;
}

body.high-contrast .timeline-block {
    background: #f0f0f0 !important;
    border-color: #000 !important;
}

body.high-contrast .timeline-block-header {
    color: #000 !important;
    text-shadow: none !important;
}

body.high-contrast .timeline-block-toggle {
    color: #000 !important;
}

.horse-body {
    fill: none;
    stroke: #0f0;
    stroke-width: 3;
    filter: drop-shadow(0 0 5px #0f0);
}

.wheel {
    fill: none;
    stroke: #ff0;
    stroke-width: 2;
    filter: drop-shadow(0 0 5px #ff0);
}

.fun-symbol {
    fill: #ff0;
    font-size: 14px;
    filter: drop-shadow(0 0 8px #ff0);
}

.knowledge-symbol {
    fill: #0ff;
    font-size: 12px;
    filter: drop-shadow(0 0 8px #0ff);
}

.hatch {
    fill: none;
    stroke: #0ff;
    stroke-width: 2;
    stroke-dasharray: 4 2;
    filter: drop-shadow(0 0 5px #0ff);
}

@keyframes sparkle {
    0%, 100% { opacity: 1; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.2); }
}

.sparkle-fun {
    animation: sparkle 1.5s ease-in-out infinite;
}

.sparkle-fun:nth-of-type(2) {
    animation-delay: 0.3s;
}

.sparkle-fun:nth-of-type(3) {
    animation-delay: 0.6s;
}

@keyframes pulse-knowledge {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

.pulse-brain {
    animation: pulse-knowledge 2s ease-in-out infinite;
}

@keyframes wheel-spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.spin-wheel {
    animation: wheel-spin 4s linear infinite;
}

/* High contrast SVG - Trojan Horse */
body.high-contrast .horse-body,
body.high-contrast .wheel,
body.high-contrast .hatch {
    stroke: #000 !important;
    fill: none !important;
    filter: none !important;
}
body.high-contrast .fun-symbol,
body.high-contrast .knowledge-symbol {
    fill: #000 !important;
    filter: none !important;
}

/* Fix arrival screen background for high contrast mode */
body.high-contrast #arrival-screen {
    background: #fff !important;
}