* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;


/* Grundfarben*/ 
}

:root {
    --bg-color: #000000;
    --card-bg: #1a1a2e;
    --primary-color: #9c0a0a;
    --secondary-color: #16213e;
    --text-color: #ffffff;
    --text-muted: #b3b3b3;
    --success-color: #2ecc71;
    --warning-color: #f39c12;
    --danger-color: #e74c3c;
    --netflix: #e50914;
    --amazon: #00a8e1;
    --disney: #113ccf;
    --hbo: #9d3dff;
    --hulu: #1ce783;
    --apple: #000000;
    --paramount: #0066cc;

/* Seite*/ 
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, var(--bg-color) 0%, var(--secondary-color) 100%);
    color: var(--text-color);
    min-height: 100vh;
    padding: 20px;
}

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


/*Logo*/

#logo {
    width: 200px;
    height: 200px;
    margin: 0 auto; /* Zentriert horizontal */
    display: block; /* Wichtig für margin auto bei img */

} 

/* Schriftgrößen*/

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5em;
    background: linear-gradient(45deg, var(--primary-color), #ff6b6b);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    margin-bottom: 40px;
    color: var(--text-color);
    font-size: 1.5em;
}

.add-form {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.form-row {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 15px;
    margin-bottom: 15px;
}

.form-group {
    display: flex;
    flex-direction: column;
}

label {
    margin-bottom: 5px;
    color: var(--text-muted);
    font-weight: 500;
}

input, select {
    padding: 12px 15px;
    border: 2px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-color);
    font-size: 16px;
    transition: all 0.3s ease;
}

input:focus, select:focus {
    outline: none;
    border-color: var(--primary-color);
    background: rgba(255, 255, 255, 0.1);
}

select option {
    background: var(--secondary-color);
    color: var(--text-color);
}

.submit-btn {
    padding: 12px 30px;
    background: linear-gradient(45deg, var(--primary-color), #ff6b6b);
    color: white;
    border: none;
    border-radius: 8px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    transition: transform 0.2s ease;
    margin-top: 10px;
}

.submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(233, 69, 96, 0.4);
}

/* Plattform-Management */
.platform-management {
    background: var(--card-bg);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.platform-controls {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
}

.platform-controls input {
    flex: 1;
}

.management-btn {
    padding: 12px 20px;
    background: var(--success-color);
    color: white;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: background 0.3s ease;
}

.management-btn:hover {
    background: #27ae60;
}

.existing-platforms {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.platform-tag {
    background: rgba(255, 255, 255, 0.1);
    padding: 8px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.platform-tag-name {
    font-weight: 500;
}

.edit-platform-btn, .delete-platform-btn {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 2px 5px;
    border-radius: 3px;
    transition: all 0.2s ease;
}

.edit-platform-btn:hover {
    color: var(--warning-color);
    background: rgba(243, 156, 18, 0.1);
}

.delete-platform-btn:hover {
    color: var(--danger-color);
    background: rgba(231, 76, 60, 0.1);
}

/* Watchliste */
.watchlist-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(400px, 1fr));
    gap: 25px;
}

.platform-section {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.platform-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.platform-icon {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    margin-right: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 14px;
    background: var(--primary-color);
}

.netflix { background: var(--netflix); }
.amazon { background: var(--amazon); }
.disney { background: var(--disney); }
.hbo { background: var(--hbo); }
.hulu { background: var(--hulu); }
.apple { background: var(--apple); border: 1px solid #333; }
.paramount { background: var(--paramount); }

.platform-title {
    font-size: 1.4em;
    font-weight: 600;
}

.platform-count {
    margin-left: auto;
    background: rgba(255, 255, 255, 0.1);
    padding: 5px 12px;
    border-radius: 20px;
    font-size: 0.9em;
}

.watchlist-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 15px;
    border-radius: 10px;
    margin-bottom: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.watchlist-item:hover {
    background: rgba(255, 255, 255, 0.08);
    transform: translateY(-1px);
}

.item-header {
    display: flex;
    align-items: center;
    margin-bottom: 8px;
}

.item-checkbox {
    margin-right: 12px;
    width: 20px;
    height: 20px;
    accent-color: var(--primary-color);
}

.item-title {
    font-weight: 600;
    font-size: 1.1em;
    flex-grow: 1;
}

.delete-btn {
    background: none;
    border: none;
    color: #ff4757;
    cursor: pointer;
    padding: 5px;
    border-radius: 5px;
    transition: background 0.2s ease;
}

.delete-btn:hover {
    background: rgba(255, 71, 87, 0.1);
}

.item-details {
    font-size: 0.9em;
    color: var(--text-muted);
    margin-left: 32px;
}

.completed {
    opacity: 0.6;
}

.completed .item-title {
    text-decoration: line-through;
}

.empty-state {
    text-align: center;
    color: var(--text-muted);
    font-style: italic;
    padding: 40px 20px;
}

/* Modal */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.8);
}

.modal-content {
    background: var(--card-bg);
    margin: 15% auto;
    padding: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 15px;
    width: 300px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    line-height: 1;
}

.close:hover {
    color: var(--text-color);
}

.modal h3 {
    margin-bottom: 15px;
    color: var(--text-color);
}

.modal-buttons {
    margin-top: 15px;
    display: flex;
    gap: 10px;
    justify-content: flex-end;
}

.modal-btn {
    padding: 8px 16px;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    font-weight: 600;
}

.save-btn {
    background: var(--success-color);
    color: white;
}

.cancel-btn {
    background: var(--text-muted);
    color: var(--bg-color);
}

.save-btn:hover {
    background: #27ae60;
}

.cancel-btn:hover {
    background: #95a5a6;
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .watchlist-container {
        grid-template-columns: 1fr;
    }
    
    .platform-controls {
        flex-direction: column;
    }
    
    .existing-platforms {
        justify-content: center;
    }
}