* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background-color: #f5f5f5;
    color: #333;
    line-height: 1.4;
    overflow-x: hidden;
}

.container {
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
}

/* Header Styles - More Compact */
.header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.6rem 0;
    box-shadow: 0 2px 20px rgba(0,0,0,0.1);
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    transition: all 0.2s ease;
}

.header.scrolled {
    padding: 0.3rem 0;
    background: rgba(102, 126, 234, 0.95);
    backdrop-filter: blur(10px);
}

.header.compact {
    padding: 0.2rem 0;
}

.header.compact .logo {
    font-size: 1.5rem;
    margin-bottom: 0.3rem;
}

.header.compact .header-top {
    margin-bottom: 0.1rem;
}

.header.compact nav {
    padding: 0.3rem;
}

/* Top Links - More Compact */
.header-top {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 0.5rem;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.2rem 0;
    white-space: nowrap;
}

.header-top::-webkit-scrollbar {
    display: none;
}

.top-links {
    display: flex;
    gap: 1rem;
    flex-shrink: 0;
    padding: 0 0.8rem;
}

.top-links a {
    color: white;
    text-decoration: none;
    font-size: 0.75rem;
    transition: all 0.3s ease;
    padding: 0.2rem 0.6rem;
    border-radius: 12px;
    white-space: nowrap;
    flex-shrink: 0;
}

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

.logo {
    font-size: 2rem;
    font-weight: bold;
    letter-spacing: 2px;
    text-align: center;
    margin-bottom: 0.6rem;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 2px 2px 4px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
}

/* Main Navigation - FIXED HOVER EFFECTS */
nav {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 0.5rem 0.8rem;
    backdrop-filter: blur(10px);
    overflow: hidden;
    position: relative;
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    list-style: none;
    justify-content: center;
    gap: 0.8rem;
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 0.3rem 0;
    white-space: nowrap;
}

nav ul::-webkit-scrollbar {
    display: none;
}

nav li {
    flex-shrink: 0;
}

nav a {
    color: white;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.4rem 1rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    white-space: nowrap;
    display: block;
    font-size: 0.85rem;
    background: transparent;
}

/* Shimmer effect on hover - Kept as a subtle transition */
nav a::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;
    z-index: -1; /* Place behind text */
}

nav a:hover::before {
    left: 100%;
}

/* Combined Hover/Active State */
nav a:hover,
nav a.active {
    background: rgba(255, 255, 255, 0.2) !important; /* Keep important if needed for specificity */
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
}

/* Navigation Scroll Indicators - More Compact */
.nav-scroll-indicator {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(255,255,255,0.3);
    border: none;
    color: white;
    padding: 0.3rem;
    border-radius: 50%;
    cursor: pointer;
    z-index: 10;
    width: 25px;
    height: 25px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    opacity: 0;
    pointer-events: none;
    font-size: 0.8rem;
}

.nav-scroll-indicator.visible {
    opacity: 1;
    pointer-events: all;
}

.nav-scroll-indicator:hover {
    background: rgba(255,255,255,0.5);
    transform: translateY(-50%) scale(1.1);
}

.nav-scroll-left {
    left: 3px;
}

.nav-scroll-right {
    right: 3px;
}

/* Hero Section - Adjusted for smaller header */
.hero {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 10rem 0 6rem;
    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 1000"><polygon fill="rgba(255,255,255,0.05)" points="0,1000 1000,0 1000,1000"/></svg>');
    background-size: cover;
}

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

.hero-content h1 {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    line-height: 1.2;
}

.hero-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

.cta-button {
    display: inline-block;
    background: white;
    color: #667eea;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

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

.cta-button:hover::before {
    left: 100%;
}

.cta-button.secondary {
    background: transparent;
    color: white;
    border: 2px solid white;
}

.cta-button:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0,0,0,0.3);
}

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

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

