/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background-color: #121212;
    color: #ffffff;
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

.pattern-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image:
        linear-gradient(to right, rgba(255, 255, 255, 0.05) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(255, 255, 255, 0.05) 1px, transparent 1px);
    background-size: 20px 20px;
    z-index: -1;
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header Styles */
header {
    padding: 40px 0 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.channel-name {
    font-size: 32px;
    font-weight: 700;
    text-align: right;
    color: #ffffff;
    letter-spacing: 1px;
}

/* Main Content Styles */
.content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    align-items: flex-start;
    gap: 60px;
    padding: 60px 0 80px;
}

/* Profile Section */
.profile-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 1;
    min-width: 300px;
}

.avatar-container {
    margin-bottom: 40px;
    position: relative;
}

.avatar-container::after {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    z-index: -1;
    animation: pulse 4s infinite ease-in-out;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 0.5;
    }

    50% {
        transform: scale(1.05);
        opacity: 0.2;
    }

    100% {
        transform: scale(1);
        opacity: 0.5;
    }
}

.avatar {
    width: 280px;
    height: 280px;
    background-color: #1e1e1e;
    border: 4px solid #2a2a2a;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    overflow: hidden;
}

.avatar span {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.7;
}

.avatar:hover {
    transform: scale(1.03);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.7);
    border-color: #3a3a3a;
}

.youtube-btn {
    display: inline-block;
    background-color: #ff0000;
    color: #ffffff;
    padding: 14px 50px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(255, 0, 0, 0.3);
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.youtube-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.youtube-btn:hover {
    background-color: #cc0000;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(255, 0, 0, 0.4);
}

.youtube-btn:hover::before {
    left: 100%;
}

/* Video Section */
.video-section {
    display: flex;
    flex-direction: column;
    align-items: center;
    flex: 2;
    min-width: 300px;
}

.video-container {
    width: 100%;
    margin-bottom: 40px;
    position: relative;
}

.video-container::before {
    content: '';
    position: absolute;
    top: -10px;
    left: -10px;
    right: -10px;
    bottom: -10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    z-index: -1;
}

.video-placeholder {
    width: 100%;
    aspect-ratio: 16/9;
    background-color: #1e1e1e;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 4px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid #2a2a2a;
    overflow: hidden;
}

.video-placeholder span {
    font-size: 18px;
    font-weight: 300;
    letter-spacing: 1px;
    opacity: 0.7;
}

.video-placeholder:hover {
    transform: scale(1.02);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.7);
    border-color: #3a3a3a;
}

.get-links-btn {
    display: inline-block;
    background-color: #4CAF50;
    color: #ffffff;
    padding: 16px 60px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: 600;
    font-size: 18px;
    transition: all 0.3s ease;
    box-shadow: 0 6px 15px rgba(76, 175, 80, 0.3);
    align-self: flex-end;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    position: relative;
    overflow: hidden;
}

.get-links-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: 0.5s;
}

.get-links-btn:hover {
    background-color: #3e8e41;
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(76, 175, 80, 0.4);
}

.get-links-btn:hover::before {
    left: 100%;
}

iframe {
    max-width: 733px;
    height: 400px;
    width: 100%;
}

/* Responsive Styles */
@media (max-width: 992px) {
    .content {
        gap: 40px;
    }
}

@media (max-width: 768px) {
    .content {
        flex-direction: column;
        align-items: center;
    }

    .profile-section,
    .video-section {
        width: 100%;
    }

    .get-links-btn {
        align-self: center;
        margin-top: 20px;
    }

    .channel-name {
        text-align: center;
        margin-bottom: 30px;
    }

    .avatar {
        width: 220px;
        height: 220px;
    }
}

@media (max-width: 480px) {
    .avatar {
        width: 180px;
        height: 180px;
    }

    .youtube-btn,
    .get-links-btn {
        width: 100%;
        text-align: center;
        padding: 12px 20px;
    }
}