/* Double Squeeze Productions, LLC — software / dev studio theme */

:root {
    --bg-deep: #0d1117;
    --bg-panel: #161b22;
    --bg-elevated: #21262d;
    --border: #30363d;
    --text: #e6edf3;
    --text-muted: #8b949e;
    --accent: #58a6ff;
    --accent-strong: #79c0ff;
    --success: #3fb950;
    --warning: #d29922;
    --purple: #a371f7;
    --font-sans: "IBM Plex Sans", system-ui, sans-serif;
    --font-mono: "IBM Plex Mono", ui-monospace, monospace;
    --radius: 8px;
    --radius-lg: 12px;
    --shadow: 0 8px 24px rgba(0, 0, 0, 0.45);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    color: var(--text);
    background: var(--bg-deep);
    line-height: 1.6;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* Navbar */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 17, 23, 0.92);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
}

.nav-wrapper {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 72px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    font-family: var(--font-mono);
    font-size: 1rem;
    color: var(--success);
    font-weight: 600;
}

.logo-text {
    font-weight: 600;
    font-size: 0.95rem;
    letter-spacing: -0.02em;
    max-width: 280px;
    line-height: 1.2;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 32px;
}

.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.9rem;
    transition: color 0.2s;
}

.nav-link:hover {
    color: var(--accent);
}

.nav-link.active {
    color: var(--accent);
}

.navbar.scrolled {
    box-shadow: 0 4px 24px rgba(0, 0, 0, 0.35);
}

.hamburger {
    display: none;
    flex-direction: column;
    gap: 6px;
    cursor: pointer;
}

.hamburger span {
    width: 24px;
    height: 2px;
    background: var(--text);
}

@media (max-width: 900px) {
    .hamburger {
        display: flex;
    }
    .nav-menu {
        position: fixed;
        top: 72px;
        left: 0;
        right: 0;
        flex-direction: column;
        background: var(--bg-panel);
        border-bottom: 1px solid var(--border);
        padding: 24px;
        gap: 16px;
        transform: translateY(-120%);
        opacity: 0;
        pointer-events: none;
        transition: transform 0.25s, opacity 0.25s;
    }
    .nav-menu.active {
        transform: translateY(0);
        opacity: 1;
        pointer-events: auto;
    }
}

/* Hero */
.hero {
    position: relative;
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding-top: 72px;
    padding-bottom: 80px;
}

.hero-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.memphis-shapes .shape {
    position: absolute;
    opacity: 0.12;
}

.shape-circle {
    border-radius: 50%;
    border: 2px solid var(--accent);
}

.shape-1 { width: 180px; height: 180px; top: 12%; right: 8%; }
.shape-2 { width: 100px; height: 100px; bottom: 25%; left: 5%; border-color: var(--purple); }
.shape-3 { width: 60px; height: 60px; top: 40%; left: 15%; border-color: var(--success); }
.shape-triangle {
    width: 0;
    height: 0;
    border-left: 40px solid transparent;
    border-right: 40px solid transparent;
    border-bottom: 70px solid var(--accent);
    background: none;
    opacity: 0.08;
}
.shape-4 { top: 20%; left: 25%; }
.shape-5 { bottom: 15%; right: 20%; border-bottom-color: var(--purple); }
.shape-zigzag,
.shape-squiggle { display: none; }

.polka-dots {
    position: absolute;
    inset: 0;
    background-image: radial-gradient(var(--border) 1px, transparent 1px);
    background-size: 24px 24px;
    opacity: 0.35;
}

.stripes-diag {
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 40px,
        rgba(88, 166, 255, 0.03) 40px,
        rgba(88, 166, 255, 0.03) 41px
    );
}

.hero-content {
    position: relative;
    z-index: 1;
    max-width: 760px;
}

.hero-badge {
    display: inline-block;
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--success);
    border: 1px solid rgba(63, 185, 80, 0.4);
    padding: 6px 12px;
    border-radius: var(--radius);
    margin-bottom: 24px;
    letter-spacing: 0.04em;
}

.hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    font-weight: 700;
    letter-spacing: -0.03em;
    line-height: 1.05;
    margin-bottom: 8px;
}

