﻿/**
 * Pyramid Welcome Styles
 * Pfad: /css/pyramid_welcome.css
 * Version: 4.10.0
 */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    background: var(--bg-dark);
    color: var(--text-primary);
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: var(--spacing-md);
    padding-bottom: 100px;
}

.pyr-container {
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
}

.pyr-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
    padding: var(--spacing-xl) var(--spacing-lg);
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    box-shadow: var(--shadow-lg);
    transition: all var(--transition-normal);
    position: relative;
}

    .pyr-header:hover {
        border-color: var(--border-hover);
        box-shadow: var(--shadow-xl);
    }

.pyr-close {
    position: absolute;
    top: var(--spacing-md);
    right: var(--spacing-md);
    width: 40px;
    height: 40px;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    line-height: 1;
}

    .pyr-close:hover {
        background: var(--danger-color);
        border-color: var(--danger-color);
        color: #fff;
        box-shadow: var(--glow-danger);
        transform: rotate(90deg);
    }

.pyr-title {
    font-size: clamp(1.5rem, 4vw, 2.5rem);
    font-weight: 800;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    margin: 0 0 var(--spacing-sm) 0;
    letter-spacing: -0.02em;
}

.pyr-version {
    font-size: 0.875rem;
    color: var(--accent-color);
    font-weight: 600;
}

.pyr-wrapper {
    position: relative;
    background: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-xl);
    padding: var(--spacing-2xl);
    box-shadow: var(--shadow-xl);
    min-height: 550px;
    transition: all var(--transition-normal);
    padding-bottom: var(--spacing-2xl);
    margin-bottom: 90px;
}

    .pyr-wrapper:hover {
        border-color: var(--border-hover);
    }

.pyr-slides {
    position: relative;
    width: 100%;
    min-height: 450px;
    overflow: hidden;
}

.pyr-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    gap: var(--spacing-lg);
    text-align: center;
    transform: translateX(100%);
}

    .pyr-slide.active {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
        position: relative;
        transform: translateX(0);
        transition: none;
    }

    .pyr-slide.animating {
        transition: all 0.35s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    }

    .pyr-slide.slide-out-left {
        transform: translateX(-100%);
        opacity: 0;
    }

    .pyr-slide.slide-out-right {
        transform: translateX(100%);
        opacity: 0;
    }

    .pyr-slide.slide-in-left {
        transform: translateX(-100%);
        opacity: 0;
    }

    .pyr-slide.slide-in-right {
        transform: translateX(100%);
        opacity: 0;
    }

.pyr-logo {
    width: 280px;
    height: 280px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: var(--spacing-sm);
    flex-shrink: 0;
}

    .pyr-logo img {
        max-width: 100%;
        max-height: 100%;
        object-fit: contain;
        filter: drop-shadow(0 0 10px var(--primary-color));
        transition: all var(--transition-fast);
    }

        .pyr-logo img:hover {
            filter: drop-shadow(0 0 20px var(--primary-color));
            transform: scale(1.05);
        }

.pyr-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-sm);
    filter: drop-shadow(0 0 20px var(--primary-color));
    animation: pyr-float 3s ease-in-out infinite;
    flex-shrink: 0;
}

@keyframes pyr-float {
    0%, 100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.pyr-slide-title {
    font-size: clamp(1.15rem, 2.5vw, 1.5rem);
    font-weight: 700;
    color: var(--text-primary);
    margin: 0 0 var(--spacing-md) 0;
    letter-spacing: 0.02em;
    flex-shrink: 0;
}

.pyr-box {
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: var(--spacing-lg);
    width: 100%;
    max-width: 600px;
    transition: all var(--transition-normal);
    flex-shrink: 0;
}

    .pyr-box:hover {
        border-color: var(--border-hover);
        box-shadow: var(--shadow-md);
    }

    .pyr-box p {
        margin: 0;
        line-height: 1.6;
        color: var(--text-secondary);
        font-size: 0.9rem;
    }

.pyr-box-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: var(--danger-color);
}

    .pyr-box-danger p {
        color: var(--danger-color);
        font-weight: 600;
    }

