/* 
   Omnium Gaming - Main Stylesheet
   Responsive design with mobile-first approach
   Created for omniumgaming.com
*/

/* ===== Base Styles ===== */
:root {
    --primary-color: #6C1DFC;
    --primary-dark: #4A0CA7;
    --secondary-color: #FF8500;
    --secondary-dark: #E67700;
    --background-color: #080219;
    --background-alt: #110531;
    --text-light: #FFFFFF;
    --text-muted: #9D9DAF;
    --border-color: #352566;
    --success-color: #00BF63;
    --warning-color: #FFB800;
    --error-color: #FF3A5E;
    --font-main: 'Montserrat', sans-serif;
    --font-secondary: 'Poppins', sans-serif;
    --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.15);
    --shadow-md: 0 4px 12px rgba(0, 0, 0, 0.25);
    --shadow-lg: 0 8px 20px rgba(0, 0, 0, 0.35);
    --border-radius-sm: 4px;
    --border-radius-md: 8px;
    --border-radius-lg: 16px;
    --transition: all 0.3s ease;
}

/* Import Google Fonts */
@import url('https://fonts.googleapis.com/css2?family=Montserrat:wght@400;500;600;700&family=Poppins:wght@300;400;500;600;700&display=swap');

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

html {
    scroll-behavior: smooth;
    font-size: 62.5%; /* 10px base for easier rem calculations */
}

body {
    font-family: var(--font-main);
    font-size: 1.6rem;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-color);
    overflow-x: hidden;
}

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

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

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

a:hover {
    color: var(--secondary-dark);
    text-decoration: underline;
}

ul {
    list-style: none;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-secondary);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 2rem;
}

h1 {
    font-size: 3.6rem;
    font-weight: 700;
}

h2 {
    font-size: 2.8rem;
    position: relative;
    padding-bottom: 1rem;
}

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

h3 {
    font-size: 2.2rem;
}

h4 {
    font-size: 1.8rem;
}

p {
    margin-bottom: 1.6rem;
}

section {
    padding: 8rem 0;
}

.cta-button {
    display: inline-block;
    padding: 1.2rem 3rem;
    background-color: var(--secondary-color);
    color: var(--text-light);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    font-size: 1.6rem;
    text-transform: uppercase;
    box-shadow: var(--shadow-sm);
    transition: var(--transition);
    border: none;
    cursor: pointer;
    text-align: center;
}

.cta-button:hover {
    background-color: var(--secondary-dark);
    box-shadow: var(--shadow-md);
    transform: translateY(-2px);
    text-decoration: none;
}

