/* ========================================
   PolyClimb.net - Global Styles
   ======================================== */

/* CSS Variables */
:root {
    --primary-color: #00d4ff;      /* Bright neon blue */
    --secondary-color: #0088ff;    /* Deep electric blue */
    --accent-color: #ff0000;       /* Pure red - strong and clear */
    --accent-green: #00ff88;       /* Neon green (for accents only) */
    --bg-dark: #0a0e27;
    --bg-darker: #050814;
    --text-light: #ffffff;
    --text-gray: #b0b8c8;
    --card-bg: rgba(255, 255, 255, 0.05);
    --card-border: rgba(255, 255, 255, 0.1);
    --glow-primary: 0 0 20px rgba(0, 212, 255, 0.5);
    --glow-secondary: 0 0 20px rgba(0, 136, 255, 0.5);
    --glow-accent: 0 0 20px rgba(255, 0, 0, 0.5);
    --transition: all 0.3s ease;
}

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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, Oxygen, Ubuntu, Cantarell, sans-serif;
    background: linear-gradient(135deg, var(--bg-darker) 0%, var(--bg-dark) 100%);
    color: var(--text-light);
    line-height: 1.6;
    min-height: 100vh;
}

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

h1 {
    font-size: 2.5rem;
}

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
}

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

p {
    margin-bottom: 1rem;
}

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

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

/* Header & Navigation */
header {
    background: rgba(10, 14, 39, 0.9);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--card-border);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem 2rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo h1 {
    font-size: 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.logo a {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.nav-links a {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: var(--transition);
}

.nav-links a:hover {
    background: var(--card-bg);
    color: var(--primary-color);
}

/* Container */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
}

/* Hero Section */
.hero {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    align-items: center;
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.hero-content {
    animation: fadeInLeft 0.8s ease;
}

.neon-text {
    font-size: 4rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: var(--glow-primary);
    margin-bottom: 1rem;
}

.tagline {
    font-size: 1.5rem;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.description {
    font-size: 1.1rem;
    color: var(--text-gray);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.cta-buttons {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
}

/* Buttons */
.btn {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 1rem 2rem;
    border-radius: 12px;
    font-weight: 600;
    font-size: 1rem;
    cursor: pointer;
    transition: var(--transition);
    border: none;
}

.btn-primary {
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    color: var(--text-light);
    box-shadow: var(--glow-primary);
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.8), 0 0 20px rgba(255, 0, 0, 0.4);
}

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

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

/* Hero Animation */
.hero-image {
    display: flex;
    justify-content: center;
    align-items: center;
    animation: fadeInRight 0.8s ease;
}

.neon-polygon {
    width: 200px;
    height: 200px;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: rotate 10s linear infinite;
    box-shadow: var(--glow-primary), var(--glow-accent);
}

/* Games Section */
.games-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.games-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

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

.game-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 20px;
    padding: 2rem;
    transition: var(--transition);
    opacity: 0;
}

.game-card.fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 1;
}

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

.game-card.featured {
    border-color: var(--primary-color);
    background: linear-gradient(135deg, rgba(0, 212, 255, 0.05), rgba(255, 0, 0, 0.05));
}

.game-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
}

.rotating-polygon {
    width: 50px;
    height: 50px;
    background: white;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    animation: rotate 6s linear infinite;
}

.cube {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, var(--accent-green), var(--primary-color));
    transform: rotate(45deg);
}

.light-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 4px;
    width: 40px;
    height: 40px;
}

.light-grid::before {
    content: '';
    display: block;
    background: white;
    border-radius: 2px;
}

.game-card h3 {
    text-align: center;
    font-size: 1.8rem;
    margin-bottom: 0.5rem;
}

.game-tagline {
    text-align: center;
    color: var(--primary-color);
    font-weight: 600;
    margin-bottom: 1rem;
}

.game-description {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.game-features ul {
    list-style: none;
    margin-bottom: 1.5rem;
}

.game-features li {
    padding: 0.5rem 0;
    padding-left: 1.5rem;
    position: relative;
    color: var(--text-gray);
}

.game-features li::before {
    content: '▸';
    position: absolute;
    left: 0;
    color: var(--primary-color);
}

.game-status {
    text-align: center;
    margin-top: 1rem;
    padding: 0.5rem;
    border-radius: 8px;
    background: rgba(0, 243, 255, 0.1);
    color: var(--primary-color);
    font-weight: 600;
}

.game-status.coming-soon {
    background: rgba(255, 0, 0, 0.1);
    color: var(--accent-color);
}

/* About Section */
.about-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
    background: var(--card-bg);
    border-radius: 20px;
}

.about-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.about-content {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 3rem;
    align-items: center;
}

.about-text p {
    color: var(--text-gray);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.about-stats {
    display: flex;
    flex-direction: column;
    gap: 2rem;
}

.stat {
    text-align: center;
    padding: 1.5rem;
    background: rgba(0, 243, 255, 0.05);
    border: 2px solid var(--card-border);
    border-radius: 16px;
}

.stat h3 {
    font-size: 3rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
}

.stat p {
    color: var(--text-gray);
    margin: 0;
}

/* Features Section */
.features-section {
    padding: 4rem 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.features-section h2 {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 3rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
    padding: 2rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 16px;
    transition: var(--transition);
    opacity: 0;
}

.feature.fade-in {
    animation: fadeInUp 0.6s ease forwards;
    opacity: 1;
}

.feature:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.feature h3 {
    margin-bottom: 1rem;
}

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

/* Updates Section */
.updates-section {
    padding: 4rem 2rem;
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-top: 2rem;
}

.social-link {
    padding: 1rem 2rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    font-weight: 600;
    transition: var(--transition);
}

.social-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

/* Footer */
footer {
    background: var(--bg-darker);
    border-top: 1px solid var(--card-border);
    padding: 3rem 2rem 1rem;
    margin-top: 4rem;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1rem;
    color: var(--primary-color);
}

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

.footer-section li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-gray);
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid var(--card-border);
    color: var(--text-gray);
}

