* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Poppins", Arial, sans-serif;
}

[hidden] {
    display: none !important;
}

.visually-hidden {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
}

html {
    min-height: 100vh;
    overflow-x: hidden;
}

body {
    display: flex;
    flex-direction: column;
    /*min-height: 100vh;*/
    height: auto;
    overflow-x: hidden;
}

a {
    text-decoration: none; /* Takes out the underline */
    color: #333;
}

ul {
    list-style: none; /*no bullet points*/
}

.logo-container {
    width: auto;
}

#logo-image {
    width: 100px; /*Keeps images in there divs */
}

::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, #800000, #fff);
    border-radius: 10px;
}

/* Nav Bar ------------------------------------------------------------------------------------------------- */

.navbar {
    background-color: #333;
    color: white;
    padding: 1rem;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.nav-container {
    width: 90%;
    max-width: 1200px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.main-menu ul {
    display: flex;
    list-style: none;
    padding: 0;
    margin: 0;
}

.main-menu ul li a,
.nav-button {
    padding: 10px 20px;
    display: block;
    font-size: clamp(0.8rem, 1.0vw, 1.5rem);
    font-weight: 600;
    transition: 0.5s;
    color: #fff;
    text-decoration: none;
    background: none;
    border: 0;
    cursor: pointer;
}

.main-menu ul li a:hover,
.main-menu ul li a:focus-visible,
.nav-button:hover,
.nav-button:focus-visible {
    color: #ff6161;
}

.main-menu .placeholder-link {
    cursor: not-allowed;
    opacity: 0.65;
    pointer-events: none;
}

.main-menu ul li .deputie-nav-link:hover,
.main-menu ul li .deputie-nav-link:focus-visible {
    color: #5cff45;
}

/* Custom Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
    width: 30px;
    height: 25px;
    justify-content: space-between;
    padding: 0;
    background: transparent;
    border: 0;
}

.bar {
    width: 100%;
    height: 4px;
    background-color: white;
    transition: 0.4s;
}

/*CONTACT FORM ---------------------------------------------------------------------------------------------------*/
.contact-container-overlay {
    position: fixed;
    inset: 0;
    width: 100%;
    height: 100%;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    z-index: 1000;
    padding: 1rem;
    display: grid;
    place-items: center;
    background: rgba(0, 0, 0, 0.8);
}

.contact-container-overlay.active {
    visibility: visible;
    opacity: 1;
}

.contact-form {
    position: relative;
    background: #a6a6a6;
    border-radius: 8px;
    width: min(100%, 520px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    border: 5px solid #fff;
    padding: 1.25rem;
    color: #111;
    box-shadow: 0.1rem 0 4rem #800000, inset 0 0 0 3px #000;
}

.contact-form input, 
.contact-form textarea {
    width: 100%;
    padding: 8px;
    border-radius: 5px;
    box-shadow: 0 4px 8px 0 rgba(0, 0, 0, 0.5);
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
    margin-bottom: 1rem;
}

.form-field {
    display: grid;
    gap: 0.35rem;
    margin-bottom: 0.9rem;
    text-align: left;
}

.form-field label {
    font-weight: 700;
}

.contact-form input:hover, 
.contact-form textarea:hover {
    background-color: #ffe6e6;
    border-color: #ff6161;
}

.close-btn, .submit-btn {
    background-color: #800000;
    font-size: 18px;
    font-weight: bolder;
    color: white;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
}

.close-btn {
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
}

.submit-btn {
    width: 100%;
    margin-top: 1rem;
}

.contact-form button:hover {
    background-color: #ff6161;
}

.cf-turnstile {
    width: 100%;
    margin-top: 0.25rem;
}

.form-response {
    min-height: 1.5rem;
    margin-top: 0.75rem;
    font-weight: 700;
}

.form-response.is-pending { color: #5c5000; }
.form-response.is-success { color: #065f18; }
.form-response.is-error { color: #8b0000; }

.contact-fallback {
    margin-top: 0.8rem;
    font-size: 0.85rem;
}

.contact-fallback a {
    color: #570000;
    text-decoration: underline;
}

/* ABOUT US - OVERLAY ---------------------------------------------------------------------------------------------------*/
.aboutUs-container-overlay {
    position: fixed;
    background: #a6a6a6;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: min(calc(100% - 2rem), 520px);
    max-height: calc(100vh - 2rem);
    overflow-y: auto;
    color: #111;
    visibility: hidden;
    opacity: 0;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    border-radius: 8px;
    z-index: 1000;
    padding: 5px;
    border: 5px solid #fff;
    box-shadow: 0.1rem 0 4rem #800000, inset 0 0 0 5px black; /* Inner black border */
}

.aboutUs-container-overlay.active {
    visibility: visible;
    opacity: 1;
    box-shadow: 0 0 0 100vmax rgba(0, 0, 0, 0.8), 0.1rem 0 4rem #800000, inset 0 0 0 5px black;
}

#aboutUs-table {
    width: 100%;
    font-weight: bold;
}

#aboutUs-title {
    text-align: center;
}

.aboutus-close-btn {
    width: 100%;
    background-color: #800000;
    font-size: 18px;
    font-weight: bolder;
    color: white;
    border-radius: 5px;
    padding: 8px;
    cursor: pointer;
}

.aboutus-close-btn:hover {
    background-color: #ff6161;
}

/* HERO ---------------------------------------------------------------------------------------------------*/
.hero-section {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url("png/storm.png") no-repeat;
    background-image: image-set(
        url("webp/storm.webp") type("image/webp"),
        url("png/storm.png") type("image/png")
    );
    background-size: cover;
    background-position: center bottom;
    color: white;
    padding: 2rem;
    width: 100%;
    border-top: 2px solid #fff;
    border-bottom: 2px solid #fff;
}

.hero-container {
    width: 90%;
    max-width: 2200px;
    height: 700px;
    gap: 10rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    justify-content: center;
    align-items: stretch;
}

.hero-content-container, .card-container {
    flex: 1 1 45%;
    min-height: 150px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    font-size: 1.5rem;
    min-width: 0;
}

.hero-content-container {
    border: 0 !important;
    height: 100%;
    overflow-y: auto;
}
/*
.hero-content-container:nth-child(1) { z-index: 5; border-style: groove; border-color: #fff;}
.hero-content-container:nth-child(2) { z-index: 4; border-style: groove; border-color: #fff;}
.hero-content-container:nth-child(3) { z-index: 3; border-style: groove; border-color: #fff;}
.hero-content-container:nth-child(4) { z-index: 2; border-style: groove; border-color: #fff;}
.hero-content-container:nth-child(5) { z-index: 1; border-style: groove; border-color: #fff;}
*/
/* APP ------ */
.app-container, #appContainer {
    background: linear-gradient(to right, #4b0000, #ff0000, #8b0000);
    display: none; /* Hidden by default */
    justify-content: center;
    align-items: center;
    width: 100%;
    max-width: 900px;
    padding: 20px;
    border: 10px solid #fff;
}
  
.app-container.show, #appContainer.show {
    display: flex; /* Shown when .show is added */
}

#app-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    height: auto;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 12px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.deputie-promo {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    color: #fff;
}

.deputie-interface {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.deputie-cta {
    position: absolute;
    left: 50%;
    bottom: clamp(0.75rem, 4vw, 2rem);
    transform: translateX(-50%);
    min-width: max-content;
    padding: 0.65rem 1.25rem;
    border: 2px solid #7cff59;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.88);
    color: #fff;
    text-align: center;
    font-size: clamp(0.85rem, 2vw, 1.35rem);
    font-weight: 700;
    box-shadow: 0 0 18px rgba(124, 255, 89, 0.75);
    transition: background-color 0.2s ease, color 0.2s ease, transform 0.2s ease;
}

.deputie-promo:hover .deputie-cta,
.deputie-promo:focus-visible .deputie-cta {
    background: #7cff59;
    color: #111;
    transform: translateX(-50%) translateY(-2px);
}

.deputie-promo:focus-visible {
    outline: 4px solid #ffe45c;
    outline-offset: -4px;
}

/* AMAZON STORE ------ */
.amazon-container {
    display: none;
    width: 100%;
    height: 100%;
    padding: 1rem;
    overflow-x: hidden;
    color: #111;
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.98), rgba(235, 235, 235, 0.98));
    border: 5px solid #111;
    border-radius: 12px;
}

.amazon-container.show {
    display: block;
}

.book-store-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #d8d8d8;
    text-align: left;
}

