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

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #2c3e50;
    background: linear-gradient(135deg, #f0f8ff 0%, #e6f3ff 100%);
    overflow-x: hidden;
}

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

/* Header Styles */
.header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 0;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(10px);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.1);
}

.logo h1 {
    font-size: 2rem;
    font-weight: 700;
    background: linear-gradient(45deg, #3498db, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.nav {
    display: flex;
    gap: 30px;
}

.nav a {
    text-decoration: none;
    color: #2c3e50;
    font-weight: 500;
    transition: color 0.3s ease;
    position: relative;
}

.nav a:hover {
    color: #3498db;
}

.nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #3498db, #f39c12);
    transition: width 0.3s ease;
}

.nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    margin-top: 100px;
    padding: 80px 0;
    min-height: 90vh;
    display: flex;
    align-items: center;
}

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

.hero-text {
    padding-right: 40px;
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(45deg, #3498db, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.hero-subtitle {
    font-size: 1.3rem;
    color: #34495e;
    margin-bottom: 20px;
    font-weight: 500;
}

.hero-description {
    font-size: 1.1rem;
    color: #5a6c7d;
    margin-bottom: 40px;
    line-height: 1.7;
}

.features-list {
    margin-bottom: 40px;
}

.feature-item {
    display: flex;
    align-items: center;
    margin-bottom: 15px;
    font-size: 1.1rem;
    color: #34495e;
}

.feature-icon {
    font-size: 1.5rem;
    margin-right: 15px;
    width: 30px;
}

.cta-section {
    margin-top: 40px;
}

.cta-text {
    font-size: 1.2rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 25px;
}

.download-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    padding: 18px 40px;
    font-size: 1.2rem;
    font-weight: 600;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.3);
    position: relative;
    overflow: hidden;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(52, 152, 219, 0.4);
}

.download-btn::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;
}

.download-btn:hover::before {
    left: 100%;
}

/* Hero Visual */
.hero-visual {
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-preview {
    position: relative;
    width: 400px;
    height: 500px;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 30px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.15);
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.bottles-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 30px;
}

.bottle {
    width: 60px;
    height: 80px;
    background: #ffffff;
    border: 3px solid #3498db;
    border-radius: 0 0 15px 15px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
}

.liquid {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    transition: all 0.5s ease;
}

.liquid-blue {
    background: linear-gradient(to top, #3498db, #5dade2);
}

.liquid-yellow {
    background: linear-gradient(to top, #f39c12, #f7dc6f);
}

.bottle-1 .liquid-blue {
    height: 60%;
}

.bottle-1 .liquid-yellow {
    height: 40%;
}

.bottle-2 .liquid-yellow {
    height: 60%;
}

.bottle-2 .liquid-blue {
    height: 40%;
}

.bottle-3 .liquid-blue {
    height: 100%;
}

.bottle-4 .liquid-yellow {
    height: 100%;
}

.water-drops {
    position: absolute;
    top: 20px;
    left: 50%;
    transform: translateX(-50%);
}

.drop {
    width: 8px;
    height: 8px;
    background: #3498db;
    border-radius: 50%;
    position: absolute;
    animation: dropFall 2s infinite ease-in-out;
}

.drop-1 {
    left: -20px;
    animation-delay: 0s;
}

.drop-2 {
    left: 0px;
    animation-delay: 0.5s;
}

.drop-3 {
    left: 20px;
    animation-delay: 1s;
}

@keyframes dropFall {
    0% {
        transform: translateY(-20px);
        opacity: 0;
    }
    50% {
        opacity: 1;
    }
    100% {
        transform: translateY(100px);
        opacity: 0;
    }
}

/* Features Section */
.features {
    padding: 100px 0;
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
}

.features-content {
    text-align: center;
}

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 60px;
    background: linear-gradient(45deg, #3498db, #f39c12);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 40px;
    margin-top: 60px;
}

.feature-card {
    background: white;
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(45deg, #3498db, #f39c12);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.15);
}

.feature-icon-large {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
}

.feature-card h4 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #2c3e50;
}

.feature-card p {
    color: #5a6c7d;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 100px 0;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
}

.screenshots-content {
    text-align: center;
}

.screenshots-description {
    font-size: 1.2rem;
    color: #5a6c7d;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.screenshots-gallery {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-bottom: 50px;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.screenshot-item {
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
    transition: all 0.3s ease;
    cursor: pointer;
    background: white;
}

.screenshot-item:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.2);
}

.screenshot-img {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: all 0.3s ease;
}

.screenshot-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(52, 152, 219, 0.8), rgba(243, 156, 18, 0.8));
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: all 0.3s ease;
    color: white;
}

.screenshot-item:hover .screenshot-overlay {
    opacity: 1;
}

.screenshot-icon {
    font-size: 3rem;
    margin-bottom: 15px;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

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

.screenshot-text {
    font-size: 1.2rem;
    font-weight: 600;
    text-align: center;
    padding: 0 20px;
    transform: translateY(20px);
    transition: transform 0.3s ease;
}

.screenshot-item:hover .screenshot-text {
    transform: translateY(0);
}

.screenshots-navigation {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-top: 40px;
}

.nav-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: white;
    border: none;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 5px 15px rgba(52, 152, 219, 0.3);
}

.nav-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.nav-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    transform: none;
}

.screenshot-indicators {
    display: flex;
    gap: 15px;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: #bdc3c7;
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    background: linear-gradient(45deg, #3498db, #f39c12);
    transform: scale(1.2);
}

.indicator:hover {
    background: #3498db;
    transform: scale(1.1);
}

/* Screenshots Modal */
.screenshot-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 10000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.screenshot-modal.active {
    opacity: 1;
    visibility: visible;
}

.modal-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    background: white;
    border-radius: 20px;
    overflow: hidden;
    transform: scale(0.8);
    transition: transform 0.3s ease;
}