.app-icon {
    position: absolute;
    font-size: 4rem;
    background: rgba(255, 255, 255, 0.1);
    padding: 1rem;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.app-icon:hover {
    transform: scale(1.1);
    background: rgba(255, 255, 255, 0.2);
}

.app-icon:nth-child(1) { top: 20%; left: 10%; }
.app-icon:nth-child(2) { top: 50%; right: 10%; }
.app-icon:nth-child(3) { bottom: 20%; left: 40%; }

/* Featured Section */
.featured {
    padding: 6rem 0;
    background: white;
}

.featured h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.featured h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

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

.featured-item {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

.featured-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.featured-image {
    height: 200px;
    overflow: hidden;
    position: relative;
}

.featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.featured-item:hover .featured-image img {
    transform: scale(1.1);
}

.featured-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 1rem;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: bold;
}

.featured-item h3 {
    padding: 1.5rem 1.5rem 0.5rem;
    color: #333;
    font-size: 1.3rem;
}

.featured-item p {
    padding: 0 1.5rem;
    color: #666;
    margin-bottom: 1rem;
    line-height: 1.5;
}

/* App info in featured items */
.app-info {
    display: flex;
    justify-content: space-between;
    padding: 0 1.5rem;
    margin-bottom: 1rem;
    font-size: 0.85rem;
    color: #666;
}

.app-size, .app-version {
    background: #f0f0f0;
    padding: 0.3rem 0.8rem;
    border-radius: 15px;
}

.download-btn {
    display: block;
    width: calc(100% - 3rem);
    margin: 0 1.5rem 1.5rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    text-align: center;
}

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

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

.download-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Stats Section */
.stats {
    padding: 4rem 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    text-align: center;
}

.stat-item {
    padding: 2rem;
}

.stat-number {
    font-size: 3rem;
    font-weight: bold;
    margin-bottom: 0.5rem;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

/* Categories Section */
.categories {
    padding: 6rem 0;
    background: white;
}

.categories h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.categories h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

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

.category-item {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    padding: 2.5rem 2rem;
    text-align: center;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.category-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0,0,0,0.15);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1.5rem;
    color: #667eea;
}

.category-item h3 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.category-item p {
    color: #666;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.category-item a {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.category-item a::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;
}

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

.category-item a:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

/* Catalog Section */
.catalog {
    padding: 6rem 0;
    background: #f8f9fa;
    text-align: center;
}

.catalog h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.5rem;
}

.catalog p {
    max-width: 800px;
    margin: 0 auto 3rem;
    color: #666;
    font-size: 1.1rem;
}

.catalog-actions {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.catalog-link {
    display: inline-block;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 1rem 2rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
    position: relative;
    overflow: hidden;
}

.catalog-link::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;
}

.catalog-link:hover::before {
    left: 100%;
}

.catalog-link:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

/* FAQ Section */
.faq-section {
    padding: 6rem 0;
    background: #f8f9fa;
}

.faq-section h2 {
    text-align: center;
    color: #333;
    margin-bottom: 3rem;
    font-size: 2.5rem;
    position: relative;
}

.faq-section h2::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.faq-item {
    background: white;
    border-radius: 15px;
    margin-bottom: 1rem;
    box-shadow: 0 5px 15px rgba(0,0,0,0.05);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.1);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: #f8f9fa;
}

.faq-toggle {
    font-size: 1.5rem;
    font-weight: bold;
    color: #667eea;
    transition: transform 0.3s ease;
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 2rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item.active .faq-answer {
    padding: 0 2rem 2rem;
    max-height: 500px;
}

.faq-answer p {
    margin: 0;
    color: #666;
    line-height: 1.6;
}

/* Footer - Single Line Layout */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: white;
    padding: 2rem 0 1rem;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid rgba(255,255,255,0.1);
    flex-wrap: nowrap;
    gap: 1rem;
}

.footer-logo {
    font-size: 1.5rem;
    font-weight: bold;
    background: linear-gradient(45deg, #fff, #e0e7ff);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.footer-links {
    display: flex;
    gap: 1.5rem;
    flex-wrap: nowrap;
    align-items: center;
    justify-content: center;
    flex: 1;
}

.footer-links a {
    color: white;
    text-decoration: none;
    transition: all 0.3s ease;
    padding: 0.4rem 0.8rem;
    border-radius: 15px;
    font-size: 0.9rem;
    white-space: nowrap;
}

.footer-links a:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateY(-1px);
}

