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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    line-height: 1.6;
    color: #ecf0f1;
    background: linear-gradient(135deg, #2f3640 0%, #353b48 100%);
    overflow-x: hidden;
}

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

/* Header */
.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    background: rgba(47, 54, 64, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    transition: all 0.3s ease;
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 70px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    padding: 8px;
}

.logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #e1b12c;
}

.nav-menu {
    display: flex;
    align-items: center;
    gap: 30px;
}

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

.nav-link:hover {
    color: #e1b12c;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: #e1b12c;
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.download-btn {
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    color: #2f3640 !important;
    padding: 10px 20px;
    border-radius: 25px;
    font-weight: 600;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 177, 44, 0.4);
}

.download-btn::after {
    display: none;
}

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

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: #ecf0f1;
    transition: all 0.3s ease;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(225, 177, 44, 0.1) 0%, transparent 50%);
}

.hero-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 2;
}

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

.hero-title {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 24px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-subtitle {
    font-size: 1.2rem;
    color: #B1ADAD;
    margin-bottom: 40px;
    line-height: 1.7;
}

.hero-buttons {
    display: flex;
    gap: 20px;
    margin-bottom: 50px;
    align-items: center;
}

.app-store-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    color: #2f3640;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.app-store-btn:hover {
    background: linear-gradient(135deg, #fbc531, #e1b12c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 177, 44, 0.4);
}

.app-store-btn img {
    display: none;
}

.learn-more-btn {
    padding: 15px 30px;
    background: transparent;
    border: 2px solid #e1b12c;
    color: #e1b12c;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
}

.learn-more-btn:hover {
    background: #e1b12c;
    color: #2f3640;
    transform: translateY(-2px);
}

.hero-features {
    display: flex;
    gap: 30px;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.9rem;
    color: #B1ADAD;
}

.feature-icon {
    font-size: 1.2rem;
}

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

.phone-mockup {
    position: relative;
    width: 300px;
    height: 600px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 20px 60px 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 {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

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

.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.section-subtitle {
    font-size: 1.1rem;
    color: #B1ADAD;
    max-width: 600px;
    margin: 0 auto;
}

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

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

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 177, 44, 0.2);
    border-radius: 20px;
    padding: 40px 30px;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(225, 177, 44, 0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(225, 177, 44, 0.2);
    border-color: rgba(225, 177, 44, 0.5);
}

.feature-card:hover::before {
    opacity: 1;
}

.feature-icon-wrapper {
    width: 120px;
    height: 120px;
    margin: 0 auto 25px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    position: relative;
    z-index: 1;
}

.feature-icon-wrapper .feature-icon {
    font-size: 4rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ecf0f1;
    position: relative;
    z-index: 1;
}

.feature-description {
    color: #B1ADAD;
    line-height: 1.6;
    position: relative;
    z-index: 1;
}

/* Top List Section */
.toplist {
    padding: 100px 0;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
}

.toplist-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 25px;
}

.toplist-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 177, 44, 0.2);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.toplist-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(225, 177, 44, 0.2);
    border-color: rgba(225, 177, 44, 0.5);
}

.toplist-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    border-radius: 15px;
}

.toplist-image-placeholder {
    width: 100%;
    height: 200px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 3rem;
    color: #2f3640;
    font-weight: bold;
    border-radius: 15px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.1);
}

.toplist-content {
    padding: 25px;
}

.toplist-title {
    font-size: 1.1rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ecf0f1;
    line-height: 1.4;
}

.toplist-description {
    color: #B1ADAD;
    font-size: 0.9rem;
    margin-bottom: 15px;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.toplist-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.toplist-category {
    background: rgba(225, 177, 44, 0.2);
    color: #e1b12c;
    padding: 4px 12px;
    border-radius: 12px;
    font-size: 0.8rem;
    font-weight: 500;
}

.toplist-prize {
    color: #27ae60;
    font-weight: 600;
    font-size: 0.9rem;
}

.toplist-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    color: #2f3640;
    padding: 10px 20px;
    border-radius: 20px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.toplist-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 20px rgba(225, 177, 44, 0.4);
}

.toplist-actions {
    text-align: center;
    margin-top: 40px;
}

.see-more-btn {
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    color: #2f3640;
    padding: 15px 30px;
    border: none;
    border-radius: 30px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(225, 177, 44, 0.3);
}

.see-more-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(225, 177, 44, 0.4);
    background: linear-gradient(135deg, #fbc531, #e1b12c);
}

.loading {
    grid-column: 1 / -1;
    text-align: center;
    padding: 40px;
    color: #B1ADAD;
    font-size: 1.1rem;
}

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

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

.screenshot-item {
    margin-left: -6px;
    margin-right: -6px;
    position: relative;
    border-radius: 20px;
    overflow: hidden;
    cursor: default; /* Changed from pointer to default */
    transition: all 0.3s ease;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(225, 177, 44, 0.2);
}

