/* 
 * aiporngame.pw - Main Stylesheet
 * A gaming-inspired design with neon green accents
 */

/* Base Styles & Variables */
:root {
    --primary: #00E676;       /* Neon green */
    --primary-dark: #00C853;  /* Darker green */
    --primary-light: #69F0AE; /* Lighter green */
    --secondary: #64FFDA;     /* Teal accent */
    --dark: #212121;          /* Near black */
    --darker: #121212;        /* True black */
    --light: #FFFFFF;         /* White */
    --gray: #757575;          /* Medium gray */
    --shadow: 0 4px 20px rgba(0, 230, 118, 0.25); /* Green-tinted shadow */
    --glow: 0 0 15px rgba(0, 230, 118, 0.6);      /* Neon glow effect */
    --transition: all 0.3s cubic-bezier(0.25, 0.46, 0.45, 0.94);
    --gradient: linear-gradient(135deg, var(--primary) 0%, var(--secondary) 100%);
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Rajdhani', 'Montserrat', sans-serif;
    background-color: var(--darker);
    color: var(--light);
    line-height: 1.6;
    overflow-x: hidden;
}

/* Typography */
h1, h2, h3, h4 {
    font-weight: 700;
    line-height: 1.2;
}

h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    display: inline-block;
}

h2 span {
    color: var(--primary);
}

h3 {
    font-size: 1.5rem;
    margin-bottom: 1.2rem;
}

p {
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.8);
}

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

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

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

/* Site Wrapper */
.site-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

/* Header Styles */
header {
    background-color: rgba(18, 18, 18, 0.95);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 15px 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

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

.site-branding {
    display: flex;
    align-items: center;
    gap: 12px;
}

.site-logo {
    width: 50px;
    height: 50px;
    filter: drop-shadow(var(--glow));
}

h1 {
    font-size: 1.8rem;
    font-weight: 700;
    text-transform: lowercase;
}

h1 span:nth-of-type(1) {
    font-weight: 400;
    color: var(--light);
}

h1 span:nth-of-type(2) {
    font-size: 1rem;
    font-weight: 300;
    color: var(--gray);
}

/* Navigation */
.main-nav {
    display: flex;
    align-items: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-menu a {
    color: var(--light);
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
    font-size: 0.9rem;
    position: relative;
}

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

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

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

.nav-cta {
    background: var(--gradient);
    padding: 8px 20px;
    border-radius: 4px;
    color: var(--dark) !important;
    font-weight: 700 !important;
    box-shadow: var(--shadow);
}

.nav-cta:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
    color: var(--dark) !important;
}

.nav-cta::after {
    display: none !important;
}

.menu-toggle {
    display: none;
    background: none;
    border: none;
    cursor: pointer;
    width: 30px;
    height: 24px;
    position: relative;
    z-index: 101;
}

.menu-toggle span {
    display: block;
    width: 100%;
    height: 2px;
    background-color: var(--light);
    margin: 5px 0;
    transition: var(--transition);
    border-radius: 2px;
}

/* Hero Section */
.hero-section {
    padding: 80px 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(0,0,0,0.7) 0%, transparent 100%);
    z-index: 0;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
}

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

.hero-visual {
    flex: 1;
    max-width: 500px;
}

.glitch-text {
    font-size: 3.5rem;
    text-transform: uppercase;
    position: relative;
    color: var(--light);
    margin-bottom: 10px;
    letter-spacing: 2px;
    animation: pulse 3s infinite;
}

@keyframes pulse {
    0%, 100% { text-shadow: 0 0 10px rgba(0, 230, 118, 0.5); }
    50% { text-shadow: 0 0 20px rgba(0, 230, 118, 0.8), 0 0 30px rgba(100, 255, 218, 0.5); }
}

.hero-content h3 {
    font-size: 1.5rem;
    color: var(--primary);
    margin-bottom: 1.5rem;
    text-transform: uppercase;
}

.hero-buttons {
    display: flex;
    gap: 15px;
    margin-top: 30px;
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 4px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: inline-block;
    transition: var(--transition);
    cursor: pointer;
}

.btn-primary {
    background: var(--gradient);
    color: var(--dark);
    box-shadow: var(--shadow);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--glow);
    color: var(--dark);
}

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

.btn-secondary:hover {
    background: rgba(0, 230, 118, 0.1);
    transform: translateY(-3px);
}

.btn-large {
    padding: 15px 40px;
    font-size: 1.1rem;
}

/* Games Section */
.games-section {
    padding: 100px 0;
    background-color: var(--dark);
    text-align: center;
    position: relative;
    overflow: hidden;
}

