/* ============================================
   ГЛОБАЛЬНЫЕ СТИЛИ И СБРОС
   ============================================ */

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* Основная цветовая палитра */
    --primary-color: #ff2d55;
    --primary-dark: #e6194a;
    --secondary-color: #ff6b6b;
    --accent-color: #ff4757;
    
    /* Темные оттенки */
    --dark-bg: #0a0a0a;
    --dark-card: #1a1a1a;
    --dark-lighter: #2a2a2a;
    
    /* Текстовые цвета */
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --text-muted: #808080;
    
    /* Градиенты */
    --gradient-primary: linear-gradient(135deg, #ff2d55 0%, #ff6b6b 100%);
    --gradient-dark: linear-gradient(180deg, #1a1a1a 0%, #0a0a0a 100%);
    
    /* Тени */
    --shadow-small: 0 2px 8px rgba(0, 0, 0, 0.3);
    --shadow-medium: 0 4px 16px rgba(0, 0, 0, 0.4);
    --shadow-large: 0 8px 32px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(255, 45, 85, 0.3);
    
    /* Размеры */
    --border-radius: 16px;
    --border-radius-small: 8px;
    --container-max-width: 1200px;
    
    /* Шрифты */
    --font-main: 'Montserrat', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-main);
    background: var(--dark-bg);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* ============================================
   УТИЛИТЫ И КОНТЕЙНЕРЫ
   ============================================ */

.container {
    max-width: var(--container-max-width);
    margin: 0 auto;
    padding: 0 20px;
}

.highlight {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

/* ============================================
   ХЕДЕР
   ============================================ */

.header {
    background: var(--dark-card);
    padding: 20px 0;
    box-shadow: var(--shadow-small);
    position: sticky;
    top: 0;
    z-index: 100;
    backdrop-filter: blur(10px);
    background: rgba(26, 26, 26, 0.95);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 32px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: -1px;
}

.logo-tagline {
    display: block;
    font-size: 12px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
    margin-top: -5px;
}

/* ============================================
   КНОПКИ
   ============================================ */

.btn-primary,
.btn-secondary {
    display: inline-block;
    padding: 14px 32px;
    border-radius: 50px;
    font-weight: 700;
    font-size: 16px;
    text-decoration: none;
    transition: all 0.3s ease;
    cursor: pointer;
    border: none;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: var(--text-primary);
    box-shadow: var(--shadow-medium);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-large), var(--shadow-glow);
}

.btn-primary:active {
    transform: translateY(0);
}

.btn-secondary {
    background: transparent;
    color: var(--text-primary);
    border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
    background: var(--primary-color);
    transform: translateY(-2px);
}

.btn-large {
    padding: 18px 48px;
    font-size: 18px;
    font-weight: 800;
}

/* Пульсирующая анимация для кнопок */
.pulse {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(255, 45, 85, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(255, 45, 85, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(255, 45, 85, 0);
    }
}

/* ============================================
   СЕКЦИЯ ГЕРОЯ
   ============================================ */

.hero {
    padding: 80px 0 60px;
    background: var(--gradient-dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 45, 85, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

.hero-content {
    position: relative;
    z-index: 1;
}

.hero-title {
    font-size: 56px;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 20px;
    letter-spacing: -2px;
}

.hero-subtitle {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 40px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.hero-subtitle strong {
    color: var(--text-primary);
    font-weight: 700;
}

/* Статистика */
.hero-stats {
    display: flex;
    justify-content: center;
    gap: 60px;
    margin-bottom: 40px;
}

.stat-item {
    text-align: center;
}

.stat-number {
    font-size: 42px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1;
    margin-bottom: 8px;
}

.stat-label {
    font-size: 14px;
    color: var(--text-secondary);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* ============================================
   СЕКЦИЯ С ДЕВУШКАМИ
   ============================================ */

.girls-section {
    padding: 80px 0;
    background: var(--dark-bg);
}

.section-header {
    text-align: center;
    margin-bottom: 60px;
}

.section-title {
    font-size: 42px;
    font-weight: 800;
    margin-bottom: 12px;
    letter-spacing: -1px;
}

.section-subtitle {
    font-size: 18px;
    color: var(--text-secondary);
}

/* Сетка с девушками */
.girls-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

/* Карточка девушки */
.girl-card {
    background: var(--dark-card);
    border-radius: var(--border-radius);
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
}

.girl-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-large);
}

.girl-card:hover .girl-overlay {
    opacity: 1;
}

.girl-image-wrapper {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    background: var(--dark-lighter);
}

.girl-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    object-position: center;
    transition: transform 0.3s ease;
    display: block;
}

.girl-card:hover .girl-image {
    transform: scale(1.05);
}

/* Блюр эффект на изображениях */
.girl-image.blurred {
    filter: blur(8px);
    transform: scale(1.05);
    -webkit-filter: blur(8px);
}

/* Оверлей на карточке */
.girl-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.unlock-icon {
    font-size: 48px;
    margin-bottom: 12px;
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-10px);
    }
}

.unlock-text {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Информация о девушке */
.girl-info {
    padding: 20px;
}

.girl-name {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 8px;
}

.girl-location {
    font-size: 15px;
    color: var(--text-secondary);
    margin-bottom: 12px;
}

.girl-status {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-size: 14px;
    font-weight: 600;
    padding: 6px 12px;
    border-radius: 20px;
    background: rgba(255, 45, 85, 0.1);
}

.girl-status.online {
    color: #4caf50;
}

.status-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #4caf50;
    animation: blink 2s infinite;
}

@keyframes blink {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.3;
    }
}

