/* css/styles.css */

/* Grundlegende Einstellungen */
:root {
    --primary-color: #e63946;
    --primary-dark: #d62828;
    --secondary-color: #2a9d8f;
    --secondary-dark: #264653;
    --accent-color: #f4a261;
    --accent-light: #e76f51;
    --background: #f8f9fa;
    --surface: #ffffff;
    --text-primary: #2b2d42;
    --text-secondary: #5f6368;
    --border-color: #e1e4e8;
    --success: #06d6a0;
    --error: #ef476f;
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.08);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.1);
    --shadow-lg: 0 8px 24px rgba(0, 0, 0, 0.12);
}

* {
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    color: var(--text-primary);
    margin: 0;
    padding: 0;
    line-height: 1.6;
    min-height: 100vh;
}

.container {
    max-width: 900px;
    margin: 0 auto;
    padding: 2rem 1.5rem;
}

/* Header */
header {
    text-align: center;
    padding: 2.5rem 1rem;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    color: #FFFFFF;
    box-shadow: var(--shadow-md);
    position: relative;
    overflow: hidden;
}

header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: headerPulse 15s ease-in-out infinite;
}

@keyframes headerPulse {
    0%, 100% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(-10%, -10%) scale(1.1); }
}

header img {
    max-width: 220px;
    height: auto;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.15));
    transition: transform 0.3s ease;
}

header img:hover {
    transform: scale(1.05);
}

/* Überschriften */
h1, h2, h3 {
    font-family: 'Playfair Display', serif;
    color: var(--primary-color);
    font-weight: 700;
    letter-spacing: -0.02em;
}

h1 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    margin-top: 0;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

h2 {
    font-size: 1.75rem;
    margin-top: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
    border-radius: 2px;
}


/* Formulare */
form {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

form:hover {
    box-shadow: var(--shadow-lg);
}

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

label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--text-primary);
    font-size: 0.95rem;
}

input[type="text"],
input[type="email"],
input[type="number"],
input[type="date"],
textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--surface);
}

input[type="text"]:focus,
input[type="email"]:focus,
input[type="number"]:focus,
input[type="date"]:focus,
textarea:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

textarea {
    resize: vertical;
    min-height: 100px;
}

button {
    padding: 0.875rem 2rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

button::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;
}

button:hover::before {
    width: 300px;
    height: 300px;
}

button:active {
    transform: scale(0.98);
}

button.primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    color: #FFFFFF;
}

button.primary:hover {
    background: linear-gradient(135deg, var(--primary-dark), var(--primary-color));
    box-shadow: var(--shadow-md);
}

button.secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #FFFFFF;
}

button.secondary:hover {
    background: linear-gradient(135deg, var(--secondary-dark), #1a5f56);
    box-shadow: var(--shadow-md);
}

button.small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
}



/* Tabellen */
table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
    margin-top: 1.5rem;
    background: var(--surface);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

th, td {
    text-align: left;
    padding: 1rem 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

th {
    background: linear-gradient(135deg, var(--secondary-dark), var(--secondary-color));
    color: #FFFFFF;
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.05em;
}

tr {
    transition: all 0.2s ease;
}

tbody tr:hover {
    background-color: rgba(42, 157, 143, 0.05);
    transform: scale(1.01);
}

tbody tr:last-child td {
    border-bottom: none;
}

/* Notifications */
.notification {
    padding: 1.25rem 1.5rem;
    border-radius: 12px;
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 1rem;
    animation: slideIn 0.3s ease;
    border-left: 4px solid;
}

@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.notification::before {
    content: '';
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    background-size: contain;
}

.notification.error {
    background-color: rgba(239, 71, 111, 0.1);
    color: #c1121f;
    border-left-color: var(--error);
}

.notification.error::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%23ef476f' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm1 15h-2v-2h2v2zm0-4h-2V7h2v6z'/%3E%3C/svg%3E");
}

.notification.success {
    background-color: rgba(6, 214, 160, 0.1);
    color: #007f5f;
    border-left-color: var(--success);
}

.notification.success::before {
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' fill='%2306d6a0' viewBox='0 0 24 24'%3E%3Cpath d='M12 2C6.48 2 2 6.48 2 12s4.48 10 10 10 10-4.48 10-10S17.52 2 12 2zm-2 15l-5-5 1.41-1.41L10 14.17l7.59-7.59L19 8l-9 9z'/%3E%3C/svg%3E");
}



/* Links */
a.button {
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-family: 'Roboto', sans-serif;
    font-weight: 600;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
    border: none;
}

a.button.secondary.small {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: #FFFFFF;
}

a.button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

a.button:hover::before {
    width: 200px;
    height: 200px;
}

a.button:active {
    transform: scale(0.96);
}

/* Pre-Formatierte Texte */
pre {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1rem 1.25rem;
    border-radius: 8px;
    overflow-x: auto;
    border: 2px solid var(--border-color);
    font-family: 'Monaco', 'Courier New', monospace;
    font-size: 0.9rem;
    color: var(--text-primary);
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
}

