/* Reset and base styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Oswald', sans-serif;
    background: black;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    color: white;
    font-weight: 200;
    position: relative;
}

/* Expand button - top right */
.expand-btn {
    position: absolute;
    top: 20px;
    right: 20px;
    background: none;
    border: 1px solid #DADADA;
    color: #DADADA;
    padding: 10px 15px;
    font-family: 'Oswald', sans-serif;
    font-weight: 200;
    font-size: 1em;
    cursor: pointer;
    transition: color 0.3s ease, border-color 0.3s ease;
    z-index: 10;
    border-radius: 0;
}

.expand-btn:hover,
.expand-btn:focus {
    color: #c0c0c0;
    border-color: #c0c0c0;
    outline: none;
}

/* Main container - no border */
.container {
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    align-items: center;
    padding: 40px;
    max-width: 500px;
    text-align: center;
    min-height: 80vh;
}

/* Logo - fixed */
.logo {
    max-height: 300px;
    width: auto;
    margin-bottom: 40px;
}

/* Icons row - default horizontal icon-only */
.icons-row {
    display: flex;
    flex-direction: row;
    justify-content: center;
    gap: 30px;
    width: 100%;
    transition: opacity 0.3s ease, flex-direction 0.3s ease;
    flex: 1;
}

.icon-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-decoration: none;
    color: white;
    transition: color 0.3s ease;
    padding: 0;
}

.icon-link i {
    font-size: 1.5em;
    color: #DADADA;
    transition: color 0.3s ease, opacity 0.3s ease;
}

.icon-link .link-text {
    opacity: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.6s cubic-bezier(0.25, 0.46, 0.45, 0.94), opacity 0.6s ease;
    margin-top: 10px;
    text-align: center;
    color: white;
    font-size: 1em;
    width: 100%;
    line-height: 1.4;
}

/* Expanded state */
.icons-row.expanded {
    flex-direction: column;
    gap: 20px;
    align-items: stretch;
}

.icon-link.show-text .link-text {
    opacity: 1;
    max-height: 50px;
    border-bottom: 1px solid #DADADA;
    padding-bottom: 10px;
}

/* Hover for icon links */
.icon-link:hover i {
    color: #c0c0c0;
}

.icon-link:hover .link-text {
    color: #c0c0c0;
}

.icon-link:focus {
    outline: 2px solid #DADADA;
    outline-offset: 2px;
}

/* Responsive design */
@media (max-width: 768px) {
    .expand-btn {
        top: 10px;
        right: 10px;
        padding: 8px 12px;
        font-size: 0.9em;
    }

    .container {
        padding: 20px;
    }

    .logo {
        max-height: 250px;
        margin-bottom: 30px;
    }

    .icons-row {
        gap: 20px;
    }

    .icon-link i {
        font-size: 1.2em;
    }

    .icon-link .link-text {
        font-size: 0.9em;
    }

    .icon-link.show-text .link-text {
        max-height: 45px;
    }
}

@media (max-width: 480px) {
    .logo {
        max-height: 200px;
    }

    .icons-row {
        gap: 15px;
    }

    .icon-link i {
        font-size: 1em;
    }

    .icon-link .link-text {
        font-size: 0.8em;
    }

    .icon-link.show-text .link-text {
        max-height: 40px;
    }
}