.title-line {
    display: block;
}

.title-line.highlight {
    background: linear-gradient(135deg, var(--accent-strong), var(--purple));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-pretitle {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--text-muted);
    margin-bottom: 20px;
}

.hero-subtitle {
    font-size: 1.1rem;
    color: var(--text-muted);
    max-width: 640px;
    margin-bottom: 32px;
}

.hero-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 14px 28px;
    border-radius: var(--radius);
    font-weight: 600;
    font-size: 0.95rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: background 0.2s, border-color 0.2s, color 0.2s;
    font-family: var(--font-sans);
}

.btn-primary {
    background: var(--accent);
    color: #0d1117;
}

.btn-primary:hover {
    background: var(--accent-strong);
}

.btn-secondary {
    background: transparent;
    color: var(--text);
    border: 1px solid var(--border);
}

.btn-secondary:hover {
    border-color: var(--accent);
    color: var(--accent);
}

.scroll-indicator {
    position: absolute;
    bottom: 32px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

.scroll-indicator .arrow {
    width: 8px;
    height: 8px;
    border-right: 2px solid var(--text-muted);
    border-bottom: 2px solid var(--text-muted);
    transform: rotate(45deg);
    animation: bounce 2s infinite;
}

@keyframes bounce {
    0%, 100% { transform: translateY(0) rotate(45deg); }
    50% { transform: translateY(6px) rotate(45deg); }
}

/* Section common */
.section-header {
    text-align: center;
    margin-bottom: 56px;
}

.section-title {
    font-size: clamp(2rem, 4vw, 2.75rem);
    font-weight: 700;
    margin-bottom: 12px;
    letter-spacing: -0.02em;
}

.section-subtitle {
    color: var(--text-muted);
    max-width: 560px;
    margin: 0 auto;
    font-size: 1.05rem;
}

.section-tag {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--accent);
    text-transform: uppercase;
    letter-spacing: 0.12em;
    margin-bottom: 12px;
}

/* Services / games grid */
.games-section {
    padding: 100px 0;
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 24px;
}

@media (max-width: 992px) {
    .games-grid {
        grid-template-columns: 1fr;
    }
}

.game-card {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: border-color 0.2s, box-shadow 0.2s;
}

.game-card:hover {
    border-color: rgba(88, 166, 255, 0.45);
    box-shadow: var(--shadow);
}

.game-card.featured {
    border-color: rgba(88, 166, 255, 0.35);
}

.game-image {
    position: relative;
    height: 180px;
    background: var(--bg-elevated);
}