.book-store-header img {
    width: clamp(80px, 20%, 130px);
    height: auto;
}

.book-store-header h2 {
    font-size: clamp(1.1rem, 2vw, 1.6rem);
    line-height: 1.2;
}

.book-store-header p {
    margin-top: 0.25rem;
    color: #555;
    font-size: 0.85rem;
    line-height: 1.4;
}

.book-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(min(100%, 190px), 1fr));
    gap: 1rem;
    padding: 0.25rem;
}

.book-card {
    display: flex;
    flex-direction: column;
    min-width: 0;
    overflow: hidden;
    background: #fff;
    border: 1px solid #d7d7d7;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.16);
    transition: transform 0.2s ease, box-shadow 0.2s ease, border-color 0.2s ease;
}

.book-card:hover,
.book-card:focus-within {
    transform: translateY(-4px);
    border-color: #b00000;
    box-shadow: 0 12px 28px rgba(128, 0, 0, 0.28);
}

.book-cover-link {
    display: grid;
    place-items: center;
    min-height: 220px;
    padding: 1rem;
    overflow: hidden;
    background: linear-gradient(145deg, #f5f5f5, #dedede);
}

.book-cover {
    display: block;
    width: auto;
    max-width: 100%;
    height: 210px;
    object-fit: contain;
    filter: drop-shadow(6px 8px 8px rgba(0, 0, 0, 0.35));
    transition: transform 0.25s ease;
}

.book-card:hover .book-cover,
.book-cover-link:focus-visible .book-cover {
    transform: scale(1.035);
}

.book-cover-link:focus-visible,
.amazon-button:focus-visible {
    outline: 4px solid #ffe45c;
    outline-offset: -4px;
}

.book-card-content {
    display: flex;
    flex: 1;
    flex-direction: column;
    align-items: flex-start;
    padding: 1rem;
    text-align: left;
}

.book-category {
    margin-bottom: 0.35rem;
    color: #7a0000;
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.book-title {
    color: #171717;
    font-size: clamp(1rem, 1.5vw, 1.25rem);
    line-height: 1.25;
}

.book-price {
    margin: 0.65rem 0 0.85rem;
    color: #800000;
    font-size: 1.15rem;
    font-weight: 700;
}

.amazon-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.45rem;
    width: 100%;
    margin-top: auto;
    padding: 0.7rem 0.8rem;
    border-radius: 999px;
    background: #111;
    color: #fff;
    font-size: 0.82rem;
    font-weight: 700;
    transition: background-color 0.2s ease, color 0.2s ease;
}

.amazon-button:hover,
.amazon-button:focus-visible {
    background: #ff9900;
    color: #111;
}

/* SPOTIFY ------ */
.spotify-container {
    display: none; /* Hidden by default */
    width: 100%;
    height: 100%;
}

#spotify_Iframe {
    border-radius: 15px;
    border: 10px solid #fff;
}

