/**
 * iOS-Style Profile UI
 */

/* ============================================
   BACKGROUND & ANIMATIONS
   ============================================ */
.profile-page-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    background: linear-gradient(135deg, #0f0518 0%, #1a0b2e 50%, #16213e 100%);
}

.profile-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(100px);
    opacity: 0.7;
    animation: float 25s ease-in-out infinite;
}

.profile-orb-1 {
    width: 700px;
    height: 700px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.8), rgba(0, 217, 255, 0.1));
    top: -200px;
    right: -150px;
    animation-delay: 0s;
}

.profile-orb-2 {
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(138, 43, 226, 0.7), rgba(138, 43, 226, 0.1));
    bottom: -150px;
    left: -100px;
    animation-delay: 8s;
}

.profile-orb-3 {
    width: 550px;
    height: 550px;
    background: radial-gradient(circle, rgba(255, 0, 110, 0.6), rgba(255, 0, 110, 0.05));
    top: 40%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-delay: 15s;
}

@keyframes float {

    0%,
    100% {
        transform: translate(0, 0) scale(1);
    }

    25% {
        transform: translate(50px, -80px) scale(1.1);
    }

    50% {
        transform: translate(-30px, 60px) scale(0.95);
    }

    75% {
        transform: translate(40px, -40px) scale(1.05);
    }
}

@keyframes cardEntrance {
    from {
        opacity: 0;
        transform: translateY(30px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   PROFILE HEADER & COVER
   ============================================ */
.profile-cover-ios {
    height: 350px;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    z-index: 1;
}

.profile-cover-ios img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: blur(0);
    mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, black 60%, transparent 100%);
    transition: transform 0.5s ease;
}

.profile-container-ios {
    max-width: 1100px;
    margin: -100px auto 40px;
    padding: 0 20px;
    position: relative;
    z-index: 10;
}

.profile-card-ios {
    background: rgba(20, 20, 30, 0.65);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 30px;
    padding: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) forwards;
}

/* ============================================
   AVATAR & INFO
   ============================================ */
.profile-avatar-ios {
    width: 160px;
    height: 160px;
    margin-top: -90px;
    margin-bottom: 20px;
    position: relative;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.5);
    /* Placeholder bg */
    padding: 5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.profile-avatar-ios img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.verified-badge-ios {
    position: absolute;
    bottom: 10px;
    right: 10px;
    width: 36px;
    height: 36px;
    background: var(--bg-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--turquoise);
    box-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
    font-size: 1.2rem;
    border: 3px solid rgba(20, 20, 30, 0.8);
}

.profile-name-ios {
    font-size: 2rem;
    font-weight: 800;
    margin: 5px 0;
    background: linear-gradient(135deg, #fff, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.profile-username-ios {
    color: var(--turquoise);
    font-family: 'JetBrains Mono', monospace;
    font-size: 1rem;
    background: rgba(0, 217, 255, 0.08);
    padding: 5px 12px;
    border-radius: 20px;
    margin-bottom: 15px;
}

.profile-bio-ios {
    max-width: 600px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.6;
    margin-bottom: 25px;
    font-size: 1.05rem;
}

/* ============================================
   STATS & ACTIONS
   ============================================ */
.profile-stats-ios {
    display: flex;
    gap: 40px;
    margin-bottom: 30px;
    background: rgba(255, 255, 255, 0.03);
    padding: 15px 40px;
    border-radius: 25px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.stat-item-ios {
    text-align: center;
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.stat-item-ios:hover {
    transform: translateY(-3px);
}

.stat-item-ios:hover .stat-count {
    color: var(--turquoise);
    text-shadow: 0 0 10px rgba(0, 217, 255, 0.4);
}

.stat-count {
    display: block;
    font-size: 1.6rem;
    font-weight: 700;
    color: white;
    transition: color 0.3s;
}

.stat-label {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.5);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.profile-actions-ios {
    display: flex;
    gap: 15px;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 25px;
}

/* Global Button Styles for Profile */
.btn-ios-primary {
    background: linear-gradient(135deg, var(--turquoise), var(--purple-glow));
    color: white;
    padding: 12px 30px;
    border-radius: 50px;
    border: none;
    font-weight: 700;
    font-size: 1rem;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.btn-ios-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.5);
    background: linear-gradient(135deg, var(--turquoise-dark), var(--purple-deep));
}

.btn-ios-primary i {
    font-size: 1.1rem;
}

.btn-ios-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    padding: 10px 25px;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
    backdrop-filter: blur(10px);
}

.btn-ios-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* ============================================
   PROJECTS GRID
   ============================================ */
.projects-grid-ios {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

/* Project Card - Glassmorphic */
.project-card-ios {
    background: rgba(255, 255, 255, 0.015);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    overflow: hidden;
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    position: relative;
    display: flex;
    flex-direction: column;
    animation: cardEntrance 0.8s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.project-card-ios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg,
            rgba(0, 217, 255, 0.05) 0%,
            rgba(157, 78, 221, 0.05) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
    z-index: 0;
}

.project-card-ios:nth-child(1) {
    animation-delay: 0.1s;
}

.project-card-ios:nth-child(2) {
    animation-delay: 0.2s;
}

.project-card-ios:nth-child(3) {
    animation-delay: 0.3s;
}

.project-card-ios:nth-child(4) {
    animation-delay: 0.4s;
}

.project-card-ios:nth-child(5) {
    animation-delay: 0.5s;
}

.project-card-ios:nth-child(6) {
    animation-delay: 0.6s;
}

.project-card-ios:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 217, 255, 0.2);
    border-color: rgba(0, 217, 255, 0.5);
}

