/* ===== CSS Variables ===== */
:root {
    --primary-color: #E91E63;
    --primary-dark: #C2185B;
    --primary-light: #F06292;
    --secondary-color: #FF6B9D;
    --accent-color: #FFC107;
    --bg-dark: #0A0A0A;
    --bg-darker: #000000;
    --bg-light: #1A1A1A;
    --text-primary: #FFFFFF;
    --text-secondary: #E0E0E0;
    --text-muted: #B0B0B0;
    --gradient-1: linear-gradient(135deg, #E91E63 0%, #FF6B9D 50%, #FFC107 100%);
    --gradient-2: linear-gradient(135deg, #E91E63 0%, #C2185B 100%);
    --gradient-3: linear-gradient(135deg, rgba(233, 30, 99, 0.2) 0%, rgba(255, 107, 157, 0.1) 100%);
    --gradient-chat: linear-gradient(135deg, #E91E63 0%, #FF6B9D 100%);
    --gradient-games: linear-gradient(135deg, #FF6B9D 0%, #FFC107 100%);
    --shadow-glow: 0 0 40px rgba(233, 30, 99, 0.6);
    --shadow-soft: 0 20px 60px rgba(0, 0, 0, 0.5);
    --transition-smooth: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== Reset & Base Styles ===== */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    background: var(--bg-darker);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 30% 40%, rgba(233, 30, 99, 0.15) 0%, transparent 50%),
        radial-gradient(circle at 70% 60%, rgba(255, 107, 157, 0.1) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ===== Navigation ===== */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.2rem 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(233, 30, 99, 0.1);
    transition: var(--transition-smooth);
}

.navbar.scrolled {
    padding: 0.8rem 0;
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 5px 30px rgba(0, 0, 0, 0.8);
}

.nav-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Playfair Display', serif;
    font-size: 1.8rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    letter-spacing: 2px;
}

.btn-telegram {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.6rem 1.5rem;
    background: rgba(233, 30, 99, 0.2);
    border: 1px solid rgba(233, 30, 99, 0.5);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 0.9rem;
    transition: var(--transition-smooth);
}

.btn-telegram:hover {
    background: rgba(233, 30, 99, 0.4);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(233, 30, 99, 0.4);
}

.btn-telegram svg {
    width: 18px;
    height: 18px;
}

/* ===== Hero Section ===== */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 4rem;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
}

.gradient-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(233, 30, 99, 0.2) 0%, transparent 60%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.9) 0%, rgba(0, 0, 0, 1) 100%);
}

.particles {
    position: absolute;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.particle {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--primary-color);
    border-radius: 50%;
    opacity: 0.6;
    animation: float 20s infinite ease-in-out;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) translateX(0);
        opacity: 0.6;
    }
    50% {
        transform: translateY(-150px) translateX(100px);
        opacity: 0.2;
    }
}

.hero-content {
    max-width: 1400px;
    width: 100%;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-image-container {
    position: relative;
    animation: fadeInLeft 1s ease-out;
}

.image-wrapper {
    position: relative;
    border-radius: 30px;
    overflow: hidden;
    box-shadow: var(--shadow-soft), var(--shadow-glow);
    transform: perspective(1000px) rotateY(-3deg);
    transition: transform 0.6s ease;
}

.image-wrapper:hover {
    transform: perspective(1000px) rotateY(0deg) scale(1.02);
}

.hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    filter: brightness(1.05) contrast(1.1);
}

.image-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(233, 30, 99, 0.5) 0%, transparent 70%);
    animation: rotate 25s linear infinite;
    pointer-events: none;
    z-index: -1;
}