pre:hover {
    border-color: var(--secondary-color);
}

/* Copy Button */
.copy-button {
    margin-top: 0.75rem;
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #FFFFFF;
}

.copy-button:hover {
    background: linear-gradient(135deg, var(--accent-light), #d55d3a);
}

/* Lists */
ul {
    list-style: none;
    padding: 0;
}

ul li {
    padding: 0.75rem 0;
    padding-left: 1.5rem;
    position: relative;
    line-height: 1.6;
}

ul li::before {
    content: '✦';
    position: absolute;
    left: 0;
    color: var(--secondary-color);
    font-size: 1.2rem;
}

ul li strong {
    color: var(--primary-color);
    font-weight: 600;
}

/* Paragraphs */
p {
    line-height: 1.7;
    color: var(--text-secondary);
    margin: 1rem 0;
}



/* Horizontal Rule */
hr {
    border: none;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--border-color), transparent);
    margin: 3rem 0;
}

/* Responsive Design */
@media (max-width: 600px) {
    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.5rem;
    }

    .container {
        padding: 1.5rem 1rem;
    }

    header {
        padding: 1.5rem 1rem;
    }

    form {
        padding: 1.5rem;
    }

    button {
        width: 100%;
    }

    table {
        border-radius: 0;
    }

    table, thead, tbody, th, td, tr {
        display: block;
    }

    thead tr {
        position: absolute;
        top: -9999px;
        left: -9999px;
    }

    tr {
        margin-bottom: 1.5rem;
        border-radius: 12px;
        box-shadow: var(--shadow-sm);
        border: 1px solid var(--border-color);
    }

    td {
        border: none;
        position: relative;
        padding-left: 50%;
        text-align: right;
    }

    td::before {
        content: attr(data-label);
        position: absolute;
        left: 1rem;
        width: 45%;
        padding-right: 10px;
        white-space: nowrap;
        text-align: left;
        font-weight: 600;
        color: var(--text-primary);
    }

    .action-button {
        width: 100%;
        margin-bottom: 0.5rem;
        margin-right: 0;
    }
}

/* Exclusion Form Styling */
.exclusion-form {
    background: var(--surface);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border-color);
    margin-bottom: 2rem;
}

.form-row {
    display: flex;
    gap: 1rem;
    align-items: flex-end;
    flex-wrap: wrap;
}

.form-row .form-group {
    flex: 1;
    min-width: 200px;
    margin-bottom: 0;
}

select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    box-sizing: border-box;
    font-family: 'Roboto', sans-serif;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: var(--surface);
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: var(--secondary-color);
    box-shadow: 0 0 0 3px rgba(42, 157, 143, 0.1);
}

select:hover {
    border-color: var(--secondary-color);
}

/* Responsive exclusion form */
@media (max-width: 768px) {
    .form-row {
        flex-direction: column;
    }
    
    .form-row .form-group {
        width: 100%;
    }
    
    .form-row .form-group label[style*="opacity"] {
        display: none;
    }
}

/* Status-Klassen */
.status {
    padding: 0.4rem 0.875rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.85rem;
    color: #FFFFFF;
    display: inline-block;
    text-transform: uppercase;
    letter-spacing: 0.03em;
    box-shadow: var(--shadow-sm);
}

.status.drawn {
    background: linear-gradient(135deg, var(--success), #05b186);
}

.status.not-drawn {
    background: linear-gradient(135deg, var(--error), #d6336c);
}

/* Einheitliche Aktions-Buttons */
.action-button {
    padding: 0.625rem 1.25rem;
    font-size: 0.875rem;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    min-width: 130px;
    box-sizing: border-box;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    text-decoration: none;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
    font-weight: 600;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-sm);
    position: relative;
    overflow: hidden;
}

.action-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transform: translate(-50%, -50%);
    transition: width 0.5s, height 0.5s;
}

.action-button:hover::before {
    width: 200px;
    height: 200px;
}

.action-button:active {
    transform: scale(0.96);
}

