/* static/css/style.css - Professional Gaming/Tech Influencer Design - Beacons.ai Inspired */

:root {
    /* Eric's Professional Tech/Gaming Brand - Hamburg Edition */
    --color-bg: #0a0e1a;
    --color-bg-gradient: linear-gradient(135deg, #0a0e1a 0%, #1a1f3a 40%, #0f1628 100%);
    --color-text: #ffffff;
    --color-text-muted: #a0aec0;
    --color-item-bg: rgba(255, 255, 255, 0.07);
    --color-item-bg-hover: rgba(255, 255, 255, 0.12);
    --color-item-text: #ffffff;
    --color-item-shadow: 0 10px 40px rgba(0, 0, 0, 0.6);
    --color-border: rgba(255, 255, 255, 0.12);
    
    /* Eric's Brand Colors - Tech Engineer meets Gaming */
    --color-accent: #00e5ff; /* Vibrant cyan - tech/innovation */
    --color-accent-hover: #00bcd4;
    --color-accent-gradient: linear-gradient(135deg, #00e5ff 0%, #00bcd4 100%);
    --color-gaming-accent: #ff0080; /* Hot pink - gaming energy */
    --color-gaming-secondary: #7c3aed; /* Purple - gaming prestige */
    --color-tech-accent: #00e5ff; /* Primary tech color */
    --color-hamburg: #e63946; /* Hamburg red accent */
    
    /* Engineering-inspired precision */
    --grid-size: 4px;
    --border-radius-sm: 8px;
    --border-radius-md: 12px;
    --border-radius-lg: 16px;
}

/* --- THEME VARIATIONS --- */

/* Light Theme */
body.theme-light {
    --color-bg: #f8fafc;
    --color-bg-gradient: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 50%, #cbd5e1 100%);
    --color-text: #1e293b;
    --color-text-muted: #64748b;
    --color-item-bg: rgba(255, 255, 255, 0.95);
    --color-item-bg-hover: rgba(255, 255, 255, 1);
    --color-item-text: #1e293b;
    --color-item-shadow: 0 4px 16px rgba(0, 0, 0, 0.08);
    --color-border: rgba(148, 163, 184, 0.2);
    --color-accent: #667eea;
    --color-accent-hover: #764ba2;
}

/* Forest Theme */
body.theme-forest {
    --color-bg: #064e3b;
    --color-bg-gradient: linear-gradient(135deg, #064e3b 0%, #065f46 50%, #047857 100%);
    --color-text: #ecfdf5;
    --color-text-muted: #a7f3d0;
    --color-item-bg: rgba(6, 95, 70, 0.4);
    --color-item-bg-hover: rgba(6, 95, 70, 0.6);
    --color-item-text: #ffffff;
    --color-item-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    --color-border: rgba(167, 243, 208, 0.2);
    --color-accent: #10b981;
    --color-accent-hover: #059669;
}

/* Sunset Theme */
body.theme-sunset {
    --color-bg: #7c2d12;
    --color-bg-gradient: linear-gradient(135deg, #be123c 0%, #c2410c 50%, #b45309 100%);
    --color-text: #fef3c7;
    --color-text-muted: #fde68a;
    --color-item-bg: rgba(254, 243, 199, 0.1);
    --color-item-bg-hover: rgba(254, 243, 199, 0.18);
    --color-item-text: #ffffff;
    --color-item-shadow: 0 8px 32px rgba(0, 0, 0, 0.4);
    --color-border: rgba(253, 230, 138, 0.2);
    --color-accent: #fb923c;
    --color-accent-hover: #f97316;
}

/* Picasso Theme */
body.theme-picasso {
    --color-bg: #f6f0e8;
    --color-bg-gradient: linear-gradient(135deg, #f6e8d9 0%, #e4d6f8 50%, #fdebd0 100%);
    --color-text: #2b2b2b;
    --color-text-muted: #6b6b6b;
    --color-item-bg: rgba(255, 255, 255, 0.85);
    --color-item-bg-hover: rgba(255, 255, 255, 0.95);
    --color-item-text: #111827;
    --color-item-shadow: 0 6px 24px rgba(0, 0, 0, 0.08);
    --color-border: rgba(43, 43, 43, 0.08);
    --color-accent: #a855f7;
    --color-accent-hover: #9333ea;
}

/* Animation Keyframes - Enhanced */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes pulse-border {
    0% {
        border-color: var(--color-border);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0.6);
    }
    50% {
        border-color: var(--color-tech-accent);
        box-shadow: 0 0 30px 6px rgba(0, 229, 255, 0.5), 0 0 15px 3px rgba(255, 0, 128, 0.3);
    }
    100% {
        border-color: var(--color-border);
        box-shadow: 0 0 0 0 rgba(0, 229, 255, 0);
    }
}

@keyframes shimmer {
    0% {
        background-position: -1000px 0;
    }
    100% {
        background-position: 1000px 0;
    }
}

body {
    background: var(--color-bg);
    background-image: var(--color-bg-gradient);
    background-size: cover;
    background-position: center;
    background-attachment: fixed;
    background-repeat: no-repeat;
    color: var(--color-text);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    min-height: 100vh;
    overflow-x: hidden;
    transition: background 0.5s ease, color 0.3s ease;
    position: relative;
    max-width: 100vw;
}

/* Ensure all elements respect viewport width on mobile */
* {
    max-width: 100%;
    box-sizing: border-box;
}

html {
    overflow-x: hidden;
    max-width: 100vw;
}

/* Ensure images never overflow */
img {
    max-width: 100%;
    height: auto;
}

/* Engineering-inspired grid pattern overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        linear-gradient(rgba(0, 229, 255, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0, 229, 255, 0.03) 1px, transparent 1px);
    background-size: 40px 40px;
    pointer-events: none;
    z-index: 0;
    opacity: 0.4;
}

/* Ambient background effect - Eric's Tech/Gaming Energy */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 15% 30%, rgba(0, 229, 255, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 85% 70%, rgba(255, 0, 128, 0.16) 0%, transparent 45%),
        radial-gradient(circle at 50% 10%, rgba(124, 58, 237, 0.14) 0%, transparent 40%),
        radial-gradient(circle at 90% 20%, rgba(230, 57, 70, 0.08) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
    animation: ambientPulse 10s ease-in-out infinite alternate;
}

@keyframes ambientPulse {
    0%, 100% {
        opacity: 0.7;
        transform: scale(1);
    }
    50% {
        opacity: 0.95;
        transform: scale(1.05);
    }
}

body > * {
    position: relative;
    z-index: 1;
}

/* Profile Header Enhancement - Eric's Professional Influencer Brand */
.profile-header {
    animation: fadeIn 0.8s ease-out;
}

.profile-avatar {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 5px solid transparent;
    background: linear-gradient(var(--color-bg), var(--color-bg)) padding-box,
                linear-gradient(135deg, var(--color-tech-accent), var(--color-gaming-accent), var(--color-gaming-secondary)) border-box;
    box-shadow: 
        0 12px 48px rgba(0, 229, 255, 0.35),
        0 0 0 12px rgba(0, 229, 255, 0.08),
        0 6px 24px rgba(0, 0, 0, 0.6),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    filter: brightness(1.05);
}

.profile-avatar::before {
    content: '';
    position: absolute;
    inset: -12px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--color-tech-accent), var(--color-gaming-accent), var(--color-gaming-secondary));
    opacity: 0;
    transition: opacity 0.5s ease;
    z-index: -1;
    filter: blur(20px);
}

.profile-avatar:hover::before {
    opacity: 0.6;
    animation: pulse-border 2.5s infinite;
}

.profile-avatar:hover {
    transform: scale(1.08) rotate(2deg);
    box-shadow: 
        0 16px 64px rgba(0, 229, 255, 0.5),
        0 0 0 12px rgba(0, 229, 255, 0.15),
        0 8px 40px rgba(255, 0, 128, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.2);
}

.profile-title {
    font-weight: 900;
    letter-spacing: -0.04em;
    text-shadow: 
        0 2px 10px rgba(0, 0, 0, 0.6), 
        0 0 60px rgba(0, 229, 255, 0.4),
        0 0 30px rgba(255, 0, 128, 0.3);
    background: linear-gradient(135deg, #ffffff 0%, var(--color-tech-accent) 50%, var(--color-gaming-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-size: 2.25rem;
    line-height: 1.2;
    position: relative;
}

.profile-title::after {
    content: '🎮⚡';
    display: inline-block;
    margin-left: 0.5rem;
    font-size: 1.5rem;
    opacity: 0.8;
    filter: drop-shadow(0 0 10px rgba(0, 229, 255, 0.6));
    vertical-align: middle;
}

.profile-bio {
    color: var(--color-text-muted);
    font-size: 1.125rem;
    line-height: 1.7;
    max-width: 560px;
    margin: 0 auto;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
    font-weight: 400;
    padding: 0 1rem;
}

/* Social Icons Enhancement - Gaming Platform Focus */
.social-icons {
    display: flex;
    gap: 0.875rem;
    justify-content: center;
    margin-top: 1.75rem;
    flex-wrap: wrap;
}

.social-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 52px;
    height: 52px;
    border-radius: 14px;
    background: var(--color-item-bg);
    border: 1.5px solid var(--color-border);
    color: var(--color-text-muted);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(12px) saturate(180%);
    position: relative;
    overflow: hidden;
}

.social-icon::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-tech-accent), var(--color-gaming-accent));
    opacity: 0;
    transition: opacity 0.4s ease;
}

