/* Modern Landing Page Styles für PicBlick */
@import url('https://fonts.googleapis.com/css2?family=JetBrains+Mono:wght@300;400;500;600&display=swap');
/* Hauptseiten-Statistiken (unter den Alben) */
.gallery-stats {
    margin: 40px 0 20px 0;
    padding: 25px 20px;
    background: linear-gradient(135deg, rgba(30, 30, 30, 0.8), rgba(45, 45, 45, 0.6));
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

.gallery-stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-secondary));
    opacity: 0.7;
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(120px, 1fr));
    gap: 15px;
    align-items: center;
}

.stat-item {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 10px;
    padding: 20px 15px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(98, 0, 238, 0.1), rgba(3, 218, 198, 0.1));
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 0;
}

.stat-item:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.4);
    border-color: rgba(255, 255, 255, 0.1);
}

.stat-item:hover::before {
    opacity: 1;
}

.stat-item > * {
    position: relative;
    z-index: 1;
}

.stat-value {
    font-size: 2rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 5px;
    font-family: 'JetBrains Mono', 'Fira Code', 'Source Code Pro', 'Roboto Mono', 'Courier New', monospace;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    color: var(--text-secondary);
    text-transform: uppercase;
    letter-spacing: 0.5px;
    font-weight: 500;
    opacity: 0.9;
}

/* Mobile Optimierungen für Hauptseiten-Statistiken */
@media (max-width: 768px) {
    .gallery-stats {
        margin: 30px 0 15px 0;
        padding: 20px 15px;
        border-radius: 10px;
        box-shadow: 0 6px 24px rgba(0, 0, 0, 0.25);
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 12px;
    }
    
    .stat-item {
        padding: 16px 12px;
        border-radius: 8px;
    }
    
    .stat-value {
        font-size: 1.7rem;
        margin-bottom: 4px;
    }
    
    .stat-label {
        font-size: 0.75rem;
        letter-spacing: 0.4px;
    }
}

@media (max-width: 480px) {
    .gallery-stats {
        margin: 25px 0 10px 0;
        padding: 15px 10px;
        border-radius: 8px;
    }
    
    .stats-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 10px;
    }
    
    .stat-item {
        padding: 14px 10px;
        border-radius: 6px;
    }
    
    .stat-value {
        font-size: 1.5rem;
        margin-bottom: 3px;
        line-height: 1.1;
    }
    
    .stat-label {
        font-size: 0.7rem;
        letter-spacing: 0.3px;
        line-height: 1.2;
    }
}

