/* Base styles and variables */
:root {
    --bg-color: #0b0c10;
    --bg-secondary: #171923;
    --text-main: #f8f9fa;
    --text-muted: #a0aec0;

    --accent-primary: #f50057;
    /* Neon Pink */
    --accent-secondary: #00d2ff;
    /* Electric Blue */
    --gradient-primary: linear-gradient(135deg, var(--accent-primary), var(--accent-secondary));

    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;

    --shadow-soft: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 20px rgba(245, 0, 87, 0.4);

    --transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

html {
    scroll-behavior: smooth;
    overflow-x: hidden;
}

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    position: relative;
}

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

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    color: transparent;
    display: inline-block;
}

.accent-text {
    color: var(--accent-secondary);
}

.section-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

/* Navbar */
.glass-nav {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: rgba(11, 12, 16, 0.85);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}

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

.logo {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--text-main);
    text-decoration: none;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.logo-icon {
    font-size: 1.8rem;
    max-height: 128px;
    width: auto;
    object-fit: contain;
}

.nav-container .logo-icon {
    max-height: 114px;
}

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

.nav-links a {
    color: var(--text-main);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: var(--transition);
    position: relative;
    padding: 0.5rem 0;
}

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

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

/* Hero Section */
.hero-section {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    padding: 6rem 2rem 2rem;
    overflow: hidden;
    text-align: center;
}

.hero-content {
    max-width: 800px;
    z-index: 10;
}

.hero-title {
    font-size: 5rem;
    font-weight: 900;
    margin-bottom: 1.5rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.hero-intro {
    font-size: 1.25rem;
    color: var(--text-muted);
    margin-bottom: 2.5rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Shapes for background aesthetic */
.shape {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    z-index: 1;
    opacity: 0.4;
    animation: float 10s infinite alternate linear;
}

.shape-1 {
    width: 350px;
    height: 350px;
    background: var(--accent-primary);
    top: -100px;
    left: -100px;
}

.shape-2 {
    width: 450px;
    height: 450px;
    background: var(--accent-secondary);
    bottom: -150px;
    right: -100px;
    animation-delay: -5s;
}

.shape-3 {
    width: 250px;
    height: 250px;
    background: #7000ff;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    animation-duration: 15s;
}

/* Buttons */
.btn-primary {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: var(--gradient-primary);
    color: #fff;
    text-decoration: none;
    font-weight: 800;
    font-size: 1.1rem;
    border-radius: 50px;
    border: none;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 4px 15px rgba(245, 0, 87, 0.3);
}

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

.btn-secondary {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: transparent;
    color: var(--accent-secondary);
    text-decoration: none;
    font-weight: 800;
    font-size: 0.9rem;
    border: 2px solid var(--accent-secondary);
    border-radius: 50px;
    transition: var(--transition);
    text-transform: uppercase;
    width: 100%;
    text-align: center;
    margin-top: auto;
    /* Push down to bottom of card */
}

.btn-secondary:hover {
    background: var(--accent-secondary);
    color: var(--bg-color);
    box-shadow: 0 0 15px rgba(0, 210, 255, 0.4);
}

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

/* Games Section */
.portfolio-section {
    background-color: var(--bg-secondary);
    position: relative;
    z-index: 5;
}

.games-status {
    text-align: center;
    font-size: 1.2rem;
    color: var(--accent-secondary);
    margin-bottom: 2rem;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

/* Game Card */
.game-card {
    background: var(--bg-color);
    border-radius: var(--radius-md);
    padding: 2rem 1.5rem;
    transition: var(--transition);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    min-height: 350px;
}

.game-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-soft);
    border-color: rgba(255, 255, 255, 0.1);
}

.game-card::after {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: var(--radius-md);
    padding: 2px;
    background: var(--gradient-primary);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    opacity: 0;
    transition: var(--transition);
}

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

.game-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: var(--radius-md);
    overflow: hidden;
    margin: 0 auto 1.5rem;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.game-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: var(--transition);
}

.game-card:hover .game-icon {
    transform: scale(1.1);
}

.game-info {
    display: flex;
    flex-direction: column;
    flex-grow: 1;
    position: relative;
    z-index: 2;
}

.game-title {
    font-size: 1.2rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-align: center;
}

.game-desc {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-align: center;
    margin-bottom: 1.5rem;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* Contact Section */
.contact-section {
    position: relative;
    z-index: 5;
}

.contact-card {
    background: var(--bg-secondary);
    border-radius: var(--radius-lg);
    padding: 3rem;
    max-width: 600px;
    margin: 0 auto;
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
    position: relative;
    overflow: hidden;
}

.contact-card::before {
    content: '';
    position: absolute;
    top: -50px;
    left: -50px;
    width: 150px;
    height: 150px;
    background: var(--accent-primary);
    filter: blur(80px);
    opacity: 0.2;
    border-radius: 50%;
    z-index: 0;
}

.contact-desc {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-muted);
    font-size: 1.1rem;
    position: relative;
    z-index: 5;
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    position: relative;
    z-index: 5;
}