.social-icon::after {
    content: '';
    position: absolute;
    inset: -2px;
    border-radius: 14px;
    background: linear-gradient(135deg, var(--color-tech-accent), var(--color-gaming-accent), var(--color-gaming-secondary));
    opacity: 0;
    filter: blur(8px);
    z-index: -1;
    transition: opacity 0.4s ease;
}

.social-icon svg {
    position: relative;
    z-index: 1;
    width: 24px;
    height: 24px;
}

.social-icon:hover {
    background: linear-gradient(135deg, rgba(0, 229, 255, 0.25), rgba(255, 0, 128, 0.25));
    border-color: var(--color-tech-accent);
    color: white;
    transform: translateY(-6px) scale(1.15) rotate(-5deg);
    box-shadow: 
        0 12px 32px rgba(0, 229, 255, 0.5),
        0 0 60px rgba(0, 229, 255, 0.3),
        0 4px 16px rgba(255, 0, 128, 0.3);
}

.social-icon:hover::before {
    opacity: 0.4;
}

.social-icon:hover::after {
    opacity: 0.6;
}

.social-icon:active {
    transform: translateY(-3px) scale(1.08);
}

/* Animation Helper Classes */
.animate-entry {
    animation: fadeInUp 0.6s cubic-bezier(0.16, 1, 0.3, 1) forwards;
    opacity: 0;
}