/* Reset-Button (Secondary) */
.button.secondary {
    background: linear-gradient(135deg, #e0e0e0, #b0b0b0);
    color: #666666;
}

.button.secondary:hover {
    background: linear-gradient(135deg, #cccccc, #999999);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Delete-Button (Error) */
.button.error {
    background: linear-gradient(135deg, var(--error), #d6336c);
    color: #FFFFFF;
}

.button.error:hover {
    background: linear-gradient(135deg, #d6336c, #c1121f);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Manage-Button (Primary) */
.button.primary {
    background: linear-gradient(135deg, var(--accent-color), var(--accent-light));
    color: #FFFFFF;
}

.button.primary:hover {
    background: linear-gradient(135deg, var(--accent-light), #d55d3a);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
}

/* Icons innerhalb der Buttons */
.button img {
    vertical-align: middle;
    filter: brightness(0) invert(1);
    width: 18px;
    height: 18px;
}

/* Action Buttons Container */
td:last-child {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    align-items: center;
}

/* Card Styles for Content Sections */
.content-card {
    background: var(--surface);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.content-card:hover {
    box-shadow: var(--shadow-lg);
    transform: translateY(-2px);
}

/* Smooth Animations */
@keyframes fadeIn {
    from {
        opacity: 0.01;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.container > * {
    animation: fadeIn 0.5s ease-out;
}

/* Loading State */
@keyframes spin {
    to { transform: rotate(360deg); }
}

.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #FFFFFF;
    animation: spin 0.8s linear infinite;
}

/* Focus Styles for Accessibility */
*:focus-visible {
    outline: 3px solid var(--secondary-color);
    outline-offset: 2px;
}

/* Improved Button Hover States */
button:disabled,
a.button:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none !important;
}

/* Additional Text Styles */
.text-muted {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.text-center {
    text-align: center;
}

/* Spacing Utilities */
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

/* Selection Color */
::selection {
    background-color: rgba(42, 157, 143, 0.3);
    color: var(--text-primary);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--background);
}

::-webkit-scrollbar-thumb {
    background: var(--secondary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--secondary-dark);
}

/* Landing Page Styles */
.hero {
    text-align: center;
    padding: 0;
    background: linear-gradient(135deg, var(--secondary-dark) 0%, var(--secondary-color) 100%);
    color: white;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    pointer-events: none;
}

.snowflake {
    position: absolute;
    top: -10%;
    color: rgba(255, 255, 255, 0.3);
    font-size: 2rem;
    animation: fall linear infinite;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 10s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 30%;
    animation-duration: 12s;
    animation-delay: 2s;
    font-size: 1.5rem;
}

.snowflake:nth-child(3) {
    left: 50%;
    animation-duration: 8s;
    animation-delay: 4s;
    font-size: 2.5rem;
}

.snowflake:nth-child(4) {
    left: 70%;
    animation-duration: 14s;
    animation-delay: 1s;
}

.snowflake:nth-child(5) {
    left: 90%;
    animation-duration: 11s;
    animation-delay: 3s;
    font-size: 1.8rem;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 900px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.hero-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    margin-bottom: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
    animation: fadeInDown 0.6s ease;
}

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

.hero-title {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    animation: fadeInUp 0.8s ease 0.2s both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title-main {
    font-size: 4rem;
    font-weight: 700;
    line-height: 1.1;
    background: linear-gradient(135deg, #ffffff 0%, rgba(255, 255, 255, 0.8) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-title-sub {
    font-size: 1.8rem;
    font-weight: 400;
    opacity: 0.95;
}

.hero h1 {
    font-size: 3.5rem;
    margin-bottom: 1rem;
    color: white;
    background: none;
    -webkit-text-fill-color: white;
    text-shadow: 0 2px 10px rgba(0,0,0,0.2);
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    color: white;
    opacity: 1;
    font-weight: 400;
    line-height: 1.6;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    animation: fadeInUp 0.8s ease 0.4s both;
}

.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
    flex-wrap: wrap;
    font-size: 1rem;
    animation: fadeInUp 0.8s ease 0.6s both;
}

.hero-feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.hero-feature:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-2px);
}

.feature-icon-small {
    font-size: 1.2rem;
}

.hero-cta {
    margin-top: 3rem;
    animation: fadeInUp 0.8s ease 0.8s both;
}

.cta-button {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1.25rem 3rem;
    font-size: 1.2rem;
    font-weight: 700;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    color: white;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    margin: 0.5rem;
}

.cta-button-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    box-shadow: 0 8px 24px rgba(230, 57, 70, 0.4);
}

.cta-button-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.5);
}

.cta-button-secondary {
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    box-shadow: 0 8px 24px rgba(42, 157, 143, 0.4);
}

.cta-button-secondary:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(42, 157, 143, 0.5);
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: rgba(255, 255, 255, 0.2);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: width 0.6s, height 0.6s;
}

.cta-button:hover::before {
    width: 400px;
    height: 400px;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 32px rgba(230, 57, 70, 0.5);
}

.cta-button span {
    position: relative;
    z-index: 1;
}

.cta-arrow {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-arrow {
    transform: translateX(5px);
}

.cta-subtext {
    margin-top: 1rem;
    font-size: 0.9rem;
    color: white;
    opacity: 0.9;
}

.stats {
    text-align: center;
    padding: 1rem;
    font-size: 0.95rem;
    opacity: 0.9;
}

.how-it-works {
    padding: 4rem 2rem;
    background: white;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 3rem;
    color: var(--primary-color);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.step {
    text-align: center;
    padding: 2rem;
    background: var(--surface);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.step:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.step-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    display: block;
}

.step-number {
    display: inline-block;
    width: 50px;
    height: 50px;
    line-height: 50px;
    background: linear-gradient(135deg, var(--secondary-color), var(--secondary-dark));
    color: white;
    border-radius: 50%;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step h3 {
    color: var(--secondary-dark);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.step p {
    color: var(--text-secondary);
    line-height: 1.8;
}

.features {
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

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

.feature-card {
    background: var(--surface);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border-left: 4px solid var(--accent-color);
}

.feature-card h3 {
    color: var(--primary-color);
    font-size: 1.3rem;
    margin-bottom: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.feature-icon {
    font-size: 1.8rem;
}

.faq {
    padding: 4rem 2rem;
    background: white;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    margin-bottom: 1rem;
    background: var(--surface);
    border-radius: 12px;
    padding: 0;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
    cursor: pointer;
}

.faq-item:hover {
    border-color: var(--secondary-color);
    box-shadow: var(--shadow-md);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    user-select: none;
}

.faq-item h3 {
    color: var(--secondary-dark);
    font-size: 1.2rem;
    margin: 0;
    flex: 1;
}

.faq-toggle {
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--secondary-color);
    color: white;
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: 300;
    transition: all 0.3s ease;
    flex-shrink: 0;
    margin-left: 1rem;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
    background: var(--primary-color);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
}

.faq-item.active .faq-answer {
    max-height: 500px;
    padding: 0 1.5rem 1.5rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.7;
    margin: 0;
}

.footer-cta {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-light));
    color: white;
    text-align: center;
    padding: 4rem 2rem;
}

.footer-cta h2 {
    color: white;
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.footer-cta h2::after {
    display: none;
}

.footer-cta p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: white;
}

/* ========================================
   Footer Styles
   ======================================== */

.site-footer {
    background: linear-gradient(135deg, #2b2d42 0%, #1a1b2e 100%);
    color: white;
    margin-top: 4rem;
    padding: 3rem 0 1.5rem;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h3 {
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: white;
}

.footer-section h4 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: #f093fb;
    font-weight: 600;
}

.footer-section p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.6;
    margin: 0;
}

.footer-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    transition: color 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    color: #f093fb;
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-bottom p {
    margin: 0.5rem 0;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.footer-heart {
    color: rgba(255, 255, 255, 0.7);
}

/* Footer Responsive */
@media (max-width: 768px) {
    .site-footer {
        padding: 2rem 0 1rem;
        margin-top: 3rem;
    }
    
    .footer-container {
        padding: 0 1rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .footer-section h3 {
        font-size: 1.25rem;
    }
    
    .footer-section h4 {
        font-size: 1rem;
    }
}

/* ========================================
   Navigation Styles
   ======================================== */

.main-nav {
    background: linear-gradient(135deg, #2b2d42 0%, #3a3d5c 100%);
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
    position: sticky;
    top: 0;
    z-index: 1000;
    padding: 0.5rem 0;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    text-decoration: none;
    transition: opacity 0.3s;
}

.nav-logo:hover {
    opacity: 0.8;
}

.nav-menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 0.5rem;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    padding: 0.75rem 1rem;
    border-radius: 6px;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s;
    display: block;
}

.nav-link:hover {
    background: rgba(255, 255, 255, 0.1);
}

.nav-link-primary {
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    box-shadow: 0 4px 15px rgba(230, 57, 70, 0.3);
}

.nav-link-primary:hover {
    background: linear-gradient(135deg, #d62828 0%, #c1121f 100%);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(230, 57, 70, 0.4);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    gap: 4px;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    border-radius: 3px;
    transition: all 0.3s;
}

.nav-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active span:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ========================================
   Content Pages (FAQ, Firmenwichteln, etc.)
   ======================================== */

.content-page {
    max-width: 1000px;
    margin: 0 auto;
    padding: 4rem 2rem;
}

.page-header {
    text-align: center;
    margin-bottom: 4rem;
    background: linear-gradient(135deg, #2b2d42 0%, #3a3d5c 100%);
    padding: 4rem 2rem;
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.12);
    position: relative;
    overflow: hidden;
}

.page-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: headerPulse 15s ease-in-out infinite;
}

.page-title {
    font-family: 'Playfair Display', serif;
    font-size: 3rem;
    color: #ffffff;
    margin-bottom: 1rem;
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

/* Emojis in page titles should display in full color */
.page-title::after {
    content: none;
}

.page-subtitle {
    font-size: 1.25rem;
    color: rgba(255, 255, 255, 0.95);
    max-width: 700px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
    text-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.breadcrumb {
    font-size: 0.9rem;
    color: #5f6368;
    margin-bottom: 2rem;
}

.breadcrumb a {
    color: #e63946;
    text-decoration: none;
}

.breadcrumb a:hover {
    text-decoration: underline;
}

.content-section {
    margin-bottom: 3rem;
}

.content-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2b2d42;
    margin-bottom: 1.5rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e63946;
}

.content-section h3 {
    font-size: 1.5rem;
    color: #2b2d42;
    margin: 2rem 0 1rem;
}

.content-section p {
    line-height: 1.8;
    margin-bottom: 1.5rem;
    color: #3a3d4a;
    font-size: 1.05rem;
}

.content-section ul, 
.content-section ol {
    margin-bottom: 1.5rem;
    padding-left: 2rem;
}

.content-section li {
    line-height: 1.8;
    margin-bottom: 0.75rem;
    color: #3a3d4a;
}

.highlight-box {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left: 4px solid #e63946;
    padding: 1.5rem;
    border-radius: 8px;
    margin: 2rem 0;
}

.highlight-box h3 {
    margin-top: 0;
    color: #e63946;
}

.highlight-box p {
    margin-bottom: 1rem;
    color: #3a3d4a;
}

.highlight-box ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.highlight-box li {
    line-height: 1.8;
    margin-bottom: 0.5rem;
    color: #3a3d4a;
}

.cta-section {
    background: linear-gradient(135deg, #e63946 0%, #d62828 100%);
    color: white;
    padding: 3rem;
    border-radius: 16px;
    text-align: center;
    margin: 4rem 0;
}

.cta-section h2 {
    color: white;
    border: none;
    margin-bottom: 1rem;
    background: none;
    -webkit-text-fill-color: white;
}

.cta-section p {
    color: rgba(255,255,255,0.95);
    margin-bottom: 2rem;
}

.cta-button-white {
    background: white;
    color: #e63946;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
}

.cta-button-white:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 25px rgba(0,0,0,0.3);
}

/* ========================================
   Variant Cards (Was ist Wichteln)
   ======================================== */

.variant-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.variant-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: transform 0.3s, box-shadow 0.3s;
}

.variant-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.12);
}

.variant-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.variant-card h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: #2b2d42;
}

.variant-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.6;
}

/* ========================================
   Idea Cards (Wichtel-Ideen)
   ======================================== */

.filter-tabs {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.filter-tab {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
}

.filter-tab:hover {
    border-color: #e63946;
    color: #e63946;
}

.filter-tab.active {
    background: #e63946;
    color: white;
    border-color: #e63946;
}

.ideas-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
    margin-bottom: 4rem;
}

.idea-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    transition: all 0.3s;
    border: 2px solid transparent;
}

.idea-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
    border-color: #e63946;
}

.idea-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.idea-category {
    display: inline-block;
    background: #f8f9fa;
    color: #5f6368;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.75rem;
}

.idea-title {
    font-size: 1.25rem;
    font-weight: 600;
    color: #2b2d42;
    margin-bottom: 0.75rem;
}

.idea-description {
    color: #5f6368;
    font-size: 0.95rem;
    line-height: 1.6;
    margin-bottom: 1rem;
}

.idea-price {
    color: #e63946;
    font-weight: 600;
    font-size: 1.1rem;
}

/* ========================================
   Step Cards (Firmenwichteln)
   ======================================== */

.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.step-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    position: relative;
}

.step-number {
    position: absolute;
    top: -15px;
    left: 2rem;
    background: #e63946;
    color: white;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.25rem;
}

.step-card h3 {
    margin: 1rem 0 1rem;
    font-size: 1.25rem;
    color: #2b2d42;
}

.step-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.6;
}