/* CTA внизу секции */
.section-cta {
    text-align: center;
    margin-top: 60px;
}

.cta-text {
    font-size: 20px;
    color: var(--text-secondary);
    margin-bottom: 24px;
    font-weight: 600;
}

/* ============================================
   МОДАЛЬНОЕ ОКНО (ПОПАП)
   ============================================ */

.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 1000;
    align-items: center;
    justify-content: center;
}

.modal.active {
    display: flex;
}

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(5px);
}

.modal-content {
    position: relative;
    background: var(--dark-card);
    border-radius: var(--border-radius);
    max-width: 900px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: var(--shadow-large);
    animation: modalSlideIn 0.3s ease;
    z-index: 1001;
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    width: 40px;
    height: 40px;
    border: none;
    background: rgba(255, 255, 255, 0.1);
    color: var(--text-primary);
    font-size: 28px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 1002;
    display: flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
}

.modal-close:hover {
    background: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    display: flex;
    gap: 40px;
}

.modal-image-wrapper {
    flex: 1;
    min-width: 0;
}

.modal-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.modal-info {
    flex: 1;
    padding: 40px 40px 40px 0;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.modal-name {
    font-size: 36px;
    font-weight: 800;
    margin-bottom: 12px;
}

.modal-location {
    font-size: 18px;
    color: var(--text-secondary);
    margin-bottom: 16px;
}

.modal-status {
    margin-bottom: 24px;
}

.modal-description {
    font-size: 16px;
    line-height: 1.8;
    color: var(--text-secondary);
    margin-bottom: 32px;
}

.btn-modal {
    width: 100%;
    margin-bottom: 16px;
}

.modal-hint {
    text-align: center;
    font-size: 14px;
    color: var(--text-muted);
    font-style: italic;
}

/* Скроллбар для модального окна */
.modal-content::-webkit-scrollbar {
    width: 8px;
}

.modal-content::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

.modal-content::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 4px;
}

/* ============================================
   СЕКЦИЯ ПРЕИМУЩЕСТВ
   ============================================ */

.features {
    padding: 80px 0;
    background: var(--dark-card);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    background: var(--dark-bg);
    border-radius: var(--border-radius);
    transition: all 0.3s ease;
}

.feature-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-medium);
}

.feature-icon {
    font-size: 48px;
    margin-bottom: 20px;
}

.feature-item h4 {
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
}

.feature-item p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* ============================================
   ФУТЕР
   ============================================ */

.footer {
    padding: 60px 0 30px;
    background: var(--dark-bg);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 40px;
}

.footer-logo h3 {
    font-size: 28px;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 8px;
}

.footer-logo p {
    color: var(--text-secondary);
    font-size: 14px;
}

