/* 
* GawSex - Premium Online Gaming Experience
* Main Stylesheet
*/

/* ===== Base Styles ===== */
:root {
    /* Main color scheme */
    --primary: #6C2BD9;
    --secondary: #25D366;
    --accent: #FF6B6B;
    --background: #0F0F1A;
    --light-bg: #1E1E2F;
    --text: #F2F2F2;
    --muted: #A7A7C1;
    --border: #32324F;
    
    /* Typography */
    --font-body: 'Roboto', sans-serif;
    --font-heading: 'Montserrat', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

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

html {
    font-size: 16px;
    scroll-behavior: smooth;
}

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

.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

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

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

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    margin-bottom: var(--spacing-sm);
    line-height: 1.3;
}

h1 {
    font-size: 3.5rem;
    margin-bottom: var(--spacing-lg);
}

h2 {
    font-size: 2.5rem;
    position: relative;
    display: inline-block;
    margin-bottom: var(--spacing-md);
}

h2:after {
    content: "";
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 80px;
    height: 4px;
    background: var(--secondary);
}

h3 {
    font-size: 1.5rem;
}

p {
    margin-bottom: var(--spacing-md);
}

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

.section-header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.section-header p {
    color: var(--muted);
    max-width: 600px;
    margin: 0 auto;
}

section {
    padding: var(--spacing-xl) 0;
}

/* ===== Buttons ===== */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 0.9rem;
}

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

.btn-primary:hover {
    background-color: #5520B6;
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(108, 43, 217, 0.3);
}

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

.btn-secondary:hover {
    background-color: var(--secondary);
    color: var(--background);
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(37, 211, 102, 0.2);
}

.btn-play {
    background-color: var(--accent);
    color: white;
    padding: 0.5rem 1rem;
    font-size: 0.8rem;
}

.btn-play:hover {
    background-color: #FF4848;
    color: white;
    transform: translateY(-2px);
}

/* ===== Header ===== */
header {
    padding: var(--spacing-md) 0;
    position: sticky;
    top: 0;
    z-index: 100;
    background-color: rgba(15, 15, 26, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

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

.logo img {
    height: 50px;
}

.main-nav .nav-list {
    display: flex;
    list-style: none;
}

.main-nav li {
    margin-left: var(--spacing-md);
}

.main-nav a {
    color: var(--text);
    font-weight: 500;
    padding: 0.5rem;
}

.main-nav a:hover, .main-nav a.active {
    color: var(--secondary);
}

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

.hamburger {
    display: block;
    width: 24px;
    height: 2px;
    background: var(--text);
    position: relative;
    transition: all 0.3s ease;
}

.hamburger:before, .hamburger:after {
    content: '';
    position: absolute;
    width: 24px;
    height: 2px;
    background: var(--text);
    transition: all 0.3s ease;
}

.hamburger:before {
    top: -8px;
}

.hamburger:after {
    bottom: -8px;
}

/* ===== Hero Section ===== */
.hero {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--background), var(--light-bg));
    position: relative;
    overflow: hidden;
}

.hero:before {
    content: '';
    position: absolute;
    top: -100px;
    right: -100px;
    width: 400px;
    height: 400px;
    background: radial-gradient(circle, rgba(108, 43, 217, 0.2) 0%, rgba(15, 15, 26, 0) 70%);
    z-index: 1;
}

.hero .container {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: var(--spacing-lg);
}

.hero-content {
    flex: 1;
    max-width: 600px;
}

.hero-image {
    flex: 1;
    text-align: right;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-lg);
}

.cta-buttons {
    display: flex;
    gap: var(--spacing-md);
}

/* ===== Features Section ===== */
.features {
    background-color: var(--light-bg);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: var(--spacing-lg);
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: var(--spacing-lg);
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.feature-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--primary);
}

.feature-icon {
    margin-bottom: var(--spacing-md);
}

.feature-icon img {
    width: 60px;
    height: 60px;
}

/* ===== Games Section ===== */
.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: var(--spacing-lg);
}

.game-card {
    background: var(--light-bg);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    border-color: var(--secondary);
}

.game-image img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.game-details {
    padding: var(--spacing-md);
}

.game-details h3 {
    margin-bottom: var(--spacing-xs);
}

.game-details p {
    color: var(--muted);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-md);
}

.games-footer {
    text-align: center;
    margin-top: var(--spacing-lg);
}

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

.about-content {
    display: flex;
    align-items: center;
    gap: var(--spacing-xl);
}

.about-text, .about-image {
    flex: 1;
}

.about-text p:last-child {
    margin-bottom: 0;
}

/* ===== Blog Section ===== */
.blog-section {
    background-color: var(--light-bg);
}

.blog-posts {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: var(--spacing-lg);
}

.blog-post {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border);
}

.blog-post:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
}

.post-image img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.post-content {
    padding: var(--spacing-md);
}