/* ========================================
   Benefit Cards (Firmenwichteln)
   ======================================== */

.benefits-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.benefit-card {
    background: white;
    border-radius: 12px;
    padding: 2rem;
    box-shadow: 0 4px 15px rgba(0,0,0,0.08);
    text-align: center;
}

.benefit-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.benefit-card h3 {
    margin: 0 0 1rem;
    font-size: 1.25rem;
    color: #2b2d42;
}

.benefit-card p {
    margin: 0;
    font-size: 0.95rem;
    color: #5f6368;
    line-height: 1.6;
}

/* ========================================
   Do's & Don'ts (Firmenwichteln)
   ======================================== */

.dos-donts {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin: 2rem 0;
}

.do-box, 
.dont-box {
    padding: 2rem;
    border-radius: 12px;
}

.do-box {
    background: #d4edda;
    border: 2px solid #28a745;
}

.dont-box {
    background: #f8d7da;
    border: 2px solid #dc3545;
}

.do-box h3 {
    color: #28a745;
    margin-top: 0;
}

.dont-box h3 {
    color: #dc3545;
    margin-top: 0;
}

.do-box ul, 
.dont-box ul {
    margin: 0;
    padding-left: 1.5rem;
}

/* ========================================
   FAQ Styles
   ======================================== */

