:root {
    --bg-dark: #0a0a0f;
    --bg-card: rgba(20, 20, 28, 0.7);
    --primary-neon: #ff0055; /* Cyberpunk Pink/Red */
    --secondary-neon: #00f0ff; /* Cyan */
    --text-main: #ffffff;
    --text-muted: #a0a0b8;
    --glass-border: rgba(255, 255, 255, 0.05);
    --gold: #ffd700;
}

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

body {
    font-family: 'Outfit', sans-serif;
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
    background-image: 
        radial-gradient(circle at 15% 50%, rgba(255, 0, 85, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 85% 30%, rgba(0, 240, 255, 0.08) 0%, transparent 50%);
    background-attachment: fixed;
}

h1, h2, h3, h4, .neon-text {
    font-family: 'Space Grotesk', sans-serif;
}

/* Glassmorphism Header */
.glass-header {
    position: fixed;
    top: 0;
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 5%;
    background: rgba(10, 10, 15, 0.7);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.logo-container img {
    height: 70px;
    width: 70px;
    border-radius: 12px;
    mix-blend-mode: screen; /* Maps black background to transparent */
    filter: drop-shadow(0 0 15px rgba(255, 0, 85, 0.6));
    object-fit: contain;
}

.logo-container h1 {
    font-size: 1.5rem;
    font-weight: 700;
    letter-spacing: 1px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 0, 85, 0.3);
}

.lang-switcher {
    display: flex;
    gap: 0.5rem;
    margin-left: 1rem;
    border-left: 1px solid var(--glass-border);
    padding-left: 1rem;
}

.lang-switcher a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    transition: color 0.3s;
}

.lang-switcher a:hover, .lang-switcher a.active {
    color: var(--primary-neon);
    text-shadow: 0 0 5px rgba(255, 0, 85, 0.5);
}

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

.nav-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 20px;
}

.nav-links a:hover, .nav-links a.active {
    color: var(--text-main);
    background: rgba(255, 255, 255, 0.05);
    box-shadow: 0 0 15px rgba(255, 0, 85, 0.2);
}

/* Hero Section */
.hero {
    margin-top: 80px;
    padding: 6rem 2rem 4rem;
    text-align: center;
}

.hero h2 {
    font-size: 3.5rem;
    font-weight: 800;
    line-height: 1.1;
    margin-bottom: 1rem;
}

.neon-text {
    color: var(--primary-neon);
    text-shadow: 0 0 20px rgba(255, 0, 85, 0.6);
}

.hero p {
    color: var(--text-muted);
    font-size: 1.2rem;
    max-width: 600px;
    margin: 0 auto;
}

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

.category-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    border-bottom: 1px solid var(--glass-border);
    padding-bottom: 1rem;
}

.category-header h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.sort-options {
    display: none; /* Hidden on desktop, shown on mobile */
}

/* Grid Layout */
.grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
    gap: 2rem;
}

/* Platform Cards */
.card {
    position: relative;
    background: var(--bg-card);
    border-radius: 16px;
    border: 1px solid var(--glass-border);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px rgba(255, 0, 85, 0.2);
    border-color: rgba(255, 0, 85, 0.3);
}

.card-content {
    padding: 1.5rem;
    position: relative;
    z-index: 2;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.card-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.platform-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
}

/* Placeholder gradients for icons */
.candy-bg { background: linear-gradient(135deg, #ff0055, #ff7b00); }
.dream-bg { background: linear-gradient(135deg, #7b2cbf, #c77dff); }
.gpt-bg { background: linear-gradient(135deg, #00b4d8, #0077b6); }
.love-bg { background: linear-gradient(135deg, #e5383b, #a4161a); }
.swipe-bg { background: linear-gradient(135deg, #fb5607, #ffbe0b); }
.joi-bg { background: linear-gradient(135deg, #00f0ff, #0077b6); }
.boy-bg { background: linear-gradient(135deg, #9d4edd, #ff006e); }

.platform-badges {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-end;
}

.badge {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.badge.top-pick {
    background: rgba(255, 215, 0, 0.1);
    color: var(--gold);
    border: 1px solid rgba(255, 215, 0, 0.3);
}

.badge.feature {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-muted);
    border: 1px solid var(--glass-border);
}

.card h4 {
    font-size: 1.5rem;
    margin-bottom: 0.25rem;
}

.rating {
    color: var(--gold);
    font-size: 1.1rem;
    margin-bottom: 1rem;
}

.rating span {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-left: 0.5rem;
}

.card p {
    color: var(--text-muted);
    font-size: 0.95rem;
    margin-bottom: 2rem;
    flex-grow: 1;
}

.cta-btn {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    width: 100%;
    padding: 1rem;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.05);
    color: #fff;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    border: 1px solid var(--glass-border);
}

.cta-btn:hover {
    background: var(--primary-neon);
    border-color: var(--primary-neon);
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.4);
}

.gradient-btn {
    background: linear-gradient(90deg, var(--primary-neon), #9d4edd);
    border: none;
}

.gradient-btn:hover {
    box-shadow: 0 0 20px rgba(255, 0, 85, 0.6);
}

/* Footer */
footer {
    border-top: 1px solid var(--glass-border);
    padding: 3rem 2rem;
    text-align: center;
    background: rgba(10, 10, 15, 0.5);
}

.footer-logo {
    font-family: 'Space Grotesk', sans-serif;
    font-weight: 700;
    font-size: 1.5rem;
    margin-bottom: 1rem;
    color: #fff;
}

footer p {
    color: var(--text-muted);
    max-width: 500px;
    margin: 0 auto 1rem;
}

.disclaimer {
    font-size: 0.8rem;
    color: #555566;
}

/* Responsive */
@media (max-width: 768px) {
    .glass-header {
        flex-direction: column;
        padding: 1rem;
        gap: 0.5rem;
        text-align: center;
    }
    
    .logo-container {
        justify-content: center;
        width: 100%;
    }
    
    .logo-container img {
        height: 60px;
        width: 60px;
    }
    
    .logo-container h1 {
        font-size: 1.3rem;
    }

    .nav-links {
        display: none; /* simple mobile approach, hide links and use select filter */
    }
    
    .category-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }

    .sort-options {
        display: block;
        width: 100%;
    }
    
    .sort-options select {
        width: 100%;
        background: var(--bg-card);
        color: white;
        border: 1px solid var(--glass-border);
        padding: 0.8rem;
        border-radius: 8px;
        font-family: 'Outfit', sans-serif;
        font-size: 1rem;
    }

    .hero {
        padding: 9rem 1rem 3rem;
    }

    .hero h2 {
        font-size: 2.2rem;
    }
    
    .grid {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }
}