.pyr-highlight {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: #000;
    padding: var(--spacing-md) var(--spacing-lg);
    border-radius: var(--radius-lg);
    font-weight: 700;
    box-shadow: var(--glow-primary);
    width: 100%;
    max-width: 600px;
    transition: all var(--transition-normal);
    flex-shrink: 0;
    font-size: 0.9rem;
}

    .pyr-highlight:hover {
        transform: scale(1.02);
        box-shadow: var(--glow-accent);
    }

.pyr-highlight-danger {
    background: linear-gradient(135deg, var(--danger-color), var(--secondary-color));
    box-shadow: var(--glow-danger);
}

.pyr-rules {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    width: 100%;
    max-width: 600px;
    flex-shrink: 0;
}

.pyr-rule {
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-md);
    padding: var(--spacing-md) var(--spacing-lg);
    transition: all var(--transition-fast);
}

    .pyr-rule:hover {
        border-color: var(--primary-color);
        box-shadow: var(--glow-primary);
        transform: translateX(var(--spacing-xs));
    }

.pyr-rule-label {
    color: var(--text-secondary);
    font-weight: 500;
    font-size: 0.85rem;
}

.pyr-rule-value {
    color: var(--accent-color);
    font-weight: 700;
    font-size: 0.85rem;
}

.pyr-btn {
    display: inline-block;
    background: linear-gradient(135deg, var(--success-color), var(--accent-color));
    color: #000;
    padding: var(--spacing-md) var(--spacing-2xl);
    border-radius: var(--radius-xl);
    font-weight: 700;
    text-decoration: none;
    box-shadow: var(--glow-success);
    transition: all var(--transition-normal);
    margin-top: var(--spacing-md);
    text-transform: uppercase;
    letter-spacing: 0.05em;
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

    .pyr-btn::before {
        content: '';
        position: absolute;
        top: 0;
        left: -100%;
        width: 100%;
        height: 100%;
        background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
        transition: left var(--transition-slow);
    }

    .pyr-btn:hover::before {
        left: 100%;
    }

    .pyr-btn:hover {
        transform: translateY(-2px);
        box-shadow: 0 0 30px var(--success-color);
    }

.pyr-footer {
    margin-top: var(--spacing-md);
    font-size: 0.75rem;
    color: var(--text-muted);
    font-style: italic;
    flex-shrink: 0;
}

.pyr-controls {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-top: 1px solid var(--border-color);
    padding: var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--spacing-xl);
    z-index: 1000;
    box-shadow: 0 -2px 10px rgba(0, 0, 0, 0.3);
}

.pyr-nav {
    display: flex;
    gap: var(--spacing-sm);
}

.pyr-dot {
    width: 10px;
    height: 10px;
    border-radius: var(--radius-full);
    background: var(--border-color);
    border: none;
    cursor: pointer;
    transition: all var(--transition-fast);
}

    .pyr-dot:hover {
        background: var(--primary-hover);
        transform: scale(1.2);
    }

    .pyr-dot.active {
        width: 30px;
        border-radius: var(--radius-sm);
        background: var(--primary-color);
        box-shadow: var(--glow-primary);
    }

.pyr-arrow {
    width: 44px;
    height: 44px;
    background: var(--bg-hover);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-full);
    color: var(--text-primary);
    font-size: 1.75rem;
    cursor: pointer;
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

    .pyr-arrow span {
        display: block;
        line-height: 0;
    }

    .pyr-arrow:hover:not(:disabled) {
        background: var(--primary-color);
        border-color: var(--primary-color);
        color: #fff;
        box-shadow: var(--glow-primary);
        transform: scale(1.1);
    }

    .pyr-arrow:disabled {
        opacity: 0.3;
        cursor: not-allowed;
        border-color: var(--border-color);
    }

.pyr-lightbox {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.95);
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    padding: var(--spacing-xl);
}

    .pyr-lightbox.active {
        opacity: 1;
    }