.copyright {
    text-align: center;
    font-size: 0.85rem;
    color: #ccc;
    margin-top: 1rem;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0,0,0,0.5);
    backdrop-filter: blur(5px);
}

.modal-content {
    background-color: white;
    margin: 15% auto;
    padding: 2.5rem;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    box-shadow: 0 20px 40px rgba(0,0,0,0.3);
}

.close {
    position: absolute;
    top: 1rem;
    right: 1.5rem;
    font-size: 1.8rem;
    cursor: pointer;
    color: #999;
    transition: color 0.3s ease;
}

.close:hover {
    color: #333;
}

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

.progress-bar {
    height: 12px;
    background-color: #f0f0f0;
    border-radius: 6px;
    overflow: hidden;
}

.progress {
    height: 100%;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    width: 0%;
    transition: width 0.3s ease;
    border-radius: 6px;
}

.progress-text {
    display: block;
    margin-top: 0.8rem;
    font-size: 0.9rem;
    color: #666;
}

.modal-actions {
    display: flex;
    justify-content: flex-end;
}

.cancel-btn {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cancel-btn:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Custom Confirm Dialog in Modal */
.modal-confirm-cancel {
    display: none; /* Hidden by default */
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.95);
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 20px;
    text-align: center;
    z-index: 10;
    border-radius: 20px; /* Match modal content */
}

.modal-confirm-cancel h4 {
    margin-top: 0;
    margin-bottom: 10px;
    font-size: 1.2rem;
    color: #333;
}

.modal-confirm-cancel p {
    margin: 0 0 20px;
    color: #666;
}

.modal-confirm-cancel div {
    display: flex;
    gap: 1rem;
}

.btn-confirm-cancel, .btn-resume-cancel {
    padding: 0.8rem 1.5rem;
    border-radius: 8px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    border: none;
}

.btn-confirm-cancel {
    background-color: #ea4335;
    color: white;
}
.btn-confirm-cancel:hover {
    background-color: #c62828;
    transform: translateY(-2px);
}

.btn-resume-cancel {
    background-color: #f0f0f0;
    color: #333;
}
.btn-resume-cancel:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Content Pages Styles */
.page-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 8rem 0 4rem; /* Adjusted padding-top */
    text-align: center;
    position: relative;
    overflow: hidden;
    margin-top: 0; /* Ensure no extra margin */
}

.page-header::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 1000"><circle fill="rgba(255,255,255,0.05)" cx="500" cy="500" r="400"/></svg>');
    background-size: cover;
}

