/* Custom CSS for Aztec Labyrinth Landing Page */

/* Root Variables */
:root {
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --dark-color: #343a40;
    --light-color: #f8f9fa;
    --font-family: 'Unbounded', sans-serif;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: var(--font-family);
    overflow-x: hidden;
    scroll-behavior: smooth;
}

/* Main Content Area */
.main-content {
    min-height: 100vh;
}

@media (max-width: 991.98px) {
    .main-content {
        margin-left: 0 !important;
    }
}

/* Hero Section */
.hero-section {
    background: linear-gradient(135deg, #3549a1 0%, #000000 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg {
    background: url('images/hero-bg.jpg') center/cover no-repeat;
    opacity: 0.5;
}

.hero-title {
    background: linear-gradient(45deg, #ffc107, #ffc107);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    line-height: 1.1;
}

/* Увеличиваем заголовок на больших экранах */
@media (min-width: 1200px) {
    .hero-title {
        font-size: 5rem !important;
    }
}

.hero-subtitle-wrapper {
    border-radius: 50px;
    padding: 12px 10px;
    display: inline-block;
}

.hero-subtitle {
    color: #fff;
    font-weight: 300;
    letter-spacing: 2px;
}

.hero-description {
    color: rgba(255,255,255,0.9);
    text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

.hero-pattern-left,
.hero-pattern-right {
    width: 200%;
    height: 200%;
    opacity: 0.05;
    background: radial-gradient(circle, #fff 1px, transparent 1px);
    background-size: 50px 50px;
}

.hero-pattern-left {
    left: -50%;
    animation: float 20s ease-in-out infinite;
}

.hero-pattern-right {
    right: -50%;
    animation: float 25s ease-in-out infinite reverse;
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Features Section */
.features-section {
    background: linear-gradient(135deg, #f8f9fa 0%, #ffffff 50%, #f8f9fa 100%);
    position: relative;
}

.feature-photo-card {
    transition: all 0.4s ease;
    padding: 1.5rem;
    border-radius: 1rem;
}

.feature-photo-card:hover {
    transform: translateY(-10px);
    background: white;
    box-shadow: 0 20px 40px rgba(0,0,0,0.1);
}

.feature-photo-wrapper {
    position: relative;
    overflow: hidden;
    border-radius: 0.75rem;
    transition: all 0.4s ease;
}

.feature-photo {
    transition: all 0.4s ease;
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.feature-photo-card:hover .feature-photo {
    transform: scale(1.05);
}

.photo-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, 
        rgba(79, 109, 245, 0.1) 0%, 
        rgba(58, 86, 228, 0.05) 100%);
    opacity: 0;
    transition: all 0.4s ease;
}

.feature-photo-card:hover .photo-overlay {
    opacity: 1;
}

/* Benefits Section */
.benefits-section {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 50%, #ffffff 100%);
    position: relative;
}

.icon-circle {
    width: 60px;
    height: 60px;
    flex-shrink: 0;
}

.benefit-item {
    transition: all 0.3s ease;
    padding: 1rem;
    border-radius: 0.5rem;
}

.benefit-item:hover {
    background: rgba(79, 109, 245, 0.05);
    transform: translateX(10px);
}

/* Video Styles */
.video-preview-wrapper {
    transition: all 0.4s ease;
    cursor: pointer;
}

.video-preview-wrapper:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.3) !important;
}

.video-overlay {
    background: linear-gradient(135deg, 
        rgba(79, 109, 245, 0.3) 0%, 
        rgba(58, 86, 228, 0.5) 100%);
    opacity: 1;
    transition: all 0.3s ease;
}

.play-button {
    width: 80px;
    height: 80px;
    transition: all 0.3s ease;
    background: rgba(79, 109, 245, 0.9) !important;
}

.play-button:hover {
    transform: scale(1.1);
    background: rgba(58, 86, 228, 0.95) !important;
    box-shadow: 0 10px 25px rgba(0,0,0,0.3) !important;
}

/* Marketplace Cards */
.marketplace-card {
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.marketplace-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0,0,0,0.1) !important;
    border-color: #4f6df5;
}

.marketplace-logo {
    height: 60px;
    object-fit: contain;
    margin-bottom: 1rem;
}

/* Reviews */
.review-card {
    transition: all 0.3s ease;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0,0,0,0.1) !important;
}

.stars {
    color: #fbbf24;
}

/* Sidebar Navigation */
.navbar-vertical {
    height: 100vh;
    position: fixed;
    top: 0;
    left: 0;
    z-index: 1030;
}

.navbar-nav .nav-link {
    color: rgba(255,255,255,0.8);
    padding: 12px 20px;
    margin: 4px 0;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.navbar-nav .nav-link::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--warning-color);
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.navbar-nav .nav-link:hover,
.navbar-nav .nav-link.active {
    color: #fff;
    background: rgba(255,255,255,0.1);
    transform: translateX(5px);
}

.navbar-nav .nav-link:hover::before,
.navbar-nav .nav-link.active::before {
    transform: scaleY(1);
}

/* Buttons */
.btn {
    font-weight: 600;
    transition: all 0.3s ease;
}

.btn-warning:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(255,193,7,0.3);
}

.btn-outline-light {
    color: #000 !important;
    background-color: #fff !important;
    border-color: #fff !important;
}

.btn-outline-light:hover {
    color: #000 !important;
    background-color: #f8f9fa !important;
    border-color: #f8f9fa !important;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0,0,0,0.15);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-title {
        font-size: 3rem !important;
    }
    
    .feature-photo {
        height: 180px;
    }
    
    .play-button {
        width: 60px;
        height: 60px;
    }
}

@media (max-width: 576px) {
    .hero-title {
        font-size: 2.5rem !important;
    }
    
    .feature-photo {
        height: 160px;
    }
    
    .play-button {
        width: 50px;
        height: 50px;
    }
}