:root {
    --bg-color: #000000;
    --card-bg: #1C1C1E;
    --text-primary: #FFFFFF;
    --text-secondary: #AAAAAA;
    --accent-color: #FFFFFF;
    --hover-bg: #2C2C2E;
    --modal-bg: #1C1C1E;
    --font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-color);
    color: var(--text-primary);
    font-family: var(--font-family);
    line-height: 1.5;
    -webkit-font-smoothing: antialiased;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 40px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Header */
.profile-header {
    text-align: center;
    margin-bottom: 40px;
    animation: fadeIn 0.8s ease-out;
}

.profile-image-container {
    margin-bottom: 16px;
}

.profile-image {
    width: 180px;
    height: 180px;
    border-radius: 24px;
    object-fit: cover;
    border: none;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.5);
}

.profile-name {
    font-size: 28px;
    font-weight: 700;
    margin-bottom: 20px;
    letter-spacing: -0.5px;
    margin-top: 10px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 24px;
    margin-bottom: 24px;
}

.social-links a {
    color: var(--text-primary);
    font-size: 24px;
    transition: transform 0.2s, color 0.2s;
}

.social-links a:hover {
    transform: scale(1.1);
    color: #e0e0e0;
}

.quick-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    color: var(--text-secondary);
    font-size: 14px;
    font-weight: 500;
}

.quick-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.2s;
}

.quick-links a:hover {
    color: var(--text-primary);
}

/* Sections */
.section-title {
    font-size: 18px;
    font-weight: 600;
    margin: 32px 0 16px;
    padding-left: 4px;
}

/* Cards */
.card-section {
    margin-bottom: 16px;
}

.content-card,
.text-card {
    background-color: var(--card-bg);
    border-radius: 20px;
    padding: 16px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: var(--text-primary);
    transition: background-color 0.2s, transform 0.2s;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.text-card {
    display: block;
}

.content-card:hover,
.action-card:hover {
    background-color: var(--hover-bg);
    transform: translateY(-2px);
}

.card-image img {
    width: 80px;
    height: 80px;
    border-radius: 12px;
    object-fit: cover;
}

.card-text h3 {
    font-size: 17px;
    font-weight: 600;
    line-height: 1.4;
}

.bible-verse {
    font-size: 15px;
    line-height: 1.6;
    color: #cccccc;
    font-style: normal;
    border-left: none;
    padding-left: 0;
}

.action-card {
    cursor: pointer;
    position: relative;
    padding-right: 48px;
    /* Space for icon */
}

.card-action-icon {
    position: absolute;
    right: 20px;
    color: var(--text-secondary);
}

/* Shorts Grid */
.shorts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
}

.short-item {
    position: relative;
    border-radius: 12px;
    overflow: hidden;
    aspect-ratio: 9/16;
}

.short-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s;
}

.short-item:hover img {
    transform: scale(1.05);
}

.play-icon {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 24px;
    opacity: 0.9;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Podcast Scrolling */
.scrolling-wrapper {
    display: flex;
    overflow-x: auto;
    gap: 12px;
    padding-bottom: 12px;
    -webkit-overflow-scrolling: touch;
    /* smooth scrolling for iOS */
}

.video-card {
    position: relative;
    flex: 0 0 auto;
    width: 200px;
    border-radius: 12px;
    overflow: hidden;
}

.video-card img {
    width: 100%;
    height: auto;
    display: block;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.2s;
}

.video-card:hover .video-overlay {
    opacity: 1;
}

/* Footer */
footer {
    margin-top: 60px;
    text-align: center;
    color: var(--text-secondary);
    font-size: 11px;
    padding-bottom: 20px;
}

.footer-content {
    display: flex;
    justify-content: center;
    gap: 16px;
    align-items: center;
}

.footer-content a {
    color: var(--text-secondary);
    text-decoration: none;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s;
}

.modal.show {
    opacity: 1;
}

.modal-content {
    background-color: var(--modal-bg);
    margin: auto;
    padding: 30px;
    border-radius: 20px;
    width: 90%;
    max-width: 450px;
    position: relative;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    transform: translateY(20px);
    transition: transform 0.3s;
}

.modal.show .modal-content {
    transform: translateY(0);
}

.close-modal {
    color: #aaa;
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close-modal:hover {
    color: white;
}

.modal h2 {
    margin-bottom: 10px;
    font-size: 22px;
}

.modal p {
    margin-bottom: 20px;
    color: var(--text-secondary);
    font-size: 14px;
}

/* Form */
.form-group {
    margin-bottom: 16px;
}

.form-group label {
    display: block;
    margin-bottom: 6px;
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 12px;
    background-color: #2C2C2E;
    border: 1px solid transparent;
    border-radius: 8px;
    color: white;
    font-family: inherit;
    font-size: 14px;
    transition: border-color 0.2s;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #555;
    background-color: #353538;
}

.submit-btn {
    width: 100%;
    padding: 14px;
    background-color: white;
    color: black;
    border: none;
    border-radius: 25px;
    font-weight: 600;
    font-size: 16px;
    cursor: pointer;
    transition: transform 0.1s, background-color 0.2s;
    margin-top: 10px;
}

.submit-btn:hover {
    background-color: #f0f0f0;
    transform: scale(0.99);
}

.submit-btn:active {
    transform: scale(0.97);
}

/* Checkbox Styles */
.checkbox-group {
    display: flex;
    align-items: center;
    gap: 12px;
    background-color: #2C2C2E;
    padding: 12px;
    border-radius: 8px;
    margin-bottom: 20px;
}

.checkbox-group input[type="checkbox"] {
    width: 20px;
    height: 20px;
    accent-color: white;
    background-color: #353538;
    border: 1px solid #555;
    cursor: pointer;
    margin: 0;
}

.checkbox-group label {
    margin: 0;
    font-size: 14px;
    cursor: pointer;
    color: var(--text-primary);
}

/* Utils */
.hidden {
    display: none !important;
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

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

@media (max-width: 480px) {
    .container {
        padding: 20px 16px;
    }
}