.animate-entry:nth-child(1) { animation-delay: 0.1s; }
.animate-entry:nth-child(2) { animation-delay: 0.15s; }
.animate-entry:nth-child(3) { animation-delay: 0.2s; }
.animate-entry:nth-child(4) { animation-delay: 0.25s; }
.animate-entry:nth-child(5) { animation-delay: 0.3s; }

/* Enhanced Glassmorphism Cards - Engineering Precision */
.glass-card {
    background: var(--color-item-bg);
    backdrop-filter: blur(24px) saturate(200%);
    -webkit-backdrop-filter: blur(24px) saturate(200%);
    border: 1.5px solid var(--color-border);
    box-shadow: var(--color-item-shadow);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, 
        transparent, 
        rgba(0, 229, 255, 0.15), 
        rgba(255, 0, 128, 0.1),
        transparent);
    transition: left 0.6s ease;
}

.glass-card:hover::before {
    left: 100%;
}

/* Link Items & Interactive Elements - Eric's Professional Gaming/Tech Style */
.item-link, .item-product {
    position: relative;
    padding: 1.5rem 1.75rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 1.25rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    cursor: pointer;
}

.item-link::after {
    content: '→';
    position: absolute;
    right: 1.75rem;
    opacity: 0;
    transform: translateX(-12px);
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.5rem;
    color: var(--color-tech-accent);
    font-weight: bold;
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.8);
}

