/* Pwnsy Standard Design System - v1.0.1 */

:root {
    --bg-primary: #050507;
    --bg-secondary: rgba(18, 18, 26, 0.7);
    --bg-tertiary: rgba(26, 26, 37, 0.8);
    --bg-elevated: #1a1a20;
    --text-primary: #f5f5f7;
    --text-secondary: #86868b;
    --text-muted: #6e6e73;
    --accent-primary: #00ff88;
    --accent-secondary: #00cc6a;
    --accent-glow: rgba(0, 255, 136, 0.08);
    /* Softer glow */
    --accent-alt: #ff3366;
    --accent-info: #2997ff;
    /* Apple-like blue */
    --border-color: rgba(255, 255, 255, 0.05);
    --border-hover: rgba(0, 255, 136, 0.2);
    --font-display: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'JetBrains Mono', SFMono-Regular, Consolas, "Liberation Mono", Menlo, timeout, monospace;
    --radius-sm: 8px;
    --radius-md: 14px;
    --radius-lg: 20px;
    --shadow-glow: 0 0 30px var(--accent-glow);
    --shadow-card: 0 10px 30px -10px rgba(0, 0, 0, 0.3);
}

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

html,
body {
    height: 100%;
    /* Default scroll behavior */
    font-size: 100%;
    /* Reset scale to 100% to prevent huge elements */
}

body {
    font-family: var(--font-display);
    background: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.5;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    overflow-y: auto;
    /* Allow scrolling */
}

/* Background Effects */
.bg-grid {
    position: fixed;
    inset: 0;
    background-image:
        linear-gradient(var(--border-color) 1px, transparent 1px),
        linear-gradient(90deg, var(--border-color) 1px, transparent 1px);
    background-size: 60px 60px;
    z-index: -1;
    pointer-events: none;
    opacity: 0.5;
}

.bg-glow {
    position: fixed;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    border-radius: 50%;
    z-index: -1;
    pointer-events: none;
    filter: blur(80px);
    opacity: 0.4;
}

.glow-1 {
    top: -10%;
    right: -10%;
}

.glow-2 {
    bottom: -10%;
    left: -10%;
}

/* App Container */
.app {
    position: relative;
    min-height: 100vh;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
}

/* Header */
.header {
    text-align: center;
    padding: 2rem 0 3rem;
    flex-shrink: 0;
}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    margin-bottom: 0.5rem;
}

.logo h1 {
    font-family: var(--font-mono);
    font-size: 3rem;
    /* Slightly smaller title */
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: -0.05em;
}

.tagline {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-mono);
    letter-spacing: 0.15em;
    text-transform: uppercase;
}

/* Grid Layout */
.main {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: center;
    min-height: 0;
    padding: 1rem 0;
    /* Add some spacing */
}

.suite-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    /* Force 3 columns on desktop */
    gap: 1.5rem;
    /* Reduced gap */
    width: 100%;
    margin: 0 auto;
}

.suite-card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-lg);
    padding: 2rem 1.5rem;
    /* Reduced padding */
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: all 0.5s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    min-height: 220px;
    /* Reduced min-height */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    position: relative;
    overflow: hidden;
}

.suite-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at center, rgba(255, 255, 255, 0.03), transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.suite-card:hover {
    transform: translateY(-4px) scale(1.01);
    border-color: var(--border-hover);
    background: var(--bg-tertiary);
    box-shadow: var(--shadow-card), var(--shadow-glow);
}

.suite-card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    /* Smaller icon */
    color: var(--accent-primary);
    margin-bottom: 0.5rem;
}

.suite-card h2 {
    font-family: var(--font-mono);
    font-size: 1.5rem;
    /* Smaller heading */
    font-weight: 700;
    letter-spacing: -0.02em;
}

.suite-card p {
    font-size: 0.85rem;
    color: var(--text-muted);
    font-family: var(--font-mono);
    line-height: 1.4;
    max-width: 90%;
    /* Prevent text stretching too wide */
}

/* Footer */
.footer {
    padding: 3rem 0 2rem;
    text-align: center;
    flex-shrink: 0;
    margin-top: auto;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: center;
    /* Center footer items */
}

.copyright {
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    color: var(--text-primary);
    letter-spacing: 0.05em;
}

.disclaimer {
    font-family: var(--font-mono);
    font-size: 0.7rem;
    color: var(--text-muted);
    opacity: 0.6;
    letter-spacing: 0.02em;
}

.patreon-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.6rem;
    margin-top: 1rem;
    padding: 0.5rem 1rem;
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-display);
    font-weight: 500;
    font-size: 0.8rem;
    border-radius: 100px;
    border: 1px solid var(--border-color);
    transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    letter-spacing: 0.01em;
}

.patreon-link i {
    color: #FF424D;
}

.patreon-link:hover {
    background: rgba(255, 66, 77, 0.08);
    color: var(--text-primary);
    border-color: rgba(255, 66, 77, 0.3);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

/* Responsiveness */
@media (max-width: 768px) {
    .suite-grid {
        grid-template-columns: 1fr;
        /* Stack on mobile */
        max-width: 400px;
    }

    .logo h1 {
        font-size: 2.5rem;
    }

    .app {
        padding: 1.5rem;
    }
}