body {
font-family: Public Sans;
text-align: center;
margin-top: 55px;
background-color:rgb(38, 44, 49);
color: white;
padding: 10px;
}
.title img {
width: 96px;
height: 96px;
object-fit: cover;
border-radius: 50%;
border: 2px solid white;
}
.title p {
font-size: 22px;
}
/* SOCIAL ICONS */
.socials {
display: flex;
justify-content: center;
gap: 18px;
margin-bottom: 37px;
}
.socials img {
width: 30px;
height: 30px;
object-fit: contain;
cursor: pointer;
}
/* BUTTON STYLE */
.btn {
display: flex;
align-items: center;
justify-content: space-between;
padding: 12px 12px;
background-color: white;
color: black;
border: 2px solid black;
font-size: 17px;
max-width: 560px;
width: 100%;
margin: 18px auto;
box-sizing: border-box;
transition: 0.01s;
text-decoration: none;
white-space: normal;
cursor: pointer;
}
.btn:hover {
transform: scale(1.021);
}
/* Left icon wrapper */
.btn .left {
display: flex;
align-items: center;
flex-shrink: 0;
padding-left: 6px;
}
.btn .left img {
width: 45px;
height: 45px;
object-fit: contain;
}
/* Center text */
.btn .center {
flex: 1;
text-align: center;
padding: 0 10px;
line-height: 1.4;
display: flex;
justify-content: center;
align-items: center;
}
/* Right placeholder */
.btn .right {
width: 45px;
}
/* Locked button */
.locked {
opacity: 0.3;
cursor: not-allowed;
filter: grayscale(80%);
pointer-events: none;
}
/* Unlocked button */
.unlocked {
opacity: 1;
cursor: pointer;
pointer-events: auto;
filter: grayscale(0%);
}
/* Unlock fade animation */
@keyframes fadeInBright {
from {
  opacity: 0.3;
  filter: grayscale(80%);
}
to {
  opacity: 1;
  filter: grayscale(0%);
}
}
.animateFadeIn {
animation: fadeInBright 1s ease forwards;
}
.video-container {
    max-width: 560px;   /* same as buttons */
    width: 100%;        /* scale down with screen */
    margin: 20px auto;  /* center */
    cursor: pointer;
}

.video-container iframe {
    width: 100%;        /* fill container width */
    height: auto;       /* scale height proportionally */
    aspect-ratio: 16 / 9; /* maintain 16:9 ratio */
    border: 0;
}

.hidden {
display: none;
}

/* SHARE BUTTON — ALIGNED WITH BUTTONS */
.share-btn {
    position: absolute;
    top: 15px;
    /* Align perfectly with right edge of your 560px centered layout */
    right: calc(50% - 560px / 2);

    background: white;
    border: none;
    border-radius: 2px;
    padding: 8px;
    cursor: pointer;
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 999;
}

.share-btn:hover {
    opacity: 0.80;
}

.share-btn img {
    width: 18px;
    height: 18px;
    object-fit: contain;
}

.share-img-mobile {
    display: none;
}

@media (max-width: 600px) {
    .share-btn {
        right: 20px; /* keeps it clean on small screens */
    }
    .share-btn img {
    width: 25px;
    height: 25px;
    object-fit: contain;
}
     .share-img-desktop {
        display: none;
    }
    .share-img-mobile {
        display: block;
    }
}

/* SHARE POPUP --------------------------------------------------- */
.share-popup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.60);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

.share-popup.hidden {
    display: none;
}

.share-popup-inner {
    width: 86%;
    max-width: 350px;
    background: #fff;
    color: black;
    padding: 20px;
    border-radius: 12px;
    position: relative;
}


.close-popup {
    position: absolute;
    top: 12px; right: 12px;
    font-size: 20px;
    background: none;
    border: none;
    cursor: pointer;
}

.share-header {
    text-align: center;
    margin-bottom: 18px;
}

.share-profile {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    border: 2px solid black;
}

.share-title {
    margin-top: 8px;
    font-weight: 600;
    font-size: 18px;
}

.share-link-box {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border: 2px solid black;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 18px;
}

.copy-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0;
    margin: 0;

    width: 28px;        /* same as share-row icons */
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn img {
    width: 19px;
    height: 19px;
    object-fit: contain;
    opacity: 0.5;
}


.share-row {
    display: flex;
    align-items: center;
    gap: 12px;        /* spacing between icon + text */
    background: #ffffff;
    border: 1px solid #ccc;
    padding: 10px 14px;
    border-radius: 8px;
    margin-bottom: 12px;
    cursor: pointer;
    text-decoration: none;
    color: black;
}

.share-row span {
    flex: 1;          /* text takes full width */
    text-align: left; /* forces left alignment */
}



.share-row .arrow {
    width: 15px; 
    height: 15px;
    opacity: 0.5;
    margin-left: auto;
}
.share-icon {
    width: 26px;   /* make bigger */
    height: 26px;
    object-fit: contain;
    border-radius: 4px;
}