.faq-categories {
    display: flex;
    gap: 1rem;
    justify-content: center;
    flex-wrap: wrap;
    margin-bottom: 3rem;
}

.faq-category-btn {
    padding: 0.75rem 1.5rem;
    background: white;
    border: 2px solid #e0e0e0;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s;
    font-weight: 500;
    color: #2b2d42;
}

.faq-category-btn:hover,
.faq-category-btn.active {
    background: #e63946;
    color: white;
    border-color: #e63946;
}

.faq-section {
    margin-bottom: 3rem;
}

.faq-section h2 {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    color: #2b2d42;
    margin-bottom: 2rem;
    padding-bottom: 0.5rem;
    border-bottom: 3px solid #e63946;
}

.faq-item {
    background: white;
    border-radius: 12px;
    margin-bottom: 1rem;
    box-shadow: 0 2px 10px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s;
}

.faq-item:hover {
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
}

.faq-question {
    padding: 1.5rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: #2b2d42;
    user-select: none;
}

.faq-question:hover {
    color: #e63946;
}

.faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s;
    color: #e63946;
}

.faq-item.active .faq-icon {
    transform: rotate(180deg);
}

.faq-answer {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease-out;
}

.faq-item.active .faq-answer {
    max-height: 1000px;
    padding: 0 1.5rem 1.5rem;
}

