/* Global Styles */
:root {
    --primary-color: #4cb4e7; /* Sky blue primary color */
    --secondary-color: #1e88e5; /* Darker blue for contrast */
    --accent-color: #0d47a1; /* Deep blue accent */
    --light-color: #e3f2fd; /* Very light blue */
    --dark-color: #1a237e; /* Darker blue for contrast */
    --text-color: #0a1929; /* Very dark blue text for better contrast */
    --text-color-medium: #102a43; /* Medium dark blue text */
    --text-color-light: #000000; /* White text for dark backgrounds */
    --white-color: #ffffff;
    --gray-color: #f5f5f5;
    --shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --gradient-dark: linear-gradient(135deg, #1a237e, #283593); /* Dark blue gradient */
    --gradient-light: linear-gradient(135deg, #e3f2fd, #bbdefb); /* Light blue gradient */
    --gradient-medium: linear-gradient(135deg, #90caf9, #64b5f6); /* Medium blue gradient */
    --gradient-bg: linear-gradient(135deg, #e8f5fe, #d6eaff); /* Subtle blue background gradient */
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background: var(--gradient-bg);
    font-size: 16px; /* Base font size increased */
}

.container {
    width: 90%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 0;
}

h1, h2, h3, h4 {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-weight: 700; /* Make headings bolder */
}

h1 {
    font-size: 3rem; /* Increased font size */
}

h2 {
    font-size: 2.5rem; /* Increased font size */
    text-align: center;
    margin-bottom: 2rem;
    position: relative;
    padding-bottom: 0.5rem;
}

h2:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background-color: var(--primary-color);
}

h3 {
    font-size: 1.8rem; /* Increased font size */
}

p {
    margin-bottom: 1rem;
    font-size: 1.1rem; /* Increased font size */
    color: var(--text-color-medium);
    font-weight: 500; /* Medium weight for better visibility */
}

a {
    text-decoration: none;
    color: var(--primary-color);
}

section {
    padding: 4rem 0;
}

section:nth-child(even) {
    background: var(--gradient-light);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 0.8rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    transition: all 0.3s ease;
    text-align: center;
    margin: 0.5rem;
}

.btn.primary {
    background-color: var(--dark-color);
    color: var(--white-color);
    box-shadow: var(--shadow);
}

.btn.secondary {
    background-color: var(--white-color);
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
}

.btn.large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn.primary:hover {
    background-color: #0a1929;
    transform: translateY(-3px);
}

.btn.secondary:hover {
    background-color: var(--light-color);
    transform: translateY(-3px);
}

/* Header Styles */
header {
    background: linear-gradient(to bottom, #ffffff, #e8f5fe);
    box-shadow: var(--shadow);
    padding: 1rem 0;
    position: relative;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
}

.logo {
    max-height: 180px;
    width: auto;
}

/* Hero Section */
.hero {
    background: linear-gradient(135deg, var(--primary-color), var(--dark-color));
    color: var(--white-color);
    text-align: center;
    padding: 5rem 0;
}

.hero h1 {
    color: #000000;
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
    font-weight: 800;
}

.hero p {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    color: #000000;
    text-shadow: 1px 1px 3px rgba(255, 255, 255, 0.5);
    font-weight: 700;
}

.cta-buttons {
    margin-top: 2rem;
}

/* Game Rates Section */
.rates-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.rate-card {
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
    width: 100%;
    max-width: 400px;
    transition: transform 0.3s ease;
}

.rate-card:hover {
    transform: translateY(-10px);
}

.rate-card h3 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

.rate-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.rate-item {
    display: flex;
    justify-content: space-between;
    padding: 0.8rem 0;
    border-bottom: 1px solid #c9d8e6;
    font-weight: 600;
    color: var(--text-color);
}

.rate-item:last-child {
    border-bottom: none;
}

/* Features Section */
.features-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.feature-card {
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
    width: 100%;
    max-width: 250px;
    text-align: center;
    transition: transform 0.3s ease;
    border-bottom: 4px solid var(--primary-color);
}

.feature-card:hover {
    transform: translateY(-10px);
}

.feature-icon {
    font-size: 2.5rem;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.feature-card h3 {
    color: var(--dark-color);
    text-align: center;
    margin-bottom: 1.5rem;
    font-size: 1.8rem;
    font-weight: 700;
}

/* Steps Section */
.steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.step-card {
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 2rem;
    width: 100%;
    max-width: 300px;
    text-align: center;
    position: relative;
    transition: transform 0.3s ease;
    border-left: 4px solid var(--dark-color);
}

.step-card:hover {
    transform: translateY(-10px);
}

.step-number {
    background-color: var(--primary-color);
    color: var(--white-color);
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 1.2rem;
    font-weight: bold;
    margin: 0 auto 1rem;
}

/* Download App Section */
.download-app {
    background: var(--gradient-medium);
    border-top: 5px solid var(--dark-color);
    border-bottom: 5px solid var(--dark-color);
    color: var(--text-color-light);
}

.download-container {
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    justify-content: center;
    gap: 3rem;
}

.app-preview {
    flex: 1;
    min-width: 300px;
    max-width: 400px;
    text-align: center;
}

.app-screenshot {
    max-width: 100%;
    border-radius: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

.download-content {
    flex: 1;
    min-width: 300px;
}

.download-content h3 {
    margin-bottom: 0.3rem;
    color: var(--text-color-light);
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.app-features {
    list-style: none;
    margin: 1.5rem 0;
}

.app-features li {
    margin-bottom: 0.8rem;
    display: flex;
    align-items: center;
    color: var(--text-color-light);
    font-weight: 600;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.app-features li i {
    color: var(--primary-color);
    margin-right: 0.5rem;
}

.version-info {
    font-size: 0.9rem;
    color: #777;
    margin-top: 0.5rem;
}

/* Contact Section */
.contact-subtitle {
    text-align: center;
    margin-bottom: 2rem;
}

.contact-options {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 2rem;
}

.contact-card {
    display: flex;
    align-items: center;
    background: linear-gradient(145deg, #ffffff, #f0f7ff);
    border-radius: 10px;
    box-shadow: var(--shadow);
    padding: 1.5rem;
    width: 100%;
    max-width: 300px;
    transition: all 0.3s ease;
    color: var(--text-color);
}

.contact-card:hover {
    transform: translateY(-5px);
    background-color: var(--primary-color);
    color: var(--white-color);
}

.contact-card:hover h3 {
    color: var(--white-color);
}

.contact-icon {
    font-size: 2rem;
    color: var(--primary-color);
    margin-right: 1rem;
}

.contact-card:hover .contact-icon {
    color: var(--white-color);
}

.contact-info h3 {
    margin-bottom: 0.3rem;
}

/* Footer */
footer {
    background: var(--gradient-dark);
    color: var(--white-color);
    padding: 2rem 0;
    text-align: center;
}

footer .container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
}

.download-footer {
    margin-top: 1rem;
}

/* Floating Download Button */
.floating-download {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 99;
}

.floating-download .btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 180px;
    height: 60px;
    border-radius: 50px;
    background: #000000;
    color: var(--white-color);
    font-weight: bold;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.5);
    transition: all 0.3s ease;
    animation: pulse 2s infinite;
}

.floating-download .btn i {
    margin-right: 8px;
    font-size: 1.2rem;
}

.floating-download .btn:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
    animation: none;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0.7);
    }
    70% {
        box-shadow: 0 0 0 15px rgba(0, 0, 0, 0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0, 0, 0, 0);
    }
}

/* Responsive Design */
@media (max-width: 768px) {
    h1 {
        font-size: 2.3rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .hero {
        padding: 3rem 0;
    }
    
    .hero h1 {
        font-size: 2.5rem;
    }
    
    .hero p {
        font-size: 1.3rem;
    }
    
    .download-container {
        flex-direction: column;
    }
    
    .app-preview {
        order: 1;
    }
    
    .download-content {
        order: 2;
    }
    
    .floating-download {
        bottom: 20px;
        right: 20px;
    }
    
    .floating-download .btn {
        width: 160px;
        height: 50px;
    }
}
