/* TikTok-Style CSS basierend auf urkraftundkind.de Design */

:root {
    --primary-color: #8B5A8C;
    --secondary-color: #D4A5A5;
    --accent-color: #FFB6C1;
    --text-dark: #333333;
    --text-light: #666666;
    --background-light: #FFF5F5;
    --white: #FFFFFF;
    --tiktok-black: #000000;
    --tiktok-red: #FF0050;
    --tiktok-blue: #25F4EE;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 8px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--tiktok-black), #1a1a1a);
    color: var(--white);
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background: linear-gradient(135deg, var(--tiktok-black), #2a2a2a);
    min-height: 100vh;
    box-shadow: var(--shadow);
}

/* Header Styles */
.tiktok-header {
    background: linear-gradient(135deg, var(--tiktok-black), #1a1a1a);
    padding: 20px;
    border-bottom: 1px solid #333;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 20px;
}

.profile-section {
    display: flex;
    align-items: center;
    gap: 15px;
}

.profile-image {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--tiktok-red), var(--tiktok-blue));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--tiktok-red);
    animation: pulse-border 2s infinite;
}

@keyframes pulse-border {
    0%, 100% { border-color: var(--tiktok-red); }
    50% { border-color: var(--tiktok-blue); }
}

.profile-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-info {
    flex: 1;
}

.username {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--white);
    margin-bottom: 5px;
}

.display-name {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 8px;
}

.follower-count {
    font-size: 0.85rem;
    color: #999;
}

.count {
    font-weight: 600;
    color: var(--white);
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.follow-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    background: var(--tiktok-red);
    color: var(--white);
}

.follow-btn:hover {
    background: #e6004a;
    transform: translateY(-2px);
}

.message-btn, .share-btn, .more-btn {
    background: #333;
    border: none;
    color: var(--white);
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.message-btn:hover, .share-btn:hover, .more-btn:hover {
    background: #555;
    transform: translateY(-2px);
}

/* Bio Section */
.bio-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--white);
    margin-bottom: 8px;
}

.bio-section p {
    font-size: 0.9rem;
    color: #ccc;
    margin-bottom: 10px;
    line-height: 1.5;
}

.bio-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--tiktok-blue);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bio-link:hover {
    color: var(--tiktok-red);
}

/* Content Navigation */
.content-nav {
    display: flex;
    margin-top: 20px;
    border-bottom: 1px solid #333;
}

.nav-btn {
    flex: 1;
    padding: 15px;
    border: none;
    background: none;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
    color: #999;
    transition: all 0.3s ease;
}

.nav-btn.active {
    color: var(--white);
    border-bottom: 2px solid var(--tiktok-red);
}

.nav-btn:hover {
    color: var(--white);
    background: rgba(255, 255, 255, 0.1);
}

.nav-btn i {
    font-size: 1.2rem;
}

/* Videos Grid */
.videos-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
}

.video-item {
    position: relative;
    aspect-ratio: 9/16;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.video-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.video-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.video-text {
    text-align: center;
    padding: 15px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.7);
}

.video-text h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.video-text p {
    font-size: 0.7rem;
    opacity: 0.9;
}

.video-duration {
    position: absolute;
    bottom: 8px;
    right: 8px;
    background: rgba(0, 0, 0, 0.7);
    color: var(--white);
    padding: 2px 6px;
    border-radius: 4px;
    font-size: 0.7rem;
    font-weight: 600;
}

.video-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.video-item:hover .video-overlay {
    opacity: 1;
}

.video-stats {
    display: flex;
    flex-direction: column;
    gap: 10px;
    color: var(--white);
    font-weight: 600;
}

.video-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
    font-size: 0.8rem;
}