.image-shine {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    animation: shine 3s infinite;
    pointer-events: none;
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

@keyframes shine {
    0% {
        left: -100%;
    }
    100% {
        left: 100%;
    }
}

.hero-text {
    animation: fadeInRight 1s ease-out 0.2s both;
}

.hero-title {
    font-family: 'Playfair Display', serif;
    font-size: 5rem;
    font-weight: 700;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.title-main {
    display: block;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    background-size: 200% 200%;
    animation: gradientShift 4s ease infinite;
}

@keyframes gradientShift {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

.hero-subtitle {
    font-size: 1.4rem;
    color: var(--secondary-color);
    margin-bottom: 1rem;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    margin-bottom: 2.5rem;
    line-height: 1.8;
    max-width: 500px;
}

.hero-buttons {
    display: flex;
    gap: 1.5rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.btn-hero {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    padding: 1.2rem 2.5rem;
    text-decoration: none;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1.1rem;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.btn-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.btn-hero:hover::before {
    left: 100%;
}

.btn-hero svg {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.btn-chat {
    background: var(--gradient-chat);
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(233, 30, 99, 0.5);
}

.btn-chat:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(233, 30, 99, 0.7);
}

.btn-games {
    background: var(--gradient-games);
    color: var(--text-primary);
    box-shadow: 0 10px 40px rgba(255, 107, 157, 0.5);
}

.btn-games:hover {
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 15px 50px rgba(255, 107, 157, 0.7);
}

.telegram-link {
    margin-top: 1rem;
}

.btn-telegram-link {
    display: inline-flex;
    align-items: center;
    gap: 0.8rem;
    padding: 0.9rem 2rem;
    background: rgba(233, 30, 99, 0.15);
    border: 2px solid rgba(233, 30, 99, 0.5);
    color: var(--text-primary);
    text-decoration: none;
    border-radius: 50px;
    font-weight: 500;
    font-size: 1rem;
    transition: var(--transition-smooth);
}

.btn-telegram-link:hover {
    background: rgba(233, 30, 99, 0.3);
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: 0 8px 30px rgba(233, 30, 99, 0.4);
}

.btn-telegram-link svg {
    width: 20px;
    height: 20px;
}

/* ===== Features Section ===== */
.features {
    padding: 5rem 0;
    position: relative;
    z-index: 1;
}

.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    max-width: 1000px;
    margin: 0 auto;
}

.feature-card {
    background: rgba(26, 26, 26, 0.6);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(233, 30, 99, 0.2);
    border-radius: 25px;
    padding: 2.5rem;
    text-align: center;
    transition: var(--transition-smooth);
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: var(--gradient-3);
    transition: left 0.5s ease;
}

.feature-card:hover::before {
    left: 0;
}

.feature-card:hover {
    transform: translateY(-10px);
    border-color: var(--primary-color);
    box-shadow: 0 20px 50px rgba(233, 30, 99, 0.3);
}

.feature-icon {
    font-size: 3.5rem;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    filter: drop-shadow(0 0 10px rgba(233, 30, 99, 0.5));
}

.feature-card h3 {
    font-size: 1.5rem;
    margin-bottom: 0.8rem;
    position: relative;
    z-index: 1;
    color: var(--text-primary);
}

.feature-card p {
    color: var(--text-muted);
    position: relative;
    z-index: 1;
    line-height: 1.6;
}

/* ===== Footer ===== */
.footer {
    background: var(--bg-darker);
    border-top: 1px solid rgba(233, 30, 99, 0.1);
    padding: 3rem 0;
    text-align: center;
}

.footer-content {
    max-width: 800px;
    margin: 0 auto;
}

.footer-logo {
    font-family: 'Playfair Display', serif;
    font-size: 2rem;
    font-weight: 700;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.footer-disclaimer {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition-smooth);
    font-weight: 500;
}

.footer-links a:hover {
    color: var(--primary-color);
    transform: translateY(-2px);
}

.footer-copyright {
    color: var(--text-muted);
    font-size: 0.85rem;
}

/* ===== Animations ===== */
@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    .hero-content {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .hero-title {
        font-size: 4rem;
    }
    
    .hero-description {
        max-width: 100%;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .nav-container {
        padding: 0 1rem;
    }
    
    .logo {
        font-size: 1.5rem;
    }
    
    .btn-telegram {
        padding: 0.5rem 1.2rem;
        font-size: 0.85rem;
    }
    
    .hero {
        padding: 5rem 1rem 3rem;
    }
    
    .hero-title {
        font-size: 3rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-description {
        font-size: 1rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        width: 100%;
    }
    
    .btn-hero {
        width: 100%;
        justify-content: center;
        padding: 1rem 2rem;
    }
    
    .btn-telegram-link {
        width: 100%;
        justify-content: center;
    }
    
    .features {
        padding: 4rem 0;
    }
    
    .container {
        padding: 0 1rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
    
    .feature-card {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .btn-hero {
        font-size: 1rem;
        padding: 0.9rem 1.8rem;
    }
}
