/* ==================== GENERAL STYLES ==================== */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-orange: #FF6B35;
    --dark-gray: #2D2D2D;
    --light-gray: #F5F5F5;
    --medium-gray: #999999;
    --black: #000000;
    --white: #FFFFFF;
    --transition: all 0.3s ease;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    color: var(--dark-gray);
    background-color: var(--white);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ==================== NAVIGATION ==================== */

.navbar {
    background-color: var(--black);
    padding: 1rem 0;
    position: sticky;
    top: 0;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
    color: var(--primary-orange);
    text-decoration: none;
    font-size: 1.5rem;
}

.logo h1 {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--primary-orange);
}

.logo-icon {
    font-size: 2rem;
}

/* Logo image styling (used when `logo.png` is available) */
.logo-img {
    display: block;
    width: 56px;
    height: 56px;
    object-fit: contain;
    border-radius: 8px;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: var(--white);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
    position: relative;
}

.nav-links a:hover {
    color: var(--primary-orange);
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--primary-orange);
    transition: var(--transition);
}

.nav-links a:hover::after {
    width: 100%;
}

/* ==================== HERO SECTION ==================== */

.hero {
    background: linear-gradient(135deg, var(--black) 0%, var(--dark-gray) 100%);
    color: var(--white);
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 600px;
    height: 600px;
    background-color: var(--primary-orange);
    border-radius: 50%;
    opacity: 0.1;
    animation: float 6s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(30px); }
}

.hero .container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    align-items: center;
    gap: 4rem;
    position: relative;
    z-index: 1;
}

.hero-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
    line-height: 1.2;
    color: var(--white);
}

