/* CSS Variables */
:root {
    --color-gold: #D4AF37;
    --color-gold-light: #F4D03F;
    --color-red-warm: #C85A5A;
    --color-red-light: #E8A5A5;
    --color-nude: #E8D5C4;
    --color-black: #0A0A0A;
    --color-white: #FFFFFF;
    --color-cream: #FAF5F0;
    --overlay-dark: rgba(0, 0, 0, 0.5);
    --overlay-warm: rgba(200, 90, 90, 0.15);
    --glass-bg: rgba(255, 255, 255, 0.1);
    --glass-border: rgba(255, 255, 255, 0.2);
    --color-charcoal: #1a1a1a;
    --color-warm-black: #0f0f0f;
    --color-champagne: #d4af37;
    --color-champagne-muted: rgba(212, 175, 55, 0.15);
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    color: var(--color-white);
    overflow-x: hidden;
    position: relative;
    min-height: 100vh;
}

body::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: var(--color-black);
    z-index: -3;
}

/* Video Background */
.bg-video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    object-fit: contain;
    object-position: center top;
    z-index: -2;
    pointer-events: none;
}

.bg-video-mobile {
    /* Видео заполняет экран, правильное кадрирование как на первом скрине */
    object-fit: cover;
    object-position: center 20%;
    width: 100%;
    height: 100vh; /* Фиксированная высота без скролла */
    min-height: 100vh;
}

.bg-video-desktop {
    display: none;
}

/* Desktop: show full video with scroll */
@media (min-width: 769px) {
    .bg-video-mobile {
        display: none;
    }
    
    .bg-video-desktop {
        display: block;
        object-fit: contain;
        object-position: center top;
        height: auto;
        min-height: auto;
    }
    
    .bg-video {
        object-fit: contain;
        object-position: center top;
        height: auto;
        min-height: auto;
    }
    
    .overlay {
        height: auto;
        min-height: auto;
        background: 
            radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.3) 100%),
            linear-gradient(180deg, rgba(200, 90, 90, 0.1) 0%, rgba(0, 0, 0, 0.4) 100%);
    }
    
    body {
        overflow-y: auto;
    }
    
    #mainContent {
        position: relative;
        min-height: auto;
    }
    
    main {
        min-height: auto;
    }
    
    .hero {
        position: relative;
        min-height: 100vh;
        justify-content: flex-start;
        padding-top: 10vh;
    }
}

/* Overlay Gradient */
.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    min-height: 100vh;
    background: 
        radial-gradient(circle at center, transparent 0%, var(--overlay-dark) 100%),
        linear-gradient(180deg, var(--overlay-warm) 0%, var(--overlay-dark) 100%);
    z-index: -1;
    pointer-events: none;
}

@media (max-width: 768px) {
    .overlay {
        min-height: 100vh;
        height: 100vh;
        /* Светлее overlay на мобильной - не затемняет видео */
        background: 
            radial-gradient(circle at center, transparent 0%, rgba(0, 0, 0, 0.2) 100%),
            linear-gradient(180deg, rgba(200, 90, 90, 0.05) 0%, rgba(0, 0, 0, 0.25) 100%);
    }
}

@media (max-width: 480px) {
    .overlay {
        min-height: 100vh;
        height: 100vh;
    }
}

/* Main Content */
main {
    position: relative;
    z-index: 1;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Hero Section */
.hero {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 2rem 1.5rem;
    text-align: center;
    animation: fadeInUp 1.2s ease-out;
}

.hero-name {
    font-family: 'Playfair Display', serif;
    font-size: clamp(3.5rem, 8vw, 6rem);
    font-weight: 700;
    color: var(--color-white);
    margin-bottom: 1.5rem;
    letter-spacing: 0.02em;
    text-shadow: 
        0 0 20px rgba(212, 175, 55, 0.3),
        0 4px 20px rgba(0, 0, 0, 0.5);
    animation: fadeInUp 1.4s ease-out 0.2s both;
    position: relative;
}

.hero-name::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--color-gold), transparent);
    opacity: 0.6;
}