.faq-answer p {
    color: #3a3d4a;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.faq-answer ul {
    margin: 1rem 0;
    padding-left: 2rem;
}

.faq-answer li {
    color: #3a3d4a;
    line-height: 1.8;
    margin-bottom: 0.5rem;
}

.faq-answer strong {
    color: #2b2d42;
}

.faq-answer a {
    color: #e63946;
    text-decoration: none;
}

.faq-answer a:hover {
    text-decoration: underline;
}

/* ========================================
   Responsive Styles
   ======================================== */

/* Mobile Navigation */
@media (max-width: 968px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .nav-toggle {
        display: flex;
    }
    
    .nav-menu {
        position: absolute;
        top: 100%;
        left: 0;
        right: 0;
        background: linear-gradient(135deg, #2b2d42 0%, #3a3d5c 100%);
        flex-direction: column;
        gap: 0;
        padding: 1rem;
        box-shadow: 0 4px 20px rgba(0,0,0,0.2);
        max-height: 0;
        overflow: hidden;
        transition: max-height 0.3s ease-out;
    }
    
    .nav-menu.active {
        max-height: 500px;
    }
    
    .nav-link {
        width: 100%;
        text-align: center;
        padding: 1rem;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .content-page {
        padding: 2rem 1rem;
    }
    
    .page-header {
        padding: 3rem 1.5rem;
        margin-bottom: 3rem;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .page-subtitle {
        font-size: 1.1rem;
    }
    
    .content-section h2 {
        font-size: 1.5rem;
    }
    
    .faq-question {
        font-size: 1rem;
        padding: 1.25rem;
    }
    
    .dos-donts {
        grid-template-columns: 1fr;
    }
    
    .ideas-grid {
        grid-template-columns: 1fr;
    }
}

/* ========================================
   Admin Page Styles
   ======================================== */

/* Participants Grid Layout */
.participants-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

/* Participant Card */
.participant-card {
    background: white;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s ease;
}

.participant-card:hover {
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12);
    border-color: var(--secondary-color);
}

/* Participant Header */
.participant-header {
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.participant-info {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.participant-name {
    margin: 0;
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.participant-email {
    font-size: 0.95rem;
}

.email-display {
    color: var(--text-secondary);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.email-missing {
    color: #999;
    font-style: italic;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Participant Actions */
.participant-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.action-btn {
    flex: 1;
    min-width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    padding: 0.75rem 1rem;
    border: 2px solid;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    text-decoration: none;
}

.btn-icon {
    font-size: 1.2rem;
}

.btn-text {
    white-space: nowrap;
}

/* Copy Button */
.copy-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-color: #667eea;
    color: white;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(102, 126, 234, 0.4);
}

/* Email Button */
.email-btn {
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-color: #f5576c;
    color: white;
}

.email-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(245, 87, 108, 0.4);
}

/* Delete Button */
.delete-btn {
    background: linear-gradient(135deg, #fa709a 0%, #fee140 100%);
    border-color: #fa709a;
    color: #333;
}

.delete-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(250, 112, 154, 0.4);
}

/* Disabled button state */
.action-btn.disabled,
.action-btn:disabled {
    background: linear-gradient(135deg, #cccccc 0%, #999999 100%) !important;
    border-color: #cccccc !important;
    color: #666666 !important;
    cursor: not-allowed !important;
    opacity: 0.6;
}

.action-btn.disabled:hover,
.action-btn:disabled:hover {
    transform: none !important;
    box-shadow: 0 2px 8px rgba(0,0,0,0.08) !important;
}

.action-form {
    flex: 1;
    min-width: 140px;
    margin: 0;
    padding: 0;
    border: none;
    background: none;
}

.action-form .action-btn {
    width: 100%;
    margin: 0;
}

/* Email Edit Section */
.participant-email-edit {
    margin-top: 1rem;
    padding-top: 1rem;
    border-top: 1px dashed var(--border-color);
}

.email-edit-form {
    width: 100%;
}

.email-edit-group {
    display: flex;
    gap: 0.5rem;
}

.email-edit-input {
    flex: 1;
    padding: 0.7rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-size: 0.95rem;
    transition: border-color 0.2s;
}

.email-edit-input:focus {
    outline: none;
    border-color: var(--secondary-color);
}

.email-edit-btn {
    padding: 0.7rem 1.2rem;
    background: var(--secondary-color);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 600;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s;
}

.email-edit-btn:hover {
    background: #c0392b;
    transform: translateY(-2px);
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem 1rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    border-radius: 12px;
    margin-top: 1.5rem;
}

.empty-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.empty-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0 0 0.5rem 0;
}

.empty-hint {
    color: var(--text-secondary);
    margin: 0;
}

/* ========================================
   Participant Page Styles - Modern Design
   ======================================== */

/* Welcome/Info Card */
.participant-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.3);
    color: white;
}

.participant-welcome {
    text-align: center;
}

.participant-greeting {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    margin: 0 0 0.5rem 0;
    color: white;
}

.participant-group-name {
    font-size: 1.1rem;
    margin: 0;
    color: white;
    opacity: 0.95;
}

/* Partner Reveal Card */
.partner-reveal-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 2px solid #f093fb;
}

.partner-reveal-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid #f093fb;
}

.partner-reveal-icon {
    font-size: 2rem;
}

.partner-reveal-title {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: var(--primary-color);
}

.partner-name-container {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border-radius: 12px;
    margin-bottom: 2rem;
}

.partner-name {
    font-size: 2rem;
    font-weight: 700;
    margin: 0;
    color: white;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.partner-wishlist-section {
    margin-top: 1.5rem;
}

.wishlist-heading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.25rem;
    margin-bottom: 1rem;
    color: var(--text-color);
}

.wishlist-icon {
    font-size: 1.5rem;
}

.wishlist-display {
    background: #f8f9fa;
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--secondary-color);
}