.project-card-ios:hover::before {
    opacity: 0.15;
}

/* Project Thumbnail */
.project-thumbnail-ios {
    position: relative;
    width: 100%;
    padding-top: 75%;
    /* 4:3 Aspect Ratio */
    background: #1a1a2e;
    overflow: hidden;
}

.project-thumbnail-ios img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border: none !important;
    box-shadow: none !important;
    transition: transform 0.6s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-card-ios:hover .project-thumbnail-ios img {
    transform: scale(1.1);
}

/* Type Badge */
.type-badge-ios {
    position: absolute;
    top: 12px;
    right: 12px;
    background: rgba(0, 217, 255, 0.9);
    color: white;
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    backdrop-filter: blur(10px);
    z-index: 2;
}

/* Play Overlay */
.play-overlay-ios {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: rgba(0, 217, 255, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1;
    transition: all 0.3s ease;
}

.play-overlay-ios i {
    color: white;
    font-size: 1.5rem;
    margin-left: 3px;
}

.project-card-ios:hover .play-overlay-ios {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 0 30px rgba(0, 217, 255, 0.6);
}

/* Audio Placeholder */
.audio-placeholder-ios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #16213e);
}

.audio-placeholder-ios i {
    font-size: 4rem;
    color: var(--turquoise);
    opacity: 0.5;
}

/* PDF Placeholder */
.pdf-placeholder-ios {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(135deg, #1a1a2e, #2d1b3d);
}

.pdf-placeholder-ios i {
    font-size: 4rem;
    color: var(--pink-glow);
    opacity: 0.5;
}

/* Project Info */
.project-info-ios {
    padding: 20px;
    position: relative;
    z-index: 1;
}

.project-title-ios {
    font-size: 1.1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 10px;
    overflow: hidden;
    text-overflow: ellipsis;
    white-space: nowrap;
}

.project-desc-ios {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 15px;
    line-height: 1.5;
    min-height: 40px;
}

/* Project Stats */
.project-stats-ios {
    display: flex;
    gap: 15px;
    margin-bottom: 15px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.project-stats-ios span {
    display: flex;
    align-items: center;
    gap: 5px;
}

.project-stats-ios i {
    color: var(--pink-glow);
}

/* View Button */
.btn-view-work-ios {
    width: 100%;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(138, 43, 226, 0.2));
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: white;
    padding: 12px;
    border-radius: 15px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-view-work-ios:hover {
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.3), rgba(138, 43, 226, 0.3));
    border-color: var(--turquoise);
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 217, 255, 0.2);
}