.item-link:hover, .item-product:hover {
    transform: translateY(-6px) scale(1.02);
    background: var(--color-item-bg-hover);
    box-shadow: 
        0 20px 60px rgba(0, 229, 255, 0.25),
        0 12px 32px rgba(0, 0, 0, 0.7),
        0 0 0 2px rgba(0, 229, 255, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: rgba(0, 229, 255, 0.6);
    z-index: 10;
}

.item-link:hover::after {
    opacity: 1;
    transform: translateX(0) scale(1.2);
}

.item-link:active, .item-product:active {
    transform: translateY(-3px) scale(1.01);
}

.item-title {
    color: var(--color-item-text);
    font-weight: 700;
    font-size: 1.125rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: -0.01em;
}

.item-subtitle {
    color: var(--color-text-muted);
    font-size: 0.9375rem;
    margin-top: 0.375rem;
    font-weight: 400;
}

.item-image {
    width: 56px;
    height: 56px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: 
        0 4px 12px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
    max-width: 56px;
    max-height: 56px;
    flex-shrink: 0;
}

/* Style Varianten (Rundungen) */
.style-rounded .item-link, .style-rounded .item-product, .style-rounded .item-slider-wrapper, .style-rounded .item-video-wrapper, .style-rounded .item-countdown-wrapper, .style-rounded .item-email-form, .style-rounded .item-contact-form, .style-rounded .glass-card, .style-rounded .swiper-slide {
    border-radius: 1rem; 
}
.style-square .item-link, .style-square .item-product, .style-square .item-slider-wrapper, .style-square .item-video-wrapper, .style-square .item-countdown-wrapper, .style-square .item-email-form, .style-square .item-contact-form, .style-square .glass-card, .style-square .swiper-slide {
    border-radius: 0px;
}
.style-pill .item-link, .style-pill .item-product, .style-pill .item-slider-wrapper, .style-pill .item-video-wrapper, .style-pill .item-countdown-wrapper, .style-pill .item-email-form, .style-pill .item-contact-form, .style-pill .glass-card, .style-pill .swiper-slide {
    border-radius: 1.5rem;
}
.style-pill .item-link, .style-pill .item-product {
    border-radius: 9999px;
}

/* Typografie */
.item-title { color: var(--color-item-text); text-shadow: 0 1px 2px rgba(0,0,0,0.1); }
.item-subtitle, .item-header, .social-icon, .countdown-label { color: var(--color-text-muted); }
.profile-title { font-weight: 800; letter-spacing: -0.025em; text-shadow: 0 2px 4px rgba(0,0,0,0.5); }
.item-header { font-weight: 600; }

/* Spotlight Animation - Enhanced for Gaming Presence */
.spotlight-item {
    animation: pulse-border 2.5s infinite;
    border-width: 2px;
    border-color: rgba(0, 229, 255, 0.6);
    position: relative;
}

.spotlight-item::after {
    content: '⭐';
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    font-size: 1.25rem;
    opacity: 0.9;
    filter: drop-shadow(0 0 8px rgba(0, 229, 255, 0.8));
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
        opacity: 0.9;
    }
    50% {
        transform: scale(1.15);
        opacity: 1;
    }
}

/* Slider / Swiper */
.swiper-pagination-bullet { background-color: var(--color-text-muted) !important; opacity: 0.5 !important; }
.swiper-pagination-bullet-active { background-color: var(--color-text) !important; opacity: 1 !important; }
.swiper-slide {
    background-color: var(--color-item-bg);
    transition: background-color 0.2s ease-out;
}

/* Make slider images smaller (half the visual height) but keep them square.
   Images are centered inside each slide and use aspect-ratio to remain 1:1.
   This reduces the perceived height while preserving layout and overlays. */
.swiper .swiper-slide > a { display: flex; align-items: center; justify-content: center; }

/* Slides: let Swiper control widths so we can show 2 slides per view; keep slides square */
.swiper .swiper-wrapper { align-items: center; }
.swiper .swiper-slide {
    /* allow Swiper to set width (slidesPerView), keep square aspect */
    width: auto !important;
    flex: 0 0 auto !important;
    display: flex; align-items: center; justify-content: center;
    aspect-ratio: 1 / 1;
    max-width: none !important;
}

/* Make image fill the (smaller) slide square */
.swiper .swiper-slide > a { display: flex; align-items: center; justify-content: center; width: 100%; height: 100%; }
.swiper .swiper-slide img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; border-radius: 0.5rem; }

/* Reduce gradient overlay height inside slider slides so it matches the smaller image */
.swiper .swiper-slide .bg-gradient-to-t { height: 40% !important; }

/* Ensure anchors inside slides are clickable and overlays sit above images.
    Some Swiper builds/variants can add transform/backface rules that affect
    pointer events — make stacking explicit so links remain interactive. */