.page-header h1 {
    font-size: 3rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.page-header p {
    font-size: 1.2rem;
    opacity: 0.9;
    position: relative;
    z-index: 2;
}

.content-section {
    padding: 4rem 0;
}

/* Filter Controls */
.filter-controls {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    padding: 1.5rem;
    background: white;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
    flex-wrap: wrap;
}

.filter-group {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.filter-group label {
    font-weight: 600;
    color: #333;
}

.filter-group select {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group select:focus {
    outline: none;
    border-color: #667eea;
}

.filter-group input {
    padding: 0.5rem 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 8px;
    background: white;
    transition: all 0.3s ease;
}

.filter-group input:focus {
    outline: none;
    border-color: #667eea;
}

.filter-group button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.filter-group button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.apps-grid, .games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.app-card, .game-card {
    background: linear-gradient(145deg, #ffffff, #f0f0f0);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.1);
    transition: all 0.3s ease;
    position: relative;
}

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

.card-image {
    height: 180px;
    overflow: hidden;
    position: relative;
}

.card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.app-card:hover .card-image img,
.game-card:hover .card-image img {
    transform: scale(1.1);
}

.card-badge {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: bold;
}

.card-content {
    padding: 1.5rem;
}

.card-content h3 {
    margin-bottom: 0.8rem;
    color: #333;
    font-size: 1.3rem;
}

.card-content p {
    color: #666;
    font-size: 0.95rem;
    margin-bottom: 1.2rem;
    line-height: 1.5;
}

.card-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid #eee;
}

.card-actions {
    display: flex;
    gap: 0.8rem;
}

.btn-download {
    flex: 1;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 0.8rem;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

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

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

.btn-download:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.4);
}

.btn-details {
    background-color: #f0f0f0;
    color: #333;
    border: none;
    padding: 0.8rem 1.2rem;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-details:hover {
    background-color: #e0e0e0;
    transform: translateY(-2px);
}

/* Enhanced Pagination Styles */
.pagination {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 3rem;
    flex-wrap: wrap;
}

.page-btn {
    padding: 0.8rem 1.2rem;
    border: 2px solid #e0e0e0;
    background: white;
    border-radius: 8px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-weight: 600;
    min-width: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-btn:hover {
    border-color: #667eea;
    color: #667eea;
    transform: translateY(-2px);
}

.page-btn.active {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-color: #667eea;
}

.page-btn.next, .page-btn:first-child {
    padding: 0.8rem 1.5rem;
}

.page-dots {
    padding: 0.8rem 0.5rem;
    color: #666;
}

/* Loading and No Results States */
.loading-message {
    text-align: center;
    padding: 3rem;
    color: #666;
    grid-column: 1 / -1;
}

.loading-spinner {
    width: 40px;
    height: 40px;
    border: 4px solid #f3f3f3;
    border-top: 4px solid #667eea;
    border-radius: 50%;
    margin: 0 auto 1rem;
    animation: spin 1s linear infinite;
}

.no-results {
    text-align: center;
    padding: 4rem 2rem;
    color: #666;
    grid-column: 1 / -1;
}

.no-results-icon {
    font-size: 4rem;
    margin-bottom: 1rem;
    opacity: 0.5;
}

.no-results h3 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.5rem;
}

.no-results p {
    font-size: 1.1rem;
    opacity: 0.8;
}

/* About and Contact Pages */
.about-content, .contact-content, .privacy-content, .terms-content {
    max-width: 900px;
    margin: 0 auto;
}

.about-content h2, .contact-content h2, .privacy-content h2, .terms-content h2 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 2rem;
    position: relative;
}

.about-content h2::after, .contact-content h2::after, .privacy-content h2::after, .terms-content h2::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 60px;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 2px;
}

.about-content p, .contact-content p, .privacy-content p, .terms-content p {
    margin-bottom: 1.5rem;
    line-height: 1.7;
    font-size: 1.05rem;
}

/* About Page Specific */
.about-intro {
    margin-bottom: 3rem;
}

.mission-vision {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 2rem;
    margin-bottom: 3rem;
}

.mission, .vision {
    background: white;
    padding: 2rem;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0,0,0,0.1);
}

.mission h3, .vision h3 {
    color: #667eea;
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.values {
    margin-bottom: 3rem;
}

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

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

.value-item:hover {
    transform: translateY(-5px);
}

.value-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    color: #667eea;
}

.value-item h4 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 1.3rem;
}

.value-item p {
    color: #666;
    font-size: 0.95rem;
}

.team {
    margin-bottom: 3rem;
}

.features-list {
    display: grid;
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.feature h4 {
    color: #333;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
}

.stats-overview {
    margin-bottom: 3rem;
}

.stats-mini {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.stat-mini {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    text-align: center;
    box-shadow: 0 3px 10px rgba(0,0,0,0.1);
}

.stat-mini .stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #667eea;
    margin-bottom: 0.5rem;
}

.stat-mini .stat-label {
    color: #666;
    font-size: 0.9rem;
}

/* Contact Page Specific */
.contact-intro {
    text-align: center;
    margin-bottom: 3rem;
}

.contact-intro h2 {
    color: #333;
    margin-bottom: 1rem;
    font-size: 2.2rem;
}

.contact-intro p {
    font-size: 1.1rem;
    color: #666;
    max-width: 700px;
    margin: 0 auto;
    line-height: 1.7;
}

/* FIXED: Contact Grid Layout for Mobile */
.contact-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: start;
}

