/* ---------------------------------
   1. RESET & BASE STYLES
---------------------------------- */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    color: #4A4A4A;
    line-height: 1.6;
    background-color: #FFF5F7;
}


/* ---------------------------------
   2. VARIABLES
---------------------------------- */
:root {
    --pink-light: #FFE5EC;
    --pink-medium: #FFB5C9;
    --purple-light: #E5D4F2;
    --peach: #FFE2D6;
    --gold: #D4AF37;
    --white: #FFFFFF;
    --text-dark: #4A4A4A;
    --shadow-soft: 0 4px 20px rgba(0, 0, 0, 0.05);
    --transition: all 0.3s ease;
}


/* ---------------------------------
   3. UTILITY CLASSES
---------------------------------- */
.hidden {
    display: none !important;
}

.bubble-text {
    font-family: 'Bubblegum Sans', cursive;
    color: var(--text-dark);
}


/* ---------------------------------
   4. AGE GATE STYLES
---------------------------------- */
.age-gate {
    min-height: 100vh;
    background-color: var(--pink-light);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.age-gate.fade-out {
    opacity: 0;
    visibility: hidden;
}

/* Age Gate Content */
.age-gate__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-soft);
    transform: translateX(100vw);
    transition:
        transform 0.6s cubic-bezier(0.4, 0, 0.2, 1),
        opacity 0.5s ease;
}

.age-gate.animate-in .age-gate__content {
    transform: translateX(0);
}

.age-gate.fade-out .age-gate__content {
    transform: translateX(-100vw);
    opacity: 0;
}

/* Add these for content animations */
.age-gate__content .profile-image,
.age-gate__content h1,
.age-gate__content p {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Age Gate Animation Sequence */
.age-gate.animate-in .age-gate__content .profile-image {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.3s;
}

.age-gate.animate-in .age-gate__content h1 {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.5s;
}

.age-gate.animate-in .age-gate__content p {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.7s;
}

/* Age Gate Profile Image */
.profile-image {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    margin: 0 auto 1.5rem;
    overflow: hidden;
    border: 3px solid var(--pink-medium);
}

.profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.age-gate .profile-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Age Gate Headings and Paragraphs */
.age-gate h1 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.age-gate p {
    margin-bottom: 1.5rem;
    color: var(--text-dark);
}

/* Age Gate Buttons */
.age-gate__buttons {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.age-gate__buttons .btn {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

.age-gate.animate-in .btn:nth-child(1) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s;
}

.age-gate.animate-in .btn:nth-child(2) {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 1.1s;
}


/* ---------------------------------
   5. BUTTON STYLES
---------------------------------- */
.btn {
    border-radius: 50px;
    padding: 1rem 2rem;
    font-size: 1.1rem;
    transition: var(--transition);
    cursor: pointer;
    border: none;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
}

.btn--primary {
    background: var(--pink-medium);
    color: var(--text-dark);
}

.btn--secondary {
    background: var(--purple-light);
    color: var(--text-dark);
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 181, 201, 0.4);
}


/* ---------------------------------
   6. LINK TREE STYLES
---------------------------------- */
.link-tree {
    min-height: 100vh;
    background-color: var(--pink-light);
    background-image: none;
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 1rem;
    opacity: 0;
    visibility: hidden;
    transition: 
        opacity 0.8s ease,
        visibility 0.8s,
        background-image 2s ease;
}

/* Mobile first - vertical background */
.link-tree.visible {
    opacity: 1;
    visibility: visible;
    background-image: url('images/bg-vert.webp');
}

/* Fallback for browsers that don't support WebP */
.no-webp .link-tree.visible {
    background-image: url('images/bg-vert-optimized.jpg');
}

/* Final fallback */
.no-jpg .link-tree.visible {
    background-image: url('images/bg-vert.jpg');
}

/* Desktop versions */
@media (min-width: 768px) {
    .link-tree.visible {
        background-image: url('images/bg-horiz.webp');
    }
    
    .no-webp .link-tree.visible {
        background-image: url('images/bg-horiz-optimized.jpg');
    }
    
    .no-jpg .link-tree.visible {
        background-image: url('images/bg-horiz.jpg');
    }
}

/* Link Tree Content */
.link-tree__content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-soft);
    transform: translateX(100vw);
    transition: transform 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.link-tree.visible .link-tree__content {
    transform: translateX(0);
}


/* ---------------------------------
   7. PROFILE SECTION
---------------------------------- */
.profile {
    text-align: center;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    max-width: 500px;
    margin: 0 auto 0rem;
}

.profile h1.bubble-text {
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.profile__name {
    font-size: 2rem;
    margin: 1rem 0 0.5rem;
}

.profile__bio {
    color: var(--text-dark);
    font-size: 1.1rem;
}

.links {
    max-width: 500px;
    margin: 0 auto;
    padding: 0 1rem;
}


/* ---------------------------------
   8. LINK BUTTONS
---------------------------------- */
.link-button {
    display: block;
    width: 100%;
    padding: 1rem;
    margin-bottom: 1rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    color: white;
    position: relative;
}

/* Link Button Colors */
.link-button.onlyfans {
    background: #0B90D0;
}
.link-button.manyvids {
    background: #9B4CF6;
}
.link-button.clips {
    background: #30293C;
}
.link-button.want {
    background: #FF41B4;
}
.link-button.soundcloud {
    background: #ff7700;
}

/* Link Button Hover States */
.link-button:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-soft);
}