.spotify-container.show {
    display: block;
}

/* YOUTUBE ------*/
.youtube-container {
    display: none;
    width: 100%;
    height: 100%;
    overflow-x: hidden;
    color: #fff;
    background: #0b0b0b;
    border: 5px solid #fff;
    border-radius: 12px;
}

.youtube-container.show {
    display: block;
}

.youtube-showcase {
    padding: 1rem;
}

.youtube-banner {
    display: block;
    width: 100%;
    overflow: hidden;
    border-radius: 10px;
    background: #000;
}

.youtube-banner img {
    display: block;
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 1;
    object-fit: cover;
}

.youtube-banner:focus-visible,
.youtube-video-launch:focus-visible,
.youtube-subscribe-button:focus-visible,
.youtube-channel-link:focus-visible {
    outline: 4px solid #ffe45c;
    outline-offset: 3px;
}

.youtube-showcase-header {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 1rem;
    padding: 1.25rem 0;
    text-align: left;
}

.youtube-showcase-header h2 {
    font-size: clamp(1.2rem, 2.2vw, 1.75rem);
    line-height: 1.2;
}

.youtube-showcase-header > div > p:last-child {
    margin-top: 0.35rem;
    color: #c7c7c7;
    font-size: 0.85rem;
}

.youtube-eyebrow {
    margin-bottom: 0.35rem;
    color: #ff4e4e;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.youtube-actions {
    display: flex;
    flex: 0 0 auto;
    flex-direction: column;
    align-items: stretch;
    gap: 0.45rem;
}