.games-section::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    height: 200px;
    background: linear-gradient(to top, var(--darker), transparent);
    pointer-events: none;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 30px;
    margin-top: 50px;
}

.game-card {
    background: rgba(33, 33, 33, 0.6);
    border-radius: 10px;
    padding: 30px 20px;
    transition: var(--transition);
    position: relative;
    border-bottom: 3px solid transparent;
}

.game-card:hover {
    transform: translateY(-10px);
    background: rgba(33, 33, 33, 0.9);
    border-image: var(--gradient);
    border-image-slice: 1;
}

.game-icon {
    margin: 0 auto 20px;
    width: 60px;
    height: 60px;
    filter: drop-shadow(var(--glow));
}

.game-card h3 {
    font-size: 1.3rem;
    margin-bottom: 15px;
    color: var(--primary);
}

/* Features Section */
.features-section {
    padding: 100px 0;
    text-align: center;
    background-color: var(--darker);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
    margin-top: 50px;
}

.feature {
    text-align: left;
    padding: 30px;
    border-radius: 10px;
    background: linear-gradient(145deg, rgba(33, 33, 33, 0.7), rgba(18, 18, 18, 0.7));
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.feature:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow);
}

.feature::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 0;
    background: var(--gradient);
    transition: var(--transition);
}

.feature:hover::before {
    height: 100%;
}

.feature-number {
    font-size: 3rem;
    font-weight: 700;
    color: rgba(0, 230, 118, 0.1);
    position: absolute;
    top: 10px;
    right: 20px;
    line-height: 1;
}

.feature h3 {
    position: relative;
    z-index: 1;
    color: var(--primary);
}

/* CTA Section */
.cta-section {
    padding: 100px 0;
    background: linear-gradient(135deg, rgba(33, 33, 33, 0.9), rgba(18, 18, 18, 0.9)), url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><rect width="100" height="100" fill="%23121212"/><path d="M0 0L100 100M0 50L50 100M50 0L100 50" stroke="%2300E676" stroke-width="1" stroke-opacity="0.1"/></svg>');
    background-size: cover;
    position: relative;
    text-align: center;
}

.cta-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(0, 230, 118, 0.1) 0%, transparent 70%);
}

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

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

.cta-section span {
    color: var(--primary);
    position: relative;
}

.cta-section span::after {
    content: '';
    position: absolute;
    bottom: 5px;
    left: 0;
    width: 100%;
    height: 10px;
    background-color: rgba(0, 230, 118, 0.2);
    z-index: -1;
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: var(--light);
}

/* Footer */
footer {
    background-color: var(--dark);
    padding: 60px 0 30px;
    margin-top: auto;
}

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

.footer-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo {
    filter: drop-shadow(0 0 5px rgba(0, 230, 118, 0.4));
}

.footer-links h4 {
    color: var(--primary);
    margin-bottom: 20px;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

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

.footer-links ul li {
    margin-bottom: 10px;
}

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

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

.footer-legal {
    grid-column: 1 / -1;
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.9rem;
    color: var(--gray);
}

/* Responsive Design */
@media (max-width: 768px) {
    .menu-toggle {
        display: block;
    }
    
    .nav-menu {
        position: fixed;
        top: 0;
        right: -100%;
        width: 70%;
        max-width: 300px;
        height: 100vh;
        background-color: var(--dark);
        flex-direction: column;
        justify-content: center;
        align-items: center;
        padding: 50px 0;
        transition: right 0.3s ease;
        z-index: 99;
    }
    
    .nav-menu.active {
        right: 0;
        box-shadow: -5px 0 20px rgba(0, 0, 0, 0.5);
    }
    
    .menu-toggle.active span:nth-child(1) {
        transform: rotate(45deg) translate(5px, 6px);
    }
    
    .menu-toggle.active span:nth-child(2) {
        opacity: 0;
    }
    
    .menu-toggle.active span:nth-child(3) {
        transform: rotate(-45deg) translate(5px, -6px);
    }
    
    .hero-section .container {
        flex-direction: column;
    }
    
    .hero-content,
    .hero-visual {
        max-width: 100%;
    }
    
    .glitch-text {
        font-size: 2.5rem;
    }
    
    .hero-content h3 {
        font-size: 1.3rem;
    }
    
    .cta-section h2 {
        font-size: 2.5rem;
    }
}

@media (max-width: 576px) {
    h1 {
        font-size: 1.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    .glitch-text {
        font-size: 2rem;
    }
    
    .cta-section h2 {
        font-size: 2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
    }
    
    .feature-number {
        font-size: 2.5rem;
    }
}