.pyr-lightbox-content {
    position: relative;
    max-width: 90vw;
    max-height: 90vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .pyr-lightbox-content img {
        max-width: 100%;
        max-height: 90vh;
        object-fit: contain;
        border-radius: var(--radius-lg);
        box-shadow: 0 0 50px var(--primary-color);
        animation: pyr-lightbox-zoom 0.3s ease;
    }

@keyframes pyr-lightbox-zoom {
    from {
        transform: scale(0.8);
        opacity: 0;
    }

    to {
        transform: scale(1);
        opacity: 1;
    }
}

.pyr-lightbox-close {
    position: absolute;
    top: -60px;
    right: 0;
    width: 50px;
    height: 50px;
    background: var(--danger-color);
    border: 2px solid var(--danger-color);
    border-radius: var(--radius-full);
    color: #fff;
    font-size: 2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all var(--transition-fast);
    line-height: 1;
    box-shadow: var(--glow-danger);
}

    .pyr-lightbox-close:hover {
        transform: rotate(90deg) scale(1.1);
        box-shadow: 0 0 30px var(--danger-color);
    }

@media (max-width: 768px) {
    body {
        padding: var(--spacing-sm);
        padding-bottom: 90px;
    }

    .pyr-wrapper {
        padding: var(--spacing-lg);
        min-height: 480px;
        margin-bottom: 80px;
    }

    .pyr-slides {
        min-height: 380px;
    }

    .pyr-logo {
        width: 180px;
        height: 180px;
    }

    .pyr-icon {
        font-size: 2.5rem;
    }

    .pyr-controls {
        padding: var(--spacing-sm) var(--spacing-md);
        gap: var(--spacing-lg);
    }

    .pyr-arrow {
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }

    .pyr-lightbox {
        padding: var(--spacing-lg);
    }

    .pyr-lightbox-close {
        top: -50px;
        width: 44px;
        height: 44px;
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    body {
        padding: var(--spacing-xs);
        padding-bottom: 80px;
    }

    .pyr-header {
        padding: var(--spacing-md);
        margin-bottom: var(--spacing-md);
    }

    .pyr-close {
        width: 32px;
        height: 32px;
        font-size: 1.25rem;
        top: var(--spacing-sm);
        right: var(--spacing-sm);
    }

    .pyr-wrapper {
        padding: var(--spacing-md);
        min-height: 420px;
        margin-bottom: 70px;
    }

    .pyr-slides {
        min-height: 320px;
    }

    .pyr-slide {
        gap: var(--spacing-sm);
    }

    .pyr-logo {
        width: 140px;
        height: 140px;
    }

    .pyr-icon {
        font-size: 2rem;
        margin-bottom: var(--spacing-xs);
    }

    .pyr-slide-title {
        font-size: 1.1rem;
        margin-bottom: var(--spacing-sm);
    }

    .pyr-btn {
        padding: var(--spacing-sm) var(--spacing-lg);
        font-size: 0.8rem;
    }

    .pyr-box {
        padding: var(--spacing-md);
    }

        .pyr-box p {
            font-size: 0.8rem;
        }

    .pyr-rule {
        padding: var(--spacing-sm) var(--spacing-md);
    }

    .pyr-rule-label,
    .pyr-rule-value {
        font-size: 0.8rem;
    }

    .pyr-highlight {
        padding: var(--spacing-sm) var(--spacing-md);
        font-size: 0.8rem;
    }

    .pyr-footer {
        font-size: 0.7rem;
    }

    .pyr-controls {
        padding: var(--spacing-xs) var(--spacing-sm);
        gap: var(--spacing-md);
    }

    .pyr-arrow {
        width: 36px;
        height: 36px;
        font-size: 1.25rem;
    }

    .pyr-dot {
        width: 8px;
        height: 8px;
    }

        .pyr-dot.active {
            width: 24px;
        }

    .pyr-lightbox {
        padding: var(--spacing-md);
    }

    .pyr-lightbox-close {
        top: 10px;
        right: 10px;
        width: 40px;
        height: 40px;
        font-size: 1.5rem;
    }
}
