* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Dark Mode Variables - Grafy Theme */
    --bg-primary: #0a0a0f;
    --bg-secondary: #1a1a2e;
    --bg-tertiary: #16213e;
    --text-primary: #ffffff;
    --text-secondary: #b3b8cd;
    --accent-primary: #2ecc71;    /* Grafy Green */
    --accent-secondary: #3498db;  /* Grafy Blue */
    --accent-tertiary: #f1c40f;   /* Grafy Yellow */
    --accent-quaternary: #e91e63; /* Grafy Magenta */
    --surface: rgba(46, 204, 113, 0.05);
    --border: rgba(46, 204, 113, 0.1);
    --shadow: rgba(0, 0, 0, 0.3);
}

[data-theme="light"] {
    --bg-primary: #f8f9ff;
    --bg-secondary: #ffffff;
    --bg-tertiary: #f0f2f9;
    --text-primary: #1a1a2e;
    --text-secondary: #6b7280;
    --accent-primary: #2ecc71;
    --accent-secondary: #3498db;
    --accent-tertiary: #f1c40f;
    --accent-quaternary: #e91e63;
    --surface: rgba(46, 204, 113, 0.05);
    --border: rgba(46, 204, 113, 0.1);
    --shadow: rgba(0, 0, 0, 0.1);
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: all 0.3s ease;
    overflow-x: hidden;
}

/* Space Background */
.stars {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.star {
    position: absolute;
    background: var(--text-secondary);
    border-radius: 50%;
    animation: twinkle 3s infinite;
}

.star:nth-child(odd) {
    animation-delay: 1s;
}

.star:nth-child(3n) {
    animation-delay: 2s;
}

@keyframes twinkle {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

/* Language Switcher */
.lang-switch {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 10px;
    background: var(--bg-secondary);
    padding: 10px 15px;
    border-radius: 25px;
    box-shadow: 0 4px 20px var(--shadow);
    border: 1px solid var(--border);
}

.lang-btn {
    padding: 8px 16px;
    border: 2px solid var(--accent-primary);
    background: transparent;
    color: var(--text-primary);
    border-radius: 15px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s;
    font-size: 0.9rem;
}

.lang-btn.active {
    background: var(--accent-primary);
    color: white;
    box-shadow: 0 0 20px rgba(46, 204, 113, 0.3);
}

.lang-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 15px rgba(46, 204, 113, 0.2);
}

/* Navigation */
.nav-container {
    position: fixed;
    top: 80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 1000;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 50px;
    padding: 12px 25px;
    border: 2px solid var(--accent-primary);
    box-shadow: 0 6px 25px var(--shadow);
}

[data-theme="dark"] .nav-container {
    background: rgba(26, 26, 46, 0.9);
    border-color: var(--accent-primary);
}

.nav {
    display: flex;
    align-items: center;
    gap: 30px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 25px;
}

.nav-links a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s;
    padding: 10px 18px;
    border-radius: 25px;
    font-size: 0.95rem;
    border: 1px solid transparent;
}

