body {
    font-family: "dunbar-text", sans-serif;
    background-color: #000000;
    background-image: url("data:image/svg+xml,%3Csvg width='52' height='26' viewBox='0 0 52 26' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23003344' fill-opacity='0.4'%3E%3Cpath d='M10 10c0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6h2c0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4 3.314 0 6 2.686 6 6 0 2.21 1.79 4 4 4v2c-3.314 0-6-2.686-6-6 0-2.21-1.79-4-4-4-3.314 0-6-2.686-6-6zm25.464-1.95l8.486 8.486-1.414 1.414-8.486-8.486 1.414-1.414z' /%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    line-height: 1.6;
    color: #00BFFF;
    max-width: 700px;
    margin: 0 auto;
    padding: 1.5rem;
    border: 5px solid #00BFFF;
    border-style: double;
    box-shadow: 0 0 20px rgba(0, 191, 255, 0.4);
    cursor: none;
    text-align: left;
}

/* Basic animations */
@keyframes blink {
    0%, 49% { opacity: 1; }
    50%, 100% { opacity: 0; }
}

@keyframes blinker {
  50% { opacity: 0; }
}

/* Terminal glitch animation - subtle effect for stable state */
@keyframes glitch {
    0% {
        transform: translate(0);
        text-shadow: 0 0 0 #00BFFF;
    }
    2% {
        transform: translate(-2px, 0);
        text-shadow: 2px 0 0 #00BFFF, -2px 0 0 #00BFFF;
    }
    4% {
        transform: translate(2px, 0);
        text-shadow: -2px 0 0 #00BFFF, 2px 0 0 #00BFFF;
    }
    6% {
        transform: translate(0, 2px);
        text-shadow: 0 0 0 #00BFFF;
    }
    8% {
        transform: translate(0, -2px);
        text-shadow: 0 0 0 #00BFFF;
    }
    10%, 100% {
        transform: translate(0);
        text-shadow: 0 0 0 #00BFFF;
    }
}

/* Title animations */
/* Simple blink transition animation - rapid blinking during transitions */
@keyframes blink-transition {
    0%, 20%, 40%, 60%, 80%, 100% { opacity: 1; }
    10%, 30%, 50%, 70%, 90% { opacity: 0; }
}

/* Updated title container for proper title switching with specified timing */
.title-container {
    position: relative;
    height: 5rem;
    margin: 2rem 0 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    width: 100%;
    text-align: center;
}

/* Updated title styles without the complex animations */
.title {
    font-family: 'Doto', sans-serif;
    position: absolute;
    color: #00BFFF;
    font-size: 3.5rem;
    text-shadow: 0 0 5px #00BFFF, 0 0 10px #00BFFF;
    text-align: center;
    width: 100%;
    margin: 0;
    transition: opacity 0.1s ease;
    left: 0;
    top: 0;
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
}

.alt-title {
    font-family: 'Doto', sans-serif;
    position: absolute;
    color: #00BFFF;
    font-size: 3.5rem;
    text-shadow: 0 0 5px #00BFFF, 0 0 10px #00BFFF;
    text-align: center;
    width: 100%;
    margin: 0;
    transition: opacity 0.1s ease;
    left: 0;
    top: 0;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (max-width: 768px) {
    .alt-title {
        font-size: 2.5rem;
    }
}

/* SVG Asterisk styling */
.svg-asterisk {
    display: inline-block;
    vertical-align: middle;
    margin-right: 0.1em;
    position: relative;
    height: 4rem;
    width: auto;
}

.svg-asterisk img {
    height: 100%;
    width: auto;
    filter: drop-shadow(0 0 5px #00BFFF) drop-shadow(0 0 10px #00BFFF);
    vertical-align: middle;
}

/* Bluesky icon styling */
.bsky-icon {
    font-size: 3.2rem;
    display: inline-block;
    font-weight: normal;
}

.bsky-icon svg {
    width: 1em;
    height: 1em;
    color: #00BFFF;
    fill: currentColor;
    vertical-align: middle;
    margin-bottom: 0.1em;
}

.description {
    background-color: #001122;
    border: 1px solid #00BFFF;
    border-radius: 0;
    padding: 1rem;
    margin-bottom: 2rem;
    font-weight: bold;
    font-size: 1.1rem;
    text-align: center;
    font-family: "dunbar-text", sans-serif;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.description::after {
    content: "_";
    animation: blink 1s step-end infinite;
}

ul {
    list-style-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='14' height='14' viewBox='0 0 24 24' fill='%2300BFFF'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm0 18c-4.41 0-8-3.59-8-8s3.59-8 8-8 8 3.59 8 8-3.59 8-8 8zm4-8c0 2.21-1.79 4-4 4s-4-1.79-4-4 1.79-4 4-4 4 1.79 4 4z'/%3E%3C/svg%3E");
    padding-left: 2rem;
    background-color: #001a33;
    padding: 1rem 1rem 1rem 3rem;
    border-left: 2px solid #00BFFF;
    font-family: "dunbar-text", sans-serif;
}

li {
    margin-bottom: 0.5rem;
}

form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-bottom: 2rem;
    background-color: #001122;
    padding: 1.5rem;
    border: 1px solid #00BFFF;
    position: relative;
    font-family: "dunbar-text", sans-serif;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

form::before {
    content: "LOGIN";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #000000;
    padding: 0 10px;
    font-weight: bold;
    font-size: 0.8rem;
    color: #00BFFF;
    border: 1px solid #00BFFF;
}

label {
    font-weight: bold;
    color: #00BFFF;
    font-family: "dunbar-text", sans-serif;
}

input {
    font-family: "dunbar-text", sans-serif;
    font-weight: normal;
    padding: 0.5rem;
    border: 1px solid #0097C4;
    border-radius: 0;
    font-size: 1rem;
    background-color: #001a33;
    color: #00BFFF;
    box-shadow: inset 0 0 5px #00BFFF;
    width: 100%;
    box-sizing: border-box;
}

button {
    font-family: "dunbar-text", sans-serif;
    font-weight: bold;
    background: linear-gradient(to bottom, #0089B3, #005F7F);
    color: #00BFFF;
    border: 1px outset #00BFFF;
    border-radius: 0;
    padding: 0.7rem 1rem;
    font-size: 1.1rem;
    cursor: pointer;
    text-shadow: 0 0 5px #00BFFF;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
    transition: all 0.1s;
    margin-top: 1rem;
    align-self: center;
}

button:hover {
    background: linear-gradient(to bottom, #0097C4, #0089B3);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
}

button:active {
    border-style: inset;
    transform: translate(1px, 1px);
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3);
}

.alert {
    padding: 0.7rem;
    border: 1px solid;
    display: none;
    font-weight: bold;
    margin-top: 1rem;
    font-family: "dunbar-text", sans-serif;
    margin-left: auto;
    margin-right: auto;
    width: 100%;
    box-sizing: border-box;
}

.alert-error {
    background-color: #1a0000;
    color: #ff0000;
    border-color: #ff0000;
}

.alert-success {
    background-color: #001a33;
    color: #00BFFF;
    border-color: #00BFFF;
}

.app-password-info {
    margin-bottom: 0.5rem;
        margin-top: 0.5rem;
    font-size: 0.9rem;
    color: #0097C4;
    background-color: #001122;
    padding: 0.5rem;
    border: 1px dashed #0097C4;
    font-family: "dunbar-text", sans-serif;
}

a {
    color: #00BFFF;
    text-decoration: none;
    font-weight: bold;
}

a:hover {
    background-color: #0097C4;
    color: #000000;
    text-decoration: none;
}

/* Terminal scrolling effect */
@keyframes scroll {
    0% { transform: translateX(100%); }
    100% { transform: translateX(-100%); }
}

/* Add a retro footer */
/* Commented out in favor of HTML footer element
body::after {
    content: "⚡ ACCESS GRANTED: SYSTEM READY ⚡";
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    background: #001100;
    color: #00ff00;
    padding: 0.5rem;
    font-family: "Courier New", monospace;
    border: 1px solid #00ff00;
}
*/

/* Attribution footer */
.attribution {
    display: block;
    text-align: center;
    margin-top: 2rem;
    font-size: 0.8rem;
    background: #001122;
    color: #00BFFF;
    padding: 0.5rem;
    font-family: "Courier New", monospace;
    border: 1px solid #00BFFF;
}

.attribution a {
    color: #00BFFF;
    text-decoration: underline;
    font-weight: normal;
}

.attribution a:hover {
    background-color: #0097C4;
    color: #000000;
    text-decoration: none;
}

.blink {
  animation: blinker 3s step-end infinite;
  color: #00BFFF;
  font-weight: bold;
  text-align: center;
}

/* Visitor counter */
.counter {
  background: #001122;
  color: #00BFFF;
  font-family: "Courier New", monospace;
  padding: 5px 10px;
  display: inline-block;
  border: 1px solid #00BFFF;
  margin-bottom: 10px;
  font-size: 0.8rem;
  float: none;
  position: absolute;
  top: 20px;
  right: 20px;
}

/* Dial-up animation */
.dial-up-animation {
  background: #001122;
  color: #00BFFF;
  text-align: center;
  padding: 10px;
  margin-bottom: 20px;
  font-family: "Courier New", monospace;
  border: 1px solid #00BFFF;
  animation: blinker 0.5s step-end infinite;
}

.loading-text {
  font-weight: bold;
}

/* Terminal line divider */
.terminal-line {
  height: 1px;
  background-color: #00BFFF;
  border: none;
  box-shadow: 0 0 5px #00BFFF;
  margin: 20px 0;
}

/* Divider */
.divider {
  text-align: center;
  margin: 20px 0;
}

/* Instructions section */
.instructions {
  margin-bottom: 20px;
  margin-left: auto;
  margin-right: auto;
  width: 100%;
  box-sizing: border-box;
}

.title-bar {
  background: #002244;
  color: #00BFFF;
  padding: 5px 10px;
  font-weight: bold;
  border: 1px solid #00BFFF;
  font-family: "dunbar-text", sans-serif;
}

/* Retro phone */
.retro-phone {
  text-align: center;
  margin: 20px 0;
  border: 1px solid #00BFFF;
  padding: 15px;
  background-color: #001122;
  display: none;
}

.phone-text {
  font-weight: bold;
  color: #00BFFF;
  font-family: "dunbar-text", sans-serif;
  text-shadow: 0 0 5px #00BFFF;
  font-size: 1.5rem;
  /* animation: blinker 1.5s step-end infinite; */
}

/* Button text animation */
.button-text {
  position: relative;
  z-index: 1;
}

button:hover .button-text {
  animation: glitch 0.3s infinite;
}

/* Retro cursor styles */
.retro-cursor {
  position: absolute;
  pointer-events: none;
  z-index: 9999;
  width: 16px;
  height: 16px;
  transform: translate(-8px, -8px);
}

/* Matrix canvas */
.matrix-canvas {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: -1;
  opacity: 0.1;
  pointer-events: none;
}

/* Terminal cursor */
.terminal-cursor {
  display: block;
  color: #00BFFF;
  font-size: 16px;
  line-height: 16px;
  animation: blinker 1s step-end infinite;
}

/* Phone connection panel styles */
.connection-panel {
    background-color: #001122;
    border: 1px solid #00BFFF;
    padding: 1.5rem;
    margin: 2rem 0;
    text-align: center;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.2);
}

.connection-message {
    color: #00BFFF;
    font-family: "dunbar-text", sans-serif;
    font-weight: bold;
    margin: 0.8rem 0;
    font-size: 1.1rem;
}

.phone-link {
    margin: 2rem 0;
    padding: 1rem;
    background-color: #002244;
    display: inline-block;
    border: 1px solid #00BFFF;
}

.terminal-phone {
    color: #00BFFF;
    font-size: 2rem;
    font-weight: bold;
    text-decoration: underline;
    text-shadow: 0 0 10px #00BFFF;
    font-family: "dunbar-text", sans-serif;
    padding: 0.5rem 1rem;
    display: inline-block;
}

.terminal-phone:hover {
    background-color: #002244;
    text-decoration: underline;
    color: #00BFFF;
}

/* Modify blinking text elements */
.blink-text {
    animation: blinker 1.5s linear infinite;
}

/* Style input placeholders */
::placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

/* Firefox */
::-moz-placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

/* Edge */
::-ms-input-placeholder {
    color: rgba(255, 255, 255, 0.7);
    opacity: 1;
}

/* Override autocomplete styling */
input:-webkit-autofill,
input:-webkit-autofill:hover,
input:-webkit-autofill:focus,
input:-webkit-autofill:active {
    -webkit-text-fill-color: #00BFFF !important;
    -webkit-box-shadow: 0 0 0 30px #001a33 inset !important;
    transition: background-color 5000s ease-in-out 0s;
    caret-color: #00BFFF;
}

/* For Firefox autocomplete */
input:autofill {
    background-color: #001a33 !important;
    color: #00BFFF !important;
    box-shadow: 0 0 0 30px #001a33 inset !important;
}

/* Phone Number Display - Visible to all users */
.phone-number-display {
    margin: 2rem auto;
    padding: 1.5rem;
    background-color: #001122;
    border: 3px solid #00BFFF;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.5);
    border-radius: 0;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    position: relative;
}

.phone-number-display::before {
    content: "DON'T FORGET!";
    position: absolute;
    top: -12px;
    left: 20px;
    background: #000000;
    padding: 0 10px;
    font-weight: bold;
    font-size: 0.8rem;
    color: #00BFFF;
    border: 1px solid #00BFFF;
}

.phone-info-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.8rem;
}

.phone-info-title {
    font-weight: bold;
    font-size: 1.2rem;
    color: #00BFFF;
    letter-spacing: 1px;
}

.large-phone-number {
    font-size: 2.5rem;
    font-weight: bold;
    font-family: 'Doto', sans-serif;
    color: #00BFFF;
    text-shadow: 0 0 8px #00BFFF, 0 0 15px #00BFFF;
    text-decoration: none;
    letter-spacing: 2px;
    margin: 0.5rem 0;
    animation: glitch 15s infinite;
}

.phone-spelling {
    font-size: 1.2rem;
    font-weight: bold;
    color: #00BFFF;
}

.phone-instructions {
    font-size: 0.9rem;
    color: #008EC1;
    margin-top: 0.5rem;
}

/* FAQ Section */
.faq-section {
    margin-top: 2rem;
    text-align: center;
    width: 100%;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
    padding: 1rem;
    box-sizing: border-box;
}

.faq-section h2 {
    color: #00BFFF;
    font-family: "dunbar-text", sans-serif;
    margin-bottom: 1.5rem;
    text-shadow: 0 0 5px #00BFFF;
}

.faq-container {
    margin-top: 1rem;
}

.faq-item {
    margin-bottom: 1rem;
    border: 1px solid #00BFFF;
    background-color: #001122;
    overflow: hidden;
}

.faq-question {
    background-color: #002244;
    color: #00BFFF;
    padding: 1rem;
    font-weight: bold;
    cursor: pointer;
    position: relative;
    font-family: "dunbar-text", sans-serif;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background-color: #003366;
}

.faq-question::after {
    content: '+';
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
}

.faq-item.active .faq-question::after {
    content: '-';
}

.faq-answer {
    padding: 0;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    color: #00BFFF;
    font-family: "Courier New", monospace;
    text-align: left;
}

.faq-item.active .faq-answer {
    padding: 1rem;
    max-height: 1000px;
}

.ko-fi-button {
    margin-top: 1rem;
    display: inline-block;
}

.retro-kofi-button {
    padding: 10px;
    background-color: #001122;
    border: 2px solid #00BFFF;
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.4);
}

/* Custom Ko-fi Button */
.custom-kofi {
    margin: 1.5rem auto;
    padding: 0;
    display: block;
    width: auto;
    max-width: 280px;
}

.retro-kofi-link {
    background: linear-gradient(to bottom, #0089B3, #005F7F);
    border: 1px outset #00BFFF;
    box-shadow: 0 0 10px rgba(0, 191, 255, 0.4);
    padding: 10px 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.1s;
    text-decoration: none;
}

.retro-kofi-link:hover {
    background: linear-gradient(to bottom, #0097C4, #0089B3);
    box-shadow: 0 0 15px rgba(0, 191, 255, 0.6);
    color: #00BFFF;
}

.retro-kofi-link:active {
    border-style: inset;
    transform: translate(1px, 1px);
    box-shadow: 0 0 5px rgba(0, 191, 255, 0.3);
}

.kofi-cup {
    width: 36px;
    height: auto;
    margin-right: 10px;
    filter: drop-shadow(0 0 3px #00BFFF);
}

.kofi-text {
    color: #00BFFF;
    font-family: "dunbar-text", sans-serif;
    font-weight: bold;
    font-size: 1.1rem;
    text-shadow: 0 0 5px #00BFFF;
    letter-spacing: 0.5px;
} 