.youtube-subscribe-button,
.youtube-channel-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-height: 40px;
    padding: 0.55rem 1rem;
    border-radius: 999px;
    color: #fff;
    font-size: 0.78rem;
    font-weight: 700;
    text-align: center;
}

.youtube-subscribe-button {
    background: #f00;
}

.youtube-channel-link {
    border: 1px solid #666;
    background: #252525;
}

.youtube-subscribe-button:hover,
.youtube-channel-link:hover {
    filter: brightness(1.18);
}

.youtube-featured,
.youtube-video-card {
    overflow: hidden;
    background: #181818;
    border: 1px solid #333;
    border-radius: 12px;
    text-align: left;
    transition: border-color 0.2s ease, transform 0.2s ease;
}

.youtube-featured:hover,
.youtube-featured:focus-within,
.youtube-video-card:hover,
.youtube-video-card:focus-within {
    border-color: #f33;
}

.youtube-video-grid {
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 1rem;
    margin-top: 1rem;
}

.youtube-video-card:hover,
.youtube-video-card:focus-within {
    transform: translateY(-3px);
}

.youtube-video-launch {
    position: relative;
    display: block;
    width: 100%;
    padding: 0;
    overflow: hidden;
    aspect-ratio: 16 / 9;
    background: #111;
    border: 0;
    color: #fff;
    cursor: pointer;
}

.youtube-video-launch img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.25s ease, filter 0.25s ease;
}

.youtube-video-launch:hover img,
.youtube-video-launch:focus-visible img {
    transform: scale(1.035);
    filter: brightness(0.72);
}

.youtube-play {
    position: absolute;
    top: 50%;
    left: 50%;
    display: grid;
    width: clamp(44px, 10vw, 64px);
    height: clamp(44px, 10vw, 64px);
    transform: translate(-50%, -50%);
    place-items: center;
    border-radius: 50%;
    background: rgba(255, 0, 0, 0.92);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.55);
    pointer-events: none;
}

.youtube-play i {
    margin-left: 3px;
}

