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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8fafc;
}

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

/* Header Styles */
.header {
    background: linear-gradient(135deg, #3a88e2 0%, #d6966b 100%);
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
}

.nav {
    padding: 1rem 0;
}

.nav .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-brand h2 {
    color: white;
    font-size: 1.5rem;
    font-weight: 600;
}

.nav-links {
    display: flex;
    justify-content: center;
    align-items: center;
    list-style: none;
    gap: 2rem;
}

.nav-links a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 5px;
}

.nav-links a:hover {
    background: rgba(255,255,255,0.2);
    transform: translateY(-2px);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: white;
    margin: 3px 0;
    transition: 0.3s;
}

/* Button Styles */
.btn-primary {
    background: linear-gradient(45deg, #23c5e5, #ee7935);
    color: white;
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255,107,107,0.3);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255,107,107,0.4);
}

.btn-secondary {
    background: transparent;
    color: #667eea;
    padding: 0.75rem 1.5rem;
    border: 2px solid #667eea;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    display: inline-block;
    transition: all 0.3s ease;
}

.btn-secondary:hover {
    background: #667eea;
    color: white;
    transform: translateY(-2px);
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, #ee9025 0%, #269b99 100%);
    color: white;
    padding: 120px 0 80px;
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero::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 1000 100" fill="white" opacity="0.1"><path d="M0,0 C150,100 350,0 500,50 C650,100 850,0 1000,50 L1000,100 L0,100 Z"></path></svg>');
    background-size: cover;
    background-position: bottom;
}

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