.swiper .swiper-slide > a { position: relative; pointer-events: auto; z-index: 1; }
.swiper .swiper-slide img { z-index: 0; }
.swiper .swiper-slide a .pointer-events-none { z-index: 2; }

/* Swiper navigation buttons (per-slider). Positioned over the slide edges.
   Buttons are keyboard focusable and have visible focus outline for a11y. */
.swiper { position: relative; }
.swiper-nav { pointer-events: none; z-index: 10; }
.swiper-nav .swiper-nav-button { pointer-events: auto; display: inline-flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.45); color: var(--color-text); border: 1px solid var(--color-border); }
.swiper-nav .swiper-nav-button:hover { background: rgba(0,0,0,0.6); }
.swiper-nav .swiper-nav-button:focus { outline: 3px solid rgba(255,255,255,0.12); box-shadow: 0 6px 18px rgba(0,0,0,0.25); }

/* Ensure slide-link occupies proper stacking layer and overlay text remains visible but not blocking clicks */
.swiper-slide { position: relative; aspect-ratio: 4/3; }
.slide-link { position: relative; display: block; width: 100%; height: 100%; pointer-events: auto; }
.slide-image { z-index: 0; }
.slide-title { pointer-events: none; z-index: 1; }

/* Small polish: keep nav buttons slightly inset on very narrow screens */
@media (max-width: 420px) {
    .swiper-nav { left: 6px !important; right: 6px !important; }
    .swiper-nav .swiper-nav-button { padding: 0.5rem; }
}

/* Responsive adjustments are driven by Swiper's slidesPerView breakpoints in JS */

/* Countdown Grid - Gaming Event Timer Style */
.countdown-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1rem;
    text-align: center;
}

.countdown-box {
    background: rgba(0, 0, 0, 0.3);
    padding: 0.875rem 0.5rem;
    border-radius: 12px;
    border: 2px solid rgba(0, 229, 255, 0.2);
    backdrop-filter: blur(10px);
    box-shadow: 
        0 4px 16px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.countdown-box:hover {
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-2px);
    box-shadow: 0 6px 24px rgba(0, 229, 255, 0.2);
}

.countdown-value {
    font-size: 1.75rem;
    font-weight: 900;
    line-height: 2rem;
    color: var(--color-tech-accent);
    font-feature-settings: "tnum";
    text-shadow: 0 0 20px rgba(0, 229, 255, 0.5);
    letter-spacing: -0.02em;
}

.countdown-label {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    margin-top: 0.25rem;
    font-weight: 600;
    opacity: 0.8;
}

/* Formulare (Newsletter & Kontakt) - Eric's Professional Style */
.email-input, .contact-input, textarea {
    background-color: rgba(0, 0, 0, 0.3);
    color: var(--color-text);
    border: 2px solid rgba(255, 255, 255, 0.12);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    backdrop-filter: blur(10px);
    font-weight: 500;
}

.email-input:focus, .contact-input:focus, textarea:focus {
    background-color: rgba(0, 0, 0, 0.45);
    border-color: var(--color-tech-accent);
    outline: none;
    box-shadow: 
        0 0 0 3px rgba(0, 229, 255, 0.15),
        0 4px 20px rgba(0, 229, 255, 0.2);
    transform: translateY(-2px);
}

.email-input::placeholder, .contact-input::placeholder, textarea::placeholder {
    color: rgba(255, 255, 255, 0.35);
    font-weight: 400;
}

.email-submit-button, .contact-submit-button {
    background: linear-gradient(135deg, var(--color-tech-accent) 0%, var(--color-gaming-accent) 100%);
    color: #ffffff;
    font-weight: 800;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 6px 20px rgba(0, 229, 255, 0.4);
    border: none;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.02em;
}

.email-submit-button:hover, .contact-submit-button:hover { 
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 10px 32px rgba(0, 229, 255, 0.6);
}

.email-submit-button:active, .contact-submit-button:active { 
    transform: translateY(-1px) scale(1.01);
}

/* FAQ Akkordeon */
.faq-header svg { transition: transform 0.3s ease; }

/* Grid Layout Feinheiten */
.grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
}
@media (max-width: 350px) {
    .grid { grid-template-columns: 1fr; }
}