.input-group {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.input-group label {
    font-size: 0.9rem;
    font-weight: 600;
    color: var(--text-muted);
    transition: var(--transition);
}

.input-group input,
.input-group textarea {
    width: 100%;
    padding: 1rem;
    background: rgba(11, 12, 16, 0.5);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-sm);
    color: #fff;
    font-family: inherit;
    transition: var(--transition);
}

.input-group input:focus,
.input-group textarea:focus {
    outline: none;
    border-color: var(--accent-secondary);
    background: rgba(11, 12, 16, 0.8);
    box-shadow: 0 0 10px rgba(0, 210, 255, 0.1);
}

.input-group input:focus+label,
.input-group textarea:focus+label {
    color: var(--accent-secondary);
}

.contact-form .btn-primary {
    width: 100%;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 4rem 2rem 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    text-align: center;
    position: relative;
    z-index: 5;
}

.footer-container {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.footer-logo {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 1.35rem;
    font-weight: 800;
    letter-spacing: 0.5px;
}

.footer-logo .logo-icon {
    max-height: 112px;
    border-radius: 12px;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.35);
}

.copyright {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.footer-links a {
    color: var(--text-muted);
    text-decoration: none;
    transition: var(--transition);
    font-size: 1rem;
    font-weight: 600;
}

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

/* Privacy Page Specifics */
.privacy-page {
    background-color: var(--bg-color);
    padding-top: 80px;
    /* Space for navbar */
}

.privacy-container {
    max-width: 900px;
    margin: 4rem auto;
    padding: 0 2rem;
}

.privacy-card {
    background: var(--bg-secondary);
    padding: 3rem;
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-soft);
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.privacy-card h1 {
    font-size: 3rem;
    margin-bottom: 2rem;
    text-align: center;
}

.prose {
    font-size: 1.05rem;
    line-height: 1.85;
    color: var(--text-muted);
}

.prose h2 {
    color: var(--text-main);
    font-size: 1.8rem;
    font-weight: 800;
    margin-top: 2.5rem;
    margin-bottom: 0.9rem;
    line-height: 1.3;
}

.prose h3 {
    color: #d7deeb;
    font-size: 1.25rem;
    font-weight: 700;
    margin-top: 1.4rem;
    margin-bottom: 0.5rem;
    line-height: 1.35;
}

.prose p {
    margin-bottom: 1rem;
}

.prose ul {
    margin-bottom: 1.35rem;
    padding-left: 1.4rem;
}

.prose li {
    margin-bottom: 0.4rem;
}

.prose a {
    color: #7dd3fc;
    text-underline-offset: 3px;
    text-decoration-thickness: 1.5px;
    transition: color 0.2s ease, text-decoration-color 0.2s ease;
}

.prose a:hover,
.prose a:focus {
    color: #bae6fd;
    text-decoration-color: #bae6fd;
}

.prose hr {
    border: 0;
    border-top: 1px solid rgba(255, 255, 255, 0.14);
    margin: 2rem 0 2.1rem;
}

.prose strong {
    color: var(--text-main);
    font-weight: 700;
}

.back-link {
    color: var(--accent-secondary) !important;
}

.back-link::after {
    background: var(--accent-secondary) !important;
}

/* Animations */
@keyframes float {
    0% {
        transform: translate(0, 0);
    }

    100% {
        transform: translate(30px, -30px);
    }
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.animate-bounce {
    animation: bounce 3s infinite;
}

.fade-in-up {
    opacity: 0;
    transform: translateY(30px);
    animation: fadeInUp 0.8s cubic-bezier(0.25, 0.8, 0.25, 1) forwards;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 4rem;
    }

    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .nav-links {
        gap: 1rem;
    }

    .nav-links a {
        font-size: 0.9rem;
    }

    .hero-title {
        font-size: 3rem;
    }

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

    .privacy-card {
        padding: 2rem 1.5rem;
    }

    .prose h2 {
        font-size: 1.5rem;
        margin-top: 2rem;
    }

    .prose h3 {
        font-size: 1.1rem;
    }

    .contact-card {
        padding: 2rem 1.5rem;
    }

    .nav-container .logo-icon {
        max-height: 100px;
    }
}

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

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .nav-container .logo-icon {
        max-height: 90px;
    }

    .footer-logo .logo-icon {
        max-height: 96px;
    }
}