.contact-form-container {
    background: linear-gradient(145deg, #ffffff, #f8f9fa);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 15px 35px rgba(0,0,0,0.1);
    position: relative;
    overflow: hidden;
}

.contact-form-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.contact-form h3 {
    color: #333;
    margin-bottom: 1.5rem;
    font-size: 1.5rem;
    text-align: center;
}

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

.contact-info-card {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 35px rgba(102, 126, 234, 0.3);
}

.contact-info-card h3 {
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.contact-info-card > p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.contact-methods {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.contact-method {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 12px;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.contact-method:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.method-icon {
    font-size: 1.5rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.8rem;
    border-radius: 12px;
    min-width: 50px;
    text-align: center;
}

.method-details h4 {
    margin-bottom: 0.3rem;
    font-size: 1.1rem;
}

.method-details p {
    margin-bottom: 0.2rem;
    font-weight: 600;
}

.method-details small {
    opacity: 0.8;
    font-size: 0.85rem;
}

/* Form Styles */
.contact-form {
    margin-top: 2rem;
}

.form-group {
    margin-bottom: 1.8rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: #333;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid #e0e0e0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: #f8f9fa;
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #667eea;
    background: white;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.form-group textarea {
    min-height: 150px;
    resize: vertical;
}

.submit-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 10px;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 1.1rem;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    position: relative;
    overflow: hidden;
}

.submit-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;
}

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

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 25px rgba(102, 126, 234, 0.4);
}

.btn-loading {
    display: none;
}

.submit-btn.loading .btn-text {
    display: none;
}

.submit-btn.loading .btn-loading {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

/* Success Message */
.contact-success {
    display: none;
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #34a853, #2e7d32);
    color: white;
    border-radius: 15px;
    margin-top: 2rem;
}

.contact-success.show {
    display: block;
}

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

/* Privacy Policy Specific Styles */
.privacy-intro, .terms-intro {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 2rem;
    border-radius: 15px;
    margin-bottom: 2.5rem;
    border-left: 5px solid #667eea;
}

.privacy-section, .terms-section {
    margin-bottom: 3rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid #eee;
}

.privacy-section:last-of-type, .terms-section:last-of-type {
    border-bottom: none;
}

.privacy-section h2, .terms-section h2 {
    color: #333;
    margin-bottom: 1.2rem;
    font-size: 1.8rem;
}

.privacy-section h3, .terms-section h3 {
    color: #555;
    margin: 1.8rem 0 0.8rem;
    font-size: 1.3rem;
}

.privacy-section ul, .terms-section ul {
    margin: 1.2rem 0;
    padding-left: 2rem;
}

.privacy-section li, .terms-section li {
    margin-bottom: 0.8rem;
    line-height: 1.6;
    position: relative;
}

.privacy-section li::before, .terms-section li::before {
    content: '•';
    color: #667eea;
    font-weight: bold;
    position: absolute;
    left: -1rem;
}

.contact-info {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 1.8rem;
    border-radius: 12px;
    margin-top: 1.5rem;
}

.contact-info a {
    color: #667eea;
    text-decoration: none;
    font-weight: 600;
}

.contact-info a:hover {
    text-decoration: underline;
}

/* Field Error Styles */
.field-error {
    color: #ea4335;
    font-size: 0.85rem;
    margin-top: 0.5rem;
}

.form-group input.error,
.form-group textarea.error {
    border-color: #ea4335;
}

/* Ripple effect */
.ripple-effect {
    position: absolute;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.6);
    transform: scale(0);
    animation: ripple 0.6s linear;
}

/* Loading state for buttons etc */
.loading {
    position: relative;
    pointer-events: none;
}

.loading::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 20px;
    height: 20px;
    margin: -10px 0 0 -10px;
    border: 2px solid transparent;
    border-top: 2px solid currentColor;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Notification styles */
#notification-container {
    position: fixed;
    top: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.notification {
    background: #fff;
    padding: 15px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    display: flex;
    align-items: center;
    min-width: 250px;
    max-width: 350px;
    border-left: 5px solid #3182ce;
    color: #333;
    animation: notification-slide-in 0.3s ease;
}

.notification-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 10px;
    width: 100%;
}

.notification-message {
    flex-grow: 1;
}

.notification-close {
    background: none;
    border: none;
    color: inherit;
    font-size: 1.2rem;
    cursor: pointer;
    padding: 0 5px;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.3s ease;
    opacity: 0.7;
}

.notification-close:hover {
    opacity: 1;
}

.notification-info {
    border-left-color: #3182ce;
}
.notification-success {
    border-left-color: #38a169;
}
.notification-error {
    border-left-color: #e53e3e;
}
.notification-warning {
    border-left-color: #dd6b20;
}

/* Team Section Styles */
.team-section {
    padding: 80px 0;
    background: linear-gradient(135deg, #f5f7fa 0%, #c3cfe2 100%);
    margin: 60px 0;
}

.team-section h2 {
    text-align: center;
    font-size: 2.5rem;
    margin-bottom: 20px;
    color: #2c3e50;
    font-weight: 700;
}

.team-section .subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #7f8c8d;
    margin-bottom: 60px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

.team-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

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

.team-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.team-image {
    width: 100%;
    height: 250px;
    background: linear-gradient(135deg, #6a11cb 0%, #2575fc 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    overflow: hidden;
}

.team-image::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.1);
}

.team-image .initials {
    font-size: 4rem;
    font-weight: bold;
    color: white;
    z-index: 2;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
    animation: pulse 2s infinite ease-in-out;
}

.team-card.deepesh .team-image {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
}

.team-card.nikhil .team-image {
    background: linear-gradient(135deg, #a1c4fd 0%, #c2e9fb 100%);
}

.team-card.sandhya .team-image {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
}

.team-info {
    padding: 25px 20px;
}

.team-name {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 5px;
    color: #2c3e50;
    transition: color 0.3s ease;
}

.team-role {
    color: #6C63FF;
    font-weight: 500;
    margin-bottom: 15px;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.team-bio {
    color: #7f8c8d;
    line-height: 1.6;
    margin-bottom: 20px;
    font-size: 0.95rem;
}

.team-social {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: #f8f9fa;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #6C63FF;
    transition: all 0.3s ease;
    text-decoration: none;
    border: 2px solid transparent;
}

.social-link:hover {
    background: #6C63FF;
    color: white;
    transform: translateY(-3px);
    border-color: #6C63FF;
}

/* Hover effects for team cards */
.team-card:hover .team-image::before {
    background: rgba(0, 0, 0, 0.2);
    transition: background 0.3s ease;
}

.team-card:hover .team-name {
    color: #6C63FF;
}

/* Loading animation placeholder for Team cards */
.team-card.loading .team-image {
    background: linear-gradient(to right, #f6f7f8 8%, #edeef1 18%, #f6f7f8 33%);
    background-size: 800px 104px;
    animation: shimmer 1.5s infinite linear;
}

/* Keyframes for animations */
@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes ripple {
    to {
        transform: scale(4);
        opacity: 0;
    }
}

@keyframes notification-slide-in {
    from {
        transform: translateX(100%);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

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

@keyframes shimmer {
    0% { background-position: -468px 0; }
    100% { background-position: 468px 0; }
}

/* Accessibility Improvements */
button:focus,
a:focus,
input:focus,
textarea:focus,
select:focus {
    outline: 2px solid #667eea;
    outline-offset: 2px;
}

/* High contrast mode support */
@media (prefers-contrast: high) {
    .header {
        background: #000;
    }
    
    .btn-download, .download-btn, .submit-btn {
        background: #000;
        color: #fff;
    }
    
    .featured-item, .app-card, .game-card {
        border: 2px solid #000;
    }
}