/* Background Gradients */
.bg-gradient-1 {
    background: linear-gradient(135deg, var(--tiktok-red), #ff3366);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, var(--tiktok-blue), #00d4ff);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.bg-gradient-4 {
    background: linear-gradient(135deg, #ff6b6b, #ffa500);
}

.bg-gradient-5 {
    background: linear-gradient(135deg, #4ecdc4, #44a08d);
}

.bg-gradient-6 {
    background: linear-gradient(135deg, #667eea, #764ba2);
}

.bg-gradient-7 {
    background: linear-gradient(135deg, #f093fb, #f5576c);
}

.bg-gradient-8 {
    background: linear-gradient(135deg, #4facfe, #00f2fe);
}

.bg-gradient-9 {
    background: linear-gradient(135deg, #43e97b, #38f9d7);
}

/* Liked Grid */
.liked-grid {
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 400px;
    padding: 40px 20px;
}

.liked-placeholder {
    text-align: center;
    color: #999;
}

.liked-placeholder p {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* Trending Section */
.trending-section {
    padding: 30px 20px;
    background: rgba(255, 255, 255, 0.05);
    margin: 20px 0;
}

.trending-section h3 {
    font-size: 1.2rem;
    color: var(--white);
    margin-bottom: 15px;
}

.hashtags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.hashtag {
    background: rgba(255, 0, 80, 0.2);
    color: var(--tiktok-red);
    padding: 6px 12px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hashtag:hover {
    background: var(--tiktok-red);
    color: var(--white);
    transform: translateY(-2px);
}

/* Contact Section */
.contact-section {
    padding: 40px 20px;
    background: rgba(255, 255, 255, 0.05);
    text-align: center;
}

.contact-content h2 {
    font-size: 1.5rem;
    color: var(--white);
    margin-bottom: 10px;
}

.contact-content p {
    color: #ccc;
    margin-bottom: 25px;
}

.contact-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    align-items: center;
}

.contact-btn {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 12px 24px;
    background: var(--tiktok-red);
    color: var(--white);
    text-decoration: none;
    border-radius: var(--border-radius);
    font-weight: 500;
    transition: all 0.3s ease;
    min-width: 200px;
    justify-content: center;
}

.contact-btn:hover {
    background: #e6004a;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 0, 80, 0.3);
}

/* Footer */
.tiktok-footer {
    background: var(--tiktok-black);
    padding: 20px;
    border-top: 1px solid #333;
    text-align: center;
}

.footer-content p {
    color: #999;
    font-size: 0.8rem;
    margin-bottom: 10px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    font-size: 0.8rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: var(--tiktok-red);
}

/* Responsive Design */
@media (max-width: 768px) {
    .container {
        max-width: 100%;
    }
    
    .header-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 15px;
    }
    
    .profile-section {
        flex-direction: column;
        text-align: center;
    }
    
    .videos-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .video-text h3 {
        font-size: 0.8rem;
    }
    
    .video-text p {
        font-size: 0.65rem;
    }
    
    .contact-buttons {
        width: 100%;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .hashtags {
        justify-content: center;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.video-item {
    animation: fadeIn 0.6s ease-out;
}

.video-item:nth-child(1) { animation-delay: 0.1s; }
.video-item:nth-child(2) { animation-delay: 0.2s; }
.video-item:nth-child(3) { animation-delay: 0.3s; }
.video-item:nth-child(4) { animation-delay: 0.4s; }
.video-item:nth-child(5) { animation-delay: 0.5s; }
.video-item:nth-child(6) { animation-delay: 0.6s; }
.video-item:nth-child(7) { animation-delay: 0.7s; }
.video-item:nth-child(8) { animation-delay: 0.8s; }
.video-item:nth-child(9) { animation-delay: 0.9s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #1a1a1a;
}

::-webkit-scrollbar-thumb {
    background: var(--tiktok-red);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #e6004a;
}

/* Special Effects */
.video-item:hover {
    transform: scale(1.05);
    transition: transform 0.3s ease;
}

.follow-btn.following {
    background: #333;
    color: var(--white);
}

.follow-btn.following:hover {
    background: #555;
}
