/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    color: #2d3748;
    line-height: 1.6;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px;
    position: relative;
    overflow-x: hidden;
    background: #f8fafc;
}

/* Light Background Gradient */
.background-gradient {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, 
        #f0f9ff 0%, 
        #e0f2fe 25%, 
        #f0f9ff 50%, 
        #e0f2fe 75%, 
        #f0f9ff 100%);
    z-index: -2;
}

/* Floating Elements */
.floating-elements {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: -1;
}

.floating-cross {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 28rem;
    color: rgba(56, 189, 248, 0.05);
    animation: gentleFloat 30s ease-in-out infinite;
}

@keyframes gentleFloat {
    0%, 100% {
        transform: translate(-50%, -50%) rotate(0deg);
    }
    33% {
        transform: translate(-52%, -48%) rotate(5deg);
    }
    66% {
        transform: translate(-48%, -52%) rotate(-5deg);
    }
}

.floating-dots {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        radial-gradient(circle at 20% 30%, rgba(56, 189, 248, 0.04) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(59, 130, 246, 0.04) 2px, transparent 2px);
    background-size: 70px 70px;
    opacity: 0.5;
}

/* Container - WIDER */
.container {
    max-width: 580px;
    width: 100%;
    background: rgba(255, 255, 255, 0.97);
    backdrop-filter: blur(25px);
    -webkit-backdrop-filter: blur(25px);
    border-radius: 32px;
    padding: 40px 35px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.6);
    position: relative;
    overflow: hidden;
}

.container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 0% 0%, rgba(56, 189, 248, 0.12) 0%, transparent 50%),
        radial-gradient(circle at 100% 100%, rgba(168, 85, 247, 0.12) 0%, transparent 50%);
    z-index: -1;
}

/* Profile Section */
.profile-section {
    text-align: center;
    margin-bottom: 30px;
}