.nav-links a:hover {
    color: white;
    background: var(--accent-primary);
    border-color: var(--accent-primary);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

[data-theme="light"] .nav-links a {
    color: var(--dark-gray);
}

[data-theme="light"] .nav-links a:hover {
    color: white;
}

.controls {
    display: flex;
    align-items: center;
    gap: 10px;
}

.theme-toggle {
    background: none;
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    padding: 8px;
    border-radius: 50%;
    transition: all 0.3s;
    font-size: 1.2rem;
}

.theme-toggle:hover {
    background: var(--surface);
    transform: scale(1.1);
}

/* Hero Section */
.hero {
    height: 100vh;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    color: white;
    position: relative;
    padding: 20px;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="80" cy="40" r="0.5" fill="rgba(255,255,255,0.1)"/><circle cx="40" cy="60" r="1.5" fill="rgba(255,255,255,0.1)"/><circle cx="90" cy="80" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="10" cy="90" r="0.5" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s infinite linear;
}

@keyframes float {
    0% { transform: translateY(0px) rotate(0deg); }
    100% { transform: translateY(-20px) rotate(360deg); }
}

.hero-content {
    position: relative;
    z-index: 10;
    max-width: 900px;
}

.logo-placeholder {
    width: 200px;
    height: 200px;
    background: var(--accent-quaternary);
    border-radius: 20px;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
    font-weight: bold;
    box-shadow: 0 10px 40px rgba(0,0,0,0.3);
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.hero-title {
    font-size: 4rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
    font-weight: 800;
    color: #ffffff;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 20px;
    opacity: 0.9;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
    margin-top: 40px;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 16px 32px;
    text-decoration: none;
    border-radius: 50px;
    font-size: 1.2rem;
    font-weight: bold;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    border: none;
    cursor: pointer;
}

.cta-button.primary {
    background: var(--accent-tertiary);
    color: var(--bg-primary);
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-3px) scale(1.05);
    box-shadow: 0 8px 25px rgba(0,0,0,0.3);
}

.cta-button.primary:hover {
    box-shadow: 0 8px 25px rgba(241, 196, 15, 0.4);
}

.scroll-indicator {
    position: absolute;
    bottom: 30px;
    animation: bounce 2s infinite;
    cursor: pointer;
    font-size: 2rem;
    color: rgba(255,255,255,0.8);
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

/* Section Styles */
.section {
    padding: 80px 20px;
    position: relative;
    z-index: 10;
    max-width: 1200px;
    margin: 0 auto;
}

.section:nth-child(even) {
    background: var(--bg-secondary);
    border-radius: 20px;
    margin: 40px auto;
    box-shadow: 0 4px 20px var(--shadow);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 50px;
    color: var(--text-primary);
    position: relative;
    padding-bottom: 15px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 4px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-tertiary));
    border-radius: 2px;
}

/* About Section - Collapsible */
.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.collapsible {
    background: var(--bg-secondary);
    border-radius: 15px;
    margin-bottom: 20px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid var(--border);
}

.collapsible-header {
    padding: 25px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 1.3rem;
    font-weight: bold;
    transition: all 0.3s;
}

.collapsible-header:hover {
    background: linear-gradient(135deg, #27ae60, #2980b9);
    transform: translateY(-2px);
}

.collapsible-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.collapsible-content.active {
    max-height: 1000px;
    padding: 25px;
}

.collapsible-content p {
    color: var(--text-secondary);
    line-height: 1.8;
    font-size: 1.1rem;
}

.collapsible-icon {
    transition: transform 0.3s;
    font-size: 1.5rem;
}

.collapsible-icon.active {
    transform: rotate(180deg);
}

/* Vision Section */
.vision-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.vision-card {
    background: var(--bg-secondary);
    border-radius: 20px;
    box-shadow: 0 4px 20px var(--shadow);
    transition: all 0.3s;
    text-align: center;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    min-height: 300px;
    display: flex;
    flex-direction: column;
}

.vision-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 30px var(--shadow);
    border-color: var(--accent-primary);
}

