/* 
 * Patineet.com - Premier Online Gaming Hub in the Philippines
 * Main Stylesheet
 */

/* Base Styles & Variables */
:root {
    --primary-color: #5e17eb;
    --primary-dark: #4a12bd;
    --secondary-color: #ff9100;
    --secondary-dark: #e68200;
    --accent-color: #00d4ff;
    --text-color: #333333;
    --text-light: #666666;
    --bg-color: #ffffff;
    --bg-dark: #f4f4f8;
    --bg-darker: #e0e0e6;
    --success-color: #28a745;
    --warning-color: #ffc107;
    --danger-color: #dc3545;
    --info-color: #17a2b8;
    --border-radius: 8px;
    --box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    --transition: all 0.3s ease;
    --font-family: 'Poppins', sans-serif;
}

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

html {
    font-size: 62.5%; /* 10px = 1rem */
    scroll-behavior: smooth;
}

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

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

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

h1 {
    font-size: 4.8rem;
}

h2 {
    font-size: 3.6rem;
}

h3 {
    font-size: 2.4rem;
}

h4 {
    font-size: 2rem;
}

p {
    margin-bottom: 1.5rem;
}

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

a:hover {
    color: var(--primary-dark);
}

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

ul, ol {
    list-style: none;
}

input, button, textarea, select {
    font-family: inherit;
    font-size: inherit;
}

button {
    cursor: pointer;
}

section {
    padding: 8rem 0;
}

/* Buttons */
.btn {
    display: inline-block;
    padding: 1.2rem 2.4rem;
    border-radius: var(--border-radius);
    font-weight: 500;
    text-align: center;
    transition: var(--transition);
    border: none;
    outline: none;
}

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

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

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

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

.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;
}

.btn-large {
    padding: 1.5rem 3rem;
    font-size: 1.8rem;
}

.btn-play {
    background-color: rgba(255, 255, 255, 0.9);
    color: var(--primary-color);
    font-weight: 600;
}

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

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

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

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

.logo img {
    height: 50px;
    width: auto;
}

.main-nav {
    margin-left: auto;
}

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

.nav-menu li a {
    color: var(--text-color);
    font-weight: 500;
    position: relative;
}

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

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

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

.header-buttons {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    margin-left: 3rem;
}

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

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

/* Hero Section */
.hero-section {
    padding: 18rem 0 10rem;
    background: linear-gradient(135deg, #4a12bd 0%, #7e42ff 100%);
    color: white;
    text-align: center;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('data:image/svg+xml;base64,PHN2ZyB3aWR0aD0iMTQ0MCIgaGVpZ2h0PSI4MDAiIHhtbG5zPSJodHRwOi8vd3d3LnczLm9yZy8yMDAwL3N2ZyI+PGRlZnM+PGxpbmVhckdyYWRpZW50IHgxPSIwJSIgeTE9IjEwMCUiIHgyPSIxMDAlIiB5Mj0iMCUiIGlkPSJhIj48c3RvcCBzdG9wLWNvbG9yPSIjNUUxN0VCIiBzdG9wLW9wYWNpdHk9Ii4yIiBvZmZzZXQ9IjAlIi8+PHN0b3Agc3RvcC1jb2xvcj0iIzAwRDRGRiIgc3RvcC1vcGFjaXR5PSIuMiIgb2Zmc2V0PSIxMDAlIi8+PC9saW5lYXJHcmFkaWVudD48L2RlZnM+PHBhdGggZD0iTTAgODAwYzE1MC0zMC42IDI3MS43LTQ2IDM2NS0zOCAxNzkuNiAxNi43IDMwMi44IDEwNiA1NTQgMTA2IDI1MC44IDAgMzU3LTgxLjcgNTIxLTE3OFYwSDBWODAweiIgZmlsbD0idXJsKCNhKSIgZmlsbC1ydWxlPSJldmVub2RkIi8+PC9zdmc+');
    background-size: cover;
    opacity: 0.4;
    z-index: 0;
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 800px;
    margin: 0 auto;
}

.hero-content h1 {
    margin-bottom: 2rem;
    font-size: 5.2rem;
}

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

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

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

.section-header {
    text-align: center;
    margin-bottom: 5rem;
}

.section-header h2 {
    position: relative;
    display: inline-block;
}

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

.section-header p {
    font-size: 1.8rem;
    color: var(--text-light);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 3rem;
    margin-bottom: 4rem;
}

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

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

.game-thumbnail {
    height: 200px;
    background-color: #6e25ff;
    background-image: linear-gradient(45deg, #6e25ff 0%, #a259ff 100%);
    position: relative;
}

.game-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: var(--transition);
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    font-size: 2rem;
    margin-bottom: 1rem;
}

.game-info p {
    color: var(--text-light);
    margin-bottom: 0;
}

.view-all {
    text-align: center;
    margin-top: 2rem;
}

/* Benefits Section */
.benefits-section {
    background-color: var(--bg-dark);
}

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

.benefit-card {
    background-color: white;
    padding: 3rem 2rem;
    border-radius: var(--border-radius);
    text-align: center;
    box-shadow: var(--box-shadow);
    transition: var(--transition);
}

.benefit-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.15);
}

