:root {
    --text-color: #362630;
    --btn-bg: #ffffff;
}

* { box-sizing: border-box; margin: 0; padding: 0; }

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    font-family: 'Inter', -apple-system, sans-serif;
    
    /* THE PERFECT BACKGROUND (MESH GRADIENT) */
    background-color: #0f172a;
    background-image: 
        radial-gradient(at 0% 0%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 50% 0%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 100% 0%, hsla(339,49%,30%,1) 0, transparent 50%), 
        radial-gradient(at 0% 100%, hsla(225,39%,30%,1) 0, transparent 50%), 
        radial-gradient(at 50% 100%, hsla(253,16%,7%,1) 0, transparent 50%), 
        radial-gradient(at 100% 100%, hsla(339,49%,30%,1) 0, transparent 50%);
    background-attachment: fixed;
    padding: 40px 10px;
}

/* THE CARD (RISE GRADIENT) */
.container {
    background: linear-gradient(180deg, #CFB6CD 0%, #D0B8D0 45%, #C96B4C 100%);
    width: 100%;
    max-width: 600px;
    border-radius: 48px;
    padding: 50px 24px;
    text-align: center;
    position: relative;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

/* Header & Logo */
.logo-header {
    margin-bottom: 25px;
    display: flex;
    justify-content: center;
}

.logo-img {
    height: 52px;
    width: auto;
}

.profile-img {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    margin-bottom: 12px;
    object-fit: cover;
    border: 2px solid rgba(255,255,255,0.2);
}

h1 {
    font-family: 'Epilogue', sans-serif;
    color: var(--text-color);
    font-size: 1.75rem;
    font-weight: 700;
    margin-bottom: 8px;
}

.bio {
    color: var(--text-color);
    font-size: 1.25rem;
    line-height: 1.4;
    font-weight: 500;
    margin-bottom: 20px;
}

/* Socials */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin-bottom: 30px;
}

.social-icons a {
    color: var(--text-color);
    font-size: 1.7rem;
    text-decoration: none;
}

/* White Pill Buttons */
.main-links {
    display: flex;
    flex-direction: column;
    gap: 14px;
    margin-bottom: 40px;
}

.link-btn {
    display: flex;
    align-items: center;
    background: var(--btn-bg);
    padding: 8px;
    min-height: 64px;
    border-radius: 12px;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 10px rgba(0,0,0,0.1);
    transition: transform 0.1s ease;
}

.link-btn:active { transform: scale(0.98); }

.btn-icon {
    width: 48px;
    height: 48px;
    border-radius: 6px;
    object-fit: cover;
}

.btn-text {
    flex-grow: 1;
    text-align: center;
    color: var(--text-color);
    font-weight: 600;
	font-size: 1.25rem; /* Change this value to adjust size */
    padding: 0 40px;
}

.lock-icon {
    position: absolute;
    right: 20px;
    color: var(--text-color);
    opacity: 0.4;
}
/* The Share Button Style */
.share-btn {
    position: absolute;
    top: 24px;
    right: 24px;
    width: 42px;
    height: 42px;
    background-color: rgba(255, 255, 255, 0.7); /* Semi-transparent white */
    backdrop-filter: blur(4px); /* Subtle glass effect on the icon itself */
    border: none;
    border-radius: 50%;
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    cursor: pointer;
    font-size: 1.1rem;
    transition: all 0.2s ease;
    z-index: 10;
}

.share-btn:hover {
    background-color: #ffffff;
    transform: scale(1.05);
}

/* Gallery */
.gallery {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 12px;
}

.gallery img, .gallery video {
    width: 100%;
    height: 100% !important;        /* Force it to fill the square box */
    object-fit: cover !important;   /* Crop instead of stretch */
    display: block;
	border-radius: 15px;
}
/* 1. The Divider */
.section-divider {
    border: 0;
    height: 1px;
    background-image: linear-gradient(to right, transparent, var(--text-color), transparent);
    opacity: 0.3;
    margin: 40px auto 30px;
    width: 80%;
}

/* 2. Gallery & Captions */
.gallery-item {
	width: 100%;
    aspect-ratio: 1 / 1 !important; /* Force the container to be square */
    overflow: hidden;               /* Hide anything that pokes out */
    position: relative;
    display: flex;
    flex-direction: column;
    transition: transform 0.2s;
}

.gallery-item:hover {
    transform: scale(1.02);
}

.caption {
    margin-top: 8px;
    font-size: 1rem;
    font-weight: 500;
    color: var(--text-color);
    opacity: 0.8;
}
.caption a {
    text-decoration: none; /* Removes the purple underline */
    color: var(--text-color);
    font-weight: 700;
    border-bottom: 2px solid rgba(54, 38, 48, 0.3); /* Subtle bottom line */
    padding-bottom: 1px;
    transition: all 0.2s ease;
}

.caption a:hover {
    border-bottom: 2px solid var(--text-color); /* Darkens on hover */
    opacity: 1;
}

/* 3. The Lightbox Modal */
.modal {
    display: none; 
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.modal-content {
    max-width: 90%;
    max-height: 80vh; /* Prevents video from going off-screen on mobile */
    border-radius: 12px;
    object-fit: contain; /* Keeps the aspect ratio perfect */
	box-shadow: 0 0 20px rgba(0,0,0,0.5);
}

#modal-caption {
    margin-top: 15px;
    color: white;
    font-family: 'Epilogue', sans-serif;
    font-weight: 600;
}

.close {
    position: absolute;
    top: 20px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
}

/*footer {
    margin-top: 40px;
    color: var(--text-color);
    opacity: 0.6;
    font-size: 0.8rem;
}*/
footer {
    margin-top: 50px;
    padding-bottom: 30px;
    text-align: center;
}

.legal-links {
    font-size: 0.9rem;
    color: var(--text-color);
    opacity: 0.5;
    margin-bottom: 10px;
}

.legal-links a, .legal-links button {
    color: inherit;
    text-decoration: none;
    background: none;
    border: none;
    cursor: pointer;
    margin: 0 5px;
	font-family: inherit; 
    font-size: inherit;
    font-weight: inherit;
    padding: 0;
}

.age-disclaimer {
    font-size: 0.65rem;
    font-weight: 700;
    color: var(--text-color);
    opacity: 0.7;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.legal-modal {
    background: white;
    padding: 30px;
    max-width: 450px;
    text-align: left;
    color: var(--text-color);
}

.legal-text {
    font-size: 0.9rem;
    line-height: 1.6;
    margin-top: 15px;
}

.legal-modal h2 {
    font-family: 'Epilogue', sans-serif;
    font-size: 1.4rem;
}

.copyright {
    font-size: 0.9rem;
    margin-top: 15px;
    opacity: 0.4;
}
.legal-body p {
    margin-bottom: 20px; 
}

/* MOBILE FULL-SCREEN MODE */
@media (max-width: 600px) {
    body {
        padding: 0; /* Removes the gap around the card */
        align-items: stretch; /* Allows container to fill height */
    }

    .container {
        max-width: 100%; /* Spans full width */
        min-height: 100vh; /* Spans full height of the phone */
        border-radius: 0; /* Removes rounded corners for the 'full-bleed' look */
        box-shadow: none; /* Shadow isn't needed when full-screen */
        padding: 40px 20px; /* Adjusted padding for mobile thumbs */
    }

    /* Optional: Scale down profile image slightly for smaller screens */
    .profile-img {
        width: 120px;
        height: 120px;
    }

    h1 {
        font-size: 1.5rem;
    }

    .bio {
        font-size: 1.1rem;
    }
	.btn-text {		
		font-weight: 600;
		font-size: 1.0rem; /* Change this value to adjust size */		
	}
	.share-btn {
        top: 20px;
        right: 20px;
        background-color: #ffffff; /* Solid white for better visibility on mobile */
    }
}