.tagline {
    font-family: 'Inter', sans-serif;
    font-size: clamp(1.1rem, 2.5vw, 1.8rem);
    font-weight: 300;
    color: var(--color-cream);
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 4rem;
    opacity: 0.9;
    animation: fadeInUp 1.6s ease-out 0.4s both;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

/* Desktop: keep centered layout */
@media (min-width: 769px) {
    .hero {
        justify-content: center;
        align-items: center;
        position: relative;
        padding-top: 8vh; /* Опускаем текст ниже (черная область) */
    }
    
    .tagline {
        margin-bottom: 4rem;
    }
    
    .social-buttons {
        position: absolute;
        bottom: 2rem;
        left: 0;
        right: 0;
        justify-content: center;
    }
}

/* Social Buttons */
.social-buttons {
    display: flex;
    gap: 1.5rem;
    flex-wrap: wrap;
    justify-content: center;
    align-items: center;
    animation: fadeInUp 1.8s ease-out 0.6s both;
}

.social-btn {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 1rem 2rem;
    background: rgba(255, 255, 255, 0.03) !important; /* Прозрачнее на 70% (было 0.1, теперь 0.03) - принудительно */
    backdrop-filter: blur(15px) saturate(150%) !important; /* Немного уменьшаем blur для большей прозрачности - принудительно */
    -webkit-backdrop-filter: blur(15px) saturate(150%) !important;
    border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Немного более прозрачная граница - принудительно */
    border-radius: 50px;
    color: var(--color-white);
    text-decoration: none;
    font-family: 'Inter', sans-serif;
    font-size: 1.1rem;
    font-weight: 400;
    letter-spacing: 0.05em;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.3),
        0 0 0 0 rgba(212, 175, 55, 0);
    animation: breathe 3s ease-in-out infinite;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important; /* Добавляем тень для читаемости на прозрачном фоне - принудительно */
}

.social-btn.glow {
    animation: breathe 3s ease-in-out infinite, subtleGlow 3.5s ease-in-out infinite;
}

.social-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s;
}

.social-btn:hover::before {
    left: 100%;
}

.social-btn:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 175, 55, 0.4),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.5);
    background: rgba(255, 255, 255, 0.05) !important; /* При hover тоже прозрачнее */
}

.social-btn:active {
    transform: translateY(-2px) scale(1.02);
}

.social-icon {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-icon-img {
    width: 24px;
    height: 24px;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.social-btn:hover .social-icon,
.social-btn:hover .social-icon-img {
    transform: scale(1.1) rotate(5deg);
}

/* Platform-specific colors on hover */
.social-btn[data-platform="onlyfans"]:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(200, 90, 90, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(200, 90, 90, 0.6);
}

.social-btn[data-platform="instagram"]:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(212, 175, 55, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(212, 175, 55, 0.6);
}

.social-btn[data-platform="fansly"]:hover {
    box-shadow: 
        0 12px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(138, 43, 226, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.1);
    border-color: rgba(138, 43, 226, 0.6);
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes breathe {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 0 0 rgba(212, 175, 55, 0);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 20px rgba(212, 175, 55, 0.2);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        min-height: 100vh;
        height: 100vh;
        overflow: hidden; /* Убираем скролл на мобильной */
    }
    
    #mainContent {
        min-height: 100vh;
        height: 100vh;
        overflow: hidden;
    }
    
    .hero {
        padding: 2rem 1rem 8rem;
        min-height: 100vh;
        height: 100vh;
        justify-content: flex-start;
        align-items: center;
        position: relative;
    }
    
    .hero-name {
        margin-bottom: 1.5rem;
        margin-top: 4vh; /* Поднимаем текст сильно выше */
        font-size: clamp(4rem, 15vw, 5.5rem);
    }
    
    .tagline {
        margin-bottom: 3rem;
        font-size: clamp(1.2rem, 5vw, 1.6rem);
    }
    
    .social-buttons {
        flex-direction: column;
        gap: 1rem;
        width: 100%;
        position: fixed !important; /* Фиксированное позиционирование поверх видео */
        bottom: 0.6rem !important; /* Отступ от нижнего края примерно 1 см (0.6rem) */
        left: 0;
        right: 0;
        padding: 0 1rem;
        z-index: 1000; /* Высокий z-index чтобы быть поверх видео */
        pointer-events: auto;
    }
    
    .social-btn {
        width: 100%;
        max-width: 280px; /* Возвращаем исходную ширину */
        justify-content: center;
        padding: 1.1rem 2rem; /* Возвращаем исходный padding */
        margin: 0 auto;
        background: rgba(255, 255, 255, 0.03) !important; /* Прозрачнее на 70% - принудительно */
        backdrop-filter: blur(15px) saturate(150%) !important; /* Принудительно */
        -webkit-backdrop-filter: blur(15px) saturate(150%) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Принудительно */
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important; /* Принудительно */
    }
}

@media (max-width: 480px) {
    body {
        min-height: 100vh;
        height: 100vh;
    }
    
    #mainContent {
        min-height: 100vh;
        height: 100vh;
    }
    
    .hero {
        padding: 1.5rem 1rem 7rem;
        min-height: 100vh;
    }
    
    .hero-name {
        font-size: clamp(3rem, 12vw, 4.5rem);
        margin-top: 4vh; /* Поднимаем текст выше и на маленьких экранах */
    }
    
    .tagline {
        font-size: clamp(1rem, 4vw, 1.3rem);
        letter-spacing: 0.1em;
        margin-bottom: 2.5rem;
    }
    
    .social-buttons {
        bottom: 0.6rem !important; /* Отступ от нижнего края примерно 1 см (0.6rem) */
        padding: 0 1rem;
    }
    
    .social-btn {
        font-size: 1rem;
        padding: 1rem 1.5rem; /* Возвращаем исходный padding */
        background: rgba(255, 255, 255, 0.03) !important; /* Прозрачнее на 70% - принудительно */
        backdrop-filter: blur(15px) saturate(150%) !important; /* Принудительно */
        -webkit-backdrop-filter: blur(15px) saturate(150%) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important; /* Принудительно */
        text-shadow: 0 1px 3px rgba(0, 0, 0, 0.6) !important; /* Принудительно */
    }
}

