:root {
    --bg-black: #000000;
    --card-green: #2a6b5c;
    --card-green-light: #3d6656;
    --text-main: #f7f7f7; /* Heading text color */
    --text-body: #f2f2f2; /* Other text color */
    --text-white: #ffffff;
    --text-black: #1a1a1a;
    --text-dim: #a1a1a1;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

.section-title {
    font-size: 1rem;
    margin-bottom: 12px;
    margin-top: 16px;
}

body {
    background: linear-gradient(rgba(0, 0, 0, 0.64), rgba(0, 0, 0, 0.64)), url('pictures/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-color: var(--bg-black);
    color: var(--text-body);
    font-family: 'Inter', sans-serif;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    min-height: 100vh;
    padding: 40px 20px;
}

.container {
    width: 100%;
    max-width: 480px;
    text-align: center;
}

header {
    margin-bottom: 40px;
}

.profile-img {
    display: inline-block;
    padding: 4px;
    background: linear-gradient(180deg, var(--card-green) 0%, #ffffff 100%);
    border-radius: 50%;
    margin-bottom: 48px;
}

.profile-img img {
    width: 125px;
    height: 125px;
    border-radius: 50%;
    object-fit: cover;
    display: block;
}

.artist-name {
    font-family: 'Permanent Marker', cursive;
    font-size: 2.2rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    margin-bottom: 12px;
    line-height: 1;
    color: var(--text-white);
}

.bio {
    font-size: 0.875rem;
    color: var(--text-body);
    margin-bottom: 5px;
    font-weight: 400;
}

.header-socials {
    display: flex;
    justify-content: center;
    gap: 10px;
    font-size: 1.35rem;
    margin-top: 6.5px;
}

.header-socials a {
    color: var(--text-white);
    text-decoration: none;
}

main {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

/* Base Card Styling */
.collapsible-card, 
.video-card {
    background-color: var(--card-green);
    border: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-white);
    text-decoration: none;
    transition: transform 0.2s, background-color 0.2s;
}

.collapsible-card:hover, 
.video-card:hover {
    transform: scale(1.02);
}

/* Collapsible Card (Worship Favourites) */
.collapsible-card {
    border-radius: 50px;
    overflow: hidden;
}

.collapsible-card summary {
    position: relative;
    padding: 8px 14px;
    height: 64px;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    list-style: none;
    display: flex;
    justify-content: center;
    align-items: center;
    color: var(--text-main);
}

.summary-thumb {
    position: absolute;
    left: 8px;
    width: 48px;
    height: 48px;
    border-radius: 40px;
    object-fit: cover;
}

.summary-title {
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

.collapsible-card summary i {
    transition: transform 0.3s ease;
}

.collapsible-card[open] summary i {
    transform: rotate(180deg);
}

.collapsible-card summary i {
    position: absolute;
    right: 24px;
}

.collapsible-card {
    transition: transform 0.3s ease-out, border-radius 0.3s ease;
}

.collapsible-card[open] {
    border-radius: 24px;
    transform: scale(1.02);
}

.collapsible-card:not([open]) {
    transform: scale(0.98);
}

.collapsible-content {
    padding: 0 12px 12px 12px;
}

.sub-links {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Playlist Links with Borders */
.sub-links .btn-sub {
    border: 2px solid var(--text-body);
}

.btn-sub {
    background-color: rgba(0, 0, 0, 0.2);
    padding: 14px 20px;
    font-size: 0.9rem;
    border-radius: 30px;
    color: white;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-weight: 600;
}

.btn-sub i {
    font-size: 1.1rem; /* Large icons for recognition */
}

/* Video Card Styling */
.video-card {
    border-radius: 20px;
    display: block;
    overflow: hidden;
}

.video-thumbnail-container {
    position: relative;
    padding-bottom: 56.25%;
    height: 0;
}

.video-thumbnail-container iframe {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
}

.video-thumbnail {
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    object-fit: cover;
}

.play-overlay {
    position: absolute;
    top: 50%; left: 50%; transform: translate(-50%, -50%);
    background-color: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    width: 60px; height: 60px; border-radius: 50%;
    display: flex; justify-content: center; align-items: center;
    font-size: 1.5rem; color: white;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.video-card-footer {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-main);
}

/* Subscribe Section */
.form-container {
    background-color: var(--card-green);
    padding: 24px 22px;
    border-radius: 24px;
    margin: 8px 0;
    margin-top: 24px;
    color: var(--text-white);
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 8px;
    color: var(--text-main);
}

.form-subtitle {
    font-size: 0.85rem;
    opacity: 0.8;
    margin-bottom: 24px;
    line-height: 1.4;
    color: var(--text-body);
}

#subscribe-form {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

#subscribe-form input {
    background: rgba(0, 0, 0, 0.2);
    border: 2px solid #f2f2f2;
    padding: 18px;
    width: 100%;
    border-radius: 14px;
    color: white;
    font-family: inherit;
    font-size: 0.9rem;
    outline: none;
}

#subscribe-form input::placeholder {
    color: #f7f7f7; /* Specific placeholder color */
    opacity: 0.8;
}

#subscribe-form input {
    transition: background 0.2s ease, border-color 0.2s ease;
}

#subscribe-form input:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

#subscribe-form input:focus {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

#subscribe-form input.typing {
    background: rgba(0, 0, 0, 0.2);
    border-color: #f2f2f2;
}

#subscribe-form input.typing:focus {
    background: rgba(0, 0, 0, 0.2);
    border-color: #f2f2f2;
}

.btn-sub:hover {
    background: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
}

#subscribe-form button {
    background-color: white;
    color: var(--text-black); /* Set to #1a1a1a */
    cursor: pointer;
    border: none;
    width: 100%;
    margin-top: 8px;
    padding: 18px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1rem;
    transition: transform 0.15s ease, background-color 0.25s ease;
}

#subscribe-form button:hover {
    transform: scale(1.02);
}

/* Ministry Static Card */
.ministry-static-card {
    padding: 18px 14px;
    border-radius: 24px;
    text-align: center;
    margin-top: 16px;
    border: 1px solid #f2f2f2;
    background-color: var(--card-green);
animation: pulse 2s infinite ease-out;
}

@keyframes pulse {
    0%, 27.5% { transform: scale(1); }
    50% { transform: scale(1.02); }
    100% { transform: scale(1); }
}

.ministry-static-card:hover {
    animation-play-state: paused;
}

.ministry-header {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 16px;
}

.ministry-header h3 {
    font-size: 1.1rem;
    font-weight: 700;
    color: var(--text-main);
}

.ministry-message {
    font-size: 0.8rem;
    line-height: 1.6;
    margin-bottom: 20px;
    color: var(--text-body);
    text-align: justify;
    text-align-last: left;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
}

.ministry-static-card .btn-sub {
    background-color: rgba(0, 0, 0, 0.2);
    border: 0.3px solid var(--text-body);
    display: inline-flex; /* Shrink to fit text */
    padding: 12px 22px;
    transition: transform 0.2s ease;
    font-size: 0.88rem;
}

.ministry-static-card .btn-sub i {
    font-size: 1rem;
}

.ministry-static-card .btn-sub:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: #ffffff;
    transform: scale(1.05);
}

footer {
    margin-top: 60px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.hidden { display: none; }
#form-message { margin-top: 16px; color: #ffffff; font-weight: 600; }