/* No Works State */
.no-works-ios {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.4);
    animation: cardEntrance 0.8s 0.2s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.no-works-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.no-works-icon i {
    font-size: 4rem;
    opacity: 0.3;
}

.no-works-ios h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    margin: 0 0 20px;
}

.no-works-ios .btn-ios-primary {
    margin-top: 15px;
    display: inline-block;
    padding: 12px 24px;
    border-radius: 15px;
    text-decoration: none;
}

/* Responsive */
@media (max-width: 768px) {
    .projects-grid-ios {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 20px;
    }

    .project-info-ios {
        padding: 15px;
    }

    .project-title-ios {
        font-size: 1rem;
    }

    .project-desc-ios {
        font-size: 0.85rem;
        min-height: 35px;
    }
}


/* ============================================
   MODAL (FOLLOWERS/FOLLOWING)
   ============================================ */
.modal-overlay-ios {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.modal-overlay-ios.active {
    opacity: 1;
    pointer-events: auto;
}

.modal-content-ios {
    background: rgba(20, 20, 30, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 25px;
    width: 100%;
    max-width: 500px;
    max-height: 80vh;
    display: flex;
    flex-direction: column;
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 25px 80px rgba(0, 0, 0, 0.5);
}

.modal-overlay-ios.active .modal-content-ios {
    transform: scale(1);
}

.modal-header-ios {
    padding: 20px 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.modal-header-ios h3 {
    margin: 0;
    font-size: 1.3rem;
    color: white;
}

.modal-close-btn {
    background: rgba(255, 255, 255, 0.1);
    border: none;
    color: white;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    transition: background 0.2s;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close-btn:hover {
    background: rgba(255, 0, 0, 0.3);
}

.modal-body-ios {
    flex: 1;
    overflow-y: auto;
    padding: 10px;
}

.user-list-item {
    display: flex;
    align-items: center;
    padding: 15px;
    border-radius: 15px;
    transition: background 0.2s;
    margin-bottom: 5px;
}

.user-list-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.user-list-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-left: 15px;
    object-fit: cover;
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.user-list-info {
    flex: 1;
}

.user-list-name {
    display: block;
    color: white;
    font-weight: 700;
    font-size: 1rem;
    margin-bottom: 3px;
}

.user-list-username {
    display: block;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.85rem;
}

.user-list-action {
    margin-right: 10px;
}

/* ============================================
   RESPONSIVE
   ============================================ */
@media (max-width: 768px) {
    .profile-cover-ios {
        height: 250px;
    }

    .profile-card-ios {
        padding: 20px;
        margin-top: -60px;
    }

    .profile-avatar-ios {
        width: 120px;
        height: 120px;
        margin-top: -80px;
    }

    .profile-stats-ios {
        gap: 20px;
        padding: 15px 20px;
        width: 100%;
        justify-content: space-around;
        flex-wrap: wrap;
    }

    .projects-grid-ios {
        grid-template-columns: 1fr;
    }
}

/* ============================================
   SECTION DIVIDER
   ============================================ */
.section-divider-ios {
    height: 2px;
    background: linear-gradient(90deg,
            transparent 0%,
            rgba(0, 217, 255, 0.3) 20%,
            rgba(0, 217, 255, 0.6) 50%,
            rgba(0, 217, 255, 0.3) 80%,
            transparent 100%);
    margin: 80px 0 60px;
    position: relative;
}

.section-divider-ios::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.2), transparent);
    border-radius: 50%;
    filter: blur(20px);
}

/* ============================================
   TWEETS SECTION
   ============================================ */
.tweets-section-ios {
    margin-top: 0;
    padding: 40px;
    background: linear-gradient(135deg,
            rgba(0, 217, 255, 0.02) 0%,
            rgba(138, 43, 226, 0.02) 100%);
    border: 1px solid rgba(0, 217, 255, 0.1);
    border-radius: 30px;
    backdrop-filter: blur(10px);
    animation: cardEntrance 0.8s 0.4s cubic-bezier(0.16, 1, 0.3, 1) backwards;
    position: relative;
    overflow: hidden;
}

.tweets-section-ios::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -20%;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(0, 217, 255, 0.08), transparent);
    border-radius: 50%;
    pointer-events: none;
}

