* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background: linear-gradient(to top, #0a0f0d, #000000);
    background-attachment: fixed;
    overflow: hidden;
}

p { line-height: 1.2em; }

.font-roboto-medium {
    font-family: 'Roboto', -apple-system, BlinkMacSystemFont, 'Segoe UI', Oxygen, Ubuntu, Cantarell, sans-serif;
    font-weight: 500;
}

.smaller {
    font-size: 11px;
}

.gallery {
    width: 100vw;
    height: 100vh;
    display: flex;
    align-items: center;
    overflow-x: auto;
    cursor: grab;
}

.gallery:active {
    cursor: grabbing;
}

.gallery::-webkit-scrollbar {
    height: 8px;
}

.gallery::-webkit-scrollbar-track {
    background: #1a1a1a;
}

.gallery::-webkit-scrollbar-thumb {
    background: #333333;
    border-radius: 4px;
}

.gallery::-webkit-scrollbar-thumb:hover {
    background: #444444;
}

.gallery__container {
    display: flex;
    gap: 60px;
    padding: 0 80px;
    min-width: min-content;
}

.gallery__text-section {
    width: 400px;
    flex-shrink: 0;
    color: rgba(255, 255, 255, 0.9);
    font-family: sans-serif;
    font-size: 16px;
    line-height: 1.6;
    display: flex;
    flex-direction: column;
    justify-content: flex-start;
    gap: 16px;
    align-self: flex-start;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.gallery__text-section--visible {
    animation: fadeInUp 0.6s ease forwards;
}

.gallery__text-section p {
    margin: 0;
}

.newsletter-form {
    display: flex;
    gap: 12px;
    width: 100%;
    margin-top: 8px;
}

.newsletter-form__input {
    flex: 1;
    height: 48px;
    padding: 0 16px;
    font-size: 16px;
    font-family: sans-serif;
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 4px;
    color: rgba(255, 255, 255, 0.9);
    transition: background 0.3s ease, border-color 0.3s ease;
}

.newsletter-form__input::placeholder {
    color: rgba(255, 255, 255, 0.5);
}

.newsletter-form__input:focus {
    outline: none;
    background: rgba(255, 255, 255, 0.15);
    border-color: #40E0D0;
}

.newsletter-form__button {
    height: 48px;
    padding: 6px 20px;
    font-size: 14px;
    font-weight: bold;
    font-family: sans-serif;
    background: #0362ab;
    color: #000000;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    transition: background 0.3s ease, transform 0.2s ease;
    white-space: normal;
    line-height: 1.2;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.newsletter-form__button:hover {
    background: #5FFFF0;
    transform: translateY(0px);
}

.newsletter-form__button:active {
    background: #30D0C0;
    transform: translateY(0);
}

.newsletter-form__status {
    margin-top: 12px;
    font-size: 14px;
    line-height: 1.4;
    padding: 12px 16px;
    border-radius: 4px;
    display: none;
}

.newsletter-form__status:not(:empty) {
    display: block;
}

.newsletter-form__status.success {
    background: rgba(64, 224, 208, 0.2);
    border: 1px solid rgba(64, 224, 208, 0.4);
    color: #5FFFF0;
}

.newsletter-form__status.error {
    background: rgba(255, 100, 100, 0.2);
    border: 1px solid rgba(255, 100, 100, 0.4);
    color: #FF8888;
}

.video-card {
    position: relative;
    width: 360px;
    height: 640px;
    border-radius: 16px;
    overflow: hidden;
    flex-shrink: 0;
    background: transparent;
    opacity: 0;
    transform: translateY(20px);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.video-card:hover {
    transform: translateY(-4px);
}

.video-card--visible {
    animation: fadeInUp 0.6s ease forwards;
}

.video-card__thumbnail {
    width: 100%;
    height: 100%;
    object-fit: cover;
    background: transparent;
    filter: brightness(0.4);
    transition: filter 0.3s ease;
    pointer-events: none;
    user-select: none;
    -webkit-user-drag: none;
}

.video-card__play-icon {
    display: none; /* removing play icons for now */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 64px;
    color: rgba(255, 255, 255, 0.9);
    pointer-events: none;
    transition: opacity 0.3s ease, transform 0.3s ease, filter 0.3s ease;
    text-shadow: 0 4px 12px rgba(0, 0, 0, 0.6);
    filter: brightness(0.4);
    z-index: 5;
}

.video-card:hover .video-card__play-icon {
    transform: translate(-50%, -50%) scale(1.1);
    filter: brightness(1);
}

.video-card--playing .video-card__play-icon {
    filter: brightness(1);
}

.video-card__player-container {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 30px);
    height: calc(100% - 60px);
    opacity: 0;
    margin: 0;
    margin-top: 20px;
    margin-left: 10px;
    padding: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 15;
    background: transparent;
    border-radius: 16px;
    overflow: hidden;
}

.video-card__player-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.video-card--playing .video-card__thumbnail {
    opacity: 0;
}

.video-card--playing .video-card__play-icon {
    opacity: 0;
}

.video-card--playing .video-card__player-container {
    opacity: 1;
    pointer-events: auto;
}

.video-card:hover .video-card__thumbnail {
    filter: brightness(1);
}

.video-card--playing .video-card__thumbnail {
    filter: brightness(1);
}

.video-card--coming-soon {
    background: transparent;
    cursor: default;
}

.video-card__coming-soon-container {
    position: absolute;
    top: 0;
    left: 0;
    width: calc(100% - 30px);
    height: calc(100% - 60px);
    margin: 0;
    margin-top: 20px;
    margin-left: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #000;
    border-radius: 16px;
}

.video-card__coming-soon-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 32px;
    color: rgba(255, 255, 255, 0.9);
    text-align: center;
    letter-spacing: 2px;
    filter: brightness(0.4);
    transition: filter 0.3s ease;
    z-index: 5;
}

.video-card--coming-soon:hover .video-card__coming-soon-text {
    filter: brightness(1);
}

.video-card__overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: transparent;
    pointer-events: none;
    transition: opacity 0.3s ease;
    z-index: 10;
}

