/* 
 * MozSex Gaming - Main Stylesheet
 * Premium Gaming Entertainment Website
 * Version 1.0.0
 */

/* ----------------- Base Styles ----------------- */
:root {
    /* Color Palette */
    --primary-color: #9933CC;
    --secondary-color: #FF3366;
    --accent-color: #33CCFF;
    --dark-color: #18082D;
    --light-color: #F9F6FF;
    --gray-color: #706A7C;
    
    /* Typography */
    --heading-font: 'Montserrat', sans-serif;
    --body-font: 'Open Sans', sans-serif;
    
    /* Spacing */
    --section-spacing: 5rem;
    --element-spacing: 2rem;
}

/* Reset */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

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

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

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

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

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

ul {
    list-style: none;
}

/* Container */
.container {
    width: 100%;
    max-width: 120rem;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Section Styling */
section {
    padding: var(--section-spacing) 0;
}

.section-title {
    font-family: var(--heading-font);
    font-size: 3.6rem;
    font-weight: 700;
    margin-bottom: var(--element-spacing);
    text-align: center;
    color: var(--dark-color);
    position: relative;
}

.section-title::after {
    content: '';
    display: block;
    width: 6rem;
    height: 0.4rem;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    margin: 1.5rem auto;
    border-radius: 0.2rem;
}

.section-description {
    text-align: center;
    max-width: 80rem;
    margin: 0 auto var(--element-spacing);
    color: var(--gray-color);
}

/* Button Styles */
.btn {
    display: inline-block;
    padding: 1.2rem 3rem;
    border-radius: 3rem;
    text-align: center;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    border: 2px solid transparent;
}

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

.btn-primary:hover {
    background-color: transparent;
    border-color: var(--primary-color);
    color: var(--primary-color);
}

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

.btn-secondary:hover {
    background-color: transparent;
    border-color: var(--secondary-color);
    color: var(--secondary-color);
}

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

.btn-outline:hover {
    background-color: var(--primary-color);
    color: white;
}

/* ----------------- Header Styling ----------------- */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    padding: 2rem 0;
    z-index: 1000;
    background-color: rgba(24, 8, 45, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.logo a {
    display: flex;
    align-items: center;
    font-family: var(--heading-font);
    font-size: 2.4rem;
    font-weight: 700;
    color: white;
}

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

.main-nav .nav-links {
    display: flex;
    gap: 2rem;
}

.main-nav .nav-links a {
    color: white;
    font-weight: 600;
    position: relative;
    padding: 0.5rem 0;
}

.main-nav .nav-links a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(to right, var(--primary-color), var(--secondary-color));
    transition: width 0.3s ease;
}

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

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
}

.menu-toggle span {
    display: block;
    width: 25px;
    height: 3px;
    margin: 5px 0;
    background-color: white;
    transition: all 0.3s ease;
}

/* ----------------- Hero Section ----------------- */
.hero {
    height: 100vh;
    min-height: 600px;
    background-image: linear-gradient(to right, rgba(25, 8, 45, 0.8), rgba(153, 51, 204, 0.6)), url('../images/hero-bg.jpg');
    background-size: cover;
    background-position: center;
    display: flex;
    align-items: center;
    text-align: center;
    color: white;
    padding-top: 8rem;
}

.hero-content {
    max-width: 70rem;
    margin: 0 auto;
}

