/* --- Reset & Base (Dark Mode) --- */
:root {
    --bg-color: #050505;
    --glass-bg: rgba(30, 30, 30, 0.6);
    --glass-border: rgba(255, 255, 255, 0.1);
    --text-main: #ffffff;
    --text-sec: #b0b0b0;
    --ios-blue: #298eff;
    --android-green: #3DDC84;
    --radius-l: 30px;
    --radius-m: 16px;
    --shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

* { margin: 0; padding: 0; box-sizing: border-box; -webkit-tap-highlight-color: transparent; }

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    min-height: 100vh;
    color: var(--text-main);
    overflow-x: hidden;
    position: relative;
}

/* --- Date Badge (Oben Rechts) --- */
.date-badge {
    position: absolute;
    top: 20px;
    right: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: rgba(255, 255, 255, 0.6);
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 12px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(5px);
    z-index: 100; /* Über allem liegen */
}

/* --- Animated Dark Mesh Background --- */
.bg-shape {
    position: fixed;
    border-radius: 50%;
    filter: blur(120px); 
    z-index: -1;
    opacity: 0.5;
    animation: float 25s infinite alternate;
    /* Transition für weichen Farbwechsel falls man es später animieren will */
    transition: background 1s ease; 
}

/* Positionierung der Punkte (Farbe entfernt, da JS) */
.shape-1 {
    width: 600px; height: 600px;
    top: -150px; left: -100px;
    animation-duration: 30s;
}
.shape-2 {
    width: 500px; height: 500px;
    bottom: -100px; right: -100px;
    animation-delay: -5s;
}
.shape-3 {
    width: 400px; height: 400px;
    top: 40%; left: 30%;
    opacity: 0.3;
    animation-duration: 40s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(30px, -30px) scale(1.1); }
    100% { transform: translate(-20px, 20px) scale(0.9); }
}

/* --- Wrapper & Layout --- */
.wrapper {
    max-width: 1100px;
    margin: 0 auto;
    padding: 20px;
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* --- Header --- */
header {
    text-align: center;
    margin: 50px 0 70px 0;
}

.logo-area {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 10px;
}

header h1 {
    font-size: 2.8rem;
    font-weight: 800;
    letter-spacing: -1px;
    color: white;
    text-shadow: 0 0 20px rgba(255,255,255,0.2);
}

.badge {
    background: rgba(255,255,255,0.1);
    border: 1px solid rgba(255,255,255,0.1);
    padding: 4px 10px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    color: var(--text-sec);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.subtitle {
    color: var(--text-sec);
    font-size: 1.1rem;
    font-weight: 300;
}

/* --- App Grid --- */
.app-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(340px, 1fr));
    gap: 25px;
    flex: 1;
}

/* --- Card Design (Dark Glass) --- */
.app-card {
    background: var(--glass-bg);
    backdrop-filter: blur(25px); 
    -webkit-backdrop-filter: blur(25px);
    border: 1px solid var(--glass-border);
    border-radius: var(--radius-l);
    padding: 24px;
    display: flex;
    align-items: center;
    gap: 24px;
    box-shadow: var(--shadow);
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.app-card:hover {
    transform: translateY(-5px) scale(1.02);
    background: rgba(40, 40, 40, 0.7);
    border-color: rgba(255, 255, 255, 0.25);
    box-shadow: 0 20px 50px rgba(0,0,0,0.6);
}

/* Image */
.app-icon {
    width: 90px;
    height: 90px;
    border-radius: var(--radius-m);
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(0,0,0,0.3);
    flex-shrink: 0;
    background: #1a1a1a;
}

/* Content */
.app-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.app-info h2 {
    font-size: 1.35rem;
    font-weight: 700;
    margin-bottom: 6px;
    color: var(--text-main);
}

.app-info p {
    font-size: 0.9rem;
    color: var(--text-sec);
    line-height: 1.5;
    margin-bottom: 18px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Buttons */
.btn-group { display: flex; gap: 10px; }

.btn {
    flex: 1;
    text-decoration: none;
    padding: 12px 0;
    border-radius: 12px;
    font-size: 0.9rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: all 0.2s ease;
    border: none;
}
.btn i { font-size: 1.2em; }

/* iOS Button (Dark Mode Style) */
.btn-ios {
    background: rgba(41, 142, 255, 0.15);
    color: #4da3ff;
    border: 1px solid rgba(41, 142, 255, 0.2);
}
.btn-ios:hover {
    background: var(--ios-blue);
    color: white;
    box-shadow: 0 0 15px rgba(0, 122, 255, 0.4);
    border-color: var(--ios-blue);
}

/* Android Button (Dark Mode Style) */
.btn-android {
    background: rgba(61, 220, 132, 0.1);
    color: #3ddc84;
    border: 1px solid rgba(61, 220, 132, 0.2);
}
.btn-android:hover {
    background: var(--android-green);
    color: #000;
    box-shadow: 0 0 15px rgba(61, 220, 132, 0.3);
    border-color: var(--android-green);
}

/* Disabled Button (Dark) */
.btn.disabled {
    background: rgba(255, 255, 255, 0.05);
    color: #555;
    border: 1px solid transparent;
    cursor: not-allowed;
}
.btn.disabled:hover { transform: none; box-shadow: none; }

/* --- Mobile (max-width: 700px) --- */
@media (max-width: 700px) {
    header h1 { font-size: 2.2rem; }
    
    .app-card {
        flex-direction: column;
        text-align: center;
        padding: 30px 20px;
    }

    .app-icon {
        width: 100px;
        height: 100px;
        margin-bottom: 12px;
    }

    .app-info p { -webkit-line-clamp: 3; margin-bottom: 24px; }
    .btn-group { width: 100%; }
}

/* --- Footer --- */
footer {
    text-align: center;
    margin-top: 60px;
    color: rgba(255,255,255,0.4);
    font-size: 0.85rem;
}

/* --- Skeleton Loader (Dark) --- */
.skeleton-card {
    height: 180px;
    background: rgba(255,255,255,0.05);
    border-radius: var(--radius-l);
    animation: pulse 1.5s infinite;
    border: 1px solid rgba(255,255,255,0.02);
}
@keyframes pulse { 
    0% { opacity: 0.3; } 
    50% { opacity: 0.6; } 
    100% { opacity: 0.3; } 
}