/* Admin Drop Zones (Für Drag & Drop in Gruppen) */
.child-container {
    min-height: 60px;
    transition: background-color 0.2s;
}
/* Wenn leer, soll man es gut sehen */
.child-container:empty {
    background-color: rgba(255, 255, 255, 0.05);
    border: 2px dashed #4B5563;
    border-radius: 0.5rem;
}

/* Enhanced Button Styles for User Page - Eric's Gaming/Tech Aesthetic */
.btn-primary, a[class*="bg-"] {
    background: linear-gradient(135deg, var(--color-tech-accent) 0%, var(--color-gaming-accent) 100%);
    border: none;
    padding: 1rem 2rem;
    border-radius: 14px;
    font-weight: 700;
    color: white;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 
        0 6px 20px rgba(0, 229, 255, 0.45),
        0 0 40px rgba(0, 229, 255, 0.2);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 0.625rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.01em;
    position: relative;
    overflow: hidden;
}

.btn-primary::before, a[class*="bg-"]::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.btn-primary:hover::before, a[class*="bg-"]:hover::before {
    width: 300px;
    height: 300px;
}

.btn-primary:hover, a[class*="bg-"]:hover {
    transform: translateY(-4px) scale(1.03);
    box-shadow: 
        0 12px 36px rgba(0, 229, 255, 0.7),
        0 0 60px rgba(255, 0, 128, 0.3);
}

.btn-primary:active, a[class*="bg-"]:active {
    transform: translateY(-2px) scale(1.01);
}

/* Contact Save Button Enhancement - Professional Polish */
.contact-save-button {
    background: rgba(255, 255, 255, 0.09);
    border: 2px solid var(--color-border);
    backdrop-filter: blur(12px) saturate(180%);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
}

.contact-save-button:hover {
    background: rgba(255, 255, 255, 0.14);
    border-color: var(--color-tech-accent);
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 8px 28px rgba(0, 229, 255, 0.3);
}

/* Header Items (Sections) Enhancement - Gaming Chapter Headers */
.item-header {
    font-size: 1.375rem;
    font-weight: 800;
    margin: 2.5rem 0 1.25rem;
    color: var(--color-text);
    text-align: center;
    position: relative;
    padding-bottom: 0.75rem;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, var(--color-tech-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}
}

.item-header::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(135deg, var(--color-tech-accent), var(--color-gaming-accent));
    border-radius: 3px;
}

/* FAQ Items Enhancement - Eric's Interactive Gaming/Tech Style */
.item-faq {
    border-radius: 14px;
    overflow: hidden;
    margin-bottom: 1rem;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
}

.item-faq:hover {
    border-color: rgba(0, 229, 255, 0.3);
}

.faq-header {
    cursor: pointer;
    padding: 1.5rem;
    background: var(--color-item-bg);
    border: none;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    font-weight: 600;
}

.faq-header:hover {
    background: var(--color-item-bg-hover);
    box-shadow: inset 0 0 0 1px rgba(0, 229, 255, 0.2);
}

.faq-content {
    padding: 1.5rem;
    background: rgba(0, 0, 0, 0.3);
    border-top: 1px solid var(--color-border);
    line-height: 1.7;
    color: var(--color-text-muted);
}

/* Video and Media Embeds - Gaming Content Style */
.item-video-wrapper {
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        0 0 0 1px rgba(0, 229, 255, 0.2);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 2px solid rgba(255, 255, 255, 0.1);
}

.item-video-wrapper:hover {
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 16px 56px rgba(0, 229, 255, 0.25),
        0 8px 32px rgba(0, 0, 0, 0.5),
        0 0 0 2px rgba(0, 229, 255, 0.4);
    border-color: rgba(0, 229, 255, 0.4);
}

