#introSection {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100vh;

    background-image: url("assets/nasa-Q1p7bh3SHj8-unsplash.jpg");
    filter: tint();
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    position: relative;
}

#introSection::before {
    content: "";
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.4);
    z-index: 0;
}

#introSection > * {
    position: relative;
    z-index: 1;
}


#title {
    max-width: 70%;
    max-height: 20%;
    margin-bottom: 2em;
    filter: brightness(150%) saturate(80%) drop-shadow(0 0 16px #c06fc1);
}

/* Scrolling timer */
#timerDiv {
    display: flex;
    gap: 30px;
}

.time-group {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.digit-wrapper {
    display: flex;
    gap: 4px;
}

.digit-container {
    position: relative;
    height: 100px;
    width: 70px;
    background: #16191d80;
    backdrop-filter: blur(var(--medium-blur));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.digit-segment {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 70px;
    font-weight: 800;
    color: var(--accent);
    transition: transform 0.6s cubic-bezier(0.23, 1, 0.32, 1);
    vertical-align: -1em;
}

.digit-up { transform: translateY(-100%); }
.digit-center { transform: translateY(0); }
.digit-down { transform: translateY(100%); }

.label {
    margin-top: 15px;
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 3px;
    color: #999;
}

#registerDiv {
	margin-top: 48px;
	display: flex;
	flex-direction: column;
	justify-content: center;
	align-items: center;
	gap: 8px;
	min-width: 200px;
}

#registerDiv a {
	display: block;
	width: 100%;
}

.filledButton {
	background-color: var(--accent);
	border-radius: 8px;
	padding: 12px 0;
	width: 100%;
	border: none;
	font-weight: 700;
	font-size: 16pt;

	transition: background-color 0.2s ease-out;
}

.filledButton:hover {
	background-color: var(--dark-accent);
}

.emptyButton {
	border-radius: 8px;
	margin-block: 12px;
	width: 100%;
	border: none;
	font-weight: 700;
	font-size: 14pt;
	color: var(--text-secondary);
	text-align: center;
	text-decoration: none;

	transition: color 0.2s ease-out;
}

.footer {
    width: 100%;
    padding: 32px 0;
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(15, 17, 21, 0.6);
    backdrop-filter: blur(10px);
    border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.footer-inner {
    display: flex;
    gap: 16px;
    align-items: center;
    font-size: 0.85rem;
    color: #888;
}

.footer-inner a {
    color: #888;
    text-decoration: none;
    transition: color 0.2s ease;
}

.footer-inner a:hover {
    color: #fff;
}

.footer-separator {
    color: #444;
}

.emptyButton:hover {
	text-decoration: underline;
	color: var(--text);
}