.hero-title {
    background: linear-gradient(135deg, var(--primary-orange), #FF8C52);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light-gray);
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-placeholder {
    font-size: 200px;
    animation: bounce 3s ease-in-out infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

/* ==================== BUTTONS ==================== */

.btn {
    padding: 12px 30px;
    border: none;
    border-radius: 50px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-decoration: none;
    display: inline-block;
    text-align: center;
}

.btn-primary {
    background-color: var(--primary-orange);
    color: var(--white);
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-primary:hover {
    background-color: #E55A1F;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 53, 0.4);
}

.btn-secondary {
    background-color: var(--white);
    color: #2D2D2D;
    border: 2px solid var(--primary-orange);
}

.btn-secondary:hover {
    background-color: var(--primary-orange);
    color: var(--white);
    transform: translateY(-2px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

.btn-block {
    width: 100%;
}

/* ==================== FEATURES SECTION ==================== */

.features {
    padding: 80px 0;
    background-color: var(--white);
}

.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: var(--dark-gray);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: var(--primary-orange);
    margin: 1rem auto 0;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background-color: var(--light-gray);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    transition: var(--transition);
    border: 2px solid transparent;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-orange);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.feature-card p {
    color: var(--medium-gray);
    line-height: 1.8;
}

/* ==================== HOW IT WORKS SECTION ==================== */

.how-it-works {
    padding: 80px 0;
    background: linear-gradient(135deg, var(--light-gray) 0%, #E8E8E8 100%);
}

.steps {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    align-items: center;
}

.step {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

.step-number {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 50px;
    height: 50px;
    background-color: var(--primary-orange);
    color: var(--white);
    border-radius: 50%;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.step h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.step p {
    color: var(--medium-gray);
    font-size: 0.95rem;
}

.step-arrow {
    font-size: 2rem;
    color: var(--primary-orange);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* ==================== CTA SECTION ==================== */

.cta {
    background: linear-gradient(135deg, var(--primary-orange) 0%, #FF8C52 100%);
    color: var(--white);
    padding: 60px 0;
    text-align: center;
}

.cta h2 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.cta p {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.95;
}

/* ==================== FOOTER ==================== */

.footer {
    background-color: var(--black);
    color: var(--white);
    padding: 3rem 0 1rem;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    color: var(--primary-orange);
    margin-bottom: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section a {
    color: var(--light-gray);
    text-decoration: none;
    display: block;
    margin-bottom: 0.5rem;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-orange);
    transform: translateX(5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--medium-gray);
    color: var(--medium-gray);
}

/* ==================== MODAL STYLES ==================== */

.modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 200;
    animation: fadeIn 0.3s ease;
}

.modal-overlay.show {
    display: block;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 201;
    width: 90%;
    max-width: 500px;
    animation: slideIn 0.3s ease;
}

.modal.show {
    display: block;
}

@keyframes slideIn {
    from {
        transform: translate(-50%, -60%);
        opacity: 0;
    }
    to {
        transform: translate(-50%, -50%);
        opacity: 1;
    }
}

.modal-content {
    background-color: var(--white);
    padding: 2rem;
    border-radius: 15px;
    position: relative;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-content h2 {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.close {
    position: absolute;
    right: 15px;
    top: 15px;
    font-size: 2rem;
    font-weight: bold;
    color: var(--medium-gray);
    cursor: pointer;
    transition: var(--transition);
}

.close:hover {
    color: var(--primary-orange);
}

/* ==================== FORM STYLES ==================== */

.auth-form {
    margin-bottom: 1.5rem;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-gray);
}

.form-group input {
    width: 100%;
    padding: 12px;
    border: 2px solid var(--light-gray);
    border-radius: 8px;
    font-size: 1rem;
    transition: var(--transition);
    font-family: inherit;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.1);
}

.auth-switch {
    text-align: center;
    color: var(--medium-gray);
}

.auth-switch a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
    transition: var(--transition);
}

.auth-switch a:hover {
    text-decoration: underline;
}

/* ==================== AUTH PAGE (LOGIN.HTML) ==================== */

.auth-page {
    padding: 60px 0;
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    min-height: calc(100vh - 200px);
    position: relative;
    overflow: hidden;
}

/* Ice Background Effect */
.ice-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.8);
    font-size: 1.5rem;
    animation: fall linear infinite;
}

.snowflake:nth-child(1) {
    left: 10%;
    animation-duration: 12s;
    animation-delay: 0s;
}

.snowflake:nth-child(2) {
    left: 25%;
    animation-duration: 15s;
    animation-delay: 2s;
    font-size: 2rem;
}

.snowflake:nth-child(3) {
    left: 45%;
    animation-duration: 10s;
    animation-delay: 4s;
}

.snowflake:nth-child(4) {
    left: 65%;
    animation-duration: 14s;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.snowflake:nth-child(5) {
    left: 80%;
    animation-duration: 11s;
    animation-delay: 3s;
}

.snowflake:nth-child(6) {
    left: 90%;
    animation-duration: 13s;
    animation-delay: 5s;
    font-size: 2.2rem;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

/* Glassmorphism Container */
.auth-container {
    max-width: 500px;
    margin: 0 auto;
    background: rgba(255, 255, 255, 0.25);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    overflow: hidden;
    position: relative;
    z-index: 2;
}

/* Tabs */
.auth-tabs {
    display: flex;
    border-bottom: 2px solid rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.1);
}

.tab-button {
    flex: 1;
    padding: 1rem;
    border: none;
    background-color: transparent;
    font-size: 1rem;
    font-weight: 600;
    color: var(--dark-gray);
    cursor: pointer;
    transition: var(--transition);
    position: relative;
}

.tab-button:hover {
    background: rgba(255, 255, 255, 0.2);
}

.tab-button.tab-active {
    color: var(--primary-orange);
    background: rgba(255, 107, 53, 0.1);
}

.tab-button.tab-active::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    right: 0;
    height: 3px;
    background-color: var(--primary-orange);
}

/* Tab content */
.tab-content {
    display: none;
    padding: 2rem;
    animation: fadeIn 0.3s ease;
}

.tab-content.tab-active {
    display: block;
}

.tab-content h2 {
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
    color: var(--dark-gray);
}

.tab-subtitle {
    color: var(--dark-gray);
    margin-bottom: 1.5rem;
    font-size: 0.95rem;
    opacity: 0.8;
}

/* Form styles for auth page */
.auth-page .form-group input {
    background: rgba(255, 255, 255, 0.6);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.5);
}

.auth-page .form-group input:focus {
    background: rgba(255, 255, 255, 0.8);
    border-color: var(--primary-orange);
    box-shadow: 0 0 0 3px rgba(255, 107, 53, 0.2);
}

/* Form checkbox */
.form-checkbox {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.form-checkbox input[type="checkbox"] {
    width: auto;
    margin: 0;
    cursor: pointer;
    accent-color: var(--primary-orange);
}

.form-checkbox label {
    margin: 0;
    font-weight: 400;
    cursor: pointer;
    color: var(--dark-gray);
    font-size: 0.9rem;
}

.form-checkbox a {
    color: var(--primary-orange);
    text-decoration: none;
    font-weight: 600;
}

.form-checkbox a:hover {
    text-decoration: underline;
}

/* Forgot password link */
.forgot-password {
    display: block;
    text-align: center;
    color: var(--primary-orange);
    text-decoration: none;
    margin-top: 1rem;
    font-size: 0.9rem;
    font-weight: 600;
    transition: var(--transition);
}

.forgot-password:hover {
    text-decoration: underline;
}

/* Info Box */
.auth-info {
    background: rgba(255, 107, 53, 0.15);
    backdrop-filter: blur(10px);
    padding: 1.5rem;
    border-top: 2px solid rgba(255, 255, 255, 0.3);
}

.auth-info h3 {
    color: var(--dark-gray);
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.auth-info p {
    color: var(--dark-gray);
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.9;
}

/* ==================== RESPONSIVE DESIGN ==================== */

@media (max-width: 768px) {
    /* NAVBAR */
    .navbar {
        padding: 0.6rem 0;
    }
    .nav-content {
        gap: 1rem;
    }
    .logo-img {
        width: 44px;
        height: 44px;
    }
    .navbar .btn {
        padding: 8px 14px;
        font-size: 0.95rem;
        min-width: 120px;
    }

    /* HERO */
    .hero {
        padding: 50px 0;
    }
    .hero .container {
        grid-template-columns: 1fr;
        padding: 20px 0;
    }

    .hero-content {
        text-align: center;
        padding: 0 10px;
    }

    .hero-content h2 {
        font-size: 2.2rem;
        line-height: 1.15;
    }

    .hero-subtitle {
        font-size: 1.05rem;
        color: var(--light-gray);
        margin: 0 auto 1.25rem;
        max-width: 34rem;
    }

    .hero-placeholder {
        font-size: 100px;
        margin-top: 10px;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 0.75rem;
    }

    /* Buttons */
    .btn {
        width: 100%;
    }
    .navbar .btn {
        width: auto;
    }

    /* Features */
    .section-title {
        font-size: 1.9rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }

    .feature-card {
        padding: 1.25rem;
    }

    /* Steps */
    .steps {
        grid-template-columns: 1fr;
    }

    .step-arrow {
        transform: rotate(90deg);
        margin: 0.5rem 0;
    }

    /* CTA */
    .cta h2 {
        font-size: 1.6rem;
    }

    /* Modals */
    .modal {
        width: 96%;
    }

    /* Footer */
    .footer-content {
        grid-template-columns: 1fr;
    }

    /* Auth page */
    .auth-page {
        padding: 40px 0;
    }
    .auth-container {
        width: calc(100% - 32px);
        margin: 16px auto;
        border-radius: 15px;
    }
    .auth-tabs .tab-button {
        padding: 0.85rem;
        font-size: 0.95rem;
    }
    .tab-content {
        padding: 1.25rem;
    }
    .auth-info {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 0.5rem 0;
    }
    .logo-img {
        width: 40px;
        height: 40px;
    }

    .hero::before {
        width: 260px;
        height: 260px;
        top: -18%;
        right: -18%;
    }

    .hero-content h2 {
        font-size: 1.6rem;
    }

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-placeholder {
        font-size: 72px;
    }

    .nav-content {
        align-items: center;
    }

    .navbar .btn {
        padding: 7px 12px;
        font-size: 0.9rem;
        min-width: 100px;
    }

    .section-title {
        font-size: 1.4rem;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .modal-content {
        padding: 1rem;
    }

    /* Auth page mobile */
    .auth-container {
        width: calc(100% - 20px);
        margin: 10px auto;
        border-radius: 12px;
    }
    .tab-button {
        padding: 0.65rem;
        font-size: 0.9rem;
    }
    .tab-content h2 {
        font-size: 1.4rem;
    }
    .tab-subtitle {
        font-size: 0.9rem;
    }
    .snowflake {
        font-size: 1.2rem;
    }
}

/* ==================== DASHBOARD ==================== */

.dashboard-body {
    background: linear-gradient(135deg, #E3F2FD 0%, #BBDEFB 50%, #90CAF9 100%);
    min-height: 100vh;
    position: relative;
    overflow-x: hidden;
}

/* Schneeflocken für Dashboard */
.dashboard-body .ice-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.dashboard-body .snowflake {
    position: absolute;
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.5rem;
    animation: fall linear infinite;
    user-select: none;
}

.dashboard-body .snowflake:nth-child(1) {
    left: 5%;
    animation-duration: 11s;
    animation-delay: 0s;
    font-size: 1.8rem;
}

.dashboard-body .snowflake:nth-child(2) {
    left: 12%;
    animation-duration: 13s;
    animation-delay: 1s;
    font-size: 1.4rem;
}

.dashboard-body .snowflake:nth-child(3) {
    left: 20%;
    animation-duration: 9s;
    animation-delay: 3s;
    font-size: 2rem;
}

.dashboard-body .snowflake:nth-child(4) {
    left: 30%;
    animation-duration: 14s;
    animation-delay: 0.5s;
    font-size: 1.6rem;
}

.dashboard-body .snowflake:nth-child(5) {
    left: 38%;
    animation-duration: 10s;
    animation-delay: 2s;
    font-size: 1.5rem;
}

.dashboard-body .snowflake:nth-child(6) {
    left: 47%;
    animation-duration: 12s;
    animation-delay: 4s;
    font-size: 1.9rem;
}

.dashboard-body .snowflake:nth-child(7) {
    left: 55%;
    animation-duration: 11s;
    animation-delay: 1.5s;
    font-size: 1.7rem;
}

.dashboard-body .snowflake:nth-child(8) {
    left: 63%;
    animation-duration: 13s;
    animation-delay: 2.5s;
    font-size: 1.4rem;
}

.dashboard-body .snowflake:nth-child(9) {
    left: 71%;
    animation-duration: 10s;
    animation-delay: 0s;
    font-size: 2.1rem;
}

.dashboard-body .snowflake:nth-child(10) {
    left: 78%;
    animation-duration: 14s;
    animation-delay: 3.5s;
    font-size: 1.6rem;
}

.dashboard-body .snowflake:nth-child(11) {
    left: 85%;
    animation-duration: 9s;
    animation-delay: 1s;
    font-size: 1.8rem;
}

.dashboard-body .snowflake:nth-child(12) {
    left: 92%;
    animation-duration: 12s;
    animation-delay: 4.5s;
    font-size: 1.5rem;
}

.dashboard-body .snowflake:nth-child(13) {
    left: 17%;
    animation-duration: 15s;
    animation-delay: 2s;
    font-size: 1.3rem;
}

.dashboard-body .snowflake:nth-child(14) {
    left: 43%;
    animation-duration: 11s;
    animation-delay: 5s;
    font-size: 1.9rem;
}

.dashboard-body .snowflake:nth-child(15) {
    left: 67%;
    animation-duration: 10s;
    animation-delay: 3s;
    font-size: 2rem;
}

@keyframes fall {
    0% {
        top: -10%;
        transform: translateX(0) rotate(0deg);
    }
    100% {
        top: 110%;
        transform: translateX(100px) rotate(360deg);
    }
}

/* Dashboard Navigation */
.dashboard-nav {
    background: var(--black);
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    position: sticky;
    top: 0;
    z-index: 100;
}

.nav-left .dashboard-logo img {
    width: 56px;
    height: 56px;
    object-fit: contain;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 2rem;
}

.notification-icon {
    font-size: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.notification-icon:hover {
    transform: scale(1.1);
}

.bell {
    filter: drop-shadow(0 0 5px rgba(255, 215, 0, 0.5));
}

/* Profile Menu */
.profile-menu {
    position: relative;
}

.profile-trigger {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    padding: 0.5rem;
    border-radius: 50px;
    transition: background 0.3s ease;
}

.profile-trigger:hover {
    background: rgba(255, 107, 53, 0.1);
}

.profile-image {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    background: var(--primary-orange);
    border: 3px solid var(--primary-orange);
    cursor: pointer;
    transition: transform 0.3s ease, border-color 0.3s ease;
}

.profile-image:hover {
    transform: scale(1.05);
    border-color: #FF8C52;
}

.profile-text {
    display: none;
}

/* Profile Dropdown */
.profile-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: 0.5rem;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    overflow: hidden;
}

.profile-dropdown.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--dark-gray);
    text-decoration: none;
    transition: background 0.2s ease;
    font-weight: 500;
}

.dropdown-item:hover {
    background: rgba(255, 107, 53, 0.1);
}

.dropdown-icon {
    font-size: 1.2rem;
}

.dropdown-divider {
    height: 1px;
    background: #e0e0e0;
    margin: 0.5rem 0;
}

.logout-item {
    color: #dc3545;
    font-weight: 600;
}

.logout-item:hover {
    background: rgba(220, 53, 69, 0.1);
}

/* Dashboard Container */
.dashboard-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 3rem 2rem;
    position: relative;
    z-index: 2;
}

.dashboard-welcome {
    color: var(--dark-gray);
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 0.7fr;
    grid-template-rows: 1fr 1fr;
    gap: 2rem;
    max-width: 1500px;
    min-height: 600px;
}

/* Dashboard Cards - Glassmorphism mit Orange */
.dashboard-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 30px;
    padding: 2.5rem;
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s ease;
    box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 138, 82, 0.4), rgba(255, 107, 53, 0.5));
    opacity: 0;
    transition: opacity 0.4s ease;
    border-radius: 30px;
}

.dashboard-card:hover::before {
    opacity: 1;
}

.dashboard-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 50px 0 rgba(255, 107, 53, 0.35);
    border-color: rgba(255, 107, 53, 0.6);
}

/* Grid Positionen */
.card-tippgruppen {
    grid-column: 1;
    grid-row: 1 / 3;
}

.card-oeffentlich {
    grid-column: 2;
    grid-row: 1 / 3;
}

.card-tabelle-del {
    grid-column: 3;
    grid-row: 1;
}

.card-tabelle-del2 {
    grid-column: 3;
    grid-row: 2;
}

.card-content {
    text-align: center;
    position: relative;
    z-index: 1;
}

/* Mini Standings in Dashboard Card */
.mini-loader {
    padding: 20px;
    text-align: center;
}

.mini-spinner {
    width: 30px;
    height: 30px;
    margin: 0 auto;
    border: 3px solid rgba(255, 107, 53, 0.2);
    border-top-color: #FF6B35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

.mini-error {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

.mini-standings-table {
    padding: 15px 10px 10px;
}

.mini-standing-row {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 8px;
    margin-bottom: 4px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 6px;
    font-size: 0.85rem;
    transition: background 0.2s ease;
}

.mini-standing-row:hover {
    background: rgba(255, 255, 255, 0.1);
}

.mini-pos {
    color: #FF6B35;
    font-weight: 700;
    min-width: 22px;
    text-align: center;
    font-size: 0.9rem;
}

.mini-team {
    flex: 1;
    color: var(--black);
    font-weight: 600;
    text-align: left;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.mini-pts {
    color: var(--black);
    font-weight: 700;
    min-width: 30px;
    text-align: right;
}

.card-title {
    font-size: 2.2rem;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.card-title-small {
    font-size: 1.6rem;
    color: var(--black);
    font-weight: 700;
    margin-bottom: 10px;
}

.card-icon {
    margin-top: 1.5rem;
}

.emoji-icon {
    font-size: 6rem;
    display: block;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.2));
}

/* Responsive Dashboard */
@media (max-width: 1024px) {
    .dashboard-grid {
        grid-template-columns: 1fr 1fr;
        grid-template-rows: auto;
    }
    
    .card-tippgruppen, .card-oeffentlich, .card-tabelle-del, .card-tabelle-del2 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .emoji-icon {
        font-size: 5rem;
    }
}

@media (max-width: 768px) {
    .dashboard-nav {
        padding: 1rem;
    }
    
    .nav-right {
        gap: 1rem;
    }
    
    .dashboard-container {
        padding: 2rem 1rem;
    }
    
    .dashboard-welcome {
        font-size: 1.8rem;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .card-tippgruppen, .card-oeffentlich, .card-tabelle-del, .card-tabelle-del2 {
        grid-column: span 1;
        grid-row: span 1;
    }
    
    .card-title {
        font-size: 2rem;
    }
    
    .card-title-small {
        font-size: 1.5rem;
    }
    
    .emoji-icon {
        font-size: 5rem;
    }
}

/* ====================================
   TIPPGRUPPEN SEITE
   ==================================== */

.tippgruppen-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.tippgruppen-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    flex-wrap: wrap;
    gap: 1rem;
}

.tippgruppen-header h1 {
    color: #2D2D2D;
    font-size: 2.5rem;
    margin: 0;
}

.header-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.btn-join-group {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A5B 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-join-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.btn-create-group {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A5B 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 15px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    box-shadow: 0 4px 15px rgba(255, 107, 53, 0.3);
}

.btn-create-group span {
    font-size: 1.5rem;
    font-weight: bold;
}

.btn-create-group:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

/* Gruppen Grid */
.groups-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Gruppenkarte */
.group-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 2rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.group-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 48px rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.6);
}

.group-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.group-header h3 {
    margin: 0;
    color: #2D2D2D;
    font-size: 1.5rem;
}

.admin-badge {
    background: #FF6B35;
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 600;
}

.group-description {
    color: #555;
    font-size: 0.95rem;
    line-height: 1.5;
    margin: 0;
    min-height: 3rem;
}

.group-info {
    display: flex;
    flex-direction: column;
    gap: 0.8rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 10px;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.info-label {
    font-weight: 600;
    color: #2D2D2D;
    font-size: 0.9rem;
}

.info-value {
    color: #555;
    font-size: 0.9rem;
}

.info-value.code {
    font-family: 'Courier New', monospace;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.3rem 0.8rem;
    border-radius: 5px;
    font-weight: 600;
    color: #FF6B35;
    letter-spacing: 1px;
}

.group-actions {
    margin-top: auto;
    padding-top: 1rem;
}

.btn-secondary {
    display: block;
    width: 100%;
    padding: 0.8rem;
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    border: 2px solid #FF6B35;
    border-radius: 10px;
    text-align: center;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #FF6B35;
    color: white;
}

/* Loading & No Groups Messages */
.loading-message,
.no-groups-message {
    grid-column: 1 / -1;
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
}

.no-groups-message h3 {
    color: #2D2D2D;
    font-size: 1.8rem;
    margin-bottom: 1rem;
}

.no-groups-message p {
    color: #555;
    font-size: 1.1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
    align-items: center;
    justify-content: center;
}

.modal-content {
    position: relative;
    max-width: 500px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    padding: 2.5rem;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.25) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.modal-content h2 {
    color: #2D2D2D;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 2rem;
    font-weight: bold;
    color: #2D2D2D;
    cursor: pointer;
    transition: color 0.3s ease;
}

.close:hover {
    color: #FF6B35;
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    color: #2D2D2D;
    font-weight: 600;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 0.8rem;
    border: 2px solid rgba(255, 255, 255, 0.6);
    border-radius: 10px;
    font-size: 1rem;
    background: rgba(255, 255, 255, 0.5);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF6B35;
    background: rgba(255, 255, 255, 0.7);
}

.btn-primary {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #FF6B35 0%, #FF8A5B 100%);
    color: white;
    border: none;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 107, 53, 0.4);
}

.message-box {
    margin-top: 1rem;
}

.message-box .success {
    color: #28a745;
    background: rgba(40, 167, 69, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #28a745;
}

.message-box .error {
    color: #dc3545;
    background: rgba(220, 53, 69, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border-left: 4px solid #dc3545;
}

/* Responsive */
@media (max-width: 768px) {
    .tippgruppen-header {
        flex-direction: column;
        align-items: flex-start;
    }
    
    .tippgruppen-header h1 {
        font-size: 2rem;
    }
    
    .header-buttons {
        width: 100%;
    }
    
    .btn-create-group,
    .btn-join-group {
        width: 100%;
        justify-content: center;
    }
    
    .groups-grid {
        grid-template-columns: 1fr;
    }
}

/* ====================================
   GRUPPEN DETAIL SEITE
   ==================================== */

.group-detail-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 2;
}

.back-button-wrapper {
    margin-bottom: 2rem;
}

.btn-back {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(255, 255, 255, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-radius: 10px;
    color: #2D2D2D;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-back:hover {
    background: rgba(255, 107, 53, 0.2);
    border-color: rgba(255, 107, 53, 0.5);
    transform: translateX(-5px);
}

/* Gruppeninfo Header */
.group-info-header {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
    margin-bottom: 2rem;
}

.group-title-section {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.group-title-section h1 {
    margin: 0;
    color: #2D2D2D;
    font-size: 2.5rem;
}

.group-description-text {
    color: #555;
    font-size: 1.1rem;
    margin: 1rem 0;
    line-height: 1.6;
}

.group-meta-info {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.1);
}

.meta-item {
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.meta-label {
    font-size: 0.85rem;
    color: #666;
    font-weight: 500;
}

.meta-value {
    font-size: 1.1rem;
    color: #2D2D2D;
    font-weight: 600;
}

.code-display {
    font-family: 'Courier New', monospace;
    background: rgba(255, 107, 53, 0.1);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    color: #FF6B35;
    letter-spacing: 2px;
    display: inline-block;
}

/* Mitglieder Sektion */
.members-section {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.25) 0%, rgba(255, 255, 255, 0.15) 100%);
    backdrop-filter: blur(30px);
    -webkit-backdrop-filter: blur(30px);
    border-radius: 20px;
    padding: 2.5rem;
    border: 2px solid rgba(255, 255, 255, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.members-section h2 {
    margin: 0 0 2rem 0;
    color: #2D2D2D;
    font-size: 2rem;
}

.members-table-wrapper {
    overflow-x: auto;
}

.members-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0;
}

.members-table thead {
    background: rgba(255, 107, 53, 0.1);
}

.members-table thead th {
    padding: 1rem 1.5rem;
    text-align: left;
    color: #2D2D2D;
    font-weight: 700;
    font-size: 0.95rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.members-table thead th:first-child {
    border-radius: 10px 0 0 0;
}

.members-table thead th:last-child {
    border-radius: 0 10px 0 0;
}

.members-table tbody tr {
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.members-table tbody tr:hover {
    background: rgba(255, 107, 53, 0.1);
    transform: scale(1.01);
}

.members-table tbody tr.current-user {
    background: rgba(255, 107, 53, 0.15);
    border-left: 4px solid #FF6B35;
}

.members-table tbody tr.current-user:hover {
    background: rgba(255, 107, 53, 0.2);
}

.members-table tbody td {
    padding: 1.2rem 1.5rem;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.members-table tbody tr:last-child td:first-child {
    border-radius: 0 0 0 10px;
}

.members-table tbody tr:last-child td:last-child {
    border-radius: 0 0 10px 0;
}

/* Tabellen Spalten */
.col-rank {
    width: 100px;
    text-align: center;
}

.col-name {
    width: auto;
}

.col-points {
    width: 150px;
    text-align: right;
}

/* Rang Badge */
.rank-badge {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    min-width: 40px;
    height: 40px;
    font-size: 1.5rem;
    font-weight: 700;
}

.rank-badge.rank-1,
.rank-badge.rank-2,
.rank-badge.rank-3 {
    font-size: 2rem;
}

/* Member Info */
.member-info {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.member-avatar {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #FF6B35;
}

.member-name {
    font-weight: 600;
    color: #2D2D2D;
    font-size: 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.you-badge {
    background: #FF6B35;
    color: white;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 700;
}

.role-badge {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    padding: 0.2rem 0.6rem;
    border-radius: 5px;
    font-size: 0.75rem;
    font-weight: 600;
}

/* Punkte Anzeige */
.points-value {
    font-size: 1.3rem;
    font-weight: 700;
    color: #FF6B35;
}

/* Responsive */
@media (max-width: 768px) {
    .group-detail-container {
        padding: 1rem;
    }
    
    .group-info-header {
        padding: 1.5rem;
    }
    
    .group-title-section h1 {
        font-size: 1.8rem;
    }
    
    .group-meta-info {
        gap: 1rem;
    }
    
    .members-section {
        padding: 1.5rem;
    }
    
    .members-section h2 {
        font-size: 1.5rem;
    }
    
    .members-table thead th,
    .members-table tbody td {
        padding: 0.8rem;
    }
    
    .member-avatar {
        width: 35px;
        height: 35px;
    }
    
    .col-rank {
        width: 60px;
    }
    
    .col-points {
        width: 100px;
    }
    
    .points-value {
        font-size: 1.1rem;
    }
}

/* === DEL Spiele / Matches Section === */
.matches-section {
    margin-bottom: 40px;
}

.matches-section h2 {
    color: #fff;
    font-size: 1.8rem;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Match Tabs */
.match-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
}

.tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 12px 24px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    bottom: -2px;
}

.tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.tab-btn.active {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
}

/* Tab Content */
.tab-content {
    display: none;
}

.tab-content.active {
    display: block;
}

/* Loading State */
.loading-state {
    text-align: center;
    padding: 60px 20px;
    color: rgba(255, 255, 255, 0.6);
}

.spinner {
    width: 50px;
    height: 50px;
    margin: 0 auto 20px;
    border: 4px solid rgba(255, 107, 53, 0.2);
    border-top-color: #FF6B35;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Empty State */
.empty-state,
.no-matches {
    text-align: center;
    padding: 40px 20px;
    color: rgba(255, 255, 255, 0.5);
    font-size: 1.1rem;
}

/* Match Card */
.match-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.match-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.match-card.live {
    border-color: rgba(255, 107, 53, 0.5);
    background: rgba(255, 107, 53, 0.08);
}

/* Match Header */
.match-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.match-date {
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.match-round {
    background: rgba(255, 107, 53, 0.2);
    color: #FF6B35;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 500;
}

/* Match Teams */
.match-teams {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    margin-bottom: 20px;
}

.team {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 12px;
}

.team.home {
    justify-content: flex-start;
}

.team.away {
    justify-content: flex-end;
    flex-direction: row-reverse;
}

.team-logo {
    width: 40px;
    height: 40px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px;
}

.team-name {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.score {
    font-size: 1.8rem;
    font-weight: 700;
    color: #FF6B35;
    min-width: 40px;
    text-align: center;
}

.match-separator {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.3);
    font-weight: 300;
    min-width: 60px;
    text-align: center;
}

.live-badge {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    padding: 4px 12px;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 1px;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Bet Section */
.bet-section {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 15px;
}

.bet-input-group {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.bet-input {
    width: 70px;
    height: 45px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
    text-align: center;
    transition: all 0.3s ease;
}

.bet-input:focus {
    outline: none;
    border-color: #FF6B35;
    background: rgba(255, 255, 255, 0.15);
}

.bet-input::placeholder {
    color: rgba(255, 255, 255, 0.3);
}

.bet-separator {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.5);
    font-weight: 300;
}

.btn-place-bet {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    border: none;
    padding: 10px 24px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    white-space: nowrap;
}

.btn-place-bet:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

.btn-place-bet:active {
    transform: translateY(0);
}

/* Bet Display */
.bet-display {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px;
}

.bet-display.locked {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.bet-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.bet-value {
    color: #FF6B35;
    font-size: 1.3rem;
    font-weight: 700;
}

.locked-icon {
    font-size: 1.2rem;
    opacity: 0.5;
}

.bet-deadline-info {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin: 0;
}

/* Bet Result */
.bet-result {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.points-earned {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
}

.points-earned.positive {
    background: rgba(76, 175, 80, 0.2);
    border: 1px solid rgba(76, 175, 80, 0.3);
}

.points-label {
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.9rem;
}

.points-amount {
    color: #4CAF50;
    font-size: 1.2rem;
    font-weight: 700;
}

.evaluation-pending {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .match-teams {
        flex-direction: column;
        gap: 10px;
    }
    
    .team {
        width: 100%;
        justify-content: center !important;
        flex-direction: row !important;
    }
    
    .match-separator {
        transform: rotate(90deg);
    }
    
    .bet-input-group {
        flex-wrap: wrap;
    }
    
    .bet-result {
        flex-direction: column;
        gap: 10px;
    }
    
    .match-tabs {
        overflow-x: auto;
        -webkit-overflow-scrolling: touch;
    }
    
    .tab-btn {
        white-space: nowrap;
        padding: 10px 16px;
        font-size: 0.9rem;
    }
}

/* === DEL Tabellenseite === */
.del-page-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

.del-page-header {
    text-align: center;
    margin-bottom: 40px;
}

.del-page-header h1 {
    color: #fff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 10px;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.del-subtitle {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.1rem;
    margin: 0;
}

/* DEL Tabs */
.del-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid rgba(255, 255, 255, 0.1);
    justify-content: center;
}

.del-tab-btn {
    background: transparent;
    border: none;
    color: rgba(255, 255, 255, 0.6);
    padding: 15px 30px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border-bottom: 3px solid transparent;
    position: relative;
    bottom: -2px;
}

.del-tab-btn:hover {
    color: rgba(255, 255, 255, 0.9);
}

.del-tab-btn.active {
    color: #FF6B35;
    border-bottom-color: #FF6B35;
}

/* DEL Tab Content */
.del-tab-content {
    display: none;
}

.del-tab-content.active {
    display: block;
}

/* Full Standings Table */
.full-standings-table {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    overflow-x: auto;
}

.full-standings {
    width: 100%;
    border-collapse: collapse;
}

.full-standings thead th {
    background: rgba(255, 107, 53, 0.1);
    color: #FF6B35;
    padding: 12px 10px;
    font-size: 0.9rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    border-bottom: 2px solid rgba(255, 107, 53, 0.3);
}

.full-standings tbody tr {
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: background 0.2s ease;
}

.full-standings tbody tr:hover {
    background: rgba(255, 255, 255, 0.08);
}

.full-standings tbody tr.playoff-zone {
    background: rgba(76, 175, 80, 0.05);
}

.full-standings tbody tr.relegation-zone {
    background: rgba(244, 67, 54, 0.05);
}

.full-standings tbody td {
    padding: 15px 10px;
    color: rgba(255, 255, 255, 0.9);
}

.col-pos {
    width: 60px;
    text-align: center;
}

.col-team {
    min-width: 200px;
}

.col-stat {
    width: 60px;
    text-align: center;
    color: rgba(255, 255, 255, 0.7);
}

.col-pts {
    width: 80px;
    text-align: center;
    font-size: 1.1rem;
    color: #FF6B35;
}

.position-badge {
    display: inline-block;
    min-width: 30px;
    padding: 5px 10px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.8);
}

.position-badge.top-3 {
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    color: #2D2D2D;
}

.team-cell {
    display: flex;
    align-items: center;
    gap: 12px;
}

.table-team-logo {
    width: 35px;
    height: 35px;
    object-fit: contain;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.05);
    padding: 4px;
}

.team-name-full {
    font-weight: 600;
    color: #fff;
}

.col-stat.positive {
    color: #4CAF50;
}

.col-stat.negative {
    color: #f44336;
}

/* Table Legend */
.table-legend {
    display: flex;
    gap: 30px;
    justify-content: center;
    margin-top: 20px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.legend-item {
    display: flex;
    align-items: center;
    gap: 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 0.9rem;
}

.legend-dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.legend-dot.playoff {
    background: #4CAF50;
}

.legend-dot.relegation {
    background: #f44336;
}

/* Public Match Cards */
.public-match-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    padding: 20px;
    margin-bottom: 15px;
    transition: all 0.3s ease;
}

.public-match-card:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(255, 107, 53, 0.3);
    transform: translateY(-2px);
}

.match-date-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.match-venue {
    text-align: center;
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.9rem;
    margin-top: 10px;
}

/* Error State */
.error-state {
    text-align: center;
    padding: 60px 20px;
}

.error-state p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.1rem;
    margin-bottom: 20px;
}

.btn-retry {
    background: linear-gradient(135deg, #FF6B35 0%, #FF8C42 100%);
    color: white;
    border: none;
    padding: 12px 30px;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-retry:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 107, 53, 0.4);
}

/* Responsive */
@media (max-width: 1024px) {
    .del-page-header h1 {
        font-size: 2rem;
    }
    
    .full-standings-table {
        padding: 15px;
    }
    
    .col-team {
        min-width: 150px;
    }
}

@media (max-width: 768px) {
    .del-tabs {
        overflow-x: auto;
        justify-content: flex-start;
        -webkit-overflow-scrolling: touch;
    }
    
    .del-tab-btn {
        padding: 12px 20px;
        font-size: 1rem;
        white-space: nowrap;
    }
    
    .full-standings thead th,
    .full-standings tbody td {
        padding: 10px 6px;
        font-size: 0.85rem;
    }
    
    .table-team-logo {
        width: 28px;
        height: 28px;
    }
    
    .team-name-full {
        font-size: 0.9rem;
    }
    
    .table-legend {
        flex-direction: column;
        align-items: center;
        gap: 10px;
    }
}