/* Section Header */
.section-header-ios {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    padding-bottom: 25px;
    border-bottom: 2px solid rgba(0, 217, 255, 0.15);
    position: relative;
}

.section-title-wrapper {
    display: flex;
    align-items: center;
    gap: 20px;
}

.section-icon-ios {
    width: 70px;
    height: 70px;
    background: linear-gradient(135deg, rgba(0, 217, 255, 0.2), rgba(138, 43, 226, 0.2));
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: var(--turquoise);
    box-shadow: 0 10px 30px rgba(0, 217, 255, 0.2);
    animation: float 3s ease-in-out infinite;
}

.section-title-ios {
    font-size: 2.2rem;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(135deg, #fff, var(--turquoise));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    letter-spacing: -0.5px;
}

.section-subtitle-ios {
    margin: 5px 0 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
}

.tweets-count-badge {
    background: rgba(0, 217, 255, 0.15);
    border: 1px solid rgba(0, 217, 255, 0.3);
    color: var(--turquoise);
    padding: 8px 20px;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
}

/* Tweet Form */
.tweet-form-ios {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 217, 255, 0.15);
    border-radius: 25px;
    padding: 30px;
    margin-bottom: 35px;
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.tweet-form-ios::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg,
            transparent,
            var(--turquoise),
            transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tweet-form-ios:hover::before {
    opacity: 1;
}

.tweet-form-ios:hover {
    border-color: rgba(0, 217, 255, 0.3);
    background: rgba(255, 255, 255, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.1);
}

.tweet-form-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 15px;
    color: var(--turquoise);
    font-weight: 600;
    font-size: 1.05rem;
}

.tweet-form-header i {
    font-size: 1.2rem;
}

.tweet-form-ios textarea {
    width: 100%;
    background: rgba(0, 0, 0, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 18px;
    padding: 18px;
    color: white;
    font-size: 1.05rem;
    resize: vertical;
    min-height: 120px;
    font-family: inherit;
    transition: all 0.3s ease;
    line-height: 1.6;
}

.tweet-form-ios textarea:focus {
    outline: none;
    border-color: var(--turquoise);
    background: rgba(0, 217, 255, 0.08);
    box-shadow: 0 0 0 4px rgba(0, 217, 255, 0.1);
}

.tweet-form-ios textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
}

.tweet-form-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 15px;
}

.char-counter {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.95rem;
    font-weight: 600;
    font-family: 'JetBrains Mono', monospace;
}

.char-counter.warning {
    color: #ff006e;
    animation: pulse 1s ease-in-out infinite;
}

@keyframes pulse {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.6;
    }
}

.tweet-form-footer button {
    padding: 12px 28px;
    font-size: 1rem;
}

