/* Base Styles and Variables */
:root {
    --primary-color: #6a3de8;
    --secondary-color: #02c39a;
    --accent-color: #ff6b6b;
    --dark-color: #2d3142;
    --light-color: #ffffff;
    --background-color: #f8f9fa;
    --text-color: #333333;
    --light-gray: #e9ecef;
    --medium-gray: #ced4da;
    --border-radius: 8px;
    --box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
}

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

html {
    font-size: 62.5%;
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', 'Segoe UI', sans-serif;
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--background-color);
    overflow-x: hidden;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

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

a:hover {
    color: var(--accent-color);
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.3;
    margin-bottom: 1.5rem;
}

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

.section-title {
    text-align: center;
    font-size: 3.2rem;
    margin-bottom: 4rem;
    position: relative;
    color: var(--dark-color);
}

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

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: var(--border-radius);
    font-weight: 600;
    text-align: center;
    cursor: pointer;
    transition: var(--transition);
    border: none;
    font-size: 1.6rem;
}

.primary-btn {
    background-color: var(--primary-color);
    color: var(--light-color);
}

.primary-btn:hover {
    background-color: #5a32cc;
    color: var(--light-color);
    transform: translateY(-3px);
}

.secondary-btn {
    background-color: var(--secondary-color);
    color: var(--light-color);
}

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

section {
    padding: 8rem 0;
}

/* Header Styles */
header {
    background-color: var(--light-color);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    position: fixed;
    width: 100%;
    top: 0;
    left: 0;
    z-index: 1000;
    padding: 1.5rem 0;
}

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

.logo {
    width: 50px;
    height: 50px;
    margin-right: 1.5rem;
}

header h1 {
    font-size: 2.2rem;
    margin-bottom: 0;
    color: var(--primary-color);
}

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

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

.nav-menu li {
    margin-left: 2.5rem;
}

.nav-menu a {
    color: var(--dark-color);
    font-weight: 500;
    font-size: 1.6rem;
}

.nav-menu a:hover {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 20px;
    position: relative;
}

.mobile-menu-toggle span {
    display: block;
    width: 30px;
    height: 3px;
    background-color: var(--dark-color);
    margin: 5px 0;
    transition: var(--transition);
}

/* Hero Section */
.hero {
    background: linear-gradient(rgba(0, 0, 0, 0.7), rgba(0, 0, 0, 0.7)), url('hero-bg.svg') center/cover no-repeat;
    height: 100vh;
    display: flex;
    align-items: center;
    color: var(--light-color);
    text-align: center;
    margin-top: 0;
    position: relative;
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
    padding: 2rem;
}

.hero-content h2 {
    font-size: 5rem;
    margin-bottom: 2rem;
}

.hero-content p {
    font-size: 2rem;
    margin-bottom: 3rem;
}

/* Innovation Section */
.innovation {
    background-color: var(--light-color);
}

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

.innovation-card {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

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

.innovation-img {
    height: 200px;
    overflow: hidden;
}

.innovation-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.innovation-card:hover .innovation-img img {
    transform: scale(1.1);
}

.innovation-card h3 {
    padding: 2rem 2rem 1rem;
    font-size: 2rem;
    color: var(--dark-color);
}

.innovation-card p {
    padding: 0 2rem 2rem;
    color: var(--text-color);
}

.read-more {
    display: inline-block;
    margin: 0 2rem 2rem;
    color: var(--primary-color);
    font-weight: 600;
    position: relative;
}

.read-more::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -2px;
    left: 0;
    background-color: var(--primary-color);
    transition: var(--transition);
}

.read-more:hover::after {
    width: 100%;
}

/* Technology Section */
.technology {
    background-color: var(--background-color);
}

.tech-wrapper {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 5rem;
    align-items: center;
}

.tech-content h3 {
    font-size: 2.8rem;
    margin-bottom: 2rem;
}

.tech-list {
    margin: 2rem 0;
}

.tech-list li {
    padding: 1rem 0;
    position: relative;
    padding-left: 2.5rem;
}

.tech-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 1.8rem;
    width: 10px;
    height: 10px;
    background-color: var(--secondary-color);
    border-radius: 50%;
}

.tech-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

/* Games Section */
.games {
    background-color: var(--light-color);
}

.section-intro {
    text-align: center;
    max-width: 700px;
    margin: -2rem auto 4rem;
    font-size: 1.8rem;
}

.games-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
}