.vision-card-bg {
    width: 100%;
    height: 150px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.vision-icon {
    width: 80px;
    height: 80px;
    background: var(--accent-quaternary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: bold;
    color: white;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.vision-card-content {
    padding: 30px 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.vision-card h3 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.vision-card p {
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 0.95rem;
}

/* Team Section */
.team-intro {
    text-align: center;
    max-width: 800px;
    margin: 0 auto 50px;
    font-size: 1.2rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

.roles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
    margin-bottom: 50px;
}

.role-card {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    border-left: 5px solid var(--accent-tertiary);
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.role-card:hover {
    border-left-width: 10px;
    transform: translateX(5px);
    box-shadow: 0 6px 20px var(--shadow);
}

.role-icon {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.role-card h3 {
    color: var(--accent-secondary);
    margin-bottom: 15px;
    font-size: 1.3rem;
}

.role-card p {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 1rem;
}

.cta-section-inline {
    text-align: center;
    margin-top: 40px;
}

/* Current Team Section */
.current-team-section {
    margin-top: 50px;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: 0 4px 15px var(--shadow);
    overflow: hidden;
}

.team-toggle-header {
    padding: 25px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    background: linear-gradient(135deg, var(--accent-secondary), var(--accent-primary));
    color: white;
}

.team-toggle-header:hover {
    background: linear-gradient(135deg, #2980b9, #27ae60);
}

.team-toggle-title {
    font-size: 1.4rem;
    font-weight: 600;
    margin: 0;
}

.team-toggle-icon {
    font-size: 1.2rem;
    transition: transform 0.3s;
    font-weight: bold;
}

.team-toggle-icon.active {
    transform: rotate(180deg);
}

.team-members-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 25px;
}

.team-members-content.active {
    max-height: 80vh;
    padding: 25px;
    overflow-y: auto;
    overflow-x: hidden;
}

/* Scrollbar styling for team content */
.team-members-content::-webkit-scrollbar {
    width: 8px;
}

.team-members-content::-webkit-scrollbar-track {
    background: var(--bg-tertiary);
    border-radius: 4px;
}

.team-members-content::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.team-members-content::-webkit-scrollbar-thumb:hover {
    background: var(--accent-secondary);
}

.team-category {
    margin-bottom: 20px;
    background: var(--bg-tertiary);
    border-radius: 15px;
    border: 1px solid var(--border);
    overflow: hidden;
}

.team-category:last-child {
    margin-bottom: 0;
}

/* Team Category Headers (Collapsible) */
.team-category-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    background: var(--bg-secondary);
    border-bottom: 1px solid var(--border);
}

.team-category-header:hover {
    background: var(--surface);
}

.category-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.team-category-title {
    color: var(--accent-primary);
    font-size: 1.2rem;
    margin: 0;
    font-weight: 600;
}

.member-count {
    background: var(--accent-secondary);
    color: white;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.category-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s;
    font-weight: bold;
    color: var(--text-secondary);
}

.category-toggle.active {
    transform: rotate(180deg);
}

/* Team Category Content */
.team-category-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease;
    padding: 0 25px;
    height: auto;
}

.team-category.active .team-category-content {
    max-height: none;
    height: auto;
    padding: 25px;
}

.team-members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
}

/* Compact team member layout for multiple members per role */
.team-members-grid.compact {
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 15px;
}

/* Horizontal layout for collapsible team categories */
.team-members-grid.horizontal {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    position: relative;
    padding: 15px;
    box-sizing: border-box;
    align-items: start;
    min-height: 320px;
    height: auto;
}

/* Flip card container */
.team-member-card.horizontal {
    perspective: 1000px;
    cursor: pointer;
    position: relative;
    height: auto; /* Dynamic height to prevent cutting */
    min-height: 280px; /* Minimum height for consistency */
}

.team-member-card-inner {
    position: relative;
    width: 100%;
    height: 280px;
    text-align: center;
    transition: transform 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), height 0.4s ease;
    transform-style: preserve-3d;
    cursor: pointer;
}

.team-member-card.flipped .team-member-card-inner {
    transform: rotateY(180deg);
}

.team-member-card-front,
.team-member-card-back {
    position: absolute;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 15px;
    padding: 20px;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    overflow: hidden;
}

.team-member-card-front {
    background: var(--bg-secondary);
    border: 1px solid var(--border);
    transform: rotateY(0deg);
}

.team-member-card-back {
    background: var(--surface);
    border: 2px solid var(--accent-primary);
    transform: rotateY(180deg);
    padding: 18px;
    text-align: left;
    justify-content: flex-start;
    overflow-y: auto;
    height: auto;
    min-height: 350px;
}

.team-members-grid.horizontal .team-member-placeholder {
    transition: all 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    cursor: pointer;
    position: relative;
}

.team-members-grid.horizontal:hover .team-member-card:hover,
.team-members-grid.horizontal:hover .team-member-placeholder:hover {
    transform: scale(1.02);
    z-index: 10;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    border: 2px solid var(--accent-primary);
}

/* Alternative: Simple scale effect without full-width expansion */
.team-members-grid.horizontal .team-member-card:hover,
.team-members-grid.horizontal .team-member-placeholder:hover {
    transform: scale(1.05);
    z-index: 5;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Click-to-expand functionality */
.team-member-card.clickable-member {
    cursor: pointer;
    transition: all 0.4s ease;
}

/* Back side styling */
.team-member-card-back h3 {
    color: var(--accent-primary);
    margin: 0 0 15px 0;
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
}

.team-member-card-back .back-role {
    color: var(--accent-secondary);
    font-weight: 600;
    text-align: center;
    margin-bottom: 15px;
    font-size: 0.9rem;
}

.team-member-card-back .back-bio {
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 15px;
    font-size: 0.85rem;
    text-align: left;
}

.team-member-card-back .back-skills {
    margin-bottom: 15px;
}

.team-member-card-back .back-skills h4 {
    color: var(--text-primary);
    margin: 0 0 8px 0;
    font-size: 0.9rem;
    font-weight: 600;
}

.team-member-card-back .back-skills .skill-tag {
    font-size: 0.7rem;
    padding: 3px 8px;
    margin: 2px;
}

.team-member-card-back .back-social {
    margin-top: auto;
    padding-top: 15px;
    border-top: 1px solid var(--border);
}

.team-member-card-back .back-social h4 {
    color: var(--text-primary);
    margin: 0 0 10px 0;
    font-size: 0.9rem;
    font-weight: 600;
    text-align: center;
}

.team-member-card-back .member-social-links {
    justify-content: center;
    margin-top: 10px;
}

.team-member-card-back .social-link {
    width: 35px;
    height: 35px;
    font-size: 1rem;
}

/* Make other members completely disappear when one is expanded */
.team-members-grid.has-expanded .team-member-card:not(.expanded),
.team-members-grid.has-expanded .team-member-placeholder {
    opacity: 0;
    transform: scale(0.8);
    pointer-events: none;
    visibility: hidden;
    transition: all 0.4s ease;
}

.team-members-grid.has-expanded .team-member-card.expanded {
    opacity: 1;
    transform: scale(1.02);
    pointer-events: auto;
    visibility: visible;
}

.team-member-card.expanded .member-info {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Bio text system - short slogans vs extended text */
.member-bio-short {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
    display: block;
}

.member-bio-extended {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
    display: none;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.team-member-card.expanded .member-bio-short {
    display: none;
}

.team-member-card.expanded .member-bio-extended {
    display: block;
    opacity: 1;
    max-height: none;
    margin-bottom: 15px;
}

.team-member-card.expanded .member-bio {
    max-height: none;
    opacity: 1;
    margin-bottom: 15px;
}

.team-member-card.expanded .member-skills {
    opacity: 1;
    max-height: none;
}

.team-member-card.expanded .member-social-links {
    opacity: 1;
    max-height: none;
}

/* Horizontal placeholder styling */
.team-member-placeholder.horizontal {
    padding: 25px 20px;
    min-height: 180px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.team-member-placeholder.horizontal .placeholder-icon {
    font-size: 2.5rem;
    margin-bottom: 15px;
}

.team-member-placeholder.horizontal p {
    margin-bottom: 15px;
    font-size: 0.9rem;
    text-align: center;
}

/* Responsive adjustments for horizontal layout */
@media (max-width: 768px) {
    .team-members-grid.horizontal {
        grid-template-columns: 1fr;
        gap: 15px;
    }

    .team-members-grid.horizontal .team-member-card:hover,
    .team-members-grid.horizontal .team-member-placeholder:hover {
        transform: scale(1.02);
        grid-column: auto;
    }
}

.team-member-card.compact {
    padding: 20px;
    flex-direction: column;
    align-items: center;
    text-align: center;
    min-height: 280px;
}

.team-member-card.compact .member-avatar {
    width: 60px;
    height: 60px;
    margin-bottom: 15px;
    font-size: 1.2rem;
}

.team-member-card.compact .member-info {
    flex: none;
}

.team-member-card.compact .member-name {
    font-size: 1.1rem;
    margin-bottom: 5px;
}

.team-member-card.compact .member-role {
    font-size: 0.9rem;
    margin-bottom: 8px;
}

.team-member-card.compact .member-bio {
    font-size: 0.85rem;
    margin-bottom: 12px;
    line-height: 1.4;
}

.team-member-card.compact .skill-tag {
    font-size: 0.75rem;
    padding: 3px 8px;
}

/* Role overview when multiple members exist */
.role-summary {
    background: var(--accent-primary);
    color: white;
    padding: 10px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 500;
    margin-bottom: 15px;
    text-align: center;
}

.team-category.has-multiple-members .team-category-title {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

/* Team Member Cards */
.team-member-card {
    background: var(--bg-tertiary);
    border-radius: 15px;
    padding: 25px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px var(--shadow);
    transition: all 0.3s;
    display: flex;
    gap: 20px;
    align-items: flex-start;
}

.team-member-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px var(--shadow);
}

.member-avatar {
    flex-shrink: 0;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--accent-primary);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 1.5rem;
    box-shadow: 0 4px 15px rgba(46, 204, 113, 0.3);
}

.avatar-placeholder {
    font-size: 1.5rem;
    font-weight: 800;
}

.avatar-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 50%;
}

.member-info {
    flex: 1;
}

.member-name {
    color: var(--text-primary);
    font-size: 1.3rem;
    margin: 0 0 8px 0;
    font-weight: 600;
}

.member-role {
    color: var(--accent-secondary);
    font-weight: 600;
    margin-bottom: 12px;
    font-size: 1rem;
}

.member-bio {
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.5;
    font-size: 0.95rem;
}

.member-skills {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    justify-content: center;
    max-width: 100%;
    overflow: hidden;
    padding: 0;
    margin: 10px 0;
}

.skill-tag {
    background: var(--accent-primary);
    color: white;
    padding: 4px 10px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 500;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    max-width: 120px;
    flex-shrink: 0;
}

/* Social Media Links */
.member-social-links {
    display: flex;
    gap: 12px;
    margin-top: 15px;
    flex-wrap: wrap;
}

.social-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.social-link:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.social-link.youtube {
    background: #FF0000;
}

.social-link.youtube:hover {
    background: #CC0000;
}

.social-link.twitch {
    background: #9146FF;
}

.social-link.twitch:hover {
    background: #7B2CBF;
}

.social-link.instagram {
    background: linear-gradient(45deg, #f09433 0%,#e6683c 25%,#dc2743 50%,#cc2366 75%,#bc1888 100%);
}

.social-link.twitter {
    background: #1DA1F2;
}

.social-link.twitter:hover {
    background: #0D95E8;
}

/* Team Member Placeholders */
.team-member-placeholder {
    background: var(--bg-tertiary);
    border: 2px dashed var(--border);
    border-radius: 15px;
    padding: 40px 25px;
    text-align: center;
    transition: all 0.3s;
}

.team-member-placeholder:hover {
    border-color: var(--accent-primary);
    background: var(--surface);
}

.placeholder-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    opacity: 0.7;
}

.team-member-placeholder p {
    color: var(--text-secondary);
    margin-bottom: 20px;
    font-size: 1rem;
}

.join-team-btn {
    display: inline-block;
    padding: 10px 20px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 20px;
    font-weight: 500;
    transition: all 0.3s;
}

.join-team-btn:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
}

/* Blog Section */
.blog-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.blog-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
    gap: 20px;
    flex-wrap: wrap;
}

.blog-search {
    flex: 1;
    max-width: 300px;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 25px;
    background: var(--bg-secondary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s;
}

.blog-search:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
}

.blog-view-toggle {
    display: flex;
    gap: 10px;
}

.blog-view-btn {
    padding: 12px 24px;
    border: 2px solid var(--accent-primary);
    background: var(--bg-secondary);
    color: var(--text-primary);
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 1rem;
    font-weight: 600;
    box-shadow: 0 2px 10px var(--shadow);
}

.blog-view-btn.active {
    background: var(--accent-primary);
    color: white;
    transform: scale(1.05);
    box-shadow: 0 4px 20px rgba(46, 204, 113, 0.3);
}

.blog-view-btn:hover {
    transform: scale(1.05);
    background: var(--accent-primary);
    color: white;
}

/* Tag Filter */
.tag-filter {
    margin-bottom: 30px;
    background: var(--bg-secondary);
    border-radius: 15px;
    border: 1px solid var(--border);
    box-shadow: 0 2px 10px var(--shadow);
    overflow: hidden;
}

.tag-filter-header {
    padding: 20px;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    color: white;
}

.tag-filter-header:hover {
    background: linear-gradient(135deg, #27ae60, #2980b9);
}

.tag-filter-label {
    font-weight: 600;
    font-size: 1.1rem;
}

.tag-filter-toggle {
    font-size: 1.2rem;
    transition: transform 0.3s;
    font-weight: bold;
}

.tag-filter-toggle.active {
    transform: rotate(180deg);
}

.tag-filter-content {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 20px;
}

.tag-filter-content.active {
    max-height: 500px;
    padding: 20px;
}

.tag-search {
    width: 100%;
    padding: 12px 20px;
    border: 2px solid var(--border);
    border-radius: 25px;
    background: var(--bg-tertiary);
    color: var(--text-primary);
    font-size: 1rem;
    margin-bottom: 20px;
    transition: all 0.3s;
}

.tag-search:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.2);
    background: var(--bg-primary);
}

.tag-filter-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.tag-button {
    padding: 8px 16px;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: 2px solid var(--border);
    border-radius: 20px;
    cursor: pointer;
    transition: all 0.3s;
    font-size: 0.9rem;
    font-weight: 500;
    text-transform: capitalize;
}

.tag-button:hover {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    transform: scale(1.05);
}

.tag-button.active {
    background: var(--accent-primary);
    color: white;
    border-color: var(--accent-primary);
    box-shadow: 0 0 10px rgba(46, 204, 113, 0.3);
}

.tag-button.all {
    background: var(--accent-secondary);
    border-color: var(--accent-secondary);
    color: white;
}

.tag-button.all:hover,
.tag-button.all.active {
    background: var(--accent-tertiary);
    border-color: var(--accent-tertiary);
    color: var(--dark-gray);
}

/* Calendar View */
.blog-calendar {
    display: none;
    background: var(--bg-secondary);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px var(--shadow);
    border: 1px solid var(--border);
}

.blog-calendar.active {
    display: block;
}

.calendar-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 30px;
}

