:root {
    --ghui-green: #40C463;
}

body {
    margin: 0;
    padding: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background-color: #ffffff;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.logo-container {
    width: 300px;
    margin-bottom: 20px;
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-container img {
    width: 100%;
    height: auto;
}

.dashboard-link {
    position: fixed;
    bottom: 20px;
    right: 20px;
    padding: 8px 12px;
    background-color: rgba(255, 255, 255, 0.9);
    border: 1px solid var(--ghui-green);
    border-radius: 6px;
    text-decoration: none;
    color: var(--ghui-green);
    font-size: 14px;
    font-weight: 500;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    text-transform: lowercase;
    letter-spacing: -0.01em;
}

.dashboard-link:hover {
    background-color: var(--ghui-green);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 2px 8px rgba(64, 196, 99, 0.2);
}

.corner-trigger {
    position: fixed;
    bottom: 0;
    right: 0;
    width: 100px;
    height: 100px;
    -webkit-tap-highlight-color: transparent;
}

/* Desktop-spezifische Regeln */
@media (hover: hover) {
    .dashboard-link {
        opacity: 0;
        visibility: hidden;
    }

    .corner-trigger:hover + .dashboard-link,
    .dashboard-link:hover {
        opacity: 1;
        visibility: visible;
    }
}

/* Mobile-spezifische Regeln */
@media (hover: none) {
    .dashboard-link {
        opacity: 0;
        visibility: hidden;
        pointer-events: none;
    }

    .dashboard-link.show {
        opacity: 1;
        visibility: visible;
        pointer-events: auto;
    }
}