.video-card:hover .video-card__overlay {
    opacity: 0;
}

.video-card--playing .video-card__overlay {
    opacity: 0;
}

.video-card__youtube-link {
    position: absolute;
    top: 36px;
    right: 32px;
    width: 32px;
    height: 32px;
    z-index: 20;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card--playing .video-card__youtube-link {
    opacity: 1;
    pointer-events: auto;
}

.video-card__youtube-link svg {
    width: 100%;
    height: 100%;
    fill: white;
    transition: fill 0.3s ease;
}

.video-card__youtube-link:hover svg {
    fill: #1a87d9;
}

.video-card__music-link {
    position: absolute;
    top: 36px;
    right: 72px;
    width: 32px;
    height: 32px;
    z-index: 20;
    cursor: pointer;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.video-card--playing .video-card__music-link {
    opacity: 1;
    pointer-events: auto;
}

.video-card__music-link svg {
    width: 100%;
    height: 100%;
    fill: white;
    transition: fill 0.3s ease;
}

.video-card__music-link:hover svg {
    fill: #1a87d9;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .gallery__container {
        gap: 40px;
        padding: 0 40px;
    }
}

@media (max-width: 480px) {
    .gallery__container {
        gap: 30px;
        padding: 0 30px;
    }
    
    .gallery__text-section {
        padding-top: 16px;
        width: 290px;
        font-size: 13px;
        gap: 8px;
    }

    p {
        line-height: 1.2em;
        margin: 0;
        padding: 0;
    }
}

/* Override the MailerLite form */

.row-form {
    padding: 0px !important;
}

.row-success {
    padding: 0px !important;
    color: lightblue important!;
}

.embedForm {
    background: transparent !important;
}