.hero h1 {
    font-size: 3.5rem;
    font-weight: 800;
    margin-bottom: 1rem;
    background: linear-gradient(45deg, #fff, #f1f2f6);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 1rem;
    color: #feca57;
}

.hero-description {
    font-size: 1.1rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    line-height: 1.8;
}

.hero-buttons {
    
    gap: 1rem;
    margin-bottom: 3rem;
}

.play-badge {
    height: 60px;
    width: auto;
}

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

.stat {
    text-align: center;
}

.stat-number {
    display: block;
    font-size: 1.5rem;
    font-weight: 700;
    color: #feca57;
}

.stat-label {
    font-size: 0.9rem;
    opacity: 0.8;
}

/* Phone Mockup */
.phone-mockup {
    background: linear-gradient(145deg, #315579, #3498db);
    width: 400px;
    border-radius: 30px;
    padding: 20px;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
    transform: rotate(-5deg);
    transition: transform 0.3s ease;
}

.phone-mockup:hover {
    transform: rotate(0deg) scale(1.05);
}

.phone-screen {
    background: #1a1a1a;
    border-radius: 20px;
    padding: 10px;
    min-height: 400px;
    position: relative;
    overflow: hidden;
}

.game-preview {
    text-align: center;
    color: white;
}

.game-preview h3 {
    font-size: 1.2rem;
    margin-bottom: 2rem;
}

.game-elements {
    position: relative;
    height: 650px;
    display: flex;
    justify-content: center;
    /* background: linear-gradient(180deg, #87ceeb, #98fb98); */
    background-image: url('./images/screenshots/main-menu.jpg');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 10px;
}

.game-elements .game-screenshot{
    width: 100%;
    border-radius: 25px;
}

.pillar {
    position: absolute;
    width: 30px;
    height: 150px;
    background: #8b4513;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    border-radius: 5px 5px 0 0;
}

.plane {
    position: absolute;
    font-size: 2rem;
    top: 50%;
    left: 20%;
    animation: fly 3s ease-in-out infinite;
}

.rope {
    position: absolute;
    width: 2px;
    height: 100px;
    background: #d4af37;
    left: 50%;
    top: 40%;
    transform: translateX(-50%);
    animation: wrap 2s ease-in-out infinite;
}

.obstacle {
    position: absolute;
    font-size: 1.5rem;
    top: 20%;
    right: 20%;
    animation: float 2s ease-in-out infinite;
}

@keyframes fly {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

@keyframes wrap {
    0%, 100% { transform: translateX(-50%) rotate(0deg); }
    50% { transform: translateX(-50%) rotate(180deg); }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

/* Section Styles */
.section-header {
    text-align: center;
    margin-bottom: 4rem;
}

.section-header h2 {
    font-size: 2.5rem;
    font-weight: 700;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.section-header p {
    font-size: 1.1rem;
    color: #7f8c8d;
    max-width: 600px;
    margin: 0 auto;
}

/* About Section */
.about {
    padding: 80px 0;
    background: white;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-text h3 {
    font-size: 1.5rem;
    color: #2c3e50;
    margin-bottom: 1.5rem;
}

.gameplay-list {
    list-style: none;
    margin-bottom: 2rem;
}

.gameplay-list li {
    padding: 0.5rem 0;
    font-size: 1.1rem;
    color: #555;
}

.gameplay-list li strong {
    color: #667eea;
}

.about-visual {
    display: flex;
    justify-content: center;
    align-items: center;
}

.game-demo {
    position: relative;
    width: 200px;
    height: 200px;
    /* background: linear-gradient(45deg, #667eea, #764ba2); */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.demo-pillar {
    position: absolute;
    width: 20px;
    height: 80px;
    background: #8b4513;
    border-radius: 3px;
}

.demo-plane {
    font-size: 2rem;
    animation: demo-translate 2s linear infinite;
    background-image: url('./images/screenshots/logo.webp');
    background-size: contain;
    background-repeat: no-repeat;
    border-radius: 20px;
    width: 100%;
    height: 100%;
    padding: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.demo-rope-wrap {
    position: absolute;
    width: 100px;
    height: 100px;
    border: 3px solid #feca57;
    border-radius: 50%;
    animation: demo-pulse 1s ease-in-out infinite;
}

@keyframes demo-rotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes demo-translate {
    0% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
    100% { transform: translateY(0px); }
}

@keyframes demo-pulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.7; }
}

/* Features Section */
.features {
    padding: 80px 0;
    background: #f8fafc;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.feature-card {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #2c3e50;
    margin-bottom: 1rem;
}

.feature-card p {
    color: #7f8c8d;
    line-height: 1.6;
}

/* Screenshots Section */
.screenshots {
    padding: 80px 0;
    background: white;
}

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

.screenshot-card {
    background: #f8fafc;
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0,0,0,0.1);
    transition: transform 0.3s ease;
}

.screenshot-card:hover {
    transform: translateY(-5px);
}

.screenshot-placeholder {
    height: 400px;
    /* background: linear-gradient(135deg, #667eea, #764ba2); */
    background: linear-gradient(135deg, #ee9025 0%, #269b99 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    text-align: center;
}

.screenshot-content {
    height: 100%;
    width: 100%;
}

.screenshot-content h4 {
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.screenshot-img{
    height: 100%;
    width: 100%;
    background-size: contain;
    background-position: center;
    background-repeat: no-repeat;
}

.mock-screenshot {
    background: rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 1rem;
    backdrop-filter: blur(10px);
}

.mock-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 1rem;
}

.mock-play-btn {
    background: #ff6b6b;
    padding: 0.5rem 1rem;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 1rem;
}

.mock-stats {
    font-size: 0.9rem;
    opacity: 0.8;
}

.mock-pillar {
    width: 20px;
    height: 60px;
    background: #8b4513;
    margin: 0 auto 1rem;
    border-radius: 3px;
}

.mock-plane {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.mock-rope-trail {
    width: 2px;
    height: 40px;
    background: #feca57;
    margin: 0 auto 1rem;
}

.mock-score {
    font-size: 1.1rem;
    font-weight: 600;
}

.mock-leaderboard {
    text-align: left;
}

.mock-rank {
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255,255,255,0.2);
    font-size: 0.9rem;
}

/* Download Section */
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #ee9025 0%, #269b99 100%);
    color: white;
}

.download-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.download-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
}

.download-text p {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    opacity: 0.9;
}

.download-buttons {
    margin: 2rem 0;
}

.download-info {
    margin-top: 2rem;
}

.download-info p {
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.floating-elements {
    position: relative;
    height: 300px;
}

.floating-elements > div {
    position: absolute;
    font-size: 3rem;
    animation: float 3s ease-in-out infinite;
}

.floating-plane {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.floating-rope {
    top: 60%;
    right: 20%;
    animation-delay: 0.5s;
}

.floating-pillar {
    bottom: 20%;
    left: 30%;
    animation-delay: 1s;
}

.floating-trophy {
    top: 40%;
    right: 40%;
    animation-delay: 1.5s;
}

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

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

.footer-section h3,
.footer-section h4 {
    margin-bottom: 1rem;
    color: #feca57;
}

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

.footer-section ul li {
    margin-bottom: 0.5rem;
    color: #bdc3c7;
}

.footer-section a {
    color: #3498db;
    text-decoration: none;
}

.footer-section a:hover {
    text-decoration: underline;
}

.footer-badge {
    height: 50px;
    width: auto;
    margin-top: 1rem;
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #34495e;
    color: #95a5a6;
}

/* Responsive Design */
@media (max-width: 768px) {
    .nav-links {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
        background: linear-gradient(135deg, #ee9025 0%, #269b99 100%);
        flex-direction: column;
        justify-content: flex-start;
        align-items: center;
        padding-top: 2rem;
        transition: left 0.3s ease;
        z-index: 999;
    }
    
    .nav-links.active {
        left: 0;
    }
    
    .nav-links li {
        margin: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .mobile-menu-toggle.active span:nth-child(1) {
        transform: rotate(-45deg) translate(-5px, 6px);
    }
    
    .mobile-menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .mobile-menu-toggle.active span:nth-child(3) {
        transform: rotate(45deg) translate(-5px, -6px);
    }
}

/* Animation Classes */
.animate-in {
    animation: slideInUp 0.6s ease-out forwards;
}

@keyframes slideInUp {
    from {
        transform: translateY(30px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* Staggered Animation for Feature Cards */
.feature-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

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

.feature-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Screenshot Cards Animation */
.screenshot-card {
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease-out;
}

.screenshot-card:nth-child(1) { transition-delay: 0.1s; }
.screenshot-card:nth-child(2) { transition-delay: 0.2s; }
.screenshot-card:nth-child(3) { transition-delay: 0.3s; }

.screenshot-card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

/* Enhanced Button Hover Effects */
.btn-primary {
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, #ee5a24, #ff6b6b);
    transition: left 0.3s ease;
    z-index: -1;
}

.btn-primary:hover::before {
    left: 0;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero-content,
    .about-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .phone-mockup {
        margin: 0 auto;
        max-width: 300px;
    }
    
    .features-grid,
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .section-header h2 {
        font-size: 2rem;
    }
    
    .container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero {
        padding: 100px 0 60px;
    }
    
    .hero h1 {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .play-badge {
        height: 50px;
    }
    
    .download-text h2 {
        font-size: 2rem;
    }

    .game-elements {
        height: 400px;
    }
} 