.benefit-icon {
    width: 80px;
    height: 80px;
    background-color: rgba(94, 23, 235, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 2rem;
    color: var(--primary-color);
}

.benefit-card h3 {
    margin-bottom: 1.5rem;
}

.benefit-card p {
    color: var(--text-light);
    margin-bottom: 0;
}

/* Gaming Resources Section */
.gaming-resources {
    background-color: var(--bg-color);
}

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

.resource-card {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
}

.resource-links {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    margin-top: 2rem;
}

.resource-links a {
    display: block;
    padding: 1rem 0;
    border-bottom: 1px solid var(--bg-darker);
    font-weight: 500;
    transition: var(--transition);
}

.resource-links a:hover {
    color: var(--primary-dark);
    padding-left: 10px;
}

.link-arrow {
    position: relative;
}

.link-arrow::after {
    content: '→';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    transition: var(--transition);
}

.link-arrow:hover::after {
    right: -10px;
}

/* Testimonials Section */
.testimonials-section {
    background-color: var(--bg-dark);
}

.testimonials-slider {
    display: flex;
    flex-wrap: wrap;
    gap: 3rem;
    justify-content: center;
}

.testimonial {
    background-color: white;
    border-radius: var(--border-radius);
    padding: 3rem;
    box-shadow: var(--box-shadow);
    max-width: 350px;
}

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

.testimonial-content::before {
    content: '"';
    font-size: 6rem;
    position: absolute;
    top: -20px;
    left: -10px;
    color: rgba(94, 23, 235, 0.1);
    font-family: serif;
    line-height: 1;
}

.testimonial-author {
    display: flex;
    flex-direction: column;
}

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

.testimonial-author p {
    color: var(--text-light);
    margin: 0;
}

/* Newsletter Section */
.newsletter-section {
    background: linear-gradient(135deg, #ff9100 0%, #ffb14d 100%);
    color: white;
    text-align: center;
}

.newsletter-content {
    max-width: 600px;
    margin: 0 auto;
}

.newsletter-form {
    display: flex;
    gap: 1rem;
    margin-top: 3rem;
}

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

.newsletter-form button {
    background-color: var(--primary-color);
}

.newsletter-form button:hover {
    background-color: var(--primary-dark);
}

/* Footer */
.site-footer {
    background-color: #2a1c51;
    color: white;
    padding: 6rem 0 2rem;
}

.footer-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    gap: 4rem;
    margin-bottom: 4rem;
}

.footer-logo {
    max-width: 300px;
}

.footer-logo p {
    margin-top: 2rem;
    color: rgba(255, 255, 255, 0.7);
}

.footer-links {
    display: flex;
    flex-wrap: wrap;
    gap: 4rem;
}

.footer-links-column h3 {
    position: relative;
    margin-bottom: 2.5rem;
}

.footer-links-column h3::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 50px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-links-column ul {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.footer-links-column ul li a {
    color: rgba(255, 255, 255, 0.7);
    transition: var(--transition);
}

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

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

.copyright p {
    color: rgba(255, 255, 255, 0.7);
    margin: 0;
}

.footer-social {
    display: flex;
    gap: 2rem;
}

.footer-social a {
    color: white;
    font-size: 2rem;
}

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

.footer-disclaimer {
    text-align: center;
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    color: rgba(255, 255, 255, 0.6);
    font-size: 1.4rem;
    position: relative;
}

.footer-icon {
    width: 40px;
    height: 40px;
    margin: 2rem auto 0;
}

/* Media Queries */
@media (max-width: 1024px) {
    html {
        font-size: 58%;
    }
    
    .resources-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    html {
        font-size: 55%;
    }
    
    .hero-section {
        padding: 16rem 0 8rem;
    }
    
    .hero-content h1 {
        font-size: 4.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .menu-toggle {
        display: block;
    }
    
    .main-nav {
        position: fixed;
        top: 0;
        right: -100%;
        width: 80%;
        max-width: 300px;
        height: 100vh;
        background-color: white;
        padding: 8rem 2rem 2rem;
        transition: right 0.3s ease;
        z-index: 999;
    }
    
    .main-nav.active {
        right: 0;
        box-shadow: -5px 0 15px rgba(0, 0, 0, 0.1);
    }
    
    .nav-menu {
        flex-direction: column;
        align-items: flex-start;
        gap: 2rem;
    }
    
    .header-buttons {
        display: none;
    }
    
    .footer-top {
        flex-direction: column;
        gap: 4rem;
    }
    
    .footer-links {
        width: 100%;
        justify-content: space-between;
    }
    
    .footer-bottom {
        flex-direction: column;
        gap: 2rem;
    }
    
    .newsletter-form {
        flex-direction: column;
    }
}

@media (max-width: 576px) {
    .hero-content h1 {
        font-size: 3.6rem;
    }
    
    .footer-links {
        flex-direction: column;
        gap: 4rem;
    }
    
    .section-header h2 {
        font-size: 3rem;
    }
    
    .testimonials-slider {
        flex-direction: column;
        align-items: center;
    }
    
    .testimonial {
        width: 100%;
    }
}