/* Message-Style Tweets */
.tweet-card-ios.message-style {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 20px 20px 4px 20px;
    padding: 15px;
    position: relative;
    max-width: 85%;
    margin-bottom: 10px;
    transition: all 0.3s ease;
    animation: messageSlideIn 0.5s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.tweet-card-ios.message-style:nth-child(even) {
    margin-right: auto;
    border-radius: 20px 20px 20px 4px;
    background: rgba(0, 217, 255, 0.05);
}

.tweet-content-ios {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.tweet-text-ios {
    font-size: 1.05rem;
    line-height: 1.5;
    color: white;
    word-break: break-word;
}

.tweet-footer-ios {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 5px;
    opacity: 0.6;
}

.tweet-date-ios {
    font-size: 0.75rem;
}

.tweet-delete-minimal {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    font-size: 0.85rem;
    padding: 5px;
    transition: 0.3s;
}

.tweet-delete-minimal:hover {
    color: #ff5252;
}

@keyframes messageSlideIn {
    from {
        transform: translateY(10px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* ============================================
   WAVEFORM & MEDIA THUMBNAILS (Synced with Explore)
   ============================================ */
.thumbnail-media-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
}

.video-thumb {
    background: #000;
}

.audio-thumb,
.pdf-thumb,
.code-thumb {
    background: #1a1a2e;
}

.video-thumb img {
    opacity: 0.6;
}

.video-thumb i,
.audio-thumb i,
.pdf-thumb i,
.code-thumb i {
    color: var(--turquoise);
    filter: drop-shadow(0 0 10px rgba(0, 217, 255, 0.5));
}

.play-overlay-static {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 50px;
    height: 50px;
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
    border: 2px solid #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
    transition: all 0.3s ease;
}

.project-card:hover .play-overlay-static {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--turquoise);
    border-color: var(--turquoise);
}

.play-overlay-static i {
    color: #fff !important;
    font-size: 1.2rem;
    margin-right: -3px;
}

/* Audio Waveform Animation */
.audio-waveform-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 100%;
    height: 100%;
}

.audio-waveform {
    width: 6px;
    height: 30px;
    border-radius: 4px;
    display: block;
    background-color: var(--turquoise);
    margin: 0 auto;
    position: relative;
    color: var(--turquoise);
    animation: animWaveform 0.4s 0.3s linear infinite alternate;
    filter: drop-shadow(0 0 8px rgba(0, 217, 255, 0.4));
}

.audio-waveform::after,
.audio-waveform::before {
    content: '';
    width: 6px;
    height: 30px;
    border-radius: 4px;
    background: currentColor;
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    left: 14px;
    animation: animWaveform 0.4s 0.2s linear infinite alternate;
}

.audio-waveform::before {
    left: -14px;
    animation-delay: 0s;
    animation-duration: 0.3s;
}

@keyframes animWaveform {
    0% {
        height: 45px;
    }

    100% {
        height: 6px;
    }
}

.tweet-card-ios:hover {
    background: rgba(255, 255, 255, 0.06);
    border-color: rgba(0, 217, 255, 0.25);
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(0, 217, 255, 0.1);
}

.tweet-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.tweet-meta {
    display: flex;
    align-items: center;
    gap: 8px;
}

.tweet-icon {
    color: rgba(0, 217, 255, 0.6);
    font-size: 0.85rem;
}

.tweet-date-ios {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    font-weight: 500;
}

.tweet-delete-btn-new {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid rgba(255, 0, 110, 0.2);
    color: #ff006e;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    opacity: 0;
}

.tweet-card-ios:hover .tweet-delete-btn-new {
    opacity: 1;
}

.tweet-delete-btn-new:hover {
    background: rgba(255, 0, 110, 0.2);
    border-color: #ff006e;
    transform: scale(1.05);
}

.tweet-text-ios {
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.8;
    font-size: 1.1rem;
    word-wrap: break-word;
    white-space: pre-wrap;
}

/* Empty State */
.tweets-empty {
    text-align: center;
    padding: 80px 20px;
    color: rgba(255, 255, 255, 0.4);
}

.empty-icon {
    width: 100px;
    height: 100px;
    margin: 0 auto 25px;
    background: rgba(255, 255, 255, 0.03);
    border: 2px dashed rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.empty-icon i {
    font-size: 3rem;
    opacity: 0.3;
}

.tweets-empty h4 {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.3rem;
    margin: 0 0 10px;
}

.tweets-empty p {
    font-size: 1rem;
    margin: 0;
}

/* Responsive */
@media (max-width: 768px) {
    .tweets-section-ios {
        padding: 25px 20px;
        border-radius: 20px;
    }

    .section-header-ios {
        flex-direction: column;
        align-items: flex-start;
        gap: 15px;
    }

    .section-icon-ios {
        width: 60px;
        height: 60px;
        font-size: 1.6rem;
    }

    .section-title-ios {
        font-size: 1.8rem;
    }

    .tweets-count-badge {
        align-self: flex-start;
    }

    .tweet-form-ios {
        padding: 20px;
    }

    .tweet-form-ios textarea {
        min-height: 100px;
        font-size: 1rem;
    }

    .tweet-card-ios {
        padding: 20px;
    }

    .tweet-card-ios:hover {
        transform: translateX(0) translateY(-3px);
    }

    .tweet-delete-btn-new {
        opacity: 1;
    }

    .section-divider-ios {
        margin: 60px 0 40px;
    }
}

/* ============================================
   PROFILE TABS SYSTEM
   ============================================ */
.profile-tabs-ios {
    display: flex;
    justify-content: center;
    gap: 50px;
    margin: 60px 0 40px;
    padding-bottom: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    animation: fadeInDown 0.8s 0.3s cubic-bezier(0.16, 1, 0.3, 1) backwards;
}

.profile-tab-ios {
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    padding: 0 0 15px;
    position: relative;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    display: flex;
    align-items: center;
    gap: 10px;
}

.profile-tab-ios:hover {
    color: rgba(255, 255, 255, 0.8);
    transform: translateY(-2px);
}

.profile-tab-ios.active {
    color: white;
}

.profile-tab-ios.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 3px;
    background: var(--turquoise);
    border-radius: 5px;
    box-shadow: 0 0 15px var(--turquoise);
    animation: tabSlideIn 0.3s ease;
}

.profile-tab-ios i {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.profile-tab-ios.active i {
    color: var(--turquoise);
    transform: scale(1.1);
}

.tab-count {
    background: rgba(0, 217, 255, 0.15);
    color: var(--turquoise);
    padding: 3px 10px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
    min-width: 24px;
    text-align: center;
}

.profile-tab-ios.active .tab-count {
    background: var(--turquoise);
    color: #0f0518;
}

.profile-tab-panel-ios {
    display: none;
    animation: tabFadeIn 0.4s ease;
}

.profile-tab-panel-ios.active {
    display: block;
}

@keyframes tabSlideIn {
    from {
        width: 0;
        opacity: 0;
    }

    to {
        width: 100%;
        opacity: 1;
    }
}

@keyframes tabFadeIn {
    from {
        opacity: 0;
        transform: translateY(10px);
    }

    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   CONTACT INFO
   ============================================ */
.contact-info-ios {
    display: flex;
    gap: 10px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.contact-btn-ios {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    padding: 10px 18px;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.contact-btn-ios:hover {
    background: rgba(0, 217, 255, 0.1);
    border-color: var(--turquoise);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.2);
}

.contact-btn-ios.whatsapp:hover {
    background: rgba(37, 211, 102, 0.1);
    border-color: #25d366;
    box-shadow: 0 5px 15px rgba(37, 211, 102, 0.2);
}

.contact-btn-ios i {
    font-size: 1.1rem;
}

/* Responsive Tabs */
@media (max-width: 768px) {
    .profile-tabs-ios {
        gap: 30px;
        margin: 40px 0 30px;
    }

    .profile-tab-ios {
        font-size: 1rem;
        padding: 0 0 12px;
    }

    .profile-tab-ios span:not(.tab-count) {
        display: none;
    }

    .profile-tab-ios i {
        font-size: 1.4rem;
    }

    .contact-info-ios {
        justify-content: center;
    }
}

/* ============================================
   MODALS UI (Theme & Message)
   ============================================ */
.modal-ios {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    display: none;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-content-ios {
    background: rgba(20, 20, 35, 0.85);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 30px;
    padding: 30px;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 30px 60px rgba(0, 0, 0, 0.5);
    animation: modalSlideUp 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header-ios {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 25px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding-bottom: 15px;
}

.modal-header-ios h3 {
    margin: 0;
    font-size: 1.2rem;
    color: white;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-btn-ios {
    background: rgba(255, 255, 255, 0.05);
    border: none;
    color: white;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn-ios:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: rotate(90deg);
}

/* Theme Panel */
.color-presets {
    display: flex;
    gap: 15px;
    margin-top: 15px;
}

.color-dot {
    width: 35px;
    height: 35px;
    border-radius: 50%;
    border: 3px solid transparent;
    cursor: pointer;
    transition: 0.3s;
}

.color-dot.active {
    border-color: white;
    transform: scale(1.1);
    box-shadow: 0 0 15px currentColor;
}

.ios-slider {
    width: 100%;
    margin-top: 15px;
    -webkit-appearance: none;
    background: rgba(255, 255, 255, 0.1);
    height: 6px;
    border-radius: 5px;
    outline: none;
}

.ios-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 25px;
    height: 25px;
    background: white;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideUp {
    from {
        transform: translateY(50px);
        opacity: 0;
    }

    to {
        transform: translateY(0);
        opacity: 1;
    }
}