/* ===== Header & Navigation ===== */
header {
    background-color: rgba(8, 2, 25, 0.95);
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    box-shadow: var(--shadow-sm);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

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

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

.logo a {
    display: flex;
    align-items: center;
    color: var(--text-light);
    text-decoration: none;
}

.logo img {
    margin-right: 1rem;
}

.logo span {
    font-size: 2.2rem;
    font-weight: 700;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.menu-toggle {
    display: none;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 1rem;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    background-color: var(--text-light);
    margin-bottom: 5px;
    border-radius: 3px;
    transition: var(--transition);
}

.menu-toggle span:last-child {
    margin-bottom: 0;
}

.nav-menu {
    display: flex;
}

.nav-menu li {
    margin: 0 1.5rem;
}

.nav-menu li:last-child {
    margin-right: 0;
}

.nav-menu a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.8rem 0;
    position: relative;
}

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

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

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

/* ===== Hero Section ===== */
.hero {
    background: linear-gradient(rgba(8, 2, 25, 0.8), rgba(8, 2, 25, 0.9)), url('../images/hero-bg.jpg') no-repeat center/cover;
    height: 100vh;
    min-height: 600px;
    display: flex;
    align-items: center;
    position: relative;
    margin-top: 0;
    padding-top: 8rem;
    text-align: center;
}

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

.hero h1 {
    font-size: 4.8rem;
    margin-bottom: 2.5rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.hero p {
    font-size: 1.8rem;
    margin-bottom: 3rem;
    color: var(--text-muted);
}

/* ===== Featured Games Section ===== */
.featured-games {
    background-color: var(--background-alt);
}

.featured-games h2 {
    text-align: center;
    margin-bottom: 5rem;
}

.featured-games h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

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

.game-card {
    background: linear-gradient(145deg, rgba(72, 20, 170, 0.2), rgba(8, 2, 25, 0.8));
    border-radius: var(--border-radius-lg);
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: var(--transition);
    border: 1px solid var(--border-color);
    padding: 2rem;
    text-align: center;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.game-image {
    height: 200px;
    background: linear-gradient(45deg, var(--primary-dark), var(--primary-color));
    border-radius: var(--border-radius-md);
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.game-card h3 {
    margin-bottom: 1rem;
    color: var(--text-light);
}

.game-card p {
    color: var(--text-muted);
    margin-bottom: 2rem;
    font-size: 1.4rem;
}

.game-link {
    display: inline-block;
    padding: 1rem 2.5rem;
    background-color: var(--primary-color);
    color: var(--text-light);
    border-radius: var(--border-radius-md);
    font-weight: 600;
    transition: var(--transition);
}

.game-link:hover {
    background-color: var(--primary-dark);
    transform: translateY(-2px);
    text-decoration: none;
    color: var(--text-light);
}

/* ===== Gaming Partners Section ===== */
.gaming-partners {
    background-color: var(--background-color);
    text-align: center;
}

.gaming-partners h2 {
    margin-bottom: 1rem;
}

.gaming-partners > p {
    max-width: 600px;
    margin: 0 auto 4rem;
    color: var(--text-muted);
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 4rem;
    text-align: left;
}

.partner-item {
    background: linear-gradient(145deg, rgba(8, 2, 25, 0.6), rgba(72, 20, 170, 0.2));
    padding: 3rem;
    border-radius: var(--border-radius-lg);
    border: 1px solid var(--border-color);
}

.partner-item h3 {
    color: var(--secondary-color);
    margin-bottom: 1.5rem;
}

.partner-item ul {
    list-style-type: disc;
    padding-left: 2rem;
    margin-top: 1.5rem;
}

.partner-item li {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.partner-item a {
    font-weight: 500;
}

/* ===== Testimonials Section ===== */
.testimonials {
    background-color: var(--background-alt);
    text-align: center;
}

.testimonials h2 {
    margin-bottom: 5rem;
}

.testimonials h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

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

.testimonial-card {
    background: linear-gradient(145deg, rgba(72, 20, 170, 0.2), rgba(8, 2, 25, 0.8));
    border-radius: var(--border-radius-lg);
    padding: 3rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: var(--transition);
}

.testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--secondary-color);
}

.testimonial-content {
    position: relative;
    margin-bottom: 2.5rem;
}

.testimonial-content p {
    font-style: italic;
    color: var(--text-light);
}

.testimonial-content::before {
    content: '"';
    font-size: 8rem;
    color: var(--primary-color);
    opacity: 0.2;
    position: absolute;
    top: -4rem;
    left: -1rem;
}

.testimonial-author p {
    margin-bottom: 0.5rem;
}

.testimonial-author p:last-child {
    color: var(--text-muted);
    font-size: 1.4rem;
}

/* ===== CTA Section ===== */
.cta {
    background: linear-gradient(rgba(8, 2, 25, 0.8), rgba(8, 2, 25, 0.8)), url('../images/cta-bg.jpg') no-repeat center/cover;
    text-align: center;
    padding: 10rem 0;
}

.cta h2 {
    font-size: 3.6rem;
    margin-bottom: 1.5rem;
}

.cta h2::after {
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
}

.cta p {
    max-width: 600px;
    margin: 0 auto 3rem;
    color: var(--text-muted);
    font-size: 1.8rem;
}

.cta .cta-button {
    padding: 1.5rem 4rem;
    font-size: 1.8rem;
}

/* ===== Footer ===== */
footer {
    background-color: var(--background-alt);
    padding: 6rem 0 2rem;
}

.footer-grid {
    display: grid;
    grid-template-columns: 1fr 1fr 1fr 1fr;
    gap: 3rem;
    margin-bottom: 4rem;
}

.footer-logo {
    text-align: center;
}

.footer-logo img {
    margin-bottom: 1rem;
}

.footer-logo h3 {
    margin-bottom: 1rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.footer-logo p {
    color: var(--text-muted);
    font-size: 1.4rem;
}

.footer-links h4,
.footer-contact h4 {
    margin-bottom: 2rem;
    position: relative;
}

.footer-links h4::after,
.footer-contact h4::after {
    content: '';
    position: absolute;
    bottom: -0.8rem;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

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

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

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

.footer-contact p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
}

.social-links {
    display: flex;
    gap: 1.5rem;
}

.social-links a {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 40px;
    height: 40px;
    background-color: rgba(108, 29, 252, 0.2);
    border-radius: 50%;
    color: var(--text-light);
    transition: var(--transition);
}

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

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
}

.footer-bottom p {
    color: var(--text-muted);
    font-size: 1.4rem;
    margin-bottom: 1rem;
}

.footer-legal {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 2rem;
}

.footer-legal a {
    color: var(--text-muted);
    font-size: 1.4rem;
}

/* ===== Responsive Design ===== */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .footer-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 56%;
    }
    
    h1 {
        font-size: 3.2rem;
    }
    
    h2 {
        font-size: 2.4rem;
    }
    
    section {
        padding: 6rem 0;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--background-color);
        flex-direction: column;
        align-items: center;
        justify-content: flex-start;
        padding-top: 4rem;
        transition: var(--transition);
        opacity: 0;
        visibility: hidden;
    }
    
    .nav-menu.active {
        left: 0;
        opacity: 1;
        visibility: visible;
    }
    
    .nav-menu li {
        margin: 2rem 0;
    }
    
    .hero h1 {
        font-size: 3.6rem;
    }
    
    .hero p {
        font-size: 1.6rem;
    }
    
    .partner-item {
        padding: 2rem;
    }
    
    .testimonial-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 576px) {
    .footer-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .footer-links h4::after,
    .footer-contact h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .social-links {
        justify-content: center;
    }
    
    .footer-legal {
        flex-direction: column;
        gap: 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .partners-grid {
        grid-template-columns: 1fr;
    }
}