.hero-content h1 {
    font-size: 5rem;
    font-weight: 800;
    margin-bottom: 2rem;
    line-height: 1.2;
    text-transform: uppercase;
    letter-spacing: 0.2rem;
    background: linear-gradient(to right, #FFFFFF, var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

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

.cta-buttons {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

/* ----------------- Featured Games Section ----------------- */
.featured-games {
    background-color: white;
}

.game-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
}

.game-card {
    background-color: white;
    border-radius: 1rem;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.game-image {
    height: 20rem;
    background-size: cover;
    background-position: center;
    position: relative;
}

.game-card:nth-child(1) .game-image {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/game1.jpg');
    background-size: cover;
}

.game-card:nth-child(2) .game-image {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/game2.jpg');
    background-size: cover;
}

.game-card:nth-child(3) .game-image {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/game3.jpg');
    background-size: cover;
}

.game-card:nth-child(4) .game-image {
    background: linear-gradient(rgba(0, 0, 0, 0.2), rgba(0, 0, 0, 0.2)), url('../images/game4.jpg');
    background-size: cover;
}

.game-info {
    padding: 2rem;
    text-align: center;
}

.game-info h3 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.game-info p {
    margin-bottom: 2rem;
    color: var(--gray-color);
}

/* ----------------- Gaming Partners Section ----------------- */
.gaming-partners {
    background-color: var(--dark-color);
    color: white;
}

.gaming-partners .section-title {
    color: white;
}

.partners-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.partner-item {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 1rem;
    padding: 3rem;
    transition: transform 0.3s ease;
}

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

.partner-item h3 {
    font-family: var(--heading-font);
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    color: white;
}

.partner-item p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.partner-links {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.partner-links a {
    display: inline-block;
    color: var(--accent-color);
    transition: color 0.3s ease;
    font-weight: 600;
}

.partner-links a:hover {
    color: white;
}

.news-links a {
    color: #FF9900;
}

.news-links a:hover {
    color: white;
}

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

.about-content {
    max-width: 80rem;
    margin: 0 auto;
}

.about-content p {
    margin-bottom: 2rem;
    text-align: center;
    color: var(--gray-color);
}

.about-features {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(25rem, 1fr));
    gap: 3rem;
    margin-top: 4rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background-color: white;
    border-radius: 1rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease;
}

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

.feature-icon {
    width: 8rem;
    height: 8rem;
    margin: 0 auto 2rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(to right bottom, var(--primary-color), var(--secondary-color));
}

.feature h3 {
    font-family: var(--heading-font);
    margin-bottom: 1rem;
    color: var(--dark-color);
}

.feature p {
    color: var(--gray-color);
    margin-bottom: 0;
    text-align: center;
}

/* ----------------- Promotions Section ----------------- */
.promotions {
    background-color: white;
}

.promotions-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(30rem, 1fr));
    gap: 3rem;
}

.promo-card {
    height: 25rem;
    border-radius: 1rem;
    overflow: hidden;
    position: relative;
    background-size: cover;
    background-position: center;
}

.promo-card:nth-child(1) {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/promo1.jpg');
    background-size: cover;
}

.promo-card:nth-child(2) {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/promo2.jpg');
    background-size: cover;
}

.promo-card:nth-child(3) {
    background: linear-gradient(rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.6)), url('../images/promo3.jpg');
    background-size: cover;
}

.promo-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 3rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0));
    color: white;
    transition: transform 0.3s ease;
}

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

.promo-content h3 {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    margin-bottom: 1rem;
}

.promo-content p {
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

.contact-info p {
    margin-bottom: 3rem;
    color: var(--gray-color);
}

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

.contact-method h3 {
    font-family: var(--heading-font);
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.contact-method p {
    margin-bottom: 0;
    color: var(--primary-color);
    font-weight: 600;
}

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

.form-group label {
    display: block;
    margin-bottom: 0.8rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 1.2rem;
    border: 1px solid #ddd;
    border-radius: 0.5rem;
    font-family: var(--body-font);
    font-size: 1.6rem;
    color: var(--dark-color);
    transition: border-color 0.3s ease;
}

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

/* ----------------- Footer ----------------- */
.site-footer {
    background-color: var(--dark-color);
    color: white;
    padding: 5rem 0 2rem;
}

.footer-main {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 5rem;
    margin-bottom: 5rem;
}

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

.footer-logo h3 {
    font-family: var(--heading-font);
    font-size: 2.4rem;
    margin: 1rem 0 0.5rem;
}

.footer-logo p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
}

.footer-links {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 3rem;
}

.footer-column h4 {
    font-family: var(--heading-font);
    font-size: 1.8rem;
    margin-bottom: 2rem;
    color: white;
}

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

.footer-column ul li a {
    color: rgba(255, 255, 255, 0.6);
    transition: color 0.3s ease;
}

.footer-column ul li a:hover {
    color: white;
}

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

.footer-bottom p {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
}

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

.social-links a {
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.1);
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transition: background-color 0.3s ease;
}

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

/* ----------------- Responsive Design ----------------- */
@media (max-width: 992px) {
    html {
        font-size: 56.25%; /* 9px base */
    }
    
    .footer-main {
        grid-template-columns: 1fr;
        gap: 3rem;
    }
    
    .contact-wrapper {
        grid-template-columns: 1fr;
        gap: 4rem;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 50%; /* 8px base */
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav .nav-links {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        height: 100vh;
        background-color: var(--dark-color);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        transition: right 0.3s ease;
        z-index: 1001;
    }
    
    .main-nav .nav-links.active {
        right: 0;
    }
    
    .main-nav .nav-links a {
        font-size: 2rem;
        padding: 2rem 0;
    }
    
    .footer-links {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
    }
    
    .about-features,
    .partners-grid {
        grid-template-columns: 1fr;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .hero-content h1 {
        font-size: 4rem;
    }
}

@media (max-width: 576px) {
    .cta-buttons {
        flex-direction: column;
        width: 100%;
        max-width: 30rem;
        margin: 0 auto;
    }
    
    .btn {
        width: 100%;
    }
    
    .contact-methods {
        grid-template-columns: 1fr;
    }
    
    .game-grid,
    .promotions-grid {
        grid-template-columns: 1fr;
    }
}