.wishlist-display p {
    margin: 0;
    white-space: pre-wrap;
    line-height: 1.6;
    color: var(--text-color);
}

.wishlist-display.locked {
    background: #fff9e6;
    border-left-color: #ffc107;
}

.wishlist-locked-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-weight: 600;
    color: #f57c00;
}

.lock-icon {
    font-size: 1.25rem;
}

.empty-wishlist {
    text-align: center;
    padding: 2rem;
    background: #f8f9fa;
    border-radius: 12px;
    border: 2px dashed #dee2e6;
}

.empty-wishlist-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 0.5rem;
}

.empty-wishlist p {
    margin: 0;
    color: var(--text-muted);
}

/* Section Cards */
.section-card {
    background: white;
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
}

.section-card-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.section-icon {
    font-size: 1.75rem;
}

.section-card h2 {
    margin: 0;
    font-family: 'Playfair Display', serif;
    font-size: 1.5rem;
    color: var(--text-color);
}

.section-description {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

/* Waiting Card */
.waiting-card {
    text-align: center;
    padding: 3rem 2rem;
}

.waiting-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
}

.waiting-card h2 {
    margin-bottom: 1rem;
}

.waiting-card p {
    color: var(--text-muted);
    margin: 0;
}

/* Wishlist Form */
.wishlist-form {
    margin-top: 1rem;
}

.form-label {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 0.5rem;
}

.form-hint {
    font-size: 0.875rem;
    font-weight: 400;
    color: var(--text-muted);
}

.form-textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 8px;
    font-family: inherit;
    font-size: 1rem;
    line-height: 1.6;
    resize: vertical;
    transition: border-color 0.3s ease;
}

.form-textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Group Info Grid */
.group-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
}

.group-info-item {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.group-info-item.full-width {
    grid-column: 1 / -1;
}

.info-label {
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-muted);
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-value {
    font-size: 1.1rem;
    color: var(--text-color);
    font-weight: 500;
}

/* Link Display Container */
.link-display-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.link-display {
    background: #f8f9fa;
    padding: 1rem;
    border-radius: 8px;
    border: 2px solid var(--border-color);
    overflow-x: auto;
    font-size: 0.9rem;
    color: var(--text-color);
    margin: 0;
}

.copy-btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    align-self: flex-start;
}

.copy-btn span:first-child {
    font-size: 1.25rem;
}