/* Product Items Enhancement - E-Commerce Ready */
.item-product {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.product-image {
    width: 88px;
    height: 88px;
    border-radius: 14px;
    object-fit: cover;
    box-shadow: 
        0 6px 20px rgba(0, 0, 0, 0.3),
        0 0 0 1px rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.product-price {
    font-weight: 800;
    font-size: 1.375rem;
    color: var(--color-tech-accent);
    margin-top: 0.375rem;
    text-shadow: 0 0 24px rgba(0, 229, 255, 0.6);
    letter-spacing: -0.02em;
}

/* Testimonial Enhancement - Social Proof */
.item-testimonial {
    padding: 1.75rem;
    border-left: 4px solid var(--color-tech-accent);
    font-style: italic;
}

.testimonial-author {
    font-weight: 600;
    margin-top: 1rem;
    font-style: normal;
    color: var(--color-text-muted);
}

.testimonial-author::before {
    content: '— ';
}

/* Loading Spinner Enhancement */
#loading-spinner {
    animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}



/* Responsive Enhancements - Mobile First for Influencer Audience */
@media (max-width: 640px) {
    .profile-avatar {
        width: 110px;
        height: 110px;
    }
    
    .profile-title {
        font-size: 1.75rem;
        word-wrap: break-word;
        overflow-wrap: break-word;
    }
    
    .profile-title::after {
        font-size: 1.125rem;
        margin-left: 0.25rem;
    }
    
    .profile-bio {
        font-size: 1rem;
        padding: 0 0.5rem;
    }
    
    .item-link, .item-product {
        padding: 1.25rem 1.5rem;
    }
    
    .social-icon {
        width: 48px;
        height: 48px;
    }
    
    .social-icon svg {
        width: 22px;
        height: 22px;
    }
    
    .item-image {
        width: 52px;
        height: 52px;
    }
    
    .item-title {
        font-size: 1.0625rem;
    }
    

    
    /* Adjust glass cards padding for mobile */
    .glass-card {
        padding: 1rem !important;
    }
}

/* Extra small screens - optimize for narrow phones */
@media (max-width: 375px) {
    .profile-title {
        font-size: 1.5rem;
    }
    
    .profile-title::after {
        font-size: 1rem;
    }
    
    .profile-bio {
        font-size: 0.875rem;
    }
    
    /* Make buttons more touch-friendly on small screens */
    button, .button, a[class*="px-"] {
        min-height: 44px; /* iOS recommended touch target size */
    }
}

/* Ensure all touch targets are accessible on mobile */
@media (max-width: 640px) {
    /* Touch-friendly button sizes */
    button, .button {
        min-height: 44px;
        padding: 0.75rem 1rem;
    }
    
    /* Ensure form inputs are properly sized */
    input[type="text"],
    input[type="email"],
    input[type="password"],
    textarea,
    select {
        font-size: 16px; /* Prevents zoom on iOS */
        min-height: 44px;
    }
    
    /* Tab buttons for contact forms */
    .contact-tab {
        padding: 0.625rem 0.75rem;
        font-size: 0.875rem;
    }
}

@media (min-width: 768px) {
    .profile-header {
        padding: 1rem;
    }
}

/* Accessibility Improvements - Eric's Gaming/Tech Theme */
*:focus-visible {
    outline: 3px solid var(--color-tech-accent);
    outline-offset: 3px;
    border-radius: var(--border-radius-sm);
    box-shadow: 0 0 0 8px rgba(0, 229, 255, 0.25);
}

button:focus-visible, a:focus-visible {
    outline-color: var(--color-gaming-accent);
    box-shadow: 0 0 0 8px rgba(255, 0, 128, 0.25);
}

/* Smooth Transitions for Theme Changes */
* {
    transition-property: background-color, border-color, color;
    transition-duration: 0.3s;
    transition-timing-function: ease;
}

/* Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* ========================================
   SLIDER GROUP STYLES - Modern Clean Design
   ======================================== */

/* Slider Container */
.swiper-slider-group {
    position: relative;
    padding-bottom: 3rem; /* Space for pagination */
}

/* Slider Cards */
.swiper-slider-group .swiper-slide {
    height: 320px;
    border-radius: 1rem;
    overflow: hidden;
}

.slide-card {
    position: relative;
    width: 100%;
    height: 100%;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.2);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.slide-card:hover {
    transform: translateY(-8px) scale(1.02);
    box-shadow: 0 16px 40px rgba(0, 217, 255, 0.25),
                0 8px 24px rgba(0, 0, 0, 0.4);
    border-color: rgba(0, 217, 255, 0.4);
}

.slide-card:active {
    transform: translateY(-4px) scale(1.01);
}

/* Image styling within slides */
.slide-card img {
    transition: transform 0.5s ease;
}

.slide-card:hover img {
    transform: scale(1.08);
}

/* Navigation Buttons - Eric's Gaming/Tech Style */
.slider-nav-btn {
    width: 42px !important;
    height: 42px !important;
    background: rgba(0, 229, 255, 0.18) !important;
    backdrop-filter: blur(16px) saturate(180%);
    border-radius: 50%;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1.5px solid rgba(0, 229, 255, 0.4);
}

.slider-nav-btn:hover {
    background: rgba(0, 229, 255, 0.35) !important;
    transform: scale(1.2) rotate(5deg);
    box-shadow: 0 8px 28px rgba(0, 229, 255, 0.5);
    border-color: rgba(0, 229, 255, 0.8);
}

.slider-nav-btn:after {
    font-size: 18px !important;
    font-weight: bold;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.8);
}

