/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #0d0e12; /* Dark page background */
    color: #f5f6f7; /* Light text color */
}

.app-container {
    max-width: 600px;
    margin: 0 auto;
    background-color: #1a1c24; /* Dark container background */
    min-height: 100vh;
    box-shadow: 0 0 30px rgba(0,0,0,0.5);
    position: relative;
    padding-bottom: 40px;
}

/* Preloader & Animations */
#preloader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #1a1c24; /* Dark preloader background */
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: opacity 0.5s ease;
}

.loader-circle {
    width: 50px;
    height: 50px;
    border: 5px solid #2d313f;
    border-top-color: #00aff0;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(36, 214, 102, 0.5); }
    70% { transform: scale(1); box-shadow: 0 0 0 8px rgba(36, 214, 102, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(36, 214, 102, 0); }
}

@keyframes slideUp {
    from { transform: translateY(100px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

/* Header & Banner */
.banner {
    background: url('images/img1.jpg') no-repeat center center/cover;
    height: 200px;
    position: relative;
}

.top-nav {
    display: flex;
    align-items: center;
    padding: 15px;
    color: #fff;
    background: linear-gradient(to bottom, rgba(0,0,0,0.7) 0%, transparent 100%);
}

.top-info {
    text-align: left;
    margin-left: 10px;
}

.top-info h2 {
    font-size: 16px;
    font-weight: 600;
    text-shadow: 0 2px 4px rgba(0,0,0,0.5);
}

.top-info p {
    font-size: 12px;
    margin-top: 3px;
    text-shadow: 0 1px 2px rgba(0,0,0,0.5);
}

/* Profile Section */
.profile-section {
    padding: 0 15px;
    position: relative;
}

.profile-header-row {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
}

.avatar-wrapper {
    position: relative;
    width: 100px;
    height: 100px;
    margin-top: -50px;
    border-radius: 50%;
    background: #1a1c24;
    border: 3px solid #1a1c24;
}

.avatar {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
}

.online-indicator {
    position: absolute;
    bottom: 5px;
    right: 5px;
    width: 18px;
    height: 18px;
    background-color: #24d666;
    border: 3px solid #1a1c24;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.share-btn {
    margin-top: 15px;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1px solid #2d313f;
    display: flex;
    justify-content: center;
    align-items: center;
    color: #00aff0;
    font-size: 18px;
    cursor: pointer;
    transition: background 0.3s;
}

.share-btn:hover {
    background: #252833;
}

.user-info {
    margin-top: 10px;
}

.user-info h1 {
    font-size: 20px;
    font-weight: 700;
    margin-bottom: 5px;
    color: #ffffff;
}

.bio {
    margin-top: 10px;
    font-size: 15px;
    line-height: 1.5;
    color: #e2e4e9;
}

/* Subscription Box */
.subscription-box {
    margin-top: 20px;
}

.btn-primary {
    width: 100%;
    background-color: #00aff0;
    color: #fff;
    border: none;
    border-radius: 30px;
    padding: 14px 20px;
    font-size: 15px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    transition: background 0.3s, transform 0.1s;
}

.btn-primary i {
    margin-right: 8px;
    font-size: 16px;
}

.btn-primary:hover {
    background-color: #0091c7;
}

.btn-primary:active {
    transform: scale(0.99);
}

/* Tabs */
.tabs {
    display: flex;
    border-bottom: 1px solid #2d313f;
    margin-top: 20px;
}

.tab {
    flex: 1;
    text-align: center;
    padding: 15px 0;
    color: #727986;
    font-weight: 600;
    font-size: 14px;
    cursor: pointer;
    transition: color 0.3s;
}

.tab.active {
    color: #ffffff;
    border-bottom: 2px solid #ffffff;
}

/* Tab Contents */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
    animation: fadeIn 0.4s ease;
}

/* Locked Feed Section */
.feed-section {
    padding: 30px 20px;
    background-color: #14151b; /* Slightly darker area for feed background */
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 250px;
}

.bg-lock-container {
    margin-bottom: 25px;
    margin-top: 10px;
}

.bg-lock-icon {
    font-size: 75px;
    color: #222531;
}

.locked-card {
    background: #1a1c24;
    border: 1px solid #2d313f;
    border-radius: 8px;
    width: 100%;
    padding: 18px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

.locked-card-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
    color: #727986;
    font-size: 15px;
}

.locked-media-counts {
    display: flex;
    align-items: center;
}

.locked-media-counts i {
    font-size: 16px;
    margin-right: 6px;
}

.dot {
    margin: 0 10px;
    font-size: 18px;
}

.small-lock {
    font-size: 16px;
    color: #727986;
}

/* Popup Modal */
.modal {
    display: none; 
    position: fixed;
    z-index: 10000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.7); /* Darker backdrop */
    align-items: center;
    justify-content: center;
}

.modal.show {
    display: flex;
}

.modal-content {
    background-color: #1a1c24; /* Dark modal background */
    border: 1px solid #2d313f;
    border-radius: 15px;
    width: 90%;
    max-width: 400px;
    padding: 25px;
    position: relative;
    animation: slideUp 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.close-modal {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 20px;
    color: #727986;
    cursor: pointer;
    transition: color 0.2s;
    z-index: 10;
}

.close-modal:hover {
    color: #ffffff;
}

.modal-header {
    display: flex;
    align-items: center;
    margin-bottom: 25px;
    padding-bottom: 15px;
    border-bottom: 1px solid #2d313f;
}

.modal-avatar {
    width: 70px;
    height: 70px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 15px;
    border: 2px solid #2d313f;
}

.modal-user-info h2 {
    font-size: 18px;
    font-weight: 700;
    color: #ffffff;
}

.modal-body h3 {
    color: #727986;
    font-size: 14px;
    margin-bottom: 15px;
}

.benefits-list {
    list-style: none;
}

.benefits-list li {
    font-size: 15px;
    color: #e2e4e9;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
}

.list-check {
    color: #00aff0;
    font-size: 20px;
    margin-right: 15px;
}

@media screen and (max-width: 600px) {
    .app-container {
        max-width: 100%;
        box-shadow: none;
    }
    body {
        background-color: #1a1c24;
    }
}or: #1a1c24;
    }
}