.screenshot-modal.active .modal-content {
    transform: scale(1);
}

.modal-img {
    width: 100%;
    height: auto;
    max-height: 80vh;
    object-fit: contain;
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.5);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-close:hover {
    background: rgba(0, 0, 0, 0.8);
    transform: scale(1.1);
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: white;
    text-align: center;
}

.download-content {
    max-width: 800px;
    margin: 0 auto;
}

.download .section-title {
    color: white;
    -webkit-text-fill-color: white;
    margin-bottom: 30px;
}

.download-description {
    font-size: 1.2rem;
    margin-bottom: 50px;
    opacity: 0.9;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.platform-btn {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    padding: 20px 30px;
    border-radius: 15px;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
    backdrop-filter: blur(10px);
    min-width: 200px;
}

.platform-btn:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
    transform: translateY(-3px);
}

.platform-icon {
    font-size: 2rem;
}

.platform-info {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
}

.platform-name {
    font-size: 1.2rem;
    font-weight: 600;
}

.platform-subtitle {
    font-size: 0.9rem;
    opacity: 0.8;
}

.privacy-notice {
    margin-top: 30px;
    text-align: center;
}

.privacy-notice p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
    margin: 0;
}

.privacy-notice a {
    color: rgba(255, 255, 255, 0.9);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.privacy-notice a:hover {
    color: white;
}

/* Footer */
.footer {
    background: #2c3e50;
    color: white;
    padding: 60px 0 20px;
    padding-left: 20px;
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-bottom: 40px;
}

.footer-section h4 {
    font-size: 1.3rem;
    margin-bottom: 20px;
    color: #3498db;
}

.footer-section p {
    color: #bdc3c7;
    line-height: 1.6;
}

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

.footer-section ul li {
    margin-bottom: 10px;
}

.footer-section ul li a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #3498db;
}

.footer-bottom {
    border-top: 1px solid #34495e;
    padding-top: 20px;
    text-align: center;
    color: #7f8c8d;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
    }
}

@media (max-width: 768px) {
    .hero {
        margin-top: 0;
    }
    .hero-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .hero-text {
        padding-right: 0;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .nav {
        gap: 20px;
    }
    
    .nav a {
        font-size: 0.9rem;
    }
    
    /* Mobile header layout */
    .header {
        padding: 15px 0;
    }
    
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .nav {
        position: fixed;
        top: 70px;
        left: 0;
        right: 0;
        background: rgba(255, 255, 255, 0.98);
        backdrop-filter: blur(10px);
        flex-direction: column;
        padding: 20px;
        box-shadow: 0 5px 20px rgba(0, 0, 0, 0.1);
        transform: translateY(-100%);
        opacity: 0;
        visibility: hidden;
        transition: all 0.3s ease;
        z-index: 999;
    }
    
    .nav.mobile-open {
        transform: translateY(0);
        opacity: 1;
        visibility: visible;
    }
    
    .nav a {
        padding: 15px 0;
        border-bottom: 1px solid #ecf0f1;
        font-size: 1.1rem;
        text-align: center;
    }
    
    .nav a:last-child {
        border-bottom: none;
    }
    
    .mobile-menu-btn {
        display: block !important;
        background: none;
        border: none;
        font-size: 1.5rem;
        color: #2c3e50;
        cursor: pointer;
        padding: 5px;
        border-radius: 5px;
        transition: all 0.3s ease;
    }
    
    .mobile-menu-btn:hover {
        background: rgba(52, 152, 219, 0.1);
        color: #3498db;
    }
    
    .mobile-menu-btn.active {
        background: rgba(52, 152, 219, 0.2);
        color: #3498db;
    }
    
    .game-preview {
        width: 300px;
        height: 400px;
        padding: 30px;
    }
    
    .bottles-container {
        gap: 15px;
    }
    
    .bottle {
        width: 50px;
        height: 70px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .platform-btn {
        min-width: 250px;
    }
    
    .screenshots-gallery {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .screenshot-img {
        height: auto;
    }
    
    .screenshots-navigation {
        gap: 20px;
    }
    
    .nav-btn {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .game-preview {
        width: 250px;
        height: 350px;
        padding: 20px;
    }
    
    .bottle {
        width: 40px;
        height: 60px;
    }
    
    .screenshots-gallery {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .screenshot-img {
        height: auto;
    }
    
    .screenshots-navigation {
        gap: 15px;
    }
    
    .nav-btn {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .indicator {
        width: 10px;
        height: 10px;
    }
    
    .footer {
        padding-left: 15px;
    }
    
    /* Extra small mobile header */
    .header {
        padding: 10px 0;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .nav {
        top: 60px;
        padding: 15px;
    }
    
    .nav a {
        padding: 12px 0;
        font-size: 1rem;
    }
    
    .mobile-menu-btn {
        font-size: 1.3rem;
        padding: 3px;
    }
}

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

.hero-text > * {
    animation: fadeInUp 0.8s ease-out forwards;
}

.hero-text > *:nth-child(1) { animation-delay: 0.1s; }
.hero-text > *:nth-child(2) { animation-delay: 0.2s; }
.hero-text > *:nth-child(3) { animation-delay: 0.3s; }
.hero-text > *:nth-child(4) { animation-delay: 0.4s; }
.hero-text > *:nth-child(5) { animation-delay: 0.5s; }