/* Multi-Group Navigation */
.multi-group-nav {
    background: linear-gradient(135deg, #36d1dc 0%, #5b86e5 100%);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 4px 15px rgba(54, 209, 220, 0.3);
}

.multi-group-text {
    color: white;
    font-size: 1.1rem;
    font-weight: 500;
    margin: 0 0 1rem 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.multi-group-icon {
    font-size: 1.5rem;
}

.multi-group-nav .button {
    background: white;
    color: #5b86e5;
    font-weight: 600;
}

.multi-group-nav .button:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

/* Ad Container */
.ad-container {
    margin: 2rem 0;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
    text-align: center;
    border: 1px solid #e0e0e0;
}

.ad-label {
    font-size: 0.75rem;
    color: #999;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
    letter-spacing: 0.5px;
}

.ad-test-placeholder {
    background: #e3f2fd;
    border: 3px dashed #2196F3;
    display: flex;
    align-items: center;
    justify-content: center;
       color: #1976D2;
    font-size: 1rem;
    font-family: monospace;
    font-weight: bold;
    padding: 2rem;
    min-height: 250px;
    text-align: center;
}

/* Info Icon */
.info-icon {
    font-size: 1rem;
    margin-right: 0.25rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .participant-greeting {
        font-size: 1.75rem;
    }
    
    .participant-group-name {
        font-size: 1rem;
    }
    
    .partner-reveal-card,
    .section-card {
        padding: 1.5rem;
    }
    
    .partner-name {
        font-size: 1.75rem;
    }
    
    .group-info-grid {
        grid-template-columns: 1fr;
    }
    
    .link-display {
        font-size: 0.8rem;
    }
}

@media (max-width: 480px) {
    .participant-info-card {
        padding: 1.5rem;
    }
    
    .participant-greeting {
        font-size: 1.5rem;
    }
    
    .partner-reveal-header {
        flex-direction: column;
        text-align: center;
    }
    
    .partner-reveal-title {
        font-size: 1.5rem;
    }
    
    .partner-name {
        font-size: 1.5rem;
    }
    
    .wishlist-heading {
        font-size: 1.1rem;
    }
    
    .section-card-header {
        flex-direction: column;
        text-align: center;
    }
    
    .link-display {
        font-size: 0.75rem;
    }
}

/* ================================
   Group Selector Styles
   ================================ */

.group-selector {
    max-width: 800px;
    margin: 3rem auto;
    padding: 2rem;
}

.group-selector h1 {
    font-family: 'Playfair Display', serif;
    font-size: 2.5rem;
    color: #2b2d42;
    text-align: center;
    margin-bottom: 1rem;
}

.group-selector > p {
    text-align: center;
    color: #64748b;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

#group-selector-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.group-card {
    background: white;
    border: 3px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: block;
    position: relative;
}

.group-card:hover {
    border-color: #667eea;
    box-shadow: 0 8px 20px rgba(102, 126, 234, 0.15);
    transform: translateY(-2px);
}

.group-card input[type="radio"] {
    position: absolute;
    opacity: 0;
    width: 0;
    height: 0;
}

.group-card input[type="radio"]:checked ~ .group-card-content {
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1) 0%, rgba(118, 75, 162, 0.1) 100%);
}

.group-card input[type="radio"]:checked ~ .group-card-content::before {
    content: '✓';
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 1.2rem;
}

.group-card-content {
    position: relative;
    padding: 1rem;
    border-radius: 12px;
    transition: all 0.3s ease;
}

.group-card-header {
    display: flex;
    justify-content: space-between;
    align-items: start;
    gap: 1rem;
}

.group-name {
    font-family: 'Playfair Display', serif;
    font-size: 1.75rem;
    color: #2b2d42;
    margin: 0 0 0.5rem 0;
}

.group-participant {
    color: #64748b;
    font-size: 1rem;
    margin: 0;
}

.group-participant strong {
    color: #2b2d42;
    font-weight: 600;
}

.group-status {
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    white-space: nowrap;
    flex-shrink: 0;
}

.status-drawn {
    background: linear-gradient(135deg, #10b981 0%, #059669 100%);
    color: white;
}

.status-pending {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
    color: white;
}

.submit-container {
    margin-top: 1rem;
    display: flex;
    justify-content: center;
}

.group-submit-button {
    background: linear-gradient(135deg, #cccccc 0%, #999999 100%);
    color: white;
    border: none;
    padding: 1rem 3rem;
    font-size: 1.1rem;
    font-weight: 600;
    border-radius: 12px;
    cursor: not-allowed;
    transition: all 0.3s ease;
    opacity: 0.6;
}

.group-submit-button.enabled {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    cursor: pointer;
    opacity: 1;
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}

.group-submit-button.enabled:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.4);
}

/* Responsive Design for Group Selector */
@media (max-width: 768px) {
    .group-selector {
        padding: 1rem;
        margin: 2rem auto;
    }
    
    .group-selector h1 {
        font-size: 2rem;
    }
    
    .group-selector > p {
        font-size: 1rem;
    }
    
    .group-card {
        padding: 1rem;
    }
    
    .group-card-header {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .group-name {
        font-size: 1.5rem;
    }
    
    .group-status {
        align-self: flex-start;
    }
    
    .group-submit-button {
        padding: 0.875rem 2rem;
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .group-selector h1 {
        font-size: 1.75rem;
    }
    
    .group-name {
        font-size: 1.25rem;
    }
    
    .group-card {
        padding: 0.75rem;
    }
}


