@import url('https://fonts.googleapis.com/css2?family=Playfair+Display:wght@400;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Rock+Salt&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Mynerve&display=swap');

/* If "Cossette Titre" is a custom font, ensure you have a @font-face declaration or import it properly. */

html, body {
    height: 100%;
    min-height: 100%;
    background: linear-gradient(0deg, #141821 0%, #b30000 60%, #000 100%);
    color: #f0f0f0;
    background-attachment: fixed;
}

.cossette-titre-regular {
  font-family: "Cossette Titre", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.cossette-titre-bold {
  font-family: "Cossette Titre", sans-serif;
  font-weight: 700;
  font-style: normal;
}
.rock-salt-regular {
  font-family: "Rock Salt", cursive;
  font-weight: 400;
  font-style: normal;
}
.barrio-regular {
  font-family: "Barrio", system-ui;
  font-weight: 400;
  font-style: normal;
}


.nsfw-tos-section {
    max-width: 700px;
    margin: 48px auto 40px auto;
    background: rgba(30, 0, 0, 0.55);
    border-radius: 18px;
    box-shadow: 0 12px 48px #b30000bb, 0 2px 8px #141821a6;
    font-family: 'Playfair Display', serif;
    color: #f0f0f0;
    position: relative;
    overflow: hidden;
    padding: 40px 32px 32px 32px;
    font-family: 'Barrio', sans-serif;
    text-align: center;
}

.nsfw-tos-section h1 {
    font-family: 'Barrio', cursive;
    font-size: 2.2em;
    color: #b30000;
    margin-bottom: 0.5em;
    letter-spacing: 4px;
    text-shadow: 0 2px 8px #0008;
}

.nsfw-tos-section ul {
    text-align: left;
    margin: 24px 0 32px 0;
    padding-left: 20px;
    font-size: 1.08em;
    font-family: 'Barrio', cursive;
}

.nsfw-tos-section li {
    margin-bottom: 12px;
}

.nsfw-gallery {
    display: flex;
    flex-wrap: wrap;
    gap: 0;
    justify-content: center;
    align-items: flex-start;
    margin-top: 24px;
    width: 100%;
    position: relative;
    min-height: 320px;
}

.nsfw-polaroid {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    height: 320px;
    display: block;
    position: relative;
    margin: 12px;
    transition: transform 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    
}
.nsfw-polaroid-vert {
    background: none;
    border: none;
    box-shadow: none;
    padding: 0;
    display: block;
    position: relative;
    margin: 12px;
    transition: transform 0.18s;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-end;
    
}

/* Randomize position and rotation for each image */
.nsfw-polaroid:nth-child(1) { transform: rotate(-7deg) translateY(10px) translateX(-8px);}
.nsfw-polaroid:nth-child(2) { transform: rotate(5deg) translateY(-12px) translateX(12px);}
.nsfw-polaroid-vert:nth-child(3) { transform: rotate(-3deg) translateY(18px) translateX(-16px);}
.nsfw-polaroid-vert:nth-child(4) { transform: rotate(8deg) translateY(-8px) translateX(18px);}
.nsfw-polaroid:nth-child(5) { transform: rotate(-6deg) translateY(6px) translateX(-10px);}
.nsfw-polaroid-vert:nth-child(6) { transform: rotate(4deg) translateY(-14px) translateX(8px);}
.nsfw-polaroid-vert:nth-child(7) { transform: rotate(-2deg) translateY(20px) translateX(-12px);}
.nsfw-polaroid:nth-child(8) { transform: rotate(7deg) translateY(-10px) translateX(14px);}
.nsfw-polaroid-vert:nth-child(9) { transform: rotate(-7deg) translateY(10px) translateX(-8px);}
.nsfw-polaroid-vert:nth-child(10) { transform: rotate(5deg) translateY(-12px) translateX(12px);}

.nsfw-polaroid img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: 0 8px 32px #b3000088, 0 2px 8px #14182188;
    transition: box-shadow 0.2s, transform 0.2s;
    
}
.nsfw-polaroid-vert img {
    width: 300px;
    height: 100%;
    object-fit: cover;
    margin-bottom: 8px;
    box-shadow: 0 8px 32px #b3000088, 0 2px 8px #14182188;
    transition: box-shadow 0.2s, transform 0.2s;
    
}

.nsfw-polaroid .caption {
    font-family: 'Cossette Titre', sans-serif;
    font-size: 1rem;
    color: #b30000;
    margin-top: 4px;
    font-weight: 700;
    letter-spacing: 1px;
    text-align: center;
    background: rgba(255,255,255,0.12);
    border-radius: 8px;
    padding: 2px 0;
    box-shadow: none;
}

/* On hover, bring image forward and add shadow */
.nsfw-polaroid img:hover {
    box-shadow: 0 16px 48px #b30000cc, 0 4px 16px #141821cc;
    transform: scale(1.08) rotate(0deg);
    z-index: 2;
}
.nsfw-polaroid-vert img:hover {
    box-shadow: 0 16px 48px #b30000cc, 0 4px 16px #141821cc;
    transform: scale(1.08) rotate(0deg);
    z-index: 2;
}

.star-home-btn {
    width: 54px;
    height: 54px;
    background: #000000;
    clip-path: polygon(
        50% 0%,
        61% 35%,
        98% 35%,
        68% 57%,
        79% 91%,
        50% 70%,
        21% 91%,
        32% 57%,
        2% 35%,
        39% 35%
    );
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 16px #c9aaef55;
    transition: background 0.2s, transform 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #000000;
    font-size: 1.5em;
    margin: 24px auto 0 auto;
}

.star-home-btn:hover {
    background: #ffffff3a;
    transform: scale(1.13) rotate(-8deg);
    color: #fff;
}
.nsfw-link {
    color: #b30000;
    text-decoration: none;
}

.nsfw-link:hover {
    text-decoration: underline;
    color: white;
    text-shadow: white 0 2px 8px;
}