.slider-nav-btn.swiper-button-disabled {
    opacity: 0.25;
    cursor: not-allowed;
}

/* Pagination Dots - Enhanced */
.swiper-pagination {
    bottom: 0 !important;
    padding: 0.75rem 0;
}

.swiper-pagination-bullet {
    width: 10px;
    height: 10px;
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.swiper-pagination-bullet-active {
    width: 32px;
    border-radius: 5px;
    background: linear-gradient(135deg, var(--color-tech-accent), var(--color-gaming-accent));
    box-shadow: 0 3px 12px rgba(0, 229, 255, 0.6);
    border-color: transparent;
}

/* Dynamic Bullets Animation */
.swiper-pagination-bullet-active-main {
    background: linear-gradient(135deg, var(--color-tech-accent), var(--color-gaming-accent));
}

.swiper-pagination-bullet-active-prev,
.swiper-pagination-bullet-active-next {
    transform: scale(0.85);
}

/* Responsive Adjustments */
@media (max-width: 640px) {
    .swiper-slider-group .swiper-slide {
        height: 280px;
    }
    
    .slider-nav-btn {
        width: 36px !important;
        height: 36px !important;
    }
    
    .slider-nav-btn:after {
        font-size: 14px !important;
    }
}

/* Line Clamp Utility */
.line-clamp-2 {
    overflow: hidden;
    display: -webkit-box;
    -webkit-box-orient: vertical;
    -webkit-line-clamp: 2;
}

/* Glass Card Enhancement for Slider Groups - Eric's Brand */
.group-container.glass-card {
    background: rgba(255, 255, 255, 0.06);
    backdrop-filter: blur(24px) saturate(180%);
    border: 1.5px solid rgba(255, 255, 255, 0.12);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
}

/* Enhanced group headers - Tech Influencer Style */
.group-header {
    font-size: 1.25rem;
    font-weight: 800;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.4);
    background: linear-gradient(135deg, #ffffff 0%, var(--color-tech-accent) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Grid items enhancement - Gaming Cards */
.group-content .glass-card {
    background: rgba(255, 255, 255, 0.04);
    backdrop-filter: blur(12px) saturate(180%);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.group-content .glass-card:hover {
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 16px 48px rgba(0, 229, 255, 0.2),
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 229, 255, 0.4);
    transform: translateY(-4px) scale(1.02);
}

/* Category-specific styling for admin panels */
.bg-gray-750 {
    background-color: rgba(31, 41, 55, 0.5);
}

.category-toggle {
    cursor: pointer;
    user-select: none;
}

.category-chevron {
    transition: transform 0.3s ease;
}

.category-content {
    max-height: 2000px;
    transition: max-height 0.3s ease, opacity 0.3s ease;
}

.category-content.hidden {
    max-height: 0;
    opacity: 0;
    overflow: hidden;
}

/* Divider Styles - Eric's Professional Design */
.h-px {
    height: 2px;
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 229, 255, 0.3) 20%, 
        rgba(0, 229, 255, 0.6) 50%, 
        rgba(0, 229, 255, 0.3) 80%, 
        transparent 100%);
    box-shadow: 0 0 10px rgba(0, 229, 255, 0.3);
}

/* Text Utilities for Eric's Brand */
.text-gray-600 {
    background: linear-gradient(90deg, 
        transparent 0%, 
        rgba(0, 229, 255, 0.25) 20%, 
        rgba(0, 229, 255, 0.5) 50%, 
        rgba(0, 229, 255, 0.25) 80%, 
        transparent 100%);
    height: 2px;
}

.text-gray-400 {
    color: var(--color-text-muted);
    font-weight: 600;
    letter-spacing: 0.1em;
    text-shadow: 0 0 10px rgba(0, 229, 255, 0.4);
}