.avatar {
    width: 110px;
    height: 110px;
    margin: 0 auto 18px;
    background: linear-gradient(135deg, #3b82f6, #8b5cf6);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 
        0 15px 35px rgba(59, 130, 246, 0.25),
        0 0 0 5px rgba(255, 255, 255, 0.4);
    animation: gentleBounce 4s ease-in-out infinite;
}

@keyframes gentleBounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.avatar-inner {
    width: 90px;
    height: 90px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #3b82f6;
    font-size: 2.5rem;
    font-weight: 800;
    box-shadow: inset 0 4px 15px rgba(0, 0, 0, 0.1);
}

.profile-section h1 {
    font-size: 2.2rem;
    font-weight: 800;
    margin-bottom: 8px;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -0.5px;
}

.tagline {
    color: #64748b;
    font-size: 1.05rem;
    font-weight: 500;
    letter-spacing: 0.3px;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 18px;
    margin-bottom: 35px;
    flex-wrap: wrap;
}

.social-icon {
    width: 56px;
    height: 56px;
    border-radius: 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    text-decoration: none;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    background: white;
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.social-icon:hover {
    transform: translateY(-5px) scale(1.1);
    box-shadow: 0 18px 35px rgba(0, 0, 0, 0.12);
}

.social-icon i {
    position: relative;
    z-index: 1;
}

.yt i { color: #ff0000; }
.gh i { color: #333; }
.tw i { color: #1da1f2; }
.dc i { color: #5865f2; }

.yt:hover { background: rgba(255, 0, 0, 0.05); border-color: rgba(255, 0, 0, 0.2); }
.gh:hover { background: rgba(51, 51, 51, 0.05); border-color: rgba(51, 51, 51, 0.2); }
.tw:hover { background: rgba(29, 161, 242, 0.05); border-color: rgba(29, 161, 242, 0.2); }
.dc:hover { background: rgba(88, 101, 242, 0.05); border-color: rgba(88, 101, 242, 0.2); }

/* Main Links */
.main-links {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

.link-card {
    background: white;
    border-radius: 20px;
    padding: 22px;
    display: flex;
    align-items: center;
    gap: 20px;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid #e2e8f0;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
    position: relative;
    overflow: hidden;
}

.link-card:hover {
    transform: translateY(-5px);
    border-color: #cbd5e1;
    background: white;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.1),
        0 0 0 1px rgba(59, 130, 246, 0.15);
}

.link-icon {
    width: 56px;
    height: 56px;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.4rem;
    color: white;
    position: relative;
    z-index: 1;
    flex-shrink: 0;
}

.resources .link-icon {
    background: linear-gradient(135deg, #3b82f6, #6366f1);
    box-shadow: 0 8px 20px rgba(59, 130, 246, 0.2);
}

.worship .link-icon {
    background: linear-gradient(135deg, #8b5cf6, #a855f7);
    box-shadow: 0 8px 20px rgba(139, 92, 246, 0.2);
}

.link-text {
    flex: 1;
    position: relative;
    z-index: 1;
}

.link-text h3 {
    font-size: 1.3rem;
    font-weight: 700;
    margin-bottom: 5px;
    color: #1e293b;
}

.link-text p {
    color: #64748b;
    font-size: 0.95rem;
    font-weight: 500;
}

.link-arrow {
    color: #94a3b8;
    font-size: 1.2rem;
    position: relative;
    z-index: 1;
    transition: all 0.3s ease;
}

.link-card:hover .link-arrow {
    color: #3b82f6;
    transform: translateX(5px);
}

/* Mission Dropdown */
.mission-dropdown {
    margin-bottom: 25px;
}

.dropdown-btn {
    width: 100%;
    background: white;
    border: 1px solid #e2e8f0;
    border-radius: 20px;
    padding: 20px 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    color: #1e293b;
    font-size: 1.2rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: left;
    outline: none;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.dropdown-btn:hover {
    background: #f8fafc;
    border-color: #cbd5e1;
    transform: translateY(-2px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.08);
}

.dropdown-btn i:first-child {
    color: #3b82f6;
    margin-right: 12px;
    font-size: 1.3rem;
}

.dropdown-btn .fa-chevron-down {
    color: #94a3b8;
    transition: transform 0.3s ease;
    font-size: 1rem;
}

.dropdown-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    background: white;
    border-radius: 0 0 20px 20px;
    border: 1px solid #e2e8f0;
    border-top: none;
    margin-top: -2px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.06);
}

.dropdown-content.active {
    max-height: 800px;
    overflow: visible;
}

.mission-content {
    padding: 24px;
    color: #475569;
    line-height: 1.7;
}

.mission-content p {
    margin-bottom: 18px;
    font-size: 1.05rem;
    padding-left: 12px;
    border-left: 3px solid rgba(59, 130, 246, 0.5);
}

.mission-content p:last-child {
    margin-bottom: 0;
}

/* Verse Link - UPDATED to be clickable */
.verse-link {
    display: block;
    text-decoration: none;
    margin-top: 10px;
    transition: all 0.3s ease;
}

.verse-link:hover {
    transform: translateY(-3px);
}

.verse {
    text-align: center;
    padding: 22px;
    background: rgba(59, 130, 246, 0.08);
    border-radius: 20px;
    border: 1px solid rgba(59, 130, 246, 0.15);
    cursor: pointer;
    transition: all 0.3s ease;
}

.verse-link:hover .verse {
    background: rgba(59, 130, 246, 0.12);
    border-color: rgba(59, 130, 246, 0.25);
    box-shadow: 0 10px 25px rgba(59, 130, 246, 0.15);
}

.verse-reference {
    display: flex;
    flex-direction: column;
    gap: 6px;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(59, 130, 246, 0.2);
}

.verse-book {
    color: #3b82f6;
    font-size: 1.15rem;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.verse-version {
    color: #64748b;
    font-size: 0.85rem;
    font-weight: 500;
    font-style: italic;
    letter-spacing: 0.3px;
}

.verse-text {
    color: #3b82f6;
    font-size: 1.05rem;
    font-weight: 500;
    line-height: 1.6;
    font-style: italic;
    letter-spacing: 0.2px;
    margin-bottom: 12px;
}

.verse-click-hint {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    padding-top: 12px;
    border-top: 1px dashed rgba(59, 130, 246, 0.2);
    opacity: 0.7;
    transition: all 0.3s ease;
}

.verse-link:hover .verse-click-hint {
    color: #3b82f6;
    opacity: 1;
}

.verse-click-hint i {
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 620px) {
    .container {
        padding: 30px 25px;
        max-width: 100%;
        border-radius: 28px;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
    }
    
    .avatar-inner {
        width: 80px;
        height: 80px;
        font-size: 2.2rem;
    }
    
    .profile-section h1 {
        font-size: 2rem;
    }
    
    .social-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
    
    .link-card {
        padding: 20px;
        gap: 18px;
    }
    
    .link-icon {
        width: 52px;
        height: 52px;
        font-size: 1.3rem;
    }
    
    .link-text h3 {
        font-size: 1.2rem;
    }
    
    .dropdown-btn {
        padding: 18px 22px;
        font-size: 1.1rem;
    }
    
    .mission-content {
        padding: 22px;
    }
    
    .mission-content p {
        font-size: 1rem;
    }
    
    .verse {
        padding: 20px;
    }
    
    .verse-book {
        font-size: 1.1rem;
    }
    
    .verse-text {
        font-size: 1rem;
    }
    
    .floating-cross {
        font-size: 22rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 25px 20px;
    }
    
    .avatar {
        width: 90px;
        height: 90px;
    }
    
    .avatar-inner {
        width: 70px;
        height: 70px;
        font-size: 2rem;
    }
    
    .profile-section h1 {
        font-size: 1.8rem;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .link-card {
        padding: 18px;
        gap: 16px;
    }
    
    .link-icon {
        width: 48px;
        height: 48px;
        font-size: 1.2rem;
    }
    
    .link-text h3 {
        font-size: 1.1rem;
    }
    
    .dropdown-btn {
        padding: 16px 20px;
        font-size: 1rem;
    }
    
    .mission-content {
        padding: 20px;
    }
    
    .mission-content p {
        font-size: 0.95rem;
    }
    
    .verse {
        padding: 18px;
    }
    
    .verse-reference {
        margin-bottom: 14px;
        padding-bottom: 10px;
    }
    
    .verse-book {
        font-size: 1rem;
    }
    
    .verse-version {
        font-size: 0.8rem;
    }
    
    .verse-text {
        font-size: 0.95rem;
    }
    
    .verse-click-hint {
        font-size: 0.75rem;
    }
    
    .floating-cross {
        font-size: 18rem;
    }
}

/* Loading Animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.profile-section {
    animation: fadeInUp 0.6s ease-out;
}

.social-icons {
    animation: fadeInUp 0.6s ease-out 0.1s backwards;
}

.main-links {
    animation: fadeInUp 0.6s ease-out 0.2s backwards;
}

.mission-dropdown {
    animation: fadeInUp 0.6s ease-out 0.3s backwards;
}

.verse-link {
    animation: fadeInUp 0.6s ease-out 0.4s backwards;
}

/* Mobile Touch Improvements */
@media (hover: none) {
    .social-icon:hover,
    .link-card:hover,
    .verse-link:hover {
        transform: none;
    }
    
    .social-icon:active,
    .link-card:active,
    .verse-link:active {
        transform: scale(0.98);
    }
}

/* Ensure mission content is fully visible */
.dropdown-content.active .mission-content {
    visibility: visible;
    opacity: 1;
}