.footer-legal {
    display: flex;
    gap: 24px;
}

.footer-legal a {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 14px;
    transition: color 0.3s ease;
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.footer-disclaimer {
    text-align: center;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-disclaimer p {
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================
   АДАПТИВНОСТЬ
   ============================================ */

/* Планшеты и средние экраны */
@media (max-width: 992px) {
    .hero-title {
        font-size: 42px;
    }
    
    .hero-subtitle {
        font-size: 18px;
    }
    
    .hero-stats {
        gap: 40px;
    }
    
    .stat-number {
        font-size: 36px;
    }
    
    .section-title {
        font-size: 36px;
    }
    
    .girls-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 24px;
    }
    
    .modal-body {
        flex-direction: column;
    }
    
    .modal-image {
        border-radius: var(--border-radius) var(--border-radius) 0 0;
        max-height: 400px;
    }
    
    .modal-info {
        padding: 30px;
    }
    
    .modal-name {
        font-size: 32px;
    }
}

/* Мобильные устройства */
@media (max-width: 768px) {
    .container {
        padding: 0 16px;
    }
    
    .header {
        padding: 16px 0;
    }
    
    .logo h1 {
        font-size: 24px;
    }
    
    .logo-tagline {
        font-size: 10px;
    }
    
    .btn-primary,
    .btn-secondary {
        padding: 12px 24px;
        font-size: 14px;
    }
    
    .btn-large {
        padding: 16px 32px;
        font-size: 16px;
    }
    
    .hero {
        padding: 60px 0 40px;
    }
    
    .hero-title {
        font-size: 32px;
    }
    
    .hero-subtitle {
        font-size: 16px;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 24px;
    }
    
    .stat-number {
        font-size: 32px;
    }
    
    .section-title {
        font-size: 28px;
    }
    
    .section-subtitle {
        font-size: 16px;
    }
    
    .girls-section {
        padding: 60px 0;
    }
    
    .girls-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .girl-image-wrapper {
        height: 350px;
    }
    
    .girl-name {
        font-size: 20px;
    }
    
    .unlock-icon {
        font-size: 40px;
    }
    
    .unlock-text {
        font-size: 16px;
    }
    
    .features {
        padding: 60px 0;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 24px;
    }
    
    .footer-content {
        flex-direction: column;
        gap: 32px;
        text-align: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 16px;
    }
    
    .modal-content {
        width: 95%;
        max-height: 95vh;
    }
    
    .modal-close {
        width: 36px;
        height: 36px;
        font-size: 24px;
        top: 12px;
        right: 12px;
    }
    
    .modal-info {
        padding: 24px;
    }
    
    .modal-name {
        font-size: 28px;
    }
    
    .modal-location {
        font-size: 16px;
    }
    
    .modal-description {
        font-size: 15px;
    }
}

/* Маленькие мобильные */
@media (max-width: 480px) {
    .hero-title {
        font-size: 28px;
    }
    
    .hero-subtitle {
        font-size: 14px;
    }
    
    .stat-number {
        font-size: 28px;
    }
    
    .stat-label {
        font-size: 12px;
    }
    
    .section-title {
        font-size: 24px;
    }
    
    .girl-image-wrapper {
        height: 300px;
    }
    
    .girl-info {
        padding: 16px;
    }
    
    .girl-name {
        font-size: 18px;
    }
    
    .feature-item {
        padding: 20px;
    }
    
    .feature-icon {
        font-size: 40px;
    }
    
    .feature-item h4 {
        font-size: 18px;
    }
    
    .modal-name {
        font-size: 24px;
    }
}

/* Горизонтальная ориентация мобильных */
@media (max-height: 600px) and (orientation: landscape) {
    .modal-content {
        max-height: 95vh;
    }
    
    .modal-body {
        flex-direction: row;
    }
    
    .modal-image-wrapper {
        flex: 0.6;
    }
    
    .modal-info {
        flex: 0.4;
        padding: 20px;
    }
}

/* Очень большие экраны */
@media (min-width: 1600px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-title {
        font-size: 64px;
    }
    
    .section-title {
        font-size: 48px;
    }
    
    .girls-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}