.post-date {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: var(--spacing-xs);
}

.read-more {
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

/* ===== Testimonials ===== */
.testimonials {
    background-color: var(--background);
}

.testimonials-slider {
    display: flex;
    gap: var(--spacing-lg);
    overflow-x: auto;
    padding-bottom: var(--spacing-md);
    scroll-snap-type: x mandatory;
}

.testimonial {
    flex: 0 0 350px;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: var(--spacing-lg);
    border: 1px solid var(--border);
    scroll-snap-align: start;
}

.testimonial-content {
    margin-bottom: var(--spacing-md);
}

.testimonial-author {
    display: flex;
    align-items: center;
}

.testimonial-author img {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    margin-right: var(--spacing-sm);
}

.author-info h4 {
    margin-bottom: 0;
}

.author-info p {
    color: var(--muted);
    font-size: 0.8rem;
    margin-bottom: 0;
}

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

.contact-content {
    display: flex;
    gap: var(--spacing-xl);
}

.contact-form, .contact-info {
    flex: 1;
}

.form-group {
    margin-bottom: var(--spacing-md);
}

.form-group label {
    display: block;
    margin-bottom: var(--spacing-xs);
    font-weight: 500;
}

.form-group input, .form-group textarea {
    width: 100%;
    padding: 0.75rem;
    background-color: rgba(255, 255, 255, 0.05);
    border: 1px solid var(--border);
    border-radius: 5px;
    color: var(--text);
    font-family: var(--font-body);
}

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

.info-item {
    display: flex;
    align-items: flex-start;
    margin-bottom: var(--spacing-lg);
}

.info-icon {
    margin-right: var(--spacing-md);
}

.info-icon img {
    width: 30px;
    height: 30px;
}

.info-content h4 {
    margin-bottom: var(--spacing-xs);
}

.info-content p {
    color: var(--muted);
    margin-bottom: var(--spacing-xs);
}

.social-links {
    display: flex;
    gap: var(--spacing-sm);
}

.social-links a img {
    width: 24px;
    height: 24px;
    transition: transform 0.3s ease;
}

.social-links a:hover img {
    transform: translateY(-3px);
}

/* ===== Footer ===== */
.main-footer {
    background-color: var(--background);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 1px solid var(--border);
}

.footer-top {
    display: flex;
    justify-content: space-between;
    margin-bottom: var(--spacing-xl);
}

.footer-logo {
    flex: 0 0 150px;
}

.footer-nav {
    flex: 1;
    display: flex;
    justify-content: flex-end;
    gap: var(--spacing-xl);
}

.footer-col h4 {
    color: var(--text);
    margin-bottom: var(--spacing-md);
}

.footer-col ul {
    list-style: none;
}

.footer-col li {
    margin-bottom: var(--spacing-xs);
}

.footer-col a {
    color: var(--muted);
}

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

.footer-bottom {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border);
    font-size: 0.9rem;
    color: var(--muted);
}

.footer-payment img {
    height: 24px;
}

/* ===== Responsive Styles ===== */
@media screen and (max-width: 992px) {
    h1 {
        font-size: 3rem;
    }
    
    h2 {
        font-size: 2.2rem;
    }
    
    .hero .container {
        flex-direction: column;
    }
    
    .hero-image {
        margin-top: var(--spacing-lg);
    }
    
    .about-content {
        flex-direction: column;
    }
    
    .contact-content {
        flex-direction: column;
    }
    
    .footer-top {
        flex-direction: column;
    }
    
    .footer-logo {
        margin-bottom: var(--spacing-lg);
    }
    
    .footer-nav {
        justify-content: space-between;
    }
}

@media screen and (max-width: 768px) {
    html {
        font-size: 14px;
    }
    
    h1 {
        font-size: 2.5rem;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .nav-list {
        position: fixed;
        top: 80px;
        left: 0;
        width: 100%;
        background-color: var(--light-bg);
        flex-direction: column;
        align-items: center;
        padding: var(--spacing-md) 0;
        transform: translateY(-100%);
        opacity: 0;
        transition: all 0.3s ease;
        z-index: 99;
    }
    
    .nav-list.active {
        transform: translateY(0);
        opacity: 1;
    }
    
    .nav-list li {
        margin: var(--spacing-xs) 0;
    }
    
    .cta-buttons {
        flex-direction: column;
    }
    
    .footer-nav {
        flex-direction: column;
        gap: var(--spacing-lg);
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
        gap: var(--spacing-md);
    }
}

@media screen and (max-width: 576px) {
    h1 {
        font-size: 2.2rem;
    }
    
    .testimonials-slider {
        padding-left: var(--spacing-xs);
        margin-left: -var(--spacing-md);
        margin-right: -var(--spacing-md);
        width: calc(100% + var(--spacing-md) * 2);
    }
    
    .testimonial {
        flex: 0 0 80%;
    }
}
