html {
    height: 100%;
    background-color: #000;
    overflow: hidden;
}


* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    height: 100%;
    overflow: hidden;
}


/* SF Pro Text setup */
@font-face {
    font-family: "SF Pro Text";
    src: url("fonts/SF-Pro-Text-Regular.woff2") format("woff2");
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("fonts/SF-Pro-Text-Medium.woff2") format("woff2");
    font-weight: 500;
    font-style: normal;
    font-display: swap;
}

@font-face {
    font-family: "SF Pro Text";
    src: url("fonts/SF-Pro-Text-Semibold.woff2") format("woff2");
    font-weight: 600;
    font-style: normal;
    font-display: swap;
}

/* Actual styles */

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    pointer-events: none;
}

@media (max-width: 768px) {
    .overlay {
        background: 
            linear-gradient(180deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 30%),
            linear-gradient(0deg, rgba(0, 0, 0, 1) 0%, rgba(0, 0, 0, 0) 60%);
    }
}

.background-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    min-height: 100%;
    z-index: -1;
    background-color: #000;
    transform: translateZ(0);
    overflow: visible;
}

.background-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('12.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    transform: translateZ(0);
}

.content {
    position: relative;
    z-index: 1;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    color: white;
    text-align: center;
    padding: 2rem;
    overflow: hidden;
}

/* spacer with same visual height as footer zone */
.footer-spacer {
    height: calc(12px + env(safe-area-inset-bottom)); /* base footer offset */
    flex-shrink: 0;
}

.footer {
    position: fixed;
    /* Push it up by the safe area amount so the black bar doesn't cover it */
    bottom: calc(12px + env(safe-area-inset-bottom));
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1;
}

.footer-text {
    color: rgba(255, 255, 255, 0.5);
    font-size: 10px;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 4px 8px;
}

.footer-copy:focus-visible {
    outline: 1px solid rgba(255, 255, 255, 0.5);
    outline-offset: 2px;
}

.copy-pill {
    position: absolute;
    bottom: 24px; /* 12px footer offset + 12px gap */
    padding: 6px 10px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 10px;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    opacity: 0;
    transform: translateY(4px);
    pointer-events: none;
    transition: opacity 0.2s ease, transform 0.2s ease;
}

.copy-pill.visible {
    opacity: 1;
    transform: translateY(0);
}

.main-frame {
    width: 100%;
    height: auto;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 16px;
    flex-grow: 1;
    flex-shrink: 0;
    z-index: 1;
}

.text-content {
    color: #FFF;
    color: color(display-p3 1 1 1);
    width: 809px;
    max-width: 100%;
    height: auto;
    text-align: center;
    font-feature-settings: 'liga' off, 'clig' off;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 10px;
    font-style: normal;
    font-weight: 600;
    line-height: 165%;
    letter-spacing: 0.2px;
    text-transform: uppercase;
    text-decoration: none;
}

.links-container {
    display: flex;
    align-items: flex-start;
    gap: 24px;
    flex-wrap: wrap;
    justify-content: center;
}

.link-link {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.link-manneskja,
.link-social-ig,
.link-social-x {
    padding: 10px 10px;
}

.link-link:hover {
    background-color: rgba(255, 255, 255, 0.12);
}

.link-link .arrow,
.link-link .link-text {
    color: rgba(255, 255, 255, 0.5);
    height: auto;
    text-align: center;
    line-height: 100%;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    font-size: 10px;
    font-weight: 500;
    text-decoration: none;
    transition: color 0.2s ease;
}

.link-link .link-text {
    text-transform: uppercase;
}

.link-link:hover .arrow,
.link-link:hover .link-text {
    color: rgba(255, 255, 255, 1);
}

.circular-play {
    position: fixed;
    top: 12px;
    right: 12px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
    color: rgba(255, 255, 255, 0.9);
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: "SF Pro Text", -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    transition: background-color 0.2s ease, color 0.2s ease, border-color 0.2s ease, transform 0.1s ease;
    z-index: 2;
}

.circular-play:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.35);
    color: rgba(255, 255, 255, 1);
}

.circular-play:active {
    transform: scale(0.96);
}

@media (max-width: 768px) {
    .content { 
        height: 100vh; 
    } 
}

/* Default: desktop first */
.text-desktop {
    display: block;
}

.text-mobile {
    display: none;
}

/* Mobile: hide desktop text, show mobile version */
@media (max-width: 768px) {
    .text-desktop {
        display: none !important;
    }

    .text-mobile {
        display: block !important;
    }
}