.footer-tagline {
    font-size: 0.9rem;
    margin-top: 0.5rem;
}

/* Legal Pages */
.legal-page {
    padding: 2rem;
}

.legal-page h1 {
    text-align: center;
    margin-bottom: 1rem;
}

.last-updated {
    text-align: center;
    color: var(--text-gray);
    margin-bottom: 3rem;
    font-style: italic;
}

.legal-page section {
    margin-bottom: 3rem;
}

.legal-page h2 {
    color: var(--primary-color);
    margin-top: 2rem;
}

.legal-page h3, .legal-page h4 {
    color: var(--text-light);
    margin-top: 1.5rem;
}

.legal-page ul, .legal-page ol {
    margin-left: 2rem;
    margin-bottom: 1rem;
}

.legal-page li {
    margin-bottom: 0.5rem;
    color: var(--text-gray);
}

.highlight {
    background: rgba(0, 243, 255, 0.1);
    padding: 1rem;
    border-left: 4px solid var(--primary-color);
    border-radius: 4px;
    font-weight: 600;
}

.summary {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    margin-top: 3rem;
}

.summary-list {
    list-style: none;
    margin: 0;
}

.summary-list li {
    padding: 0.75rem;
    padding-left: 2rem;
    position: relative;
}

.summary-list li.positive::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--accent-green);
    font-weight: bold;
    font-size: 1.2rem;
}

.summary-list li.warning::before {
    content: '⚠';
    position: absolute;
    left: 0;
    color: var(--accent-color);
    font-size: 1.2rem;
}

.acknowledgment {
    background: rgba(255, 0, 0, 0.1);
    border: 2px solid var(--accent-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

/* Support Page */
.support-page {
    padding: 2rem;
}

.intro {
    text-align: center;
    font-size: 1.2rem;
    color: var(--text-gray);
    margin-bottom: 3rem;
}

.quick-links {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1rem;
    margin-bottom: 3rem;
}

.quick-link {
    padding: 0.75rem 1.5rem;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 8px;
    transition: var(--transition);
}

.quick-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.faq-section {
    margin-bottom: 4rem;
}

.faq-section h2 {
    color: var(--primary-color);
    border-bottom: 2px solid var(--card-border);
    padding-bottom: 1rem;
}

.faq-item {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    margin-bottom: 1.5rem;
}

.faq-item h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.faq-item p, .faq-item ul {
    color: var(--text-gray);
}

.faq-item ul {
    margin-left: 1.5rem;
}

.help-cta {
    text-align: center;
    padding: 3rem;
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 16px;
    margin-top: 3rem;
}

/* Contact Page */
.contact-page {
    padding: 2rem;
}

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

.contact-method {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.contact-method h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.contact-link {
    display: inline-block;
    padding: 1rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--accent-color));
    border-radius: 8px;
    font-weight: 600;
    margin-top: 0.5rem;
    color: white;
}

.contact-link:hover {
    transform: translateY(-2px);
    box-shadow: var(--glow-primary);
}

.contact-reasons h2 {
    margin-bottom: 2rem;
}

.reason-card {
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    text-align: center;
    transition: var(--transition);
}

.reason-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-2px);
}

.reason-icon {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.resources-section {
    margin: 4rem 0;
}

.resources-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
}

.resource-link {
    display: block;
    background: var(--card-bg);
    border: 2px solid var(--card-border);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
    transition: var(--transition);
}

.resource-link:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
}

.resource-link h3 {
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.resource-link p {
    color: var(--text-gray);
    margin: 0;
}

.app-links-section {
    margin: 4rem 0;
}

.app-links-section h2 {
    text-align: center;
    margin-bottom: 2rem;
}

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

.app-link-card {
    background: var(--card-bg);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    padding: 2rem;
    text-align: center;
}

.app-link-card.coming-soon-card {
    border-color: var(--card-border);
    opacity: 0.7;
}

/* Back Link */
.back-link {
    text-align: center;
    margin-top: 3rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

/* Responsive Design */
@media (max-width: 968px) {
    .hero {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .neon-text {
        font-size: 3rem;
    }

    .cta-buttons {
        justify-content: center;
    }

    .about-content {
        grid-template-columns: 1fr;
    }

    .contact-grid {
        grid-template-columns: 1fr;
    }

    .nav-links {
        gap: 1rem;
    }
}

@media (max-width: 768px) {
    nav {
        flex-direction: column;
        gap: 1rem;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
    }

    h1 {
        font-size: 2rem;
    }

    h2 {
        font-size: 1.75rem;
    }

    .neon-text {
        font-size: 2.5rem;
    }

    .games-grid {
        grid-template-columns: 1fr;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .footer-content {
        grid-template-columns: 1fr;
        text-align: center;
    }

    .container {
        padding: 1rem;
    }
}

@media (max-width: 480px) {
    .neon-text {
        font-size: 2rem;
    }

    .btn {
        width: 100%;
        justify-content: center;
    }

    .quick-links {
        flex-direction: column;
    }

    .quick-link {
        width: 100%;
        text-align: center;
    }
}