.youtube-featured-label {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.35rem 0.65rem;
    border-radius: 999px;
    background: rgba(0, 0, 0, 0.8);
    color: #fff;
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.youtube-featured-copy,
.youtube-video-copy {
    padding: 0.85rem 1rem 1rem;
}

.youtube-featured-copy h3,
.youtube-video-copy h3 {
    display: -webkit-box;
    overflow: hidden;
    color: #fff;
    font-size: clamp(0.82rem, 1.3vw, 1rem);
    line-height: 1.35;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

.youtube-video-date {
    margin-top: 0.45rem;
    color: #aaa;
    font-size: 0.7rem;
}

.youtube-player {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    border: 0;
}

.youtube-feed-status {
    min-height: 1.2rem;
    margin-top: 0.75rem;
    color: #aaa;
    font-size: 0.7rem;
    text-align: center;
}

/* VIGILANTIE TITLE -------*/
.vigilantie-container {
    display: flex;
    align-items: center; /* Centers image vertically */
    width: 100%;
}

#vigilantie-character-main {
   /* background-color: #000;*/
    width: 100%;
    display: block;
    box-sizing: border-box;
    border: 10px solid #fff !important;
    height: auto;
    max-width: 100%;
}

/* CARDS --------------------------------------------------------------------------- */
.card-container {
    flex-direction: row-reverse; /* Ensures right-to-left stacking */
    color: white;
}

.vigilantie-container picture {
    display: block;
    width: 100%;
}

.feature-card {
    padding: 0;
    color: inherit;
    font: inherit;
}

.feature-card:focus-visible {
    outline: 5px solid #ffe45c;
    outline-offset: 5px;
}

.feature-card:hover > span,
.feature-card:focus-visible > span {
    opacity: 1;
}

.feature-card[aria-pressed="true"] {
    box-shadow: 0 0 0 5px #ffe45c, 0.1rem 0 4rem currentColor;
}

.app-card {
    display: flex;
    height: 42vh;
    width: 17vw;
    background: url("png/waitlist_vigilantie_card.png") no-repeat;
    background-image: image-set(
        url("webp/waitlist_vigilantie_card.webp") type("image/webp"),
        url("png/waitlist_vigilantie_card.png") type("image/png")
    );
    background-size: cover;
    background-position: center;
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
    border: 10px;
    border-style: solid;
    border-color: #fff;
    border-radius: 10px;
    outline: 5px solid black; /* Outer black border */
    box-shadow: 0.1rem 0 4rem #800000, inset 0 0 0 5px black; /* Inner black border */
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.hover-text-app {
    background-color: #000;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 80%;
    color: #FFF;
    text-align: center;
    font-size: clamp(0.7rem, 2vw, 1.7rem); /* Responsive font-size */
    font-weight: 700;
    padding: 10px;
    box-shadow: 0.1rem 0 4rem #800000;
    border-radius: 10px;
}

.amazon-card {
    display: flex;
    height: 42vh;
    width: 17vw;
    background: url("png/amazon_vigilantie_card.png") no-repeat;
    background-image: image-set(
        url("webp/amazon_vigilantie_card.webp") type("image/webp"),
        url("png/amazon_vigilantie_card.png") type("image/png")
    );
    background-size: cover;
    background-position: center;
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
    border: 10px;
    border-style: solid;
    border-color: #fff;
    border-radius: 10px;
    outline: 5px solid black; /* Outer black border */
    box-shadow: 0.1rem 0 4rem orange, inset 0 0 0 5px black; /* Inner black border */
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.hover-text-amazon {
    background-color: #000;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 80%;
    color: #FFF;
    text-align: center;
    font-size: clamp(0.7rem, 2vw, 1.7rem); /* Responsive font-size */
    font-weight: 700;
    padding: 10px;
    box-shadow: 0.1rem 0 4rem orange;
    border-radius: 10px;
}

.spotify-card {
    display: flex;
    height: 42vh;
    width: 17vw;
    background: url("png/spotify_vigilantie_card.png") no-repeat;
    background-image: image-set(
        url("webp/spotify_vigilantie_card.webp") type("image/webp"),
        url("png/spotify_vigilantie_card.png") type("image/png")
    );
    background-size: cover;
    background-position: center;
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
    border: 10px;
    border-style: solid;
    border-color: #fff;
    border-radius: 10px;
    outline: 5px solid black; /* Outer black border */
    box-shadow: 0.1rem 0 4rem green, inset 0 0 0 5px black; /* Inner black border */
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.hover-text-spotify {
    background-color: #000;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 80%;
    color: #FFF;
    text-align: center;
    font-size: clamp(0.7rem, 2vw, 1.7rem); /* Responsive font-size */
    font-weight: 700;
    padding: 10px;
    box-shadow: 0.1rem 0 4rem green;
    border-radius: 10px;
}

.youtube-card {
    display: flex;
    height: 42vh;
    width: 17vw;
    background: url("png/youtube_vigilantie_card.png") no-repeat;
    background-image: image-set(
        url("webp/youtube_vigilantie_card.webp") type("image/webp"),
        url("png/youtube_vigilantie_card.png") type("image/png")
    );
    background-size: cover;
    background-position: center;
    transition: 0.4s ease-out;
    position: relative;
    left: 0px;
    border: 10px;
    border-style: solid;
    border-color: #fff;
    border-radius: 10px;
    outline: 5px solid black; /* Outer black border */
    box-shadow: 0.1rem 0 4rem red, inset 0 0 0 5px black; /* Inner black border */
    cursor: pointer;
    align-items: center;
    justify-content: center;
}

.hover-text-youtube {
    background-color: #000;
    width: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    position: absolute;
    top: 80%;
    color: #FFF;
    text-align: center;
    font-size: clamp(0.5rem, 2vw, 1.7rem); /* Responsive font-size */
    font-weight: 700;
    padding: 10px;
    box-shadow: 0.1rem 0 4rem red;
    border-radius: 10px;
}

.app-card:not(:first-child),
.amazon-card:not(:first-child), 
.youtube-card:not(:first-child), 
.spotify-card:not(:first-child) {
    margin-right: -170px; /* Overlaps each card slightly to the left */
}

.app-card:hover, 
.amazon-card:hover, 
.youtube-card:hover, 
.spotify-card:hover {
    transform: translateY(-20px);
    transition: 0.4s ease-out;
}

.app-card:hover ~ .app-card, 
.app-card:hover ~ .amazon-card, 
.app-card:hover ~ .youtube-card, 
.app-card:hover ~ .spotify-card,
.amazon-card:hover ~ .app-card, 
.amazon-card:hover ~ .amazon-card, 
.amazon-card:hover ~ .youtube-card, 
.amazon-card:hover ~ .spotify-card,
.youtube-card:hover ~ .app-card, 
.youtube-card:hover ~ .amazon-card, 
.youtube-card:hover ~ .youtube-card, 
.youtube-card:hover ~ .spotify-card,
.spotify-card:hover ~ .app-card, 
.spotify-card:hover ~ .amazon-card, 
.spotify-card:hover ~ .youtube-card, 
.spotify-card:hover ~ .spotify-card {
    position: relative;
    left: -170px;
    transition: 0.4s ease-out;
}

/* FOOTER ---------------------------------------------------------------*/
.footer-container {
    background: #222;
    color: white;
    text-align: center;
    padding: 1rem;
}

.footer {
    width: 100%;
}

.footer .social-icons {
    margin: 10px 0;
}

.footer .social-icons a {
    color: #fff;
    margin: 0 10px;
    text-decoration: none;
    font-size: 20px;
}

.footer .social-icons a:hover {
    color: #ddd;
}

.footer .social-icons a:focus-visible {
    color: #ff8c8c;
    outline: 2px solid currentColor;
    outline-offset: 4px;
}

#footer-copyright {
    font-size: clamp(0.7rem, 2vw, 1rem);
}

.footer-links a {
    color: white;
    text-decoration: none;
}

.footer-links a:hover,
.footer-links a:focus-visible {
    text-decoration: underline;
}

/* SHARED POLICY PAGES ------------------------------------------------- */
.policy-page {
    background-color: #222;
    color: #fff;
    min-height: 100vh;
}

.policy-container {
    max-width: 900px;
    width: 90%;
    margin: 0 auto;
    padding: 3rem 2rem 4rem;
    flex: 1;
}

.policy-container h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
    text-align: center;
    border-bottom: 2px solid #800000;
    padding-bottom: 1rem;
}

.policy-container .last-updated {
    text-align: center;
    color: #aaa;
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.policy-container h2 {
    font-size: 1.35rem;
    margin: 2rem 0 0.75rem;
    color: #ff7b7b;
}

.policy-container h3 {
    margin: 1.25rem 0 0.5rem;
}

.policy-container p,
.policy-container li {
    font-size: 1rem;
    line-height: 1.7;
    color: #ddd;
}

.policy-container p,
.policy-container ul {
    margin-bottom: 1rem;
}

.policy-container ul {
    list-style: disc;
    margin-left: 1.5rem;
}

.policy-container a {
    color: #ff8c8c;
    text-decoration: underline;
}

.policy-container a:hover,
.policy-container a:focus-visible {
    color: #fff;
}

.policy-container strong {
    color: #fff;
}

.policy-back-link {
    text-align: center;
    margin-top: 2.5rem;
}

.policy-back-link a {
    display: inline-block;
    background-color: #800000;
    color: #fff;
    padding: 10px 28px;
    border-radius: 5px;
    text-decoration: none;
    font-weight: 600;
}

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        scroll-behavior: auto !important;
        transition-duration: 0.01ms !important;
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
    }
}

/* MEDIA QUERIES -PORTRAIT MODE------------------------------------------------------------------------------------ */
/* Ultra-wide screens (2K and above) */
@media (min-width: 2560px) {
    /* HERO SECTION --------------------------------------*/
    .hero-container {
        height: 700px;
        gap: 15rem;
    }
                
    .hero-content-container {
        margin-top: 0%;
    }
}

/* Full HD screens (1080p) */
@media (min-width: 1920px) and (max-width: 2559px) {
    /* HERO SECTION --------------------------------------*/
    .hero-container {
        height: 700px;
        gap: 15rem;
    }
                
    .hero-content-container {
        margin-top: 0%;
    } 
}

/* Large laptops and small desktops (15”+) */
@media (min-width: 1440px) and (max-width: 1919px) {
    /* HERO SECTION --------------------------------------*/
    .hero-container {
        height: 700px;
        gap: 3rem;
    }
                
    .hero-content-container {
        margin-top: 0%;
    }

    /* CARDS ---------------------------------------------*/
    .app-card, 
    .amazon-card, 
    .spotify-card, 
    .youtube-card {
        height: 40vh;
        width: 30vw;
    }

    .app-card:not(:first-child),
    .amazon-card:not(:first-child), 
    .youtube-card:not(:first-child), 
    .spotify-card:not(:first-child) {
        margin-right: -110px; /* Overlaps each card slightly to the left */
    }   

}

/* Medium laptops (13” - 15”) */
@media (min-width: 1200px) and (max-width: 1439px) {
    /* HERO SECTION --------------------------------------*/
    .hero-container {
        height: 700px;
        gap: 3rem;
    }
                
    .hero-content-container {
        margin-top: 0%;
    }

    /* CARDS ---------------------------------------------*/
    .app-card, 
    .amazon-card, 
    .spotify-card, 
    .youtube-card {
        height: 35vh;
        width: 30vw;
    }

    .app-card:not(:first-child),
    .amazon-card:not(:first-child), 
    .youtube-card:not(:first-child), 
    .spotify-card:not(:first-child) {
        margin-right: -110px; /* Overlaps each card slightly to the left */
    }   

}

/* Large tablets / small laptops (e.g., iPad Pro, Surface Go) */
@media (min-width: 992px) and (max-width: 1199px) {
    /* HERO SECTION --------------------------------------*/
    .hero-container {
        height: 700px;
        gap: 3rem;
    }
                
    .hero-content-container {
        margin-top: 0%;
    }

    /* CARDS ---------------------------------------------*/
    .app-card, 
    .amazon-card, 
    .spotify-card, 
    .youtube-card {
        height: 32vh;
        width: 30vw;
    }

    .app-card:not(:first-child),
    .amazon-card:not(:first-child), 
    .youtube-card:not(:first-child), 
    .spotify-card:not(:first-child) {
        margin-right: -100px; /* Overlaps each card slightly to the left */
    }   

}

/* Small tablets (e.g., iPad Mini, Galaxy Tab A) */
@media (min-width: 768px) and (max-width: 991px) {
    /* HERO SECTION --------------------------------------*/
    .hero-container {
        height: 700px;
        gap: 3rem;
    }
                
    .hero-content-container {
        margin-top: 0%;
    }

    /* CARDS ---------------------------------------------*/
    .app-card, 
    .amazon-card, 
    .spotify-card, 
    .youtube-card {
        height: 32vh;
        width: 30vw;
    }
    
    .app-card:not(:first-child),
    .amazon-card:not(:first-child), 
    .youtube-card:not(:first-child), 
    .spotify-card:not(:first-child) {
        margin-right: -60px; /* Overlaps each card slightly to the left */
    }   

}

/* Larger phones (e.g., iPhone Pro Max, Pixel 7) */
@media (min-width: 600px) and (max-width: 767px) { 
    /* NAV SECTION --------------------------------------*/
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%;
        background-color: #333;
        text-align: center;
        padding: 10px 0;
        border: 2px solid #fff;
    }

    .main-menu ul {
        flex-direction: column;
    }

    .main-menu ul li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .main-menu.active {
        display: flex;
    }

    /* Animate the hamburger menu */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* HERO SECTION --------------------------------------*/
    .hero-container {
        height: 700px;
        gap: 3rem;
    }
                
    .hero-content-container {
        margin-top: 0%;
    }

    /* CARDS ---------------------------------------------*/
    .app-card, 
    .amazon-card, 
    .spotify-card, 
    .youtube-card {
        height: 32vh;
        width: 30vw;
    }
    
    .app-card:not(:first-child),
    .amazon-card:not(:first-child), 
    .youtube-card:not(:first-child), 
    .spotify-card:not(:first-child) {
        margin-right: -60px; /* Overlaps each card slightly to the left */
    }   

}

