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

html {
    overflow-y: scroll;
    overflow-x: hidden;
}

body {
    font-family: 'Sora', sans-serif;
    background-color: #000000;
    color: #ffffff;
    overflow-x: hidden;
    overflow-y: visible;
    min-height: 100vh;
    width: 100%;
    position: relative;
}

.desktop-video {
    position: fixed;
    right: 0;
    bottom: 0;
    min-width: 100%;
    min-height: 100%;
    width: auto;
    height: auto;
    z-index: -1;
    object-fit: cover;
    pointer-events: none;
    user-select: none;
}

@media screen and (min-width: 769px) and (max-aspect-ratio: 850/811) {
    .desktop-video {
        min-width: auto;
        min-height: auto;
        width: 100%;
        height: 100%;
        transform: scale(calc(100vh * 850 / (100vw * 811)));
        transform-origin: center;
    }
}

.mobile-video {
    display: none;
    pointer-events: none;
    user-select: none;
}

.container {
    position: relative;
    width: 100%;
    min-height: 100vh;
    padding: 40px;
    z-index: 2;
    pointer-events: none;
}

.container > * {
    pointer-events: auto;
}

.logo {
    position: absolute;
    top: 0;
    left: 0;
    z-index: 10;
}

.logo img {
    height: 90px;
    width: auto;
}

.header-content {
    position: absolute;
    top: 40px;
    right: 40px;
    text-align: right;
    max-width: 350px;
}

.gradient-title {
    font-size: 55px;
    font-weight: 800;
    line-height: 1;
    background: linear-gradient(135deg, #ffffff 0%, #00a2ff 25%, #ff00ff 50%, #a855f7 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 20px;
    overflow: visible;
    display: block;
}

.subtitle {
    font-size: 28px;
    font-weight: 600;
    line-height: 1.2;
    display: block;
}

.description {
    font-size: 16px;
    font-weight: 600;
    line-height: 1.6;
    color: #ffffff;
    margin-top: 20px;
    max-width: 350px;
    margin-left: auto;
}

.bottom-content {
    position: absolute;
    bottom: 13px;
    right: 40px;
    text-align: right;
    max-width: 350px;
}

.cta-text {
    font-size: 16px;
    font-weight: 600;
    margin-bottom: 20px;
}

.button-group {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    align-items: center;
}

.subscribe-btn {
    display: inline-block;
    padding: 16px 32px;
    background-color: #ffffff;
    color: #000000;
    text-decoration: none;
    font-size: 14px;
    font-weight: 700;
    border-radius: 50px;
    transition: all 0.3s ease;
    position: relative;
    z-index: 10;
    border: none;
    cursor: pointer;
}

.subscribe-btn.try-me {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.subscribe-btn.try-me:hover {
    background-color: #ffffff;
    color: #000000;
}

.subscribe-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 20px rgba(255, 255, 255, 0.3);
}

.social-icons {
    position: absolute;
    bottom: 40px;
    left: 40px;
    display: flex;
    gap: 20px;
    z-index: 10;
}

.social-icons a {
    color: #ffffff;
    font-size: 18px;
    text-decoration: none;
    transition: all 0.3s ease;
}

.social-icons a:hover {
    color: #cccccc;
    transform: translateY(-2px);
}

.desktop-only {
    display: inline;
}

.video-click-area {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    cursor: pointer;
    background: transparent;
}

.video-click-area:active {
    background: rgba(255, 255, 255, 0.05);
}

@media (max-width: 768px) {
    body {
        overflow-y: auto;
        overflow-x: hidden;
    }
    
    .desktop-only {
        display: none;
    }
    
    .desktop-video {
        display: none;
    }
    
    .mobile-video {
        display: block;
        position: relative;
        width: 100%;
        height: auto;
        max-height: 40vh;
        margin: 20px auto 30px;
        z-index: 0;
        object-fit: contain;
        border-radius: 10px;
        pointer-events: none;
        user-select: none;
    }
    
    .container {
        padding: 20px 20px 0;
        display: flex;
        flex-direction: column;
        align-items: center;
        gap: 0;
        height: auto;
        min-height: 100vh;
        overflow-y: visible;
    }
    
    .logo {
        position: relative;
        top: auto;
        left: auto;
        margin-top: 10px;
    }
    
    .logo img {
        height: 60px;
    }
    
    .header-content {
        position: relative;
        top: auto;
        right: auto;
        left: auto;
        text-align: center;
        max-width: 100%;
        width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
        margin-bottom: 0;
        min-height: auto;
    }
    
    .gradient-title {
        font-size: 48px;
        text-align: center;
        margin-bottom: 10px;
    }
    
    .subtitle {
        font-size: 24px;
    }
    
    .description {
        font-size: 16px;
        max-width: 90%;
        margin: 40px auto 40px;
        text-align: center;
        width: 100%;
        padding: 0 30px;
    }
    
    .bottom-content {
        position: relative;
        bottom: auto;
        right: auto;
        left: auto;
        text-align: center;
        max-width: 100%;
        width: 100%;
        margin-bottom: 0;
        margin-top: 30px;
    }
    
    .cta-text {
        font-size: 16px;
    }
    
    .button-group {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .subscribe-btn {
        font-size: 14px;
        padding: 14px 28px;
    }
    
    .social-icons {
        position: relative;
        bottom: auto;
        left: auto;
        justify-content: center;
        margin-top: 20px;
        margin-bottom: 20px;
    }
}

/* Ensure minimum content size */
.bottom-content {
    min-height: 150px;
}

/* Desktop only min-height */
@media (min-width: 769px) {
    .header-content {
        min-height: 300px;
    }
}

/* Add spacing to prevent overlap on small screens */
@media (max-height: 700px) {
    .container {
        gap: 50px;
    }
}