/* Smooth scroll enhancement */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Age Verification */
.age-verification {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at center, rgba(20, 10, 15, 0.98) 0%, rgba(0, 0, 0, 0.99) 100%),
        linear-gradient(135deg, rgba(139, 69, 19, 0.1) 0%, rgba(75, 0, 30, 0.2) 100%);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    backdrop-filter: blur(15px);
    pointer-events: auto !important;
}

.age-verification.hidden {
    display: none;
}

.age-verification-content {
    text-align: center;
    padding: 3.5rem 3rem;
    background: 
        linear-gradient(135deg, rgba(30, 15, 25, 0.95) 0%, rgba(15, 5, 15, 0.98) 100%);
    border-radius: 24px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    max-width: 450px;
    box-shadow: 
        0 25px 70px rgba(0, 0, 0, 0.9),
        0 0 50px rgba(200, 90, 90, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(20px);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 100000;
    pointer-events: auto !important;
}

.age-verification-content h2 {
    font-family: 'Playfair Display', serif;
    font-size: 4.5rem;
    color: var(--color-gold);
    margin: 0 0 1.5rem 0;
    text-shadow: 
        0 0 30px rgba(212, 175, 55, 0.6),
        0 0 60px rgba(212, 175, 55, 0.3);
    letter-spacing: 0.05em;
    line-height: 1.2;
}

.age-question {
    font-family: 'Inter', sans-serif;
    font-size: 1.4rem;
    color: var(--color-white);
    margin: 0 0 1.5rem 0;
    opacity: 0.95;
    font-weight: 400;
    line-height: 1.5;
    text-align: center;
}

.age-warning {
    font-family: 'Inter', sans-serif;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 2.5rem 0;
    line-height: 1.6;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    font-weight: 300;
    text-align: center;
    max-width: 100%;
}

.age-buttons {
    display: flex;
    gap: 1rem;
    justify-content: center;
    position: relative;
    z-index: 100001;
    pointer-events: auto !important;
    width: 100%;
}

.age-btn {
    padding: 1rem 2rem;
    font-family: 'Inter', sans-serif;
    font-size: 1rem;
    font-weight: 500;
    border: none;
    border-radius: 50px;
    cursor: pointer !important;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    white-space: nowrap;
    position: relative;
    z-index: 100002 !important;
    user-select: none;
    -webkit-user-select: none;
    pointer-events: auto !important;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
    -webkit-appearance: none;
    appearance: none;
}

.age-btn-yes {
    background: linear-gradient(135deg, var(--color-gold) 0%, #C9A961 100%);
    color: var(--color-black);
    box-shadow: 
        0 4px 20px rgba(212, 175, 55, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    font-weight: 500;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 
            0 4px 20px rgba(212, 175, 55, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 0 0 rgba(212, 175, 55, 0.7);
    }
    50% {
        box-shadow: 
            0 4px 20px rgba(212, 175, 55, 0.5),
            inset 0 1px 0 rgba(255, 255, 255, 0.3),
            0 0 0 10px rgba(212, 175, 55, 0);
    }
}

.age-btn-yes:hover {
    background: var(--color-gold-light);
    transform: scale(1.05);
    box-shadow: 0 6px 30px rgba(212, 175, 55, 0.6);
}

.age-btn-no {
    background: transparent;
    color: var(--color-white);
    border: 1px solid var(--color-white);
}

.age-btn-no:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: scale(1.05);
}

@media (max-width: 480px) {
    .age-verification-content {
        padding: 2.5rem 2rem;
        max-width: 90%;
    }
    
    .age-verification-content h2 {
        font-size: 3.5rem;
        margin: 0 0 1.2rem 0;
    }
    
    .age-question {
        font-size: 1.1rem;
        margin: 0 0 1.2rem 0;
        line-height: 1.5;
    }
    
    .age-warning {
        font-size: 0.7rem;
        margin: 0 0 2rem 0;
        line-height: 1.5;
    }
    
    .age-btn {
        padding: 0.9rem 2rem;
        font-size: 0.95rem;
    }
    
    .age-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .age-btn {
        width: 100%;
    }
}

/* Psychological Questions Overlay */
.psychological-question {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 100;
    pointer-events: none;
}

/* Убеждаемся, что вопросы не перекрывают модальное окно возраста */
.age-verification ~ .psychological-question {
    z-index: 50 !important;
}

.psychological-question.active {
    pointer-events: auto;
}

.question-content {
    max-width: 320px;
    padding: 1.2rem 1.5rem;
    background: rgba(30, 15, 25, 0.5);
    backdrop-filter: blur(20px) saturate(180%);
    -webkit-backdrop-filter: blur(20px) saturate(180%);
    border: 1px solid rgba(200, 90, 90, 0.3);
    border-radius: 12px;
    text-align: center;
    opacity: 0;
    transform: translateY(15px);
    transition: opacity 0.8s ease, transform 0.8s ease;
    position: absolute;
    top: auto;
    left: auto;
    right: auto;
}

.psychological-question.active .question-content {
    opacity: 1;
    transform: translateY(0);
}

.question-text {
    font-family: 'Playfair Display', serif;
    font-size: clamp(0.9rem, 2vw, 1.1rem);
    font-weight: 400;
    color: var(--color-cream);
    line-height: 1.6;
    letter-spacing: 0.02em;
    margin: 0;
    cursor: default;
    transition: transform 0.3s ease, color 0.3s ease;
}

.question-content:hover .question-text {
    transform: translateY(-2px);
    color: var(--color-white);
}

/* Desktop positioning - случайное позиционирование */
@media (min-width: 769px) {
    .psychological-question {
        align-items: flex-start;
    }
    
    .question-content {
        max-width: 380px; /* Увеличиваем размер вопросов */
        padding: 1.4rem 1.8rem;
    }
    
    .question-text {
        font-size: clamp(1rem, 1.8vw, 1.3rem); /* Увеличиваем размер текста */
        line-height: 1.6;
    }
}

/* Mobile positioning - учитывает кнопки внизу */
@media (max-width: 768px) {
    .psychological-question {
        align-items: flex-start;
        padding-top: 15vh;
    }
    
    .question-content {
        max-width: 260px;
        padding: 1rem 1.2rem;
    }
    
    .question-text {
        font-size: clamp(0.8rem, 3.5vw, 1rem);
        line-height: 1.5;
    }
}

@media (max-width: 480px) {
    .question-content {
        max-width: 240px;
        padding: 0.9rem 1.1rem;
    }
    
    .question-text {
        font-size: clamp(0.75rem, 3vw, 0.95rem);
        line-height: 1.4;
    }
}

/* Pulse animation for social buttons */
@keyframes buttonPulse {
    0%, 100% {
        transform: scale(1);
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 0 0 rgba(212, 175, 55, 0);
    }
    50% {
        transform: scale(1.03); /* Более нежная пульсация (было 1.08) */
        box-shadow: 
            0 10px 36px rgba(0, 0, 0, 0.35),
            0 0 15px rgba(212, 175, 55, 0.3); /* Мягче свечение */
    }
}

.social-btn.pulse {
    animation: buttonPulse 0.6s ease-in-out;
}

/* Постоянное легкое свечение кнопок */
@keyframes subtleGlow {
    0%, 100% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 8px rgba(212, 175, 55, 0.15),
            0 0 12px rgba(212, 175, 55, 0.1);
        border-color: rgba(212, 175, 55, 0.25);
    }
    50% {
        box-shadow: 
            0 8px 32px rgba(0, 0, 0, 0.3),
            0 0 12px rgba(212, 175, 55, 0.25),
            0 0 18px rgba(212, 175, 55, 0.15);
        border-color: rgba(212, 175, 55, 0.35);
    }
}

.social-btn.glow {
    animation: breathe 3s ease-in-out infinite, subtleGlow 3.5s ease-in-out infinite;
}

/* Принудительное применение прозрачности и позиции для мобильной версии - в конце файла для максимального приоритета */
@media (max-width: 768px) {
    .social-buttons {
        bottom: 0.6rem !important;
    }
    
    .social-btn {
        background: rgba(255, 255, 255, 0.03) !important;
        backdrop-filter: blur(15px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(15px) saturate(150%) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
}

@media (max-width: 480px) {
    .social-buttons {
        bottom: 0.6rem !important;
    }
    
    .social-btn {
        background: rgba(255, 255, 255, 0.03) !important;
        backdrop-filter: blur(15px) saturate(150%) !important;
        -webkit-backdrop-filter: blur(15px) saturate(150%) !important;
        border: 1px solid rgba(255, 255, 255, 0.15) !important;
    }
}