.calendar-nav {
    background: var(--accent-primary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s;
}

.calendar-nav:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

.calendar-title {
    color: var(--text-primary);
    font-size: 1.5rem;
}

.calendar-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 10px;
}

.calendar-day {
    aspect-ratio: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s;
    color: var(--text-secondary);
}

.calendar-day:hover {
    background: var(--surface);
}

.calendar-day.has-post {
    background: var(--accent-primary);
    color: white;
    font-weight: bold;
}

.calendar-day.has-post:hover {
    background: var(--accent-secondary);
    transform: scale(1.1);
}

/* List View */
.blog-list {
    display: none;
}

.blog-list.active {
    display: block;
}

.blog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 25px;
}

.blog-card {
    background: var(--bg-secondary);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 4px 15px var(--shadow);
    transition: all 0.3s;
    cursor: pointer;
    border: 1px solid var(--border);
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px var(--shadow);
}

.blog-card-image {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 3rem;
}

.blog-card-content {
    padding: 25px;
}

.blog-card h3 {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.3rem;
}

.blog-card .blog-date {
    color: var(--accent-primary);
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.blog-card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.blog-card-tags {
    margin-top: 15px;
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.blog-tag {
    padding: 4px 12px;
    background: var(--accent-primary);
    color: white;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: capitalize;
    transition: all 0.3s;
}

.blog-tag:hover {
    background: var(--accent-secondary);
    transform: scale(1.05);
}

.blog-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 60px 20px;
    color: var(--text-secondary);
}

.blog-empty-icon {
    font-size: 4rem;
    margin-bottom: 20px;
}

/* Blog Modal */
.blog-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.8);
    z-index: 2000;
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.blog-modal.active {
    display: flex;
}

