body {
    display: flex;
    justify-content: center;
    align-items: center;
    flex-direction: column;
    min-height: 100vh;
    margin: 0;
    padding: 40px 20px;
    box-sizing: border-box;
    background-color: #f0f0f0;
    font-family: Arial, sans-serif;
}

.container {
    display: flex;
    align-items: center;
    flex-direction: column;
    position: relative;
}

.description {
    display: none;
    font-size: max(14px, 1.4vw);
    color: #333;
    text-align: justify;
    max-width: 800px;
    margin-bottom: 20px;
    transition: opacity 1s ease-in-out;
    opacity: 0;
    white-space: pre-line;
}

.description.show {
    display: block;
    opacity: 1;
}

.logo-lines-container {
    display: flex;
    align-items: center;
    justify-content: center;
    width: max-content;
    min-height: 1em;
    transition: width 1s ease-in-out;
}

.logo {
    font-family: Arial, sans-serif;
    font-size: 10vw;
    font-weight: bold;
    margin-right: 20px;
    display: flex;
    transform: scale(1);
    transform-origin: center center;
    transition: transform 1s ease-in-out, margin-right 1s ease-in-out;
}

.logo-lines-container.lines-hidden {
    width: 100vw;
}

.logo-lines-container.lines-hidden .logo {
    margin-right: 0;
    transform: scale(0.75);
}

.logo-lines-container.lines-hidden .lines {
    width: 0;
    overflow: hidden;
    opacity: 0;
    pointer-events: none;
}

.logo .L, .logo .S {
    color: #c7e8f2;
}
.logo .I {
    color: #9fd8b3;
    margin-right: -2px;
}
.logo .N {
    color: #5aafa8;
}
.logo .E {
    color: #5a6f7a;
}

.lines {
    display: flex;
    flex-direction: column;
    transition: opacity 1s ease-out, width 1s ease-out;
    opacity: 1;
    width: auto;
    overflow: visible;
    flex-shrink: 0;
}

.line {
    width: 9vw;
    height: 22px;
    margin: 3px 0;
    background-color: #ccc;
    transition: all 0.3s ease;
}

.line1 { background-color: #c7e8f2; }
.line2 { background-color: #9fd8b3; }
.line3 { background-color: #5aafa8; }
.line4 { background-color: #a2afbd; }

.lines:hover .line {
    margin: 10px 0;
}

@keyframes pulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}

.lines.pulsing .line {
    animation: pulse 1s infinite;
}

.hide-lines {
    opacity: 0;
    transition: opacity 1s ease-out;
    pointer-events: none;
}

.logo-lines-container.lines-hidden .lines {
    position: absolute;
    left: 100%;
    opacity: 0;
}

.show-lines {
    opacity: 1;
}

.language-selector, .button-selector {
    display: none;
    opacity: 0;
    margin-top: 20px;
    transition: opacity 1s ease-in;
}

.show-language, .show-buttons {
    display: flex;
    opacity: 1;
}

.show-language {
    flex-direction: column;
    align-items: center;
}

.language-row {
    display: flex;
    justify-content: center;
    margin: 10px 0;
}

.show-buttons {
    flex-direction: row;
    justify-content: center;
}

.language-selector a, .button-selector a, .button-selector button {
    display: inline-block;
    text-decoration: none;
    font-family: inherit;
    margin: 5px;
    font-size: max(16px, 1.5vw);
    cursor: pointer;
    transition: all 0.3s ease;
    background: none;
    border: none;
    font-weight: bold;
}

.color-1 { color: #5a6f7a; }
.color-2 { color: #9fd8b3; }
.color-3 { color: #5aafa8; }

.language-selector a:hover, .button-selector a:hover, .button-selector button:hover {
    transform: scale(1.1);
    letter-spacing: 3px;
}

.skip-hint {
    display: none;
    font-size: max(12px, 0.85vw);
    color: #888;
    margin-top: 8px;
    text-align: center;
}

.skip-hint.show-buttons {
    display: block;
}

.modal {
    display: none;
    position: fixed;
    z-index: 10;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.5);
    justify-content: center;
    align-items: center;
}

.modal-content {
    position: relative;
    width: 37%;
    height: 90%;
    background-color: #fff;
    border-radius: 8px;
    padding: 10px;
    box-shadow: 0 0 15px rgba(0, 0, 0, 0.2);
}

.modal-content.about-modal-content {
    width: 70%;
    max-width: 700px;
    height: auto;
    max-height: 80vh;
    padding: 40px;
    box-sizing: border-box;
    overflow-y: auto;
}

.about-text {
    white-space: pre-line;
    line-height: 1.6;
    font-size: 15px;
    color: #333;
    text-align: left;
}

.about-text p {
    margin: 0 0 14px 0;
}

.about-register-cta {
    display: inline-block;
    margin-top: 4px;
    padding: 10px 22px;
    background: #5aafa8;
    color: #fff;
    border: none;
    border-radius: 6px;
    font-size: 15px;
    font-weight: bold;
    cursor: pointer;
    transition: transform 0.2s ease, background 0.2s ease;
}

.about-register-cta:hover {
    background: #4c9a94;
    transform: scale(1.04);
}

.close {
    position: absolute;
    top: 10px;
    right: 20px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #333;
}

.teaser-line2-row {
    display: flex;
    align-items: baseline;
    flex-wrap: wrap;
    gap: 10px;
}

.more-button {
    display: none;
    opacity: 0;
    background: none;
    border: none;
    color: #5aafa8;
    font-weight: bold;
    font-size: max(15px, 1.2vw);
    cursor: pointer;
    margin-bottom: 20px;
    transition: all 0.3s ease;
}

.more-button:hover {
    transform: scale(1.05);
    letter-spacing: 1px;
}

.more-button.show-buttons {
    display: inline-block;
    opacity: 1;
    margin-bottom: 0;
}

@keyframes welcomeFadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.description.show, .show-buttons {
    animation: welcomeFadeIn 1s ease-in;
}

.lines {
    cursor: pointer;
}

@media (prefers-reduced-motion: reduce) {
    .description.show, .show-buttons { animation: none; }
}

@media (max-width: 600px) {
    .logo { font-size: 9.6vw; }
    .line { width: 12vw; height: 8px; }
    .language-selector a, .button-selector a, .button-selector button { font-size: 4vw; padding: 10px 8px; }
    .description { font-size: 15px; }
    .more-button { font-size: 4vw; padding: 8px 4px; }
    .skip-hint { font-size: 13px; }
    .modal-content { width: 90%; }
    .modal-content.about-modal-content { width: 90%; max-height: 85vh; padding: 25px; }
}
