/* Scrollbar für Webkit-Browser ausblenden */
.container::-webkit-scrollbar {
    display: none;
}
/* Instagram-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;
    --instagram-blue: #3897f0;
    --instagram-gray: #999999;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    --border-radius: 12px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background-color: var(--background-light);
    color: var(--text-dark);
    line-height: 1.6;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    background-color: var(--white);
    min-height: 100vh;
    box-shadow: var(--shadow);
}

/* Header Styles */
.instagram-header {
    background: linear-gradient(135deg, var(--white) 0%, var(--background-light) 100%);
    padding: 20px;
    border-bottom: 1px solid rgba(139, 90, 140, 0.1);
}

.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(--primary-color), var(--accent-color));
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    border: 3px solid var(--accent-color);
}

.profile-image img {
    width: 70px;
    height: 70px;
    object-fit: cover;
    border-radius: 50%;
}

.profile-info {
    flex: 1;
}

.username {
    font-size: 1.5rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 5px;
}

.display-name {
    font-size: 0.9rem;
    color: var(--text-light);
    margin-bottom: 8px;
}

.follower-count {
    font-size: 0.85rem;
    color: var(--text-light);
}

.count {
    font-weight: 600;
    color: var(--text-dark);
}

.action-buttons {
    display: flex;
    gap: 8px;
    align-items: center;
}

.follow-btn, .message-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.follow-btn {
    background-color: var(--primary-color);
    color: var(--white);
}

.follow-btn:hover {
    background-color: #7a4f7b;
    transform: translateY(-2px);
}

.message-btn {
    background-color: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.message-btn:hover {
    background-color: var(--primary-color);
    color: var(--white);
}

.more-btn {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: var(--text-light);
    cursor: pointer;
    padding: 8px;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.more-btn:hover {
    background-color: var(--background-light);
    color: var(--primary-color);
}

/* Bio Section */
.bio-section h2 {
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--primary-color);
    margin-bottom: 8px;
}

.bio-section p {
    font-size: 0.9rem;
    color: var(--text-dark);
    margin-bottom: 10px;
    line-height: 1.5;
}

.bio-link {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    color: var(--primary-color);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    transition: color 0.3s ease;
}

.bio-link:hover {
    color: var(--secondary-color);
}

/* Story Highlights */
.story-highlights {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    padding: 15px 0;
    overflow-x: auto;
    -ms-overflow-style: none;
}

.story-highlights::-webkit-scrollbar {
    display: none;
}

.highlight {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    min-width: 70px;
}

.highlight-circle {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: var(--white);
    border: 3px solid var(--accent-color);
    transition: all 0.3s ease;
    cursor: pointer;
}

.highlight-circle:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(139, 90, 140, 0.3);
}

.highlight span {
    font-size: 0.8rem;
    color: var(--text-dark);
    font-weight: 500;
    text-align: center;
}

/* Content Navigation */
.content-nav {
    display: flex;
    border-bottom: 1px solid rgba(139, 90, 140, 0.1);
    background-color: var(--white);
    position: sticky;
    top: 0;
    z-index: 100;
}

.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: var(--text-light);
    transition: all 0.3s ease;
}

.nav-btn.active {
    color: var(--primary-color);
    border-bottom: 2px solid var(--primary-color);
}

.nav-btn:hover {
    color: var(--primary-color);
    background-color: var(--background-light);
}

.nav-btn i {
    font-size: 1.2rem;
}

/* Posts Grid */
.posts-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
}

.post-item {
    position: relative;
    aspect-ratio: 1;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.post-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.post-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.post-text {
    text-align: center;
    padding: 15px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.post-text h3 {
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.post-text p {
    font-size: 0.7rem;
    opacity: 0.9;
}

.post-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;
}

.post-item:hover .post-overlay {
    opacity: 1;
}

.post-stats {
    display: flex;
    gap: 20px;
    color: var(--white);
    font-weight: 600;
}

.post-stats span {
    display: flex;
    align-items: center;
    gap: 5px;
}

/* Background Gradients */
.bg-gradient-1 {
    background: linear-gradient(135deg, #8B5A8C, #D4A5A5);
}

.bg-gradient-2 {
    background: linear-gradient(135deg, #D4A5A5, #FFB6C1);
}

.bg-gradient-3 {
    background: linear-gradient(135deg, #FFB6C1, #FFF5F5);
}

.bg-gradient-4 {
    background: linear-gradient(135deg, #8B5A8C, #FFB6C1);
}

.bg-gradient-5 {
    background: linear-gradient(135deg, #D4A5A5, #8B5A8C);
}

.bg-gradient-6 {
    background: linear-gradient(135deg, #FFB6C1, #D4A5A5);
}

.bg-gradient-7 {
    background: linear-gradient(135deg, #8B5A8C, #FFF5F5);
}

.bg-gradient-8 {
    background: linear-gradient(135deg, #D4A5A5, #FFB6C1);
}

.bg-gradient-9 {
    background: linear-gradient(135deg, #FFB6C1, #8B5A8C);
}

/* Reels Grid */
.reels-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 2px;
    padding: 2px;
}

.reel-item {
    position: relative;
    aspect-ratio: 9/16;
    cursor: pointer;
    overflow: hidden;
    border-radius: 4px;
}

.reel-content {
    width: 100%;
    height: 100%;
    position: relative;
}

.reel-bg {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    position: relative;
}

.reel-text {
    text-align: center;
    padding: 20px;
    color: var(--white);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.reel-text h3 {
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 5px;
}

.reel-text p {
    font-size: 0.8rem;
    opacity: 0.9;
}

.reel-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.reel-item:hover .reel-overlay {
    opacity: 1;
}

.reel-stats {
    display: flex;
    align-items: center;
    gap: 5px;
    color: var(--white);
    font-weight: 600;
}

.bg-video-1 {
    background: linear-gradient(135deg, #8B5A8C, #D4A5A5);
}

.bg-video-2 {
    background: linear-gradient(135deg, #D4A5A5, #FFB6C1);
}

.bg-video-3 {
    background: linear-gradient(135deg, #FFB6C1, #8B5A8C);
}

/* Contact Section */
.contact-section {
    padding: 40px 20px;
    background: linear-gradient(135deg, var(--background-light), var(--white));
    text-align: center;
}

.contact-content h2 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.contact-content p {
    color: var(--text-light);
    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-color: var(--primary-color);
    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-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(139, 90, 140, 0.3);
}

/* 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;
    }
    
    .story-highlights {
        justify-content: center;
    }
    
    .post-text h3 {
        font-size: 0.8rem;
    }
    
    .post-text p {
        font-size: 0.65rem;
    }
    
    .contact-buttons {
        width: 100%;
    }
    
    .contact-btn {
        width: 100%;
        max-width: 300px;
    }
}

/* Animations */
@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.post-item {
    animation: fadeIn 0.6s ease-out;
}

.post-item:nth-child(1) { animation-delay: 0.1s; }
.post-item:nth-child(2) { animation-delay: 0.2s; }
.post-item:nth-child(3) { animation-delay: 0.3s; }
.post-item:nth-child(4) { animation-delay: 0.4s; }
.post-item:nth-child(5) { animation-delay: 0.5s; }
.post-item:nth-child(6) { animation-delay: 0.6s; }
.post-item:nth-child(7) { animation-delay: 0.7s; }
.post-item:nth-child(8) { animation-delay: 0.8s; }
.post-item:nth-child(9) { animation-delay: 0.9s; }

/* Smooth scrolling */
html {
    scroll-behavior: smooth;
}

/* Custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--background-light);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-color);
}