.blog-modal-content {
    background: var(--bg-secondary);
    border-radius: 15px;
    max-width: 800px;
    max-height: 90vh;
    overflow-y: auto;
    position: relative;
    border: 1px solid var(--border);
}

.blog-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: var(--accent-quaternary);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    cursor: pointer;
    font-size: 1.5rem;
    z-index: 10;
}

.blog-modal-header {
    padding: 30px;
    border-bottom: 1px solid var(--border);
}

.blog-modal-title {
    color: var(--text-primary);
    margin-bottom: 10px;
    font-size: 1.8rem;
}

.blog-meta .blog-date {
    color: var(--accent-primary);
    font-size: 1rem;
}

.blog-modal-body {
    padding: 30px;
}

/* Status Timeline */
.status-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
    padding-left: 40px;
}

.status-timeline::before {
    content: '';
    position: absolute;
    left: 10px;
    top: 0;
    bottom: 0;
    width: 3px;
    background: linear-gradient(180deg, var(--accent-primary), var(--accent-secondary));
    border-radius: 2px;
}

.timeline-item {
    background: var(--bg-secondary);
    padding: 30px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px var(--shadow);
    position: relative;
    border: 1px solid var(--border);
}

.timeline-item::before {
    content: '';
    position: absolute;
    left: -35px;
    top: 30px;
    width: 15px;
    height: 15px;
    background: var(--accent-primary);
    border-radius: 50%;
    border: 3px solid var(--bg-primary);
    box-shadow: 0 0 0 3px var(--accent-primary);
}

