html, body {
    height: 100dvh;
    overflow: hidden;
}

/* Scroll Container */
.scroll-container {
    height: 100dvh;
    overflow-y: scroll;
    scroll-snap-type: y mandatory;
    scroll-behavior: smooth;
}

.scroll-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    height: 100dvh;
    scroll-snap-align: start;
    scroll-snap-stop: always;
}

/* Scroll Dots Navigation */
.scroll-dots {
    position: fixed;
    top: 50%;
    right: 32px;
    z-index: 100;
    display: flex;
    flex-direction: column;
    gap: 16px;
    transform: translateY(-50%);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-dots.visible {
    opacity: 1;
    pointer-events: auto;
}

.dot {
    width: 12px;
    height: 12px;
    padding: 0;
    background: var(--overlay-white-light);
    border: 2px solid var(--gold-medium);
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
}

.dot.active {
    background: var(--color-gold);
    box-shadow: var(--shadow-sm);
    transform: scale(1.3);
}

/* Layout */
.section-main {
    position: relative;
    background-image: url('img/background.jpg');
    background-size: cover;
    background-position: center;
    background-attachment: scroll;
}

.section-main::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    background: var(--overlay-white-lighter);
}

.container {
    position: relative;
    z-index: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    max-width: 680px;
    margin: 0 auto;
    padding: 40px 40px 120px;
}

/* Profile */
.profile-section {
    margin-bottom: 48px;
    text-align: center;
}

.profile-picture {
    width: 120px;
    height: 120px;
    margin-bottom: 24px;
    object-fit: cover;
    border: 3px solid var(--gold-medium);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
}

.name {
    margin-bottom: 12px;
    font-family: var(--font-display), serif;
    font-size: 48px;
    font-weight: 400;
    letter-spacing: 6px;
    text-transform: uppercase;
    color: var(--color-white);
    text-shadow: var(--text-shadow-sm);
}

/* Links */
.links-container {
    display: flex;
    flex-direction: column;
    gap: 24px;
    width: 100%;
}

.link-item {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.link-item.with-spacing {
    margin-bottom: 16px;
}

.announcement {
    padding: 0 16px;
    font-family: var(--font-body), sans-serif;
    font-size: 14px;
    font-weight: 400;
    line-height: 1.6;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-white);
    text-shadow: var(--text-shadow-sm);
}

.announcement:empty {
    display: none;
}

.button-icon {
    flex-shrink: 0;
    width: 20px;
    height: 20px;
}

/* Announcement Badge */
#patreon-button,
#events-button {
    position: relative;
}

.announcement-badge {
    position: absolute;
    top: 50%;
    right: 20px;
    transform: translateY(-50%);
    padding: 4px 10px;
    font-family: var(--font-body), sans-serif;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
    color: var(--color-white);
    background: var(--color-red);
    box-shadow: var(--shadow-md);
    animation: badge-bounce 2s infinite;
    pointer-events: none;
}

@keyframes badge-bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(-50%) scale(1);
    }
    40% {
        transform: translateY(-50%) scale(1.1);
    }
    60% {
        transform: translateY(-50%) scale(1.05);
    }
}

/* Social Grid */
.social-grid {
    display: flex;
    justify-content: center;
    gap: 8px;
    width: 100%;
}

.social-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 6px;
    min-width: 125px;
    padding: 12px 20px;
    text-decoration: none;
    color: var(--color-white);
    text-shadow: var(--text-shadow-md);
    transition: all 0.3s ease;
}

.social-card:active {
    transform: translateY(0);
}

@media (hover: hover) {
    .dot:hover {
        background: var(--gold-medium);
        transform: scale(1.2);
    }

    .social-card:hover {
        color: var(--color-gold);
        transform: translateY(-2px);
    }
}

.social-icon {
    width: 34px;
    height: 34px;
    flex-shrink: 0;
    filter: drop-shadow(var(--text-shadow-sm));
}

.social-label {
    font-family: var(--font-body), sans-serif;
    font-size: 12px;
    font-weight: 400;
    letter-spacing: 1.5px;
    text-transform: uppercase;
}

/* Scroll Hint */
.scroll-hint {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 50;
    display: flex;
    flex-direction: row;
    align-items: center;
    justify-content: center;
    gap: 12px;
    height: 40px;
    padding: 0 32px;
    background: var(--overlay-black-soft);
    border-top: 1px solid var(--overlay-white-lighter);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.scroll-hint p {
    padding-right: 2px;
    font-family: var(--font-body), sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-align: center;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-white);
    text-shadow: var(--text-shadow-sm);
}

.scroll-arrow {
    width: 20px;
    height: 20px;
    color: var(--color-gold);
    animation: bounce 2s infinite;
    filter: drop-shadow(var(--text-shadow-sm));
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

/* Gallery Sections */
.section-gallery {
    overflow: hidden;
}

.gallery-bg {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
}

.section-gallery::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    z-index: 1;
    width: 100%;
    height: 100%;
    background: var(--overlay-white-lighter);
}

.gallery-badge {
    top: 32px;
    left: 32px;
    z-index: 2;
}

.gallery-center {
    position: absolute;
    top: 50%;
    left: 50%;
    z-index: 2;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 28px;
    text-align: center;
    transform: translate(-50%, -50%);
}

.gallery-center .cta-button {
    white-space: nowrap;
}

.gallery-title {
    font-family: var(--font-display), serif;
    font-size: 52px;
    font-weight: 400;
    letter-spacing: 6px;
    text-align: center;
    text-transform: uppercase;
    color: var(--color-white);
    text-shadow: var(--text-shadow-lg);
}

