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

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-weight: 400;
    line-height: 1.5;
    color: #E5E5E5;
    background-color: #1A1A1A;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    line-height: 1.2;
    font-weight: 600;
    margin-bottom: 1rem;
}

h1 { font-size: 3.5rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: 1rem;
    line-height: 1.6;
}

a {
    color: #00FFFF;
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: #66FFFF;
}

/* Layout */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    background: linear-gradient(135deg, #1A1A1A 0%, #2D1B69 50%, #1A1A1A 100%);
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(45deg, transparent 40%, rgba(0, 255, 255, 0.1) 50%, transparent 60%),
        radial-gradient(circle at 20% 80%, rgba(45, 27, 105, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.1) 0%, transparent 50%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.hero-content {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo {
    width: 80px;
    height: 80px;
}

.brand-name {
    font-size: 3.5rem;
    font-weight: 700;
    background: linear-gradient(135deg, #00FFFF 0%, #2D1B69 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #CCCCCC;
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    background: rgba(0, 255, 255, 0.1);
    padding: 1rem 1.5rem;
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 255, 0.3);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

/* Placeholder styles */
.placeholder-box, .hero-image-placeholder .placeholder-box,
.about-image-placeholder .placeholder-box,
.quest-image-placeholder .placeholder-box,
.room-image-placeholder .placeholder-box,
.team-image-placeholder .placeholder-box,
.membership-image-placeholder .placeholder-box,
.contact-image-placeholder .placeholder-box {
    background: linear-gradient(135deg, #2C2C2C 0%, #2D1B69 100%);
    border: 2px dashed rgba(0, 255, 255, 0.5);
    border-radius: 8px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00FFFF;
    font-weight: 500;
    min-height: 300px;
    text-align: center;
}

.hero-image {
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-img, .about-img, .room-img, .team-img, .membership-img, .contact-img {
    width: 100%;
    height: 400px;
    object-fit: cover;
    border-radius: 12px;
    box-shadow: 0 8px 32px rgba(0, 255, 255, 0.2);
}

.quest-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
}

.hero-image-placeholder .placeholder-box {
    min-height: 400px;
    font-size: 1.2rem;
}

/* Sections */
section {
    padding: 5rem 0;
}

section.centered {
    text-align: center;
}

section.centered h2 {
    text-align: center;
    margin-bottom: 3rem;
}

section.centered .container > *:not(.about-grid):not(.rooms-content):not(.team-content):not(.membership-content):not(.contacts-grid):not(.section-grid) {
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

section:nth-child(even) {
    background-color: #222222;
}

/* About Section */
.about-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text {
    font-size: 1.1rem;
    line-height: 1.7;
}

/* VR Quests */
.quest-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.quest-card {
    background: linear-gradient(135deg, #2C2C2C 0%, #2D1B69 100%);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(0, 255, 255, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.quest-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.2);
}

.quest-card h3, .quest-card p {
    padding: 0 1.5rem;
}

.quest-card p {
    padding-bottom: 1.5rem;
    color: #CCCCCC;
}

/* Private Rooms */
.rooms-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.room-info ul {
    list-style: none;
    margin-top: 1rem;
}

.room-info li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.room-info li::before {
    content: '▸';
    color: #00FFFF;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Services */
.services-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.service-item {
    text-align: center;
    padding: 2rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
    transition: transform 0.3s ease;
}

.service-item:hover {
    transform: translateY(-4px);
    border-color: rgba(0, 255, 255, 0.4);
}

.service-icon {
    margin-bottom: 1.5rem;
}

.service-icon svg {
    width: 48px;
    height: 48px;
}

/* Packages */
.packages-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.package-card {
    background: linear-gradient(135deg, #2C2C2C 0%, #1A1A1A 100%);
    border-radius: 12px;
    padding: 2rem;
    border: 2px solid rgba(0, 255, 255, 0.3);
    text-align: center;
    position: relative;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.package-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 255, 255, 0.15);
}

.package-card.featured {
    border-color: #00FFFF;
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.3);
}

.package-card.featured::before {
    content: 'ПОПУЛЯРНИЙ';
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: #00FFFF;
    color: #1A1A1A;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
}

.package-price {
    font-size: 2rem;
    font-weight: 700;
    color: #00FFFF;
    margin: 1rem 0;
}

.package-card ul {
    list-style: none;
    margin: 2rem 0;
    text-align: left;
}

.package-card li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.package-card li::before {
    content: '✓';
    color: #00FFFF;
    font-weight: bold;
    position: absolute;
    left: 0;
}

.package-btn {
    display: inline-block;
    background: linear-gradient(135deg, #00FFFF 0%, #2D1B69 100%);
    color: #1A1A1A;
    padding: 1rem 2rem;
    border-radius: 8px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    text-decoration: none;
}

.package-btn:hover {
    background: linear-gradient(135deg, #66FFFF 0%, #4A2F8A 100%);
    color: #1A1A1A;
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(0, 255, 255, 0.3);
}

/* Why Choose Us */
.why-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.why-item {
    display: flex;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(45, 27, 105, 0.1);
    border-radius: 12px;
    border: 1px solid rgba(45, 27, 105, 0.3);
}

.why-icon svg {
    width: 48px;
    height: 48px;
    flex-shrink: 0;
}

.why-item h3 {
    margin-bottom: 0.5rem;
}

/* Team Building */
.team-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.team-text ul {
    list-style: none;
    margin-top: 1rem;
}

.team-text li {
    padding: 0.5rem 0;
    position: relative;
    padding-left: 2rem;
}

.team-text li::before {
    content: '◆';
    color: #00FFFF;
    font-weight: bold;
    position: absolute;
    left: 0;
}

/* Membership */
.membership-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin-top: 3rem;
}

.membership-benefits {
    margin-top: 2rem;
}

.benefit {
    display: flex;
    gap: 1rem;
    padding: 1rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 1rem;
}

.benefit-icon svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.benefit-text h4 {
    margin-bottom: 0.25rem;
    color: #00FFFF;
}

.benefit-text p {
    color: #CCCCCC;
    margin: 0;
    font-size: 0.9rem;
}

/* Contacts */
.contacts-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: start;
    margin-top: 3rem;
}

.contact-info {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.contact-item {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(0, 255, 255, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(0, 255, 255, 0.2);
}

.contact-icon svg {
    width: 32px;
    height: 32px;
    flex-shrink: 0;
}

.contact-details h4 {
    margin-bottom: 0.5rem;
    color: #00FFFF;
}

.contact-details a {
    color: #E5E5E5;
    font-size: 1.1rem;
}

.contact-details address {
    font-style: normal;
    line-height: 1.6;
}

/* Footer */
.footer {
    background: linear-gradient(135deg, #0F0F0F 0%, #2D1B69 100%);
    color: #E5E5E5;
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(0, 255, 255, 0.2);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.footer-logo .logo {
    width: 40px;
    height: 40px;
}

.footer-logo .brand-name {
    font-size: 1.5rem;
    font-weight: 600;
    color: #00FFFF;
}

.footer-section h4 {
    color: #00FFFF;
    margin-bottom: 1rem;
    font-size: 1.1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: #CCCCCC;
    transition: color 0.3s ease;
}

.footer-section a:hover {
    color: #00FFFF;
}

.footer-bottom {
    border-top: 1px solid rgba(0, 255, 255, 0.2);
    padding-top: 2rem;
    text-align: center;
    color: #999999;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero .container {
        grid-template-columns: 1fr;
        gap: 3rem;
        text-align: center;
    }
    
    .about-grid,
    .rooms-content,
    .team-content,
    .membership-content,
    .contacts-grid {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 2rem;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 0 1rem;
    }
    
    h1 { font-size: 2.5rem; }
    h2 { font-size: 2rem; }
    .brand-name { font-size: 2.5rem; }
    
    .hero-features {
        justify-content: center;
    }
    
    .feature {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }
    
    .packages-grid,
    .quest-grid,
    .services-grid,
    .why-grid {
        grid-template-columns: 1fr;
    }
    
    .why-item {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    section {
        padding: 3rem 0;
    }
}

@media (max-width: 480px) {
    .hero {
        min-height: 80vh;
    }
    
    h1 { font-size: 2rem; }
    .brand-name { font-size: 2rem; }
    .hero-subtitle { font-size: 1.2rem; }
    
    .logo {
        width: 60px;
        height: 60px;
    }
    
    .package-card,
    .service-item,
    .contact-item,
    .benefit {
        padding: 1.5rem;
    }
}