* {
    box-sizing: border-box;
}

/* --- DESKTOP ONLY CURSORS --- */
@media (hover: hover) and (pointer: fine) {
    * {
        cursor: url('/assets/cursor.png') 0 0, auto !important;
    }

    a, button, .swiper-pagination-bullet, .buttons-part, .CTA-button, .social-button {
        cursor: url('/assets/cursor.png') 0 0, pointer !important;
    }
}
/* ----------------------------- */

:root {
    --main-color: #dbdada;
    --secondary-color: #1A1A1A;
}

@font-face {
    font-family: 'bebas-kai';
    /* Converted to woff2 and pointed to assets folder */
    src: url('../assets/fonts/BebasKai.woff2') format('woff2'); 
    font-display: swap; 
}

body {
    height: 100dvh;  
    width: 100vw;
    margin: 0;
    background: var(--main-color);
    overflow: hidden;
    display: flex;
    justify-content: center;
    align-items: center;
}

@media (min-width: 720px) {
    body {
        background: #0a0a0a; 
    }
}

/* Accessibility for keyboard users */
a:focus-visible, button:focus-visible, .swiper-pagination-bullet:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

#app-container {
    width: 100%;
    height: 100%;
    position: relative;
    background: var(--main-color);
    overflow: hidden;
}

@media (min-width: 720px) {
    #app-container {
        max-width: 430px;
        max-height: 932px;
        height: 90vh; 
        border-radius: 48px; 
        border: 14px solid #111; 
        box-shadow: 
            0 0 0 2px #333,              
            0 20px 50px rgba(0, 0, 0, 0.9); 
    }
}

header {
    z-index: 2;
    position: absolute;
    right: 0;
    top: 0;
    height: 15%;
    width: 100%;
    text-align: center;
    display: flex;
    justify-content: center; 
    align-items: center;     
}

.logo {
    height: 100%; 
    padding-top: 10%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo img {
    height: 100%; 
    display: block;
    margin: 0 auto;
    transition: filter 1.2s cubic-bezier(0.4,0,0.2,1);
}

.logo img.invert-logo {
  filter: invert(1);
}

/* ######## Swiper styles ######## */
.swiper {
    height: 87%;
    width: 100%;
    position: relative;
}

.swiper-slide {
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-size: cover;
    background-position: center;
    text-align: center;
}

.slide-content {
    position: relative;
    top: 0;
    left: 0;
    height: 100%;
    width: 100%;
    background-size: cover;
    background-position: bottom;
    overflow: hidden;
}

.slide-content h1 {
    font-size: 2rem;
    margin: 0 0 15px;
}

.bg-video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: bottom center; 
    pointer-events: none; 
}

.slide-content video {
    will-change: transform, opacity;
}

.swiper-pagination {
    position: absolute !important;
    right: 1vw !important;
    top: 50% !important;
    transform: translateY(-50%);
    width: auto !important;
    display: flex;
    flex-direction: column;
    gap: 8px;
    z-index: 9999 !important; /* Forced to the very top */
}

.swiper-pagination-bullet {
    width: 16px;
    height: 16px;
    border-radius: 30%;
    background: var(--main-color);
    border: 2px solid var(--secondary-color);
    opacity: 1;
    transition: background 0.3s, border 0.3s, box-shadow 0.3s;
position: relative; /* <-- ADD THIS */
}

/* ADD THIS WHOLE BLOCK: Creates an invisible 30x30 clickable bubble around the dot */
.swiper-pagination-bullet::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
}

.swiper-pagination-bullet-active {
    background: var(--secondary-color);
    border: 2px solid var(--main-color);
}

.buttons-part {
    position: relative;
    display: inline-flex;
    width: 100%;
    height: 6%;
}

.CTA-button {
    display: flex;
    align-items: center;      
    justify-content: space-evenly;  
    width: 80%;
    height: 100%;
    background: var(--main-color);
    border-left: 0px;
    border-right: solid 1px var(--secondary-color);
    border-top: solid 1px var(--secondary-color);
    border-bottom: solid 1px var(--secondary-color);
    text-decoration: none;
    text-transform: uppercase;
    text-align: center;
    font-family: "bebas-kai", sans-serif;
    font-size: 110%;
    letter-spacing: 0.1em;
    color: var(--secondary-color);
}

.play-button{
    width: 20%;
    border-right:0px;
    color: var(--secondary-color);
}

.play-button svg {
    width: 28px;
    height: 28px;
    display: block;
}

.footer-social-wrap {
    display: flex;
    align-items: center;
    justify-content: space-between;
    list-style-type: none;
    margin: 0 auto;
    padding-inline-start: 0;
    margin-bottom: 0;
    width: 90%;
    height: 7%;
}

.footer-social-wrap li {
    margin-top: 15px;
    margin-bottom: 10px;
}

.footer-social-wrap img {
    width: auto;
    height: 25px;
    filter: invert(0);
}