.gallery-bar {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    min-height: 40px;
    padding: 0 32px;
    background: var(--overlay-black-soft);
    border-top: 1px solid var(--overlay-white-lighter);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.gallery-location {
    font-family: var(--font-body), sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 2px;
    text-transform: uppercase;
    white-space: nowrap;
    color: var(--color-gold);
}

.gallery-description {
    font-family: var(--font-body), sans-serif;
    font-size: 13px;
    font-weight: 400;
    letter-spacing: 1px;
    color: var(--overlay-white-strong);
}

.gallery-publication {
    font-family: var(--font-body), sans-serif;
    font-size: 12px;
    font-weight: 400;
    font-style: italic;
    letter-spacing: 1px;
    color: var(--overlay-white-medium);
}

/* Media queries - Portrait */
@media (max-width: 768px) {
    .scroll-dots {
        right: 16px;
        gap: 12px;
    }

    .dot {
        width: 10px;
        height: 10px;
    }

    .container {
        padding: 40px 16px 100px;
    }

    .name {
        font-size: 40px;
        letter-spacing: 5px;
    }

    .links-container {
        gap: 20px;
    }

    .announcement {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .button-icon {
        width: 18px;
        height: 18px;
    }

    .social-icon {
        width: 30px;
        height: 30px;
    }

    .social-label {
        font-size: 11px;
    }

    .gallery-badge {
        top: 20px;
        left: 20px;
    }

    .gallery-title {
        font-size: 42px;
        letter-spacing: 6px;
    }

    .gallery-bar {
        flex-wrap: wrap;
        gap: 4px 16px;
        padding: 10px 16px;
    }

    .gallery-location {
        font-size: 11px;
    }

    .gallery-description {
        font-size: 11px;
    }

    .gallery-publication {
        font-size: 10px;
    }

    .scroll-hint p {
        font-size: 11px;
    }
}

@media (max-width: 480px) {
    .section-main {
        align-items: flex-start;
    }

    .container {
        padding: 24px 12px 70px;
    }

    .profile-section {
        margin-bottom: 32px;
    }

    .profile-picture {
        width: 92px;
        height: 92px;
        margin-bottom: 16px;
    }

    .name {
        margin-bottom: 6px;
        font-size: 32px;
        letter-spacing: 4px;
    }

    .links-container {
        gap: 16px;
    }

    .link-item.with-spacing {
        margin-bottom: 8px;
    }

    .social-icon {
        width: 28px;
        height: 28px;
    }

    .social-card {
        min-width: 95px;
        padding: 12px 10px;
    }

    .scroll-hint p {
        font-size: 11px;
    }

    .scroll-arrow {
        width: 20px;
        height: 20px;
    }

    .gallery-badge {
        top: 16px;
        left: 16px;
    }

    .gallery-title {
        font-size: 42px;
        letter-spacing: 6px;
    }

    .scroll-hint {
        padding: 0 12px;
    }

    .gallery-bar {
        gap: 2px 12px;
        padding: 8px 12px;
    }
}

/* Media queries - Landscape */
@media (max-width: 1376px) and (orientation: landscape) {
    .container {
        padding: 30px 40px 80px;
    }

    .scroll-dots {
        gap: 10px;
        right: 20px;
    }

    .dot {
        width: 8px;
        height: 8px;
    }
}

@media (max-width: 956px) and (orientation: landscape) {
    .scroll-container,
    .scroll-dots {
        display: none !important;
    }

    .gallery-title {
        font-size: 42px;
    }

    .section-main {
        align-items: center;
        justify-content: center;
    }

    .container {
        flex-direction: row;
        align-items: center;
        justify-content: center;
        gap: 40px;
        width: 100%;
        max-width: 900px;
        padding: 20px 40px 56px;
    }

    .profile-section {
        display: flex;
        flex-direction: column;
        align-items: center;
        flex: 0 0 38%;
        margin-bottom: 0;
        padding-right: 40px;
        position: relative;
        border-right: none;
    }

    .profile-section::after {
        content: '';
        position: absolute;
        right: 0;
        top: 50%;
        transform: translateY(-50%);
        width: 1px;
        height: 60px;
        background: var(--color-gold);
    }

    .profile-picture {
        width: 96px;
        height: 96px;
        margin-bottom: 14px;
    }

    .name {
        font-size: 42px;
        letter-spacing: 6px;
        margin-bottom: 8px;
    }

    .subtitle {
        font-size: 12px;
        letter-spacing: 2px;
    }

    .golden-divider-after {
        padding-bottom: 0;
    }

    .golden-divider-after::after {
        display: none;
    }

    .links-container {
        flex: 1 1 auto;
        gap: 10px;
        max-width: 520px;
    }

    .link-item {
        gap: 5px;
    }

    .link-item.with-spacing {
        margin-bottom: 4px;
        align-items: center;
    }

    .link-item.with-spacing .cta-button {
        width: 400px;
    }

    .link-item:not(.with-spacing) {
        margin-top: 20px;
    }

    .announcement {
        font-size: 11px;
        letter-spacing: 1.5px;
    }

    .social-card {
        min-width: 72px;
        padding: 8px 12px;
        gap: 5px;
    }

    .social-icon {
        width: 24px;
        height: 24px;
    }

    .social-label {
        font-size: 11px;
    }

    .scroll-hint {
        padding: 0 20px;
    }

    .scroll-hint p {
        font-size: 11px;
    }

    .gallery-location {
        font-size: 11px;
    }

    .gallery-description {
        font-size: 11px;
    }

    .gallery-publication {
        font-size: 10px;
    }

    .scroll-arrow {
        width: 16px;
        height: 16px;
    }

    .gallery-center {
        gap: 12px;
    }

    .gallery-bar {
        gap: 2px 12px;
        padding: 0 12px;
    }
}
