:root {
    --color-bg: #000000;
    --color-text-primary: #ffffff;
    --color-text-secondary: #888888;

    --font-primary: 'Inter', sans-serif;

    --spacing-xs: 0.5rem;
    /* 8px */
    --spacing-sm: 1rem;
    /* 16px */
    --spacing-md: 2rem;
    /* 32px */
    --spacing-lg: 4rem;
    /* 64px */

    --z-bg: 0;
    --z-content: 10;
    --z-overlay: 100;
}

html {
    overflow: hidden;
    height: 100%;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--color-bg);
    color: var(--color-text-primary);
    font-family: var(--font-primary);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    width: 100%;
    height: 100vh;
    height: 100dvh;
    overflow: hidden;
    /* Prevent scroll if content fits */
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    align-items: center;
    height: 100%;
    width: 100%;
    padding: var(--spacing-md);
    position: relative;
    z-index: var(--z-content);
    overflow: hidden;
}

/* Header */
.site-header {
    width: 100%;
    display: flex;
    justify-content: center;
    padding-top: var(--spacing-sm);
}

.logo {
    width: 100px;
    /* Adjust based on logo needs */
    height: auto;
    filter: invert(1);
    /* Ensure it's white if the SVG is black */
}

/* Hero Section */
.hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    flex-grow: 1;
    width: 100%;
}

.shards-bg {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 1600px;
    /* Doubled from 800px */
    max-width: none;
    /* Allow it to overflow */
    z-index: -1;
    pointer-events: none;
    opacity: 1;
    /* Video might not need opacity if it's already well balanced, but keeping consistent or resetting */
}

.shards-video {
    width: 100%;
    height: auto;
    display: block;
}

.hero-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    gap: var(--spacing-xs);
}

.label-new,
.label-soon {
    font-size: 0.875rem;
    /* 14px */
    color: var(--color-text-secondary);
    letter-spacing: 0.05em;
    font-weight: 400;
}

.main-title {
    font-size: 6rem;
    /* 96px - massive */
    font-weight: 700;
    line-height: 1;
    letter-spacing: -0.04em;
    color: var(--color-text-primary);
    z-index: 1;
}

/* Footer */
.site-footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-xs);
    padding-bottom: var(--spacing-md);
    font-size: 0.875rem;
}

.footer-link {
    color: var(--color-text-primary);
    text-decoration: underline;
    text-underline-offset: 4px;
    opacity: 0.8;
    transition: opacity 0.2s ease;
}

.footer-link[href^="tel:"] {
    text-decoration: none;
    opacity: 1;
}

.footer-link:hover {
    opacity: 1;
}

/* Reference image shows phone is bolded maybe? Or just same style. 
   Actually the reference footer text looks like:
   info@mediaceh.org
   8 800 500 8 801
   They look stacked.
*/

/* Media Queries */
@media (max-width: 1024px) {
    .shards-bg {
        width: 1200px;
    }

    .main-title {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .main-title {
        font-size: 4rem;
    }

    .shards-bg {
        width: 1000px;
    }
}

@media (max-width: 480px) {
    .page-wrapper {
        padding: var(--spacing-sm);
    }

    .logo {
        width: 80px;
    }

    .main-title {
        font-size: 3rem;
    }

    .shards-bg {
        width: 600px;
    }

    .label-new,
    .label-soon {
        font-size: 0.75rem;
    }
}

/* Debug Overlay Styles */
#debug-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.5;
    pointer-events: none;
    z-index: var(--z-overlay);
    display: none;
}