.game-card, .game-feature {
    background-color: var(--background-color);
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.game-card h3, .game-feature h3 {
    color: var(--dark-color);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
}

.gaming-links li {
    margin: 1.5rem 0;
}

.gaming-links a {
    color: var(--primary-color);
    font-weight: 500;
    transition: var(--transition);
    display: inline-block;
    border-bottom: 1px solid transparent;
}

.gaming-links a:hover {
    border-bottom-color: var(--primary-color);
    padding-left: 5px;
}

.game-feature img {
    border-radius: var(--border-radius);
    margin-bottom: 2rem;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

/* Forecast Section */
.forecast {
    background-color: var(--background-color);
}

.forecast-timeline {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.forecast-timeline::after {
    content: '';
    position: absolute;
    width: 4px;
    background-color: var(--medium-gray);
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
}

.timeline-item {
    padding: 10px 40px;
    position: relative;
    width: 50%;
    box-sizing: border-box;
}

.timeline-item:nth-child(odd) {
    left: 0;
}

.timeline-item:nth-child(even) {
    left: 50%;
}

.timeline-dot {
    position: absolute;
    width: 20px;
    height: 20px;
    background-color: var(--primary-color);
    border-radius: 50%;
    top: 25px;
    z-index: 10;
}

.timeline-item:nth-child(odd) .timeline-dot {
    right: -10px;
}

.timeline-item:nth-child(even) .timeline-dot {
    left: -10px;
}

.timeline-content {
    padding: 20px;
    background-color: var(--light-color);
    border-radius: var(--border-radius);
    box-shadow: var(--box-shadow);
    position: relative;
}

.timeline-content h3 {
    color: var(--primary-color);
    margin-bottom: 15px;
}

/* About Section */
.about {
    background-color: var(--light-color);
}

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

.about-image {
    border-radius: var(--border-radius);
    overflow: hidden;
    box-shadow: var(--box-shadow);
}

.about-text h3 {
    font-size: 2.4rem;
    color: var(--dark-color);
    margin-top: 2rem;
}

.about-text p {
    margin-bottom: 2rem;
}

/* Contact Section */
.contact {
    background-color: var(--background-color);
}

.contact-wrapper {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
}

.contact-info h3, .contact-form h3 {
    font-size: 2.4rem;
    margin-bottom: 2rem;
    color: var(--dark-color);
}

.contact-info ul li {
    display: flex;
    align-items: center;
    margin-bottom: 2rem;
}

.contact-info ul li i {
    margin-right: 1.5rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
}

.social-links {
    display: flex;
    margin-top: 3rem;
}

.social-links a {
    margin-right: 1.5rem;
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background-color: var(--primary-color);
    color: var(--light-color);
    border-radius: 50%;
    transition: var(--transition);
}

.social-links a:hover {
    background-color: var(--accent-color);
    transform: translateY(-3px);
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid var(--medium-gray);
    border-radius: var(--border-radius);
    font-size: 1.6rem;
    transition: var(--transition);
}

.form-group input:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
}

/* Footer */
footer {
    background-color: var(--dark-color);
    color: #ddd;
    padding: 6rem 0 2rem;
}

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

.footer-logo img {
    width: 120px;
    margin-bottom: 2rem;
}

.footer-links h3, .footer-newsletter h3 {
    color: var(--light-color);
    margin-bottom: 2rem;
    font-size: 1.8rem;
}

.footer-links ul li {
    margin-bottom: 1rem;
}

.footer-links ul li a {
    color: #ddd;
    transition: var(--transition);
}

.footer-links ul li a:hover {
    color: var(--secondary-color);
    padding-left: 5px;
}

.footer-newsletter p {
    margin-bottom: 2rem;
}

.newsletter-form {
    display: flex;
}

.newsletter-form input {
    flex: 1;
    padding: 1rem;
    border: none;
    border-radius: var(--border-radius) 0 0 var(--border-radius);
}

.newsletter-form .btn {
    border-radius: 0 var(--border-radius) var(--border-radius) 0;
    background-color: var(--primary-color);
    color: var(--light-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid #444;
}

/* Icons Styling */
.icon-location, .icon-email, .icon-phone, 
.icon-facebook, .icon-twitter, .icon-instagram, .icon-linkedin {
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
}

.icon-location:before { content: '\f3c5'; }
.icon-email:before { content: '\f0e0'; }
.icon-phone:before { content: '\f095'; }
.icon-facebook:before { content: '\f39e'; }
.icon-twitter:before { content: '\f099'; }
.icon-instagram:before { content: '\f16d'; }
.icon-linkedin:before { content: '\f0e1'; }

/* Media Queries */
@media screen and (max-width: 992px) {
    html {
        font-size: 55%;
    }
    
    .tech-wrapper, .about-content {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
    
    .tech-image, .about-image {
        order: -1;
    }
}

@media screen and (max-width: 768px) {
    .mobile-menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        width: 80%;
        height: calc(100vh - 80px);
        background-color: var(--light-color);
        flex-direction: column;
        align-items: flex-start;
        padding: 3rem 0;
        transition: var(--transition);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .nav-menu li {
        margin: 1.5rem 3rem;
        width: 100%;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .forecast-timeline::after {
        left: 31px;
    }
    
    .timeline-item {
        width: 100%;
        padding-left: 70px;
        padding-right: 25px;
    }
    
    .timeline-item:nth-child(even) {
        left: 0;
    }
    
    .timeline-item:nth-child(odd) .timeline-dot,
    .timeline-item:nth-child(even) .timeline-dot {
        left: 21px;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
    }
}

@media screen and (max-width: 576px) {
    .hero-content h2 {
        font-size: 4rem;
    }
    
    .section-title {
        font-size: 2.8rem;
    }
    
    .footer-content {
        grid-template-columns: 1fr;
    }
}