/* Sehr kleine Bildschirme - Kompakte horizontale Darstellung */
@media (max-width: 360px) {
    .gallery-stats {
        margin: 20px 0 8px 0;
        padding: 12px 8px;
    }
    
    .stats-container {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .stat-item {
        padding: 12px 10px;
        display: flex;
        justify-content: space-between;
        align-items: center;
        text-align: left;
        border-radius: 6px;
    }
    
    .stat-value {
        font-size: 1.3rem;
        margin-bottom: 0;
        font-weight: 700;
        order: 2;
    }
    
    .stat-label {
        font-size: 0.7rem;
        opacity: 0.8;
        order: 1;
        text-transform: none;
        letter-spacing: normal;
    }
}

/* Extra kleine Bildschirme */
@media (max-width: 320px) {
    .gallery-stats {
        margin: 15px 0 5px 0;
        padding: 10px 6px;
    }
    
    .stat-item {
        padding: 10px 8px;
    }
    
    .stat-value {
        font-size: 1.2rem;
    }
    
    .stat-label {
        font-size: 0.65rem;
    }
}

.landing-page {
    min-height: calc(100vh - var(--header-height, 50px));
    background: linear-gradient(135deg, #1a1b26 0%, #24283b 50%, #1a1b26 100%);
    color: var(--header-text, #c0caf5);
    font-family: 'JetBrains Mono', 'Roboto Mono', monospace;
    margin: 0 -1.5rem; /* Negiert das Container-Padding */
    padding: 0;
}

/* Hero Section */
.hero {
    padding: 2rem 2rem;
    min-height: 40vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 20%, rgba(122, 162, 247, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(158, 206, 106, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 600;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    display: flex;
    flex-direction: column;
}

.gradient-text {
    background: linear-gradient(135deg, #7aa2f7 0%, #9ece6a 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.subtitle {
    font-size: 1.5rem;
    font-weight: 300;
    color: #a9b1d6;
    letter-spacing: 0.5px;
}

.hero-description {
    font-size: 1.2rem;
    line-height: 1.6;
    color: #a9b1d6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.hero-actions {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.2s ease;
    border: none;
    cursor: pointer;
    font-family: inherit;
}

.btn-icon {
    width: 18px;
    height: 18px;
    fill: currentColor;
    stroke: currentColor;
    stroke-width: 2;
}

.btn-primary {
    background: linear-gradient(135deg, #7aa2f7 0%, #9ece6a 100%);
    color: #1a1b26;
    font-weight: 600;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(122, 162, 247, 0.3);
}

.btn-secondary {
    background: rgba(122, 162, 247, 0.1);
    color: #7aa2f7;
    border: 1px solid rgba(122, 162, 247, 0.3);
}

.btn-secondary:hover {
    background: rgba(122, 162, 247, 0.2);
    border-color: rgba(122, 162, 247, 0.5);
    transform: translateY(-1px);
}

.btn-large {
    padding: 1.125rem 2rem;
    font-size: 1.1rem;
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.photo-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
    transform: rotate(5deg);
}

.photo-card {
    width: 120px;
    height: 120px;
    border-radius: 12px;
    background: rgba(122, 162, 247, 0.1);
    border: 1px solid rgba(122, 162, 247, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    animation: float 6s ease-in-out infinite;
}

.photo-card:nth-child(2) {
    animation-delay: -2s;
}

.photo-card:nth-child(3) {
    animation-delay: -4s;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.photo-card:hover {
    transform: scale(1.05);
    background: rgba(122, 162, 247, 0.2);
}

.photo-placeholder svg {
    width: 40px;
    height: 40px;
    fill: rgba(122, 162, 247, 0.6);
}

/* Features Section */
.features {
    padding: 5rem 2rem;
    background: rgba(0, 0, 0, 0.2);
}

.features-container {
    max-width: 1200px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 3rem;
    color: #c0caf5;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: rgba(122, 162, 247, 0.05);
    border: 1px solid rgba(122, 162, 247, 0.1);
    border-radius: 12px;
    padding: 2rem;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    background: rgba(122, 162, 247, 0.1);
    border-color: rgba(122, 162, 247, 0.2);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #7aa2f7 0%, #9ece6a 100%);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.feature-icon svg {
    width: 30px;
    height: 30px;
    fill: #1a1b26;
}

.feature-card h3 {
    font-size: 1.25rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #c0caf5;
}

.feature-card p {
    color: #a9b1d6;
    line-height: 1.6;
    font-weight: 300;
}

/* CTA Section */
.cta {
    padding: 5rem 2rem;
    background: linear-gradient(135deg, rgba(122, 162, 247, 0.1) 0%, rgba(158, 206, 106, 0.1) 100%);
}

.cta-content {
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

.cta h2 {
    font-size: 2.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #c0caf5;
}

.cta p {
    font-size: 1.2rem;
    color: #a9b1d6;
    margin-bottom: 2.5rem;
    font-weight: 300;
}

.cta-actions {
    margin-bottom: 1.5rem;
}

.cta-note {
    font-size: 0.9rem;
    color: #787c99;
    font-weight: 300;
}

/* Statistics Section */
.stats {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--primary-color) 0%, var(--secondary-color) 100%);
    color: white;
    text-align: center;
}

.stats-content h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 3rem;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.stat-item {
    padding: 2rem 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.stat-item:hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.15);
}

.stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: var(--accent-color);
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.stat-label {
    font-size: 1.1rem;
    font-weight: 500;
    opacity: 0.9;
    text-transform: uppercase;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    .stats {
        padding: 60px 0;
    }
    
    .stats-content h2 {
        font-size: 2rem;
        margin-bottom: 2rem;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.5rem;
    }
    
    .stat-number {
        font-size: 2.5rem;
    }
    
    .stat-item {
        padding: 1.5rem 1rem;
    }
}

/* Login/Registration Form */
.auth-section {
    padding: 3rem 2rem;
    background: rgba(0, 0, 0, 0.3);
}

.auth-container {
    max-width: 800px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.auth-form {
    background: rgba(122, 162, 247, 0.05);
    border: 1px solid rgba(122, 162, 247, 0.1);
    border-radius: 12px;
    padding: 2rem;
}

.auth-form h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
    color: #c0caf5;
    text-align: center;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #a9b1d6;
    font-weight: 500;
    font-size: 0.9rem;
}

.form-group input {
    width: 100%;
    padding: 0.875rem;
    border: 1px solid rgba(122, 162, 247, 0.2);
    border-radius: 8px;
    background: rgba(122, 162, 247, 0.05);
    color: #c0caf5;
    font-family: inherit;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.form-group input:focus {
    outline: none;
    border-color: rgba(122, 162, 247, 0.5);
    background: rgba(122, 162, 247, 0.1);
    box-shadow: 0 0 0 3px rgba(122, 162, 247, 0.1);
}

.form-group input::placeholder {
    color: #565f89;
}

.auth-form .btn {
    width: 100%;
    justify-content: center;
    margin-top: 0.5rem;
}

.auth-divider {
    text-align: center;
    margin: 1.5rem 0;
    color: #565f89;
    font-size: 0.9rem;
}

.auth-link {
    text-align: center;
    margin-top: 1rem;
}

.auth-link a {
    color: #7aa2f7;
    text-decoration: none;
    font-size: 0.9rem;
}

.auth-link a:hover {
    text-decoration: underline;
}

/* Open Source Section */
.opensource-info {
    background: rgba(122, 162, 247, 0.05);
    border: 1px solid rgba(122, 162, 247, 0.1);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.opensource-info h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #c0caf5;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.opensource-info p {
    color: #a9b1d6;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.github-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.875rem 1.5rem;
    background: rgba(122, 162, 247, 0.1);
    color: #7aa2f7;
    border: 1px solid rgba(122, 162, 247, 0.3);
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.2s ease;
}

.github-link:hover {
    background: rgba(122, 162, 247, 0.2);
    border-color: rgba(122, 162, 247, 0.5);
    transform: translateY(-1px);
}

.github-icon {
    width: 20px;
    height: 20px;
    fill: currentColor;
}

/* Responsive Design */
@media (max-width: 768px) {
    .landing-page {
        margin: 0 -1rem; /* Angepasst für mobile Container-Padding */
    }

    .hero {
        padding: 2rem 1rem;
        min-height: 60vh;
    }

    .hero-content {
        grid-template-columns: 1fr;
        gap: 2rem;
        text-align: center;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .subtitle {
        font-size: 1.2rem;
    }

    .hero-description {
        font-size: 1.1rem;
    }

    .hero-actions {
        justify-content: center;
    }

    .photo-grid {
        transform: none;
        grid-template-columns: repeat(3, 1fr);
    }

    .photo-card {
        width: 80px;
        height: 80px;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .feature-card {
        padding: 1.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta h2 {
        font-size: 2rem;
    }

    .btn {
        padding: 1rem 1.5rem;
        width: 100%;
        justify-content: center;
    }

    .auth-container {
        grid-template-columns: 1fr;
        gap: 2rem;
    }

    .auth-section {
        padding: 2rem 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .subtitle {
        font-size: 1rem;
    }

    .features {
        padding: 3rem 1rem;
    }

    .cta {
        padding: 3rem 1rem;
    }
}

/* Hellmodus Anpassungen */
@media (prefers-color-scheme: light) {
    .landing-page {
        background: linear-gradient(135deg, #f0f1f8 0%, #e1e2ec 50%, #f0f1f8 100%);
        color: #2a2c3d;
    }

    .hero::before {
        background: radial-gradient(circle at 30% 20%, rgba(61, 89, 161, 0.1) 0%, transparent 50%),
                    radial-gradient(circle at 70% 80%, rgba(76, 175, 80, 0.1) 0%, transparent 50%);
    }

    .gradient-text {
        background: linear-gradient(135deg, #3d59a1 0%, #4caf50 100%);
        -webkit-background-clip: text;
        -webkit-text-fill-color: transparent;
        background-clip: text;
    }

    .subtitle,
    .hero-description,
    .feature-card p,
    .cta p {
        color: #5a5c6d;
    }

    .section-title,
    .feature-card h3,
    .cta h2 {
        color: #2a2c3d;
    }

    .photo-card {
        background: rgba(61, 89, 161, 0.1);
        border-color: rgba(61, 89, 161, 0.2);
    }

    .photo-card:hover {
        background: rgba(61, 89, 161, 0.2);
    }

    .photo-placeholder svg {
        fill: rgba(61, 89, 161, 0.6);
    }

    .feature-card {
        background: rgba(61, 89, 161, 0.05);
        border-color: rgba(61, 89, 161, 0.1);
    }

    .feature-card:hover {
        background: rgba(61, 89, 161, 0.1);
        border-color: rgba(61, 89, 161, 0.2);
    }

    .feature-icon {
        background: linear-gradient(135deg, #3d59a1 0%, #4caf50 100%);
    }

    .btn-primary {
        background: linear-gradient(135deg, #3d59a1 0%, #4caf50 100%);
        color: #ffffff;
    }

    .btn-primary:hover {
        box-shadow: 0 8px 25px rgba(61, 89, 161, 0.3);
    }

    .btn-secondary {
        background: rgba(61, 89, 161, 0.1);
        color: #3d59a1;
        border-color: rgba(61, 89, 161, 0.3);
    }

    .btn-secondary:hover {
        background: rgba(61, 89, 161, 0.2);
        border-color: rgba(61, 89, 161, 0.5);
    }

    .features {
        background: rgba(255, 255, 255, 0.3);
    }

    .cta {
        background: linear-gradient(135deg, rgba(61, 89, 161, 0.1) 0%, rgba(76, 175, 80, 0.1) 100%);
    }

    .cta-note {
        color: #6b6d7d;
    }

    .auth-form,
    .opensource-info {
        background: rgba(61, 89, 161, 0.05);
        border-color: rgba(61, 89, 161, 0.1);
    }

    .auth-form h3,
    .opensource-info h3 {
        color: #2a2c3d;
    }

    .form-group label,
    .opensource-info p {
        color: #5a5c6d;
    }

    .form-group input {
        background: rgba(61, 89, 161, 0.05);
        border-color: rgba(61, 89, 161, 0.2);
        color: #2a2c3d;
    }

    .form-group input:focus {
        border-color: rgba(61, 89, 161, 0.5);
        background: rgba(61, 89, 161, 0.1);
        box-shadow: 0 0 0 3px rgba(61, 89, 161, 0.1);
    }

    .form-group input::placeholder {
        color: #8a8c9d;
    }

    .auth-divider {
        color: #8a8c9d;
    }

    .auth-link a,
    .github-link {
        color: #3d59a1;
    }

    .github-link {
        background: rgba(61, 89, 161, 0.1);
        border-color: rgba(61, 89, 161, 0.3);
    }

    .github-link:hover {
        background: rgba(61, 89, 161, 0.2);
        border-color: rgba(61, 89, 161, 0.5);
    }

    .auth-section {
        background: rgba(255, 255, 255, 0.3);
    }
}
/* Hero Auth Form */
.hero-auth {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 300px;
}

.auth-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 16px;
    padding: 0;
    width: 100%;
    max-width: 400px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    overflow: hidden;
}

/* Auth Tabs */
.auth-tabs {
    display: flex;
    background: rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.auth-tab {
    flex: 1;
    padding: 1rem;
    background: none;
    border: none;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.auth-tab:hover {
    color: rgba(255, 255, 255, 0.9);
    background: rgba(255, 255, 255, 0.05);
}

.auth-tab.active {
    color: white;
    background: rgba(255, 255, 255, 0.1);
}

.auth-tab.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(135deg, #7aa2f7 0%, #9ece6a 100%);
}

/* Auth Content */
.auth-content {
    display: none;
    padding: 2rem;
}

.auth-content.active {
    display: block;
}

.auth-content .form-group {
    margin-bottom: 1rem;
}

.auth-content .form-group label {
    display: block;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
    font-weight: 500;
}

.auth-content .form-group input {
    width: 100%;
    padding: 0.75rem 1rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    font-size: 1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
}

.auth-content .form-group input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.auth-content .form-group input:focus {
    outline: none;
    border-color: #7aa2f7;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 0 3px rgba(122, 162, 247, 0.1);
}

.auth-content .btn-full {
    width: 100%;
    margin-top: 0.5rem;
}