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

body {
    font-family: 'Exo 2', sans-serif;
    background: linear-gradient(135deg, #0a0a0a 0%, #1a1a2e 50%, #16213e 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Language Toggle */
.language-toggle {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 1000;
    display: flex;
    gap: 5px;
}

.lang-btn {
    padding: 8px 16px;
    background: rgba(0, 255, 255, 0.1);
    border: 2px solid #00ffff;
    color: #00ffff;
    cursor: pointer;
    border-radius: 20px;
    font-weight: 600;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    background: rgba(0, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 255, 255, 0.3);
}

.lang-btn.active {
    background: #00ffff;
    color: #0a0a0a;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.5);
}

/* Hero Section */
.hero-section {
    padding: 100px 0 80px;
    background: 
        radial-gradient(circle at 20% 80%, rgba(255, 0, 150, 0.3) 0%, transparent 50%),
        radial-gradient(circle at 80% 20%, rgba(0, 255, 255, 0.3) 0%, transparent 50%),
        linear-gradient(135deg, rgba(10, 10, 10, 0.8) 0%, rgba(26, 26, 46, 0.8) 50%, rgba(22, 33, 62, 0.8) 100%);
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: url('publicize.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    opacity: 0.3;
    filter: blur(2px) brightness(0.7);
    z-index: 1;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><polygon points="50,10 90,90 10,90" fill="none" stroke="%2300ffff" stroke-width="0.5" opacity="0.1"/></svg>') repeat;
    animation: float 20s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 3;
}

.app-info {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.app-icon {
    width: 120px;
    height: 120px;
    border-radius: 25px;
    box-shadow: 
        0 0 30px rgba(0, 255, 255, 0.5),
        0 0 60px rgba(255, 0, 150, 0.3);
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.05); }
}

.app-title {
    font-family: 'Orbitron', monospace;
    font-size: 3.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, #00ffff, #ff0096, #00ffff);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradient 3s ease infinite;
    text-shadow: 0 0 30px rgba(0, 255, 255, 0.5);
}

@keyframes gradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.app-description {
    font-size: 1.2rem;
    color: #b0b0b0;
    line-height: 1.8;
    margin-top: 20px;
}

.hero-image {
    position: relative;
    z-index: 4;
}

.promo-image {
    width: 100%;
    max-width: 500px;
    height: auto;
    border-radius: 25px;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.4),
        0 0 80px rgba(0, 255, 255, 0.3),
        inset 0 0 0 2px rgba(255, 255, 255, 0.1);
    transform: translateY(0) scale(1);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    opacity: 0.9;
    filter: brightness(1.1) contrast(1.2) saturate(1.1);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(0, 255, 255, 0.2);
}

.promo-image:hover {
    transform: translateY(-15px) scale(1.05);
    box-shadow: 
        0 30px 80px rgba(0, 0, 0, 0.5),
        0 0 120px rgba(0, 255, 255, 0.5),
        inset 0 0 0 3px rgba(255, 255, 255, 0.2);
    opacity: 1;
    filter: brightness(1.2) contrast(1.3) saturate(1.2);
    border-color: rgba(0, 255, 255, 0.4);
}

/* Section Titles */
.section-title {
    font-family: 'Orbitron', monospace;
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #00ffff, #ff0096);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 3px;
    background: linear-gradient(45deg, #00ffff, #ff0096);
    border-radius: 2px;
}

/* Gameplay Section */
.gameplay-section {
    padding: 80px 0;
    background: 
        radial-gradient(circle at 70% 30%, rgba(255, 0, 150, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, transparent 0%, rgba(0, 255, 255, 0.05) 100%);
}

.gameplay-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
}

.gameplay-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    position: relative;
    overflow: hidden;
}

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

.gameplay-item:hover::before {
    left: 100%;
}

.gameplay-item:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(0, 255, 255, 0.3);
    border-color: #00ffff;
}

.gameplay-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 255, 0.5));
}

.gameplay-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 15px;
}

.gameplay-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Features Section */
.features-section {
    padding: 80px 0;
    background: 
        radial-gradient(circle at 30% 70%, rgba(0, 255, 255, 0.1) 0%, transparent 50%),
        linear-gradient(180deg, rgba(255, 0, 150, 0.05) 0%, transparent 100%);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 30px;
    justify-items: center;
}

.features-grid .feature-item:nth-child(1) {
    grid-column: 1 / 3;
}

.features-grid .feature-item:nth-child(2) {
    grid-column: 3 / 5;
}

.features-grid .feature-item:nth-child(3) {
    grid-column: 5 / 7;
}

.features-grid .feature-item:nth-child(4) {
    grid-column: 2 / 4;
    grid-row: 2;
}

.features-grid .feature-item:nth-child(5) {
    grid-column: 4 / 6;
    grid-row: 2;
}

@media (max-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .features-grid .feature-item:nth-child(4),
    .features-grid .feature-item:nth-child(5) {
        grid-column: 1;
    }
}

.feature-item {
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 0, 150, 0.3);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
    backdrop-filter: blur(10px);
    min-height: 280px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.feature-item:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(255, 0, 150, 0.3);
    border-color: #ff0096;
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 10px rgba(255, 0, 150, 0.5));
}

.feature-item h3 {
    font-family: 'Orbitron', monospace;
    font-size: 1.3rem;
    font-weight: 700;
    color: #ff0096;
    margin-bottom: 15px;
}

.feature-item p {
    color: #b0b0b0;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots-section {
    padding: 80px 0;
    background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.3) 100%);
}

.screenshots-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
}

.screenshot-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.screenshot-item:hover {
    transform: scale(1.05);
}

.screenshot {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 20px;
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 255, 255, 0.2);
}

/* Footer */
.footer {
    padding: 40px 0;
    background: rgba(0, 0, 0, 0.8);
    border-top: 1px solid rgba(0, 255, 255, 0.3);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.privacy-link {
    color: #00ffff;
    text-decoration: none;
    padding: 10px 20px;
    border: 1px solid #00ffff;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.privacy-link:hover {
    background: #00ffff;
    color: #0a0a0a;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.5);
}

.footer-info {
    text-align: right;
}

.footer-info p {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 5px;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }
    
    .app-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .gameplay-grid,
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-info {
        text-align: center;
    }
    
    .language-toggle {
        top: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .app-title {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

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

.gameplay-item,
.feature-item,
.screenshot-item {
    animation: fadeInUp 0.6s ease forwards;
}

.gameplay-item:nth-child(1) { animation-delay: 0.1s; }
.gameplay-item:nth-child(2) { animation-delay: 0.2s; }
.gameplay-item:nth-child(3) { animation-delay: 0.3s; }
.gameplay-item:nth-child(4) { animation-delay: 0.4s; }
.gameplay-item:nth-child(5) { animation-delay: 0.5s; }
.gameplay-item:nth-child(6) { animation-delay: 0.6s; }

.feature-item:nth-child(1) { animation-delay: 0.1s; }
.feature-item:nth-child(2) { animation-delay: 0.2s; }
.feature-item:nth-child(3) { animation-delay: 0.3s; }
.feature-item:nth-child(4) { animation-delay: 0.4s; }
.feature-item:nth-child(5) { animation-delay: 0.5s; }

.screenshot-item:nth-child(1) { animation-delay: 0.1s; }
.screenshot-item:nth-child(2) { animation-delay: 0.2s; }
.screenshot-item:nth-child(3) { animation-delay: 0.3s; }
.screenshot-item:nth-child(4) { animation-delay: 0.4s; }