.link-button.onlyfans:hover {
    background: #0a7fb8;
}
.link-button.manyvids:hover {
    background: #8a3df5;
}
.link-button.clips:hover {
    background: #3d3549;
}
.link-button.want:hover {
    background: #ff2aa8;
}
.link-button.soundcloud:hover {
    background: #ff8800;
}

/* Button "Glow" Effect */
.button-glow {
    position: absolute;
    width: 50px;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.6), transparent);
    left: -100%;
    top: 0;
    transform: skewX(-15deg);
}

.link-button:hover .button-glow {
    animation: glow 1.5s infinite;
}


/* ---------------------------------
   9. LINK TREE ANIMATIONS
---------------------------------- */
/* Initial states */
.link-tree h1,
.link-tree p,
.link-tree .links,
.link-tree .link-button {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Single animation for all content */
.link-tree.animate-in h1,
.link-tree.animate-in p,
.link-tree.animate-in .links,
.link-tree.animate-in .link-button {
    opacity: 1;
    transform: translateY(0);
    transition-delay: 0.9s; /* Single delay for all content */
}

/* Remove individual link button delays */


/* ---------------------------------
   10. AGE GATE MESSAGE STYLES
---------------------------------- */
.age-gate__message {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 24px;
    padding: 2rem;
    text-align: center;
    max-width: 400px;
    width: 100%;
    box-shadow: var(--shadow-soft);
    animation: slideInFromBottom 0.5s ease forwards;
    overflow: hidden;
    position: relative;
}

.message-content {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.5s ease 0.3s forwards;
}

.message-content h2 {
    font-family: 'Bubblegum Sans', cursive;
    font-size: 2rem;
    margin-bottom: 0.5rem;
    color: var(--text-dark);
}

/* Social Links */
.social-links {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin-top: 1.5rem;
}

.or-divider {
    margin: 0.5rem 0;
    font-size: 0.9rem;
    color: var(--text-dark);
    opacity: 0;
    animation: fadeIn 0.5s ease 0.8s forwards;
}

.social-button {
    display: block;
    padding: 1rem;
    border-radius: 50px;
    text-decoration: none;
    transition: all 0.3s ease;
    opacity: 0;
    transform: translateY(10px);
    font-weight: 500;
}

/* SoundCloud button */
.social-button.soundcloud {
    background: #ff7700;
    color: white;
    animation: fadeIn 0.5s ease 0.6s forwards;
}

.social-button.soundcloud:hover {
    transform: translateY(-2px);
    background: #ff8800;
    box-shadow: var(--shadow-soft);
}


/* ---------------------------------
   11. KEYFRAMES
---------------------------------- */
@keyframes glow {
    100% {
        left: 200%;
    }
}

@keyframes slideInFromBottom {
    from {
        transform: translateY(50px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes peekAboo {
    0% {
        bottom: -150px;
    }
    100% {
        bottom: -45px;
    }
}


/* ---------------------------------
   12. CAT ANIMATION STYLES
---------------------------------- */
.cat-container {
    position: relative;
    height: 150px;
    margin-top: 2rem;
}

.peek-a-boo-cat {
    position: absolute;
    bottom: -150px;
    left: 50%;
    transform: translateX(-50%);
    width: 275px;
    height: auto;
    animation: peekAboo 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 1.5s forwards;
}

.link-tree__content .cat-container {
    position: relative;
    height: 150px;
    margin: 0 auto 1rem;
}

.link-tree__content .peek-a-boo-cat {
    position: absolute;
    top: -150px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 275px;
    height: auto;
    animation: peekAbooFromTop 0.8s cubic-bezier(0.34, 1.56, 0.64, 1) 0.3s forwards;
}

@keyframes peekAboo {
    0% {
        bottom: -150px;
    }
    100% {
        bottom: -45px;
    }
}

@keyframes peekAbooFromTop {
    0% {
        top: -150px;
    }
    100% {
        top: -45px;
    }
}

/* Loading Spinner */
.loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--pink-light);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

.loader__spinner {
    width: 50px;
    height: 50px;
    border: 5px solid var(--pink-medium);
    border-top: 5px solid var(--white);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.loader.fade-out {
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.5s ease, visibility 0.5s;
}

.site-footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    padding: 0.5rem;
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(5px);
    text-align: center;
    font-size: 0.8rem;
}

.footer-content {
    max-width: 500px;
    margin: 0 auto;
    display: flex;
    justify-content: center;
    gap: 1rem;
}

.site-footer a {
    color: var(--text-dark);
    text-decoration: none;
}

.site-footer a:hover {
    text-decoration: underline;
}

/* Add to your existing CSS */
.policy-content {
    text-align: left;
    padding: 1rem 0;
}

.policy-content ul {
    list-style: none;
    padding: 0;
}

.policy-content li {
    margin-bottom: 0.5rem;
    padding-left: 1rem;
    position: relative;
}

.policy-content li:before {
    content: "•";
    position: absolute;
    left: 0;
}

/* Make sure the link-tree is visible immediately on policy pages */
.privacy-page .link-tree,
.terms-page .link-tree {
    opacity: 1;
    visibility: visible;
}

/* Animated list items */
.animated-list .fade-item {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.5s ease, transform 0.5s ease;
}

/* Animation classes that will be added by JavaScript */
.animated-list .fade-item.visible {
    opacity: 1;
    transform: translateY(0);
}