/*
Theme Name: SLM Agency
Theme URI: https://sometimeslate.co.za
Author: SLM
Description: A functional Neo-Brutalist theme with a Coming Soon homepage.
Version: 1.1
*/

:root {
    /* BRIGHT NEON YELLOW */
    --neon: #EAFF00; 
    --black: #050505;
    --white: #f0f0f0;
    --grey: #2a2a2a;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Hide Default Cursor only on non-touch devices */
@media (hover: hover) {
    * { cursor: none; }
}

body {
    background-color: var(--black);
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    min-height: 100vh;
    width: 100%;
    overflow-x: hidden;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* ANIMATED BACKGROUND (CANVAS) */
#bg-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.4; 
}

.overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, transparent 0%, var(--black) 90%);
    z-index: 1;
    pointer-events: none;
}

/* CUSTOM CURSOR */
.cursor {
    width: 15px;
    height: 15px;
    background: var(--neon);
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    border-radius: 50%;
    mix-blend-mode: exclusion;
    display: none;
}

@media (hover: hover) {
    .cursor { display: block; }
}

/* NAVIGATION */
nav {
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    font-family: 'Syne', sans-serif;
    font-weight: 800;
    z-index: 10;
    text-transform: uppercase;
    letter-spacing: -1px;
    width: 100%;
}

/* MAIN CONTENT WRAPPER */
main {
    z-index: 10;
    padding: 2rem 1rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    position: relative;
    flex-grow: 1;
    justify-content: center;
    width: 100%;
}

/* TYPOGRAPHY & ELEMENTS */
h1 {
    font-family: 'Syne', sans-serif;
    font-size: 8vw;
    line-height: 0.9;
    text-transform: uppercase;
    font-weight: 800;
    margin-bottom: 1.5rem;
    color: var(--white);
    letter-spacing: -2px;
    max-width: 100%;
}

h2 {
    font-family: 'Syne', sans-serif;
    color: var(--neon);
    margin-bottom: 1rem;
}

.subtitle {
    font-size: 1.1rem;
    max-width: 600px;
    margin-bottom: 2.5rem;
    color: #ccc;
    line-height: 1.5;
}

.highlight {
    color: var(--neon);
    font-weight: bold;
}

/* COUNTDOWN CONTAINER */
.countdown-container {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
    border: 1px solid var(--grey);
    padding: 2rem;
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(5px);
    position: relative;
    width: 100%;
    max-width: 800px;
}

.countdown-container::before {
    content: "DEADLINE (MARCH 1st)";
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--black);
    padding: 0 10px;
    color: var(--neon);
    font-size: 0.8rem;
    font-weight: bold;
    border: 1px solid var(--grey);
    white-space: nowrap;
}

.cd-box {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.cd-number {
    font-family: 'Syne', sans-serif;
    font-size: 4rem;
    font-weight: 800;
    color: var(--white);
    line-height: 1;
    font-variant-numeric: tabular-nums;
}

.cd-label {
    font-size: 0.7rem;
    color: var(--neon);
    text-transform: uppercase;
    margin-top: 5px;
    letter-spacing: 1px;
}

.disclaimer {
    font-size: 0.7rem;
    color: #555;
    margin-top: 15px;
    font-style: italic;
}

/* EMAIL FORM */
.email-box {
    display: flex;
    border-bottom: 2px solid var(--white);
    padding-bottom: 10px;
    width: 100%;
    max-width: 400px;
    transition: 0.3s;
    margin-bottom: 2rem;
}

.email-box:focus-within {
    border-color: var(--neon);
}

input {
    background: transparent;
    border: none;
    outline: none;
    color: var(--white);
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.2rem;
    width: 100%;
    text-transform: uppercase;
    border-radius: 0;
}

button {
    background: transparent;
    border: none;
    color: var(--white);
    font-family: 'Syne', sans-serif;
    font-weight: 700;
    font-size: 1.2rem;
    text-transform: uppercase;
    padding-left: 10px;
}

button:hover {
    color: var(--neon);
}

/* FOOTER */
footer {
    z-index: 10;
    padding: 2rem;
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    border-top: 1px solid rgba(255,255,255,0.1);
    background: rgba(5,5,5,0.8);
    width: 100%;
}

.footer-left {
    display: flex;
    flex-direction: column;
    gap: 5px;
    font-size: 0.9rem;
    color: #666;
    text-transform: uppercase;
}

.time-box {
    text-align: right;
}

.time-label {
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--neon);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 5px;
}

.time-display {
    font-family: 'Syne', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: var(--white);
    line-height: 1;
}

/* GLITCH */
.glitch { position: relative; }
.glitch::before, .glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: var(--black);
}
.glitch::before {
    left: 2px; text-shadow: -1px 0 var(--neon);
    clip: rect(24px, 550px, 90px, 0);
    animation: glitch-anim-2 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px; text-shadow: -1px 0 #EAFF00;
    clip: rect(85px, 550px, 140px, 0);
    animation: glitch-anim 2.5s infinite linear alternate-reverse;
}
@keyframes glitch-anim {
    0% { clip: rect(10px, 9999px, 31px, 0); }
    20% { clip: rect(65px, 9999px, 19px, 0); }
    100% { clip: rect(69px, 9999px, 34px, 0); }
}

/* MOBILE OPTIMIZATION */
@media (max-width: 768px) {
    nav { padding: 1.5rem; font-size: 0.9rem; }
    h1 { font-size: 13vw; margin-top: 1rem; }
    .countdown-container { grid-template-columns: repeat(2, 1fr); gap: 2rem; padding: 1.5rem; }
    .cd-number { font-size: 2.5rem; }
    .cd-label { font-size: 0.6rem; }
    footer { flex-direction: column; align-items: center; gap: 1.5rem; text-align: center; padding-bottom: 3rem; }
    .time-box { text-align: center; }
    .subtitle { font-size: 1rem; padding: 0 10px; }
}