.timeline-date {
    color: var(--accent-secondary);
    font-weight: bold;
    margin-bottom: 15px;
    font-size: 1.1rem;
}

.timeline-item h3 {
    color: var(--text-primary);
    margin-bottom: 15px;
    font-size: 1.4rem;
}

.timeline-item p {
    color: var(--text-secondary);
    line-height: 1.7;
}

/* Community Section */
.community-intro {
    text-align: center;
    max-width: 600px;
    margin: 0 auto 40px;
    font-size: 1.1rem;
    color: var(--text-secondary);
}

.community-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.community-card {
    background: var(--bg-secondary);
    padding: 40px;
    border-radius: 20px;
    box-shadow: 0 4px 15px var(--shadow);
    text-align: center;
    min-width: 280px;
    transition: all 0.3s;
    border: 1px solid var(--border);
}

.community-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 8px 25px var(--shadow);
}

.community-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    display: block;
}

.community-card h3 {
    color: var(--accent-primary);
    margin-bottom: 15px;
    font-size: 1.5rem;
}

.community-card p {
    color: var(--text-secondary);
    margin-bottom: 25px;
    line-height: 1.6;
}

.community-link {
    display: inline-block;
    padding: 12px 30px;
    background: var(--accent-secondary);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    transition: all 0.3s;
    font-weight: 500;
}

