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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: #ffffff;
    color: #000000;
    line-height: 1.6;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
header {
    background-color: #ffffff;
    border-bottom: 1px solid #e0e0e0;
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.05);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    background: linear-gradient(135deg, #00aff0, #0084c7);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 30px;
}

nav a {
    color: #000000;
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

nav a:hover {
    color: #00aff0;
}

/* Hero Section */
.hero {
    background: linear-gradient(180deg, #f8f9fa 0%, #ffffff 100%);
    padding: 60px 0;
    border-bottom: 1px solid #e0e0e0;
}

.profile-header {
    display: flex;
    gap: 40px;
    align-items: flex-start;
}

.profile-image .avatar {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    background: linear-gradient(135deg, #00aff0, #0084c7);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 80px;
    border: 4px solid #e0e0e0;
    overflow: hidden;
}

.profile-image .avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info {
    flex: 1;
}

.profile-info h2 {
    font-size: 32px;
    font-weight: 700;
    margin-bottom: 5px;
}

.username {
    color: #666;
    font-size: 18px;
    margin-bottom: 15px;
}

.bio {
    font-size: 16px;
    margin-bottom: 25px;
    line-height: 1.5;
}

.stats {
    display: flex;
    gap: 40px;
    margin-bottom: 25px;
}

.stat {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 24px;
    font-weight: 700;
    color: #00aff0;
}

.stat-label {
    font-size: 14px;
    color: #666;
}

/* Buttons */
.subscribe-btn,
.download-btn,
.plan-btn {
    background: linear-gradient(135deg, #00aff0, #0084c7);
    color: white;
    border: none;
    padding: 15px 40px;
    font-size: 16px;
    font-weight: 600;
    border-radius: 25px;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.subscribe-btn:hover,
.download-btn:hover,
.plan-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 175, 240, 0.4);
}

.btn-icon {
    font-size: 18px;
}

.subscribe-btn.subscribed {
    background: linear-gradient(135deg, #28a745, #20803a);
}

.subscribe-btn.subscribed:hover {
    box-shadow: 0 5px 20px rgba(40, 167, 69, 0.4);
}

/* Videos Section */
.videos-section {
    padding: 60px 0;
}

.section-title {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 30px;
    color: #000000;
}

.videos-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 20px;
}

.video-card {
    background-color: #ffffff;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.3s, box-shadow 0.3s;
    border: 1px solid #e0e0e0;
}

.video-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 175, 240, 0.2);
}

.video-thumbnail {
    width: 100%;
    height: 180px;
    background: linear-gradient(135deg, #f0f0f0, #e0e0e0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 60px;
    position: relative;
}

.play-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    background-color: rgba(0, 175, 240, 0.9);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
}

.video-card-info {
    padding: 15px;
}

.video-card-title {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 8px;
    color: #000000;
}

.video-card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    color: #666;
}

.video-duration {
    background-color: rgba(0, 0, 0, 0.7);
    padding: 4px 8px;
    border-radius: 4px;
    position: absolute;
    bottom: 10px;
    right: 10px;
    font-size: 12px;
    font-weight: 600;
    color: #ffffff;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.9);
    overflow: auto;
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background-color: #ffffff;
    margin: auto;
    padding: 30px;
    border: 1px solid #e0e0e0;
    border-radius: 12px;
    max-width: 900px;
    width: 90%;
    position: relative;
}

.subscription-content {
    max-width: 800px;
}

.close-btn {
    color: #666;
    float: right;
    font-size: 35px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.3s;
    line-height: 1;
}

.close-btn:hover {
    color: #00aff0;
}

.video-container {
    width: 100%;
    margin-bottom: 20px;
}

.video-container video {
    width: 100%;
    border-radius: 8px;
    background-color: #000;
}

.video-info {
    margin-top: 20px;
}

.video-info h3 {
    font-size: 22px;
    margin-bottom: 10px;
}

.video-info p {
    color: #666;
    margin-bottom: 20px;
}

.download-btn {
    margin-top: 15px;
}

/* Subscription Modal */
.subscription-info h2 {
    font-size: 28px;
    margin-bottom: 15px;
    text-align: center;
}

.subscription-info > p {
    text-align: center;
    color: #666;
    margin-bottom: 30px;
}

.subscription-plans {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-bottom: 20px;
}

.plan {
    background-color: #f8f9fa;
    border: 2px solid #e0e0e0;
    border-radius: 12px;
    padding: 30px;
    text-align: center;
    position: relative;
    transition: transform 0.3s, border-color 0.3s;
}

.plan:hover {
    transform: translateY(-5px);
    border-color: #00aff0;
}

.plan.featured {
    border-color: #00aff0;
    background: linear-gradient(180deg, #e8f7fc, #f8f9fa);
}

.badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: linear-gradient(135deg, #00aff0, #0084c7);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
}

.plan h3 {
    font-size: 22px;
    margin-bottom: 15px;
}

.price {
    font-size: 32px;
    font-weight: 700;
    color: #00aff0;
    margin-bottom: 20px;
}

.plan ul {
    list-style: none;
    margin-bottom: 25px;
    text-align: left;
}

.plan ul li {
    padding: 8px 0;
    color: #666;
}

.plan-btn {
    width: 100%;
}

.note {
    text-align: center;
    color: #666;
    font-size: 13px;
    font-style: italic;
}

/* Footer */
footer {
    background-color: #f8f9fa;
    border-top: 1px solid #e0e0e0;
    padding: 30px 0;
    margin-top: 60px;
    text-align: center;
    color: #666;
}

/* Responsive Design */
@media (max-width: 768px) {
    .profile-header {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }

    .stats {
        justify-content: center;
    }

    .videos-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }

    nav ul {
        gap: 15px;
    }

    .logo h1 {
        font-size: 22px;
    }

    .subscription-plans {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .profile-image .avatar {
        width: 120px;
        height: 120px;
        font-size: 60px;
    }

    .profile-info h2 {
        font-size: 24px;
    }

    .videos-grid {
        grid-template-columns: 1fr;
    }
}
