/* Reset ve Temel Stiller */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d1810 50%, #1a1a1a 100%);
    color: #ffffff;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
}

/* Header Styles */
.header {
    text-align: center;
    margin-bottom: 1rem;
    padding: 2rem 0;
    width: 100%;
}

.profile-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.profile-image {
    margin-bottom: 2rem;
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.avatar {
    width: 150px;
    height: 150px;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #1a1a1a;
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.3);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    padding: 5px;
}

.profile-img {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    object-fit: cover;
    object-position: center;
}

.avatar::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: rotate(45deg);
    animation: shine 3s infinite;
}

.avatar:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 25px 50px rgba(255, 107, 53, 0.4);
}

@keyframes shine {
    0% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
    50% { transform: translateX(100%) translateY(100%) rotate(45deg); }
    100% { transform: translateX(-100%) translateY(-100%) rotate(45deg); }
}

.name {
    font-size: 4.5rem;
    font-weight: 900;
    background: linear-gradient(135deg, #ff6b35 0%, #ff8c42 25%, #ffab73 50%, #ff6b35 75%, #ff4500 100%);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8)) drop-shadow(0 0 40px rgba(255, 107, 53, 0.6)) drop-shadow(0 0 60px rgba(255, 107, 53, 0.4));
    animation: nameGlow 3s ease-in-out infinite, gradientShift 6s ease-in-out infinite;
    letter-spacing: 4px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
    font-family: 'Poppins', sans-serif;
}

@keyframes nameGlow {
    0%, 100% { 
        filter: drop-shadow(0 0 20px rgba(255, 107, 53, 0.8)) drop-shadow(0 0 40px rgba(255, 107, 53, 0.6));
        transform: scale(1);
    }
    50% { 
        filter: drop-shadow(0 0 30px rgba(255, 107, 53, 1)) drop-shadow(0 0 60px rgba(255, 107, 53, 0.8));
        transform: scale(1.02);
    }
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.title {
    font-size: 1.3rem;
    color: #cccccc;
    font-weight: 300;
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* Main Content */
.main-content {
    display: grid;
    gap: 2rem;
    margin-bottom: 3rem;
}

/* About Section */
.about-section {
    background: rgba(255, 107, 53, 0.1);
    padding: 3rem;
    border-radius: 20px;
    border: 2px solid rgba(255, 107, 53, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.about-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.4);
}

.about-section h2 {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 1.5rem;
    font-weight: 600;
}

.about-section p {
    font-size: 1.2rem;
    line-height: 1.8;
    color: #e0e0e0;
}

/* Clips Section */
.clips-section {
    text-align: center;
    margin-bottom: 4rem;
}

.clips-section h2 {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

/* Live status container */
.clips-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 200px;
}

.live-status {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    padding: 30px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.2);
    text-align: center;
    transition: all 0.3s ease;
    min-width: 300px;
}

.live-status.live {
    border-color: rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
}

.live-status.offline {
    border-color: rgba(255, 0, 0, 0.5);
    box-shadow: 0 0 30px rgba(255, 0, 0, 0.3);
}

.status-indicator {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin-bottom: 20px;
}

.status-dot {
    width: 20px;
    height: 20px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-dot.live {
    background: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.6);
}

.status-dot.offline {
    background: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.6);
}

.status-text {
    color: #fff;
    font-size: 24px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.live-time {
    font-size: 0.9rem;
    color: #ff6b35;
    margin-left: 0.5rem;
    font-weight: 500;
}

/* Live Player Styles */
.live-player-container {
    margin-top: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 15px;
    padding: 1.5rem;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 0, 0.5);
    box-shadow: 0 0 30px rgba(0, 255, 0, 0.3);
    transition: all 0.3s ease;
}

.live-player-container:hover {
    box-shadow: 0 0 40px rgba(0, 255, 0, 0.4);
    border-color: rgba(0, 255, 0, 0.7);
}

.stream-embed {
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.stream-embed iframe {
    border-radius: 10px;
    min-height: 300px;
}

.stream-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
}

.watch-button, .chat-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: linear-gradient(135deg, #ff6b35, #ff8c42);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.chat-button {
    background: linear-gradient(135deg, #667eea, #764ba2);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.watch-button:hover, .chat-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.chat-button:hover {
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

@media (max-width: 768px) {
    .live-player-container {
        padding: 1rem;
    }
    
    .stream-embed iframe {
        height: 250px;
    }
    
    .stream-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .watch-button, .chat-button {
        width: 100%;
        max-width: 200px;
        justify-content: center;
    }
}

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

.stream-title {
    color: #00ffff;
    font-size: 20px;
    margin: 0 0 10px 0;
    font-weight: 600;
}

.viewer-count {
    color: rgba(255, 255, 255, 0.8);
    font-size: 16px;
    margin: 0;
}

@keyframes pulse {
    0% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.2);
        opacity: 0.7;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.clip-card {
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
}

.clip-card:hover {
    transform: translateY(-5px);
    border-color: #ff6b35;
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.3);
}

.clip-thumbnail {
    width: 100%;
    height: 200px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.clip-card:hover .clip-thumbnail {
    transform: scale(1.05);
}

.clip-info {
    padding: 1.5rem;
}

.clip-title {
    font-size: 1.2rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.clip-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: #cccccc;
    font-size: 0.9rem;
}

.clip-duration {
    background: rgba(255, 107, 53, 0.2);
    padding: 0.3rem 0.8rem;
    border-radius: 20px;
    font-weight: 500;
}

.loading {
    color: #ff6b35;
    font-size: 1.2rem;
    padding: 2rem;
    text-align: center;
}

.clips-link {
    margin-top: 2rem;
}

.view-all-clips {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    background: linear-gradient(45deg, #ff6b35, #ff8c42);
    color: #ffffff;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.3);
}

.view-all-clips:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(255, 107, 53, 0.4);
    background: linear-gradient(45deg, #ff8c42, #ff6b35);
}

/* Social Section */
.social-section {
    text-align: center;
}

.social-section h2 {
    font-size: 2.5rem;
    color: #ff6b35;
    margin-bottom: 2.5rem;
    font-weight: 600;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem;
    width: 200px;
    height: 70px;
    background: rgba(26, 26, 26, 0.8);
    border: 2px solid rgba(255, 107, 53, 0.3);
    border-radius: 15px;
    text-decoration: none;
    color: #ffffff;
    font-weight: 500;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.social-link::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 107, 53, 0.2), transparent);
    transition: left 0.5s ease;
}

.social-link:hover::before {
    left: 100%;
}

.social-link:hover {
    transform: translateY(-3px) scale(1.05);
    border-color: #ff6b35;
    box-shadow: 0 15px 30px rgba(255, 107, 53, 0.3);
    color: #ff6b35;
}

.social-link i {
    font-size: 1.5rem;
    transition: all 0.3s ease;
}

.social-link:hover i {
    transform: scale(1.2) rotate(5deg);
}

.instagram:hover {
    background: linear-gradient(45deg, #405de6, #5851db, #833ab4, #c13584, #e1306c, #fd1d1d);
    border-color: #e1306c;
}

.discord:hover {
    background: #5865f2;
    border-color: #5865f2;
}

.kick:hover {
    background: #53fc18;
    border-color: #53fc18;
    color: #000000;
}

.twitch:hover {
    background: #9146ff;
    border-color: #9146ff;
    color: #ffffff;
}

/* Footer */
.footer {
    text-align: center;
    padding: 2rem 0;
    border-top: 1px solid rgba(255, 107, 53, 0.2);
    color: #888888;
    font-size: 0.9rem;
}

/* Background Animation */
.background-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

/* Interactive Star Network Background */
.stars-container {
    display: none; /* Canvas kullanıyoruz artık */
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: #ff6b35;
    border-radius: 50%;
    animation: float 6s infinite linear;
    opacity: 0.7;
}

.particle:nth-child(1) {
    left: 10%;
    animation-delay: 0s;
    animation-duration: 8s;
}

.particle:nth-child(2) {
    left: 30%;
    animation-delay: 2s;
    animation-duration: 6s;
}

.particle:nth-child(3) {
    left: 50%;
    animation-delay: 4s;
    animation-duration: 10s;
}

.particle:nth-child(4) {
    left: 70%;
    animation-delay: 1s;
    animation-duration: 7s;
}

.particle:nth-child(5) {
    left: 90%;
    animation-delay: 3s;
    animation-duration: 9s;
}

@keyframes float {
    0% {
        transform: translateY(100vh) scale(0);
        opacity: 0;
    }
    10% {
        opacity: 0.7;
        transform: scale(1);
    }
    90% {
        opacity: 0.7;
    }
    100% {
        transform: translateY(-100vh) scale(0);
        opacity: 0;
    }
}

/* No clips and error messages */
.no-clips, .error {
    text-align: center;
    padding: 40px 20px;
    color: #888;
    font-size: 16px;
    grid-column: 1 / -1;
}

.error {
    color: #ff6b6b;
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .name {
        font-size: 2.5rem;
    }
    
    .avatar {
        width: 120px;
        height: 120px;
        font-size: 3rem;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .social-link {
        width: 100%;
        max-width: 300px;
        justify-content: center;
    }
    
    .about-section {
        padding: 2rem;
    }
    
    .about-section h2,
    .social-section h2 {
        font-size: 2rem;
    }
    
    .clips-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .clip-card {
        max-width: 100%;
    }
    
    .clip-title {
        font-size: 14px;
    }
    
    .clip-meta {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .name {
        font-size: 2rem;
    }
    
    .avatar {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }
    
    .about-section {
        padding: 1.5rem;
    }
    
    .social-link {
        padding: 1rem 2rem;
        font-size: 1rem;
    }
}