.community-link:hover {
    background: var(--accent-primary);
    transform: scale(1.05);
}

/* Footer */
footer {
    background: var(--bg-secondary);
    border-top: 1px solid var(--border);
    margin-top: 40px;
}

.footer-content {
    text-align: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: var(--accent-primary);
}

.footer-content p {
    color: var(--text-secondary);
    margin-bottom: 10px;
}

.footer-dev-note {
    opacity: 0.8;
    font-size: 0.9rem;
}

/* Image Preview Styles für Admin Panel */
.file-preview-item {
    margin-bottom: 15px;
    padding: 10px;
    border: 1px solid #ddd;
    border-radius: 8px;
    background: var(--surface-secondary);
}

.file-preview-image {
    text-align: center;
    margin-bottom: 10px;
}

.file-preview-image img {
    max-width: 200px !important;
    max-height: 200px !important;
    width: auto !important;
    height: auto !important;
    border-radius: 6px;
    cursor: pointer;
    transition: transform 0.2s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
    display: block;
    margin: 0 auto;
}

.file-preview-image img:hover {
    transform: scale(1.02);
}

.file-preview-info {
    text-align: center;
}

.file-preview-info strong {
    color: var(--text-primary);
    font-size: 0.9rem;
}

.file-preview-download {
    margin-top: 8px;
}

.file-preview-download a {
    display: inline-block;
    padding: 6px 12px;
    background: var(--accent-primary);
    color: white;
    text-decoration: none;
    border-radius: 4px;
    font-size: 0.8rem;
    transition: background 0.2s ease;
}

.file-preview-download a:hover {
    background: var(--accent-secondary);
}

/* Image Modal */
.image-modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.9);
}

.image-modal-content {
    position: relative;
    margin: auto;
    padding: 20px;
    width: 90%;
    max-width: 1200px;
    top: 50%;
    transform: translateY(-50%);
    text-align: center;
}

.image-modal img {
    max-width: 1000px !important;
    max-height: 80vh !important;
    width: auto !important;
    height: auto !important;
    border-radius: 8px;
    display: block;
    margin: 0 auto;
}

.image-modal-close {
    position: absolute;
    top: 15px;
    right: 35px;
    color: #f1f1f1;
    font-size: 40px;
    font-weight: bold;
    cursor: pointer;
    transition: color 0.2s ease;
}

.image-modal-close:hover {
    color: var(--accent-primary);
}

.image-modal-info {
    color: white;
    margin-top: 15px;
    font-size: 1.1rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Mobile Responsive */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .logo-placeholder {
        width: 150px;
        height: 150px;
    }

    .section-title {
        font-size: 2rem;
    }

    .lang-switch {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
    }

    .nav-container {
        top: 60px;
        padding: 8px 15px;
    }

    .nav-links {
        gap: 15px;
    }

    .nav-links a {
        font-size: 0.8rem;
        padding: 6px 12px;
    }

    .cta-button {
        padding: 14px 28px;
        font-size: 1.1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .vision-grid,
    .roles-grid {
        grid-template-columns: 1fr;
    }

    .community-links {
        flex-direction: column;
        align-items: center;
    }

    .blog-controls {
        flex-direction: column;
        align-items: stretch;
    }

    .blog-search {
        max-width: none;
    }

    .status-timeline {
        padding-left: 30px;
    }

    .timeline-item::before {
        left: -25px;
    }

    .section {
        padding: 60px 15px;
    }

    .nav {
        flex-wrap: wrap;
        gap: 15px;
        justify-content: center;
    }

    .controls {
        order: -1;
    }
}