.game-placeholder {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(145deg, var(--bg-elevated), #1a2332);
}

.game-icon {
    font-size: 3rem;
    opacity: 0.9;
}

.game-overlay {
    position: absolute;
    top: 12px;
    right: 12px;
}

.game-badge {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    font-weight: 600;
    padding: 4px 10px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.game-badge.new {
    background: rgba(63, 185, 80, 0.2);
    color: var(--success);
    border: 1px solid rgba(63, 185, 80, 0.35);
}

.game-badge.popular {
    background: rgba(88, 166, 255, 0.15);
    color: var(--accent-strong);
    border: 1px solid rgba(88, 166, 255, 0.35);
}

.game-badge.coming {
    background: rgba(210, 153, 34, 0.15);
    color: var(--warning);
    border: 1px solid rgba(210, 153, 34, 0.35);
}

.game-content {
    padding: 24px;
}

.game-title {
    font-size: 1.25rem;
    font-weight: 700;
    margin-bottom: 6px;
}

.game-genre {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.game-description {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 16px;
}

.game-features {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.feature-tag {
    font-family: var(--font-mono);
    font-size: 0.65rem;
    padding: 4px 8px;
    background: var(--bg-elevated);
    border: 1px solid var(--border);
    border-radius: 4px;
    color: var(--text-muted);
}

.game-link {
    color: var(--accent);
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
}

.game-link:hover {
    text-decoration: underline;
}

/* About */
.about-section {
    padding: 100px 0;
    border-top: 1px solid var(--border);
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 48px;
    align-items: center;
}

@media (max-width: 900px) {
    .about-content {
        grid-template-columns: 1fr;
    }
}

.about-description {
    color: var(--text-muted);
    margin-bottom: 16px;
    font-size: 1.05rem;
}

.values-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    margin-top: 32px;
}

@media (max-width: 600px) {
    .values-grid {
        grid-template-columns: 1fr;
    }
}

.value-item {
    padding: 20px;
    background: var(--bg-panel);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
}

.value-item h4 {
    margin: 8px 0 6px;
    font-size: 1rem;
}

.value-item p {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.about-visual {
    position: relative;
    height: 360px;
}

.visual-card {
    position: absolute;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border);
    background: var(--bg-panel);
}

.visual-card.card-1 {
    width: 85%;
    height: 200px;
    top: 0;
    right: 0;
    background: linear-gradient(135deg, rgba(88, 166, 255, 0.12), rgba(163, 113, 247, 0.08));
}

.visual-card.card-2 {
    width: 70%;
    height: 160px;
    bottom: 40px;
    left: 0;
    background: var(--bg-elevated);
}

.visual-card.card-3 {
    width: 50%;
    height: 100px;
    bottom: 0;
    right: 10%;
    background: rgba(63, 185, 80, 0.08);
    border-color: rgba(63, 185, 80, 0.25);
}

/* Contact */
.contact-section {
    padding: 100px 0;
    background: var(--bg-panel);
    border-top: 1px solid var(--border);
}

.contact-content {
    display: grid;
    grid-template-columns: 1fr 1.2fr;
    gap: 48px;
}

@media (max-width: 900px) {
    .contact-content {
        grid-template-columns: 1fr;
    }
}

.info-item {
    display: flex;
    gap: 16px;
    margin-bottom: 28px;
}

.info-icon {
    font-size: 1.5rem;
}

.info-text h4 {
    margin-bottom: 6px;
    font-size: 0.85rem;
    font-family: var(--font-mono);
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.info-text p,
.info-text a {
    color: var(--text);
    text-decoration: none;
}

.info-text a:hover {
    color: var(--accent);
}

.info-note {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.social-links {
    display: flex;
    gap: 12px;
    margin-top: 8px;
}

.social-link {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    color: var(--accent);
    text-decoration: none;
    padding: 8px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
}

.social-link:hover {
    border-color: var(--accent);
}

.contact-form {
    background: var(--bg-deep);
    border: 1px solid var(--border);
    border-radius: var(--radius-lg);
    padding: 32px;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 16px;
}

@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
}

.form-group {
    margin-bottom: 16px;
}

.contact-form input,
.contact-form textarea {
    width: 100%;
    padding: 14px 16px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
    color: var(--text);
    font-family: var(--font-sans);
    font-size: 1rem;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
    color: var(--text-muted);
}

.contact-form input:focus,
.contact-form textarea:focus {
    outline: none;
    border-color: var(--accent);
    box-shadow: 0 0 0 3px rgba(88, 166, 255, 0.15);
}

/* Footer */
.footer {
    padding: 64px 0 24px;
    border-top: 1px solid var(--border);
    background: var(--bg-deep);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 32px;
    margin-bottom: 40px;
}

@media (max-width: 900px) {
    .footer-content {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 500px) {
    .footer-content {
        grid-template-columns: 1fr;
    }
}

.footer-description {
    color: var(--text-muted);
    font-size: 0.9rem;
    margin-top: 12px;
    max-width: 280px;
}

.footer-title {
    font-family: var(--font-mono);
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    color: var(--text-muted);
    margin-bottom: 16px;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 10px;
}

.footer-links a {
    color: var(--text);
    text-decoration: none;
    font-size: 0.9rem;
}

.footer-links a:hover {
    color: var(--accent);
}

.newsletter-form {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 12px;
}

.newsletter-form input {
    padding: 12px 14px;
    border: 1px solid var(--border);
    border-radius: var(--radius);
    background: var(--bg-panel);
    color: var(--text);
}

.footer-bottom {
    padding-top: 24px;
    border-top: 1px solid var(--border);
    text-align: center;
    color: var(--text-muted);
    font-size: 0.85rem;
    font-family: var(--font-mono);
}