/* Disabled hover effects for non-interactive screenshots */
/* .screenshot-item:hover {
    transform: translateY(-10px) scale(1.05);
    box-shadow: 0 20px 40px rgba(225, 177, 44, 0.3);
    border-color: rgba(225, 177, 44, 0.5);
} */

.screenshot-item img {
    width: 100%;
    height: 500px;
    object-fit: cover;
    transition: transform 0.3s ease;
}

/* Disabled image hover effects */
/* .screenshot-item:hover img {
    transform: scale(1.1);
} */

.screenshot-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
    padding: 40px 20px 20px;
    color: white;
    transform: translateY(0); /* Always visible now */
    transition: transform 0.3s ease;
}

/* Disabled overlay hover effects */
/* .screenshot-item:hover .screenshot-overlay {
    transform: translateY(0);
} */

.screenshot-overlay h4 {
    font-size: 1.1rem;
    margin-bottom: 5px;
    color: #e1b12c;
}

.screenshot-overlay p {
    font-size: 0.9rem;
    color: #B1ADAD;
}

/* Download Section */
.download {
    padding: 100px 0;
    background: linear-gradient(135deg, #353b48 0%, #2c3e50 100%);
}

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

.download-title {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.download-subtitle {
    font-size: 1.1rem;
    color: #B1ADAD;
    margin-bottom: 30px;
    line-height: 1.7;
}

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

.download-feature {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
}

.check-icon {
    width: 24px;
    height: 24px;
    background: #27ae60;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-weight: bold;
    font-size: 0.8rem;
}

.download-btn {
    padding: 15px 30px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    color: #2f3640;
    text-decoration: none;
    border-radius: 30px;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 16px;
}

.download-btn:hover {
    background: linear-gradient(135deg, #fbc531, #e1b12c);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(225, 177, 44, 0.4);
}

.download-btn img {
    display: none;
}

.phone-mockup-large {
    width: 350px;
    height: 700px;
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border-radius: 40px;
    padding: 10px;
    box-shadow: 0 30px 80px rgba(0, 0, 0, 0.4);
    margin: 0 auto;
    transition: transform 0.3s ease;
}

.phone-mockup-large:hover {
    transform: scale(1.05);
}

.phone-screen-large {
    width: 100%;
    height: 100%;
    border-radius: 30px;
    object-fit: cover;
}

/* Footer */
.footer {
    background: #1a1a1a;
    padding: 60px 0 30px;
}

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

.footer-logo {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 20px;
}

.footer-logo-img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    background: linear-gradient(135deg, #e1b12c, #fbc531);
    padding: 8px;
}

.footer-logo-text {
    font-size: 24px;
    font-weight: 700;
    color: #e1b12c;
}

.footer-description {
    color: #B1ADAD;
    line-height: 1.6;
}

.footer-section h4 {
    color: #ecf0f1;
    font-size: 1.1rem;
    margin-bottom: 20px;
}

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

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

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

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

.disclaimer {
    color: #77858C;
    font-size: 0.9rem;
    line-height: 1.5;
}

.footer-bottom {
    border-top: 1px solid #333;
    padding-top: 30px;
    text-align: center;
    color: #B1ADAD;
    font-size: 0.9rem;
}

/* Lightbox */
.lightbox {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    backdrop-filter: blur(5px);
}

.lightbox-content {
    position: relative;
    max-width: 90%;
    max-height: 90%;
    margin: 5% auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.lightbox img {
    max-width: 100%;
    max-height: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.close {
    position: absolute;
    top: -40px;
    right: 0;
    color: white;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10001;
    background: rgba(0, 0, 0, 0.5);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: background 0.3s ease;
}

.close:hover {
    background: rgba(225, 177, 44, 0.8);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-content,
    .download-content {
        grid-template-columns: 1fr;
        gap: 40px;
        text-align: center;
    }
    
    .phone-mockup {
        width: 250px;
        height: 500px;
    }
    
    .phone-mockup-large {
        width: 280px;
        height: 560px;
    }
    
    .footer-content {
        grid-template-columns: 1fr 1fr;
        gap: 30px;
    }
}

@media (max-width: 768px) {
    .nav-menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .hero-title {
        font-size: 2.5rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .download-title {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 15px;
        align-items: center;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
    
    .toplist-grid {
        grid-template-columns: 1fr;
    }
    
    .screenshots-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .container {
        padding: 0 15px;
    }
    
    .nav-container {
        padding: 0 15px;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-subtitle {
        font-size: 1rem;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .phone-mockup {
        width: 200px;
        height: 400px;
    }
    
    .phone-mockup-large {
        width: 220px;
        height: 440px;
    }
}

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

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Smooth scrolling for webkit browsers */
html {
    scroll-behavior: smooth;
}

/* Focus styles for accessibility */
a:focus,
button:focus {
    outline: 2px solid #e1b12c;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .feature-card,
    .toplist-item,
    .screenshot-item {
        border-width: 2px;
    }
}

/* Reduced motion support */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    html {
        scroll-behavior: auto;
    }
}