/* Extra small devices (portrait phones) */
@media (max-width: 599px) {

    /* NAV SECTION --------------------------------------*/
    .main-menu {
        display: none;
        flex-direction: column;
        position: absolute;
        top: 120px;
        left: 0;
        width: 100%;
        background-color: #333;
        text-align: center;
        padding: 10px 0;
        border: 2px solid #fff;
    }

    .main-menu ul {
        flex-direction: column;
    }

    .main-menu ul li {
        margin: 10px 0;
    }

    .hamburger {
        display: flex;
    }

    .main-menu.active {
        display: flex;
    }

    /* Animate the hamburger menu */
    .hamburger.active .bar:nth-child(1) {
        transform: translateY(10px) rotate(45deg);
    }

    .hamburger.active .bar:nth-child(2) {
        opacity: 0;
    }

    .hamburger.active .bar:nth-child(3) {
        transform: translateY(-10px) rotate(-45deg);
    }

    /* HERO SECTION --------------------------------------*/
    .hero-container {
        height: 700px;
        gap: 3rem;
    }
                
    .hero-content-container {
        margin-top: 0%;
    }

    /* CARDS ---------------------------------------------*/
    .app-card, 
    .amazon-card, 
    .spotify-card, 
    .youtube-card {
        height: 32vh;
        width: 30vw;
    }
        
    .app-card:not(:first-child),
    .amazon-card:not(:first-child), 
    .youtube-card:not(:first-child), 
    .spotify-card:not(:first-child) {
        margin-right: -20px; /* Overlaps each card slightly to the left */
    }
    
}

/* MEDIA QUERIES -LANDSCAPE MODE------------------------------------------------------------------------------------ */
/* Small phones in landscape (e.g. iPhone SE, older Androids) */
@media (max-width: 932px) and (max-height: 430px) and (orientation: landscape) {

    /* CARDS ---------------------------------------------*/
    .app-card, 
    .amazon-card, 
    .spotify-card, 
    .youtube-card {
        height: 62vh;
        width: 30vw;
    }
        
    .app-card:not(:first-child),
    .amazon-card:not(:first-child), 
    .youtube-card:not(:first-child), 
    .spotify-card:not(:first-child) {
        margin-right: -100px; /* Overlaps each card slightly to the left */
    }

}

@media (max-width: 783px) and (max-height: 375px) and (orientation: landscape) {

    /* CARDS ---------------------------------------------*/
    .app-card, 
    .amazon-card, 
    .spotify-card, 
    .youtube-card {
        height: 62vh;
        width: 30vw;
    }
        
    .app-card:not(:first-child),
    .amazon-card:not(:first-child), 
    .youtube-card:not(:first-child), 
    .spotify-card:not(:first-child) {
        margin-right: -20px; /* Overlaps each card slightly to the left */
    }

}

/* Final small-screen safeguards shared by phones and narrow tablets. */
@media (max-width: 767px) {
    .main-menu {
        z-index: 100;
    }

    .hamburger {
        display: flex !important;
        position: relative;
        z-index: 101;
    }

    .hero-section {
        padding: 1rem;
    }

    .hero-container {
        width: 100%;
        height: auto;
        min-height: 700px;
        grid-template-columns: minmax(0, 1fr);
    }

    .hero-content-container,
    .card-container,
    .vigilantie-container,
    .vigilantie-container picture {
        max-width: 100%;
        min-width: 0;
    }

    .app-card,
    .amazon-card,
    .spotify-card,
    .youtube-card {
        width: 27%;
        max-height: 260px;
        flex-shrink: 0;
    }

    .app-card:not(:first-child),
    .amazon-card:not(:first-child),
    .youtube-card:not(:first-child),
    .spotify-card:not(:first-child) {
        margin-right: -10px;
    }

    .policy-container {
        width: 100%;
        padding: 2rem 1rem 3rem;
    }

    .policy-container h1 {
        font-size: 1.5rem;
    }

    .youtube-showcase-header {
        align-items: flex-start;
        flex-direction: column;
    }

    .youtube-actions {
        width: 100%;
        flex-direction: row;
    }

    .youtube-actions a {
        flex: 1;
    }

}

@media (max-width: 599px) {
    .youtube-showcase {
        padding: 0.65rem;
    }

    .youtube-video-grid {
        grid-template-columns: 1fr;
    }
}
