/*
Theme Name: GRAO Theme
Theme URI: https://grao.pl
Description: Nowoczesny motyw dla portalu gier przegladarkowych GRAO.pl - Po prostu graj!
Author: GRAO Team
Author URI: https://grao.pl
Version: 2.0.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: grao-theme
Requires at least: 6.4
Tested up to: 6.7
Requires PHP: 7.4
*/

/* ==========================================================================
   GRAO Theme v2 - Portal Gier Przegladarkowych
   Standalone Block Theme
   ========================================================================== */

/* CSS Variables */
:root {
    /* Colors - Indigo/Purple palette */
    --grao-darker: #020617;
    --grao-dark: #0f172a;
    --grao-card: #1e293b;
    --grao-card-hover: #334155;
    --grao-border: #334155;
    --grao-border-light: #475569;

    /* Accent colors */
    --grao-accent: #6366f1;
    --grao-accent-hover: #4f46e5;
    --grao-neon: #10b981;
    --grao-danger: #ef4444;
    --grao-warning: #f59e0b;

    /* Text */
    --grao-text: #f1f5f9;
    --grao-text-muted: #94a3b8;
    --grao-text-dark: #64748b;

    /* Gradients */
    --grao-gradient: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
    --grao-gradient-dark: linear-gradient(180deg, transparent 0%, #020617 100%);

    /* Shadows */
    --grao-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
    --grao-shadow-accent: 0 20px 40px -15px rgba(99, 102, 241, 0.3);

    /* Spacing */
    --grao-radius: 16px;
    --grao-radius-lg: 24px;
    --grao-radius-full: 9999px;
}

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

html {
    scroll-behavior: smooth;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 400;
    font-size: 16px;
    line-height: 1.6;
    background-color: var(--grao-darker);
    color: var(--grao-text);
    min-height: 100vh;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', 'Inter', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    color: var(--grao-text);
}

h1 { font-size: clamp(2rem, 5vw, 3.5rem); }
h2 { font-size: clamp(1.5rem, 4vw, 2.5rem); }
h3 { font-size: clamp(1.25rem, 3vw, 1.75rem); }
h4 { font-size: 1.25rem; }

p {
    color: var(--grao-text-muted);
    margin-bottom: 1rem;
}

a {
    color: var(--grao-accent);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--grao-neon);
}

/* Selection */
::selection {
    background: var(--grao-accent);
    color: white;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--grao-dark);
}

::-webkit-scrollbar-thumb {
    background: var(--grao-border);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--grao-border-light);
}

/* ==========================================================================
   Layout
   ========================================================================== */

.container {
    width: 100%;
    max-width: 1280px;
    margin: 0 auto;
    padding: 0 1rem;
}

@media (min-width: 640px) {
    .container { padding: 0 1.5rem; }
}

@media (min-width: 1024px) {
    .container { padding: 0 2rem; }
}

/* ==========================================================================
   Header - Glassmorphism
   ========================================================================== */

.site-header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(15, 23, 42, 0.8);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
}

.site-header.scrolled {
    background: rgba(2, 6, 23, 0.95);
    box-shadow: var(--grao-shadow);
}

.header-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: 80px;
}

/* Logo */
.site-logo {
    display: flex;
    align-items: center;
    gap: 12px;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: var(--grao-gradient);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s ease;
}

.site-logo:hover .logo-icon {
    transform: rotate(12deg);
}

.logo-icon svg {
    width: 24px;
    height: 24px;
    color: white;
}

.logo-text {
    font-family: 'Orbitron', sans-serif;
    font-weight: 900;
    font-size: 1.5rem;
    color: white;
    letter-spacing: 0.05em;
}

.logo-text span {
    color: var(--grao-accent);
}

/* Navigation */
.main-nav {
    display: none;
}

@media (min-width: 768px) {
    .main-nav {
        display: flex;
        align-items: center;
        gap: 2rem;
    }
}

.nav-link {
    font-weight: 500;
    font-size: 0.9375rem;
    color: var(--grao-text-muted);
    padding: 0.5rem 0;
    position: relative;
    transition: color 0.3s ease;
}

.nav-link:hover,
.nav-link.active {
    color: white;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: var(--grao-accent);
    border-radius: 1px;
}

/* Header Search */
.header-search {
    display: none;
    align-items: center;
    background: rgba(15, 23, 42, 0.5);
    border: 1px solid var(--grao-border);
    border-radius: var(--grao-radius-full);
    padding: 0.5rem 1rem;
    transition: all 0.3s ease;
}

@media (min-width: 768px) {
    .header-search {
        display: flex;
    }
}

.header-search:focus-within {
    border-color: var(--grao-accent);
    background: rgba(15, 23, 42, 0.8);
}

.header-search input {
    background: transparent;
    border: none;
    outline: none;
    color: white;
    font-size: 0.875rem;
    width: 120px;
    transition: width 0.3s ease;
}

.header-search input:focus {
    width: 180px;
}

.header-search input::placeholder {
    color: var(--grao-text-dark);
}

/* Header CTA */
.header-cta {
    display: flex;
    align-items: center;
    gap: 1rem;
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 44px;
    height: 44px;
    background: transparent;
    border: none;
    color: white;
    cursor: pointer;
}

@media (min-width: 768px) {
    .mobile-menu-btn {
        display: none;
    }
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    padding: 0.75rem 1.5rem;
    border-radius: var(--grao-radius-full);
    border: none;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-transform: uppercase;
    letter-spacing: 0.025em;
}

.btn:active {
    transform: scale(0.98);
}

.btn-primary {
    background: var(--grao-accent);
    color: white;
    box-shadow: var(--grao-shadow-accent);
}

.btn-primary:hover {
    background: var(--grao-accent-hover);
    transform: translateY(-2px);
}

.btn-secondary {
    background: white;
    color: var(--grao-darker);
}

.btn-secondary:hover {
    background: var(--grao-text);
}

.btn-outline {
    background: transparent;
    color: white;
    border: 1px solid var(--grao-border);
}

.btn-outline:hover {
    background: var(--grao-card);
    border-color: var(--grao-border-light);
}

.btn-glass {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    color: white;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.btn-glass:hover {
    background: rgba(255, 255, 255, 0.15);
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1rem;
}

/* ==========================================================================
   Hero Section
   ========================================================================== */

.hero {
    position: relative;
    min-height: 500px;
    border-radius: var(--grao-radius-lg);
    overflow: hidden;
    margin-top: 100px;
    margin-bottom: 3rem;
}

.hero-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.7s ease;
}

.hero:hover .hero-image {
    transform: scale(1.03);
}

.hero-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, var(--grao-darker) 0%, rgba(2, 6, 23, 0.6) 50%, transparent 100%);
}

.hero-content {
    position: absolute;
    bottom: 0;
    left: 0;
    padding: 2rem;
    width: 100%;
}

@media (min-width: 768px) {
    .hero {
        min-height: 500px;
    }

    .hero-content {
        padding: 3rem;
        width: 66%;
    }
}

.hero-badge {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    background: rgba(16, 185, 129, 0.2);
    color: var(--grao-neon);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: var(--grao-radius-full);
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.1em;
    margin-bottom: 1rem;
    backdrop-filter: blur(4px);
}

.hero-title {
    font-size: clamp(2rem, 6vw, 3.5rem);
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1.1;
}

.hero-title .gradient-text {
    background: var(--grao-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.125rem;
    color: var(--grao-text-muted);
    margin-bottom: 1.5rem;
    max-width: 600px;
}

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

/* ==========================================================================
   Categories Filter
   ========================================================================== */

.categories-section {
    margin-bottom: 3rem;
}

.section-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 1.5rem;
}

.section-title {
    font-size: 1.5rem;
    font-weight: 700;
}

.section-link {
    font-size: 0.875rem;
    color: var(--grao-accent);
}

.categories-scroll {
    display: flex;
    gap: 1rem;
    overflow-x: auto;
    padding-bottom: 1rem;
    scrollbar-width: none;
    -ms-overflow-style: none;
}

.categories-scroll::-webkit-scrollbar {
    display: none;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.75rem 1.5rem;
    background: var(--grao-card);
    color: var(--grao-text-muted);
    border: none;
    border-radius: var(--grao-radius);
    font-family: 'Inter', sans-serif;
    font-weight: 600;
    font-size: 0.875rem;
    white-space: nowrap;
    cursor: pointer;
    transition: all 0.3s ease;
}

.category-btn:hover {
    background: var(--grao-card-hover);
    color: white;
}

.category-btn.active {
    background: var(--grao-accent);
    color: white;
    box-shadow: var(--grao-shadow-accent);
}

/* ==========================================================================
   Game Cards Grid
   ========================================================================== */

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

@media (min-width: 640px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (min-width: 1024px) {
    .games-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Game Card */
.game-card {
    background: var(--grao-card);
    border-radius: var(--grao-radius);
    overflow: hidden;
    border: 1px solid var(--grao-border);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.game-card:hover {
    border-color: rgba(99, 102, 241, 0.5);
    box-shadow: 0 20px 40px -15px rgba(99, 102, 241, 0.15);
    transform: translateY(-4px);
}

.game-card-image {
    position: relative;
    aspect-ratio: 16/9;
    overflow: hidden;
}

.game-card-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-card-image img {
    transform: scale(1.05);
}

/* Badge */
.game-badge {
    position: absolute;
    top: 0.75rem;
    left: 0.75rem;
    padding: 0.25rem 0.5rem;
    font-size: 0.6875rem;
    font-weight: 700;
    text-transform: uppercase;
    border-radius: 4px;
    z-index: 5;
}

.game-badge.hot {
    background: var(--grao-danger);
    color: white;
}

.game-badge.new {
    background: var(--grao-neon);
    color: var(--grao-darker);
}

/* Play Overlay */
.play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(2px);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .play-overlay {
    opacity: 1;
}

.play-btn {
    width: 56px;
    height: 56px;
    background: var(--grao-accent);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    transform: scale(0.8);
    transition: transform 0.3s ease;
    box-shadow: var(--grao-shadow-accent);
}

.game-card:hover .play-btn {
    transform: scale(1);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    margin-left: 2px;
}

/* Card Content */
.game-card-content {
    padding: 1rem;
}

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

.game-card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    transition: color 0.3s ease;
}

.game-card:hover .game-card-title {
    color: var(--grao-accent);
}

.game-rating {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    color: var(--grao-warning);
    font-size: 0.875rem;
    font-weight: 700;
}

.game-rating svg {
    width: 14px;
    height: 14px;
    fill: currentColor;
}

.game-card-meta {
    font-size: 0.75rem;
    color: var(--grao-text-dark);
    margin-bottom: 0.75rem;
}

.game-card-footer {
    display: flex;
    align-items: center;
    gap: 0.25rem;
    font-size: 0.75rem;
    color: var(--grao-text-dark);
}

.game-card-footer svg {
    width: 14px;
    height: 14px;
}

/* ==========================================================================
   Load More
   ========================================================================== */

.load-more {
    text-align: center;
    margin: 3rem 0;
}

/* ==========================================================================
   Features Section
   ========================================================================== */

.features-section {
    background: rgba(30, 41, 59, 0.5);
    border-radius: var(--grao-radius-lg);
    padding: 2rem;
    margin-bottom: 3rem;
    border: 1px solid var(--grao-border);
}

@media (min-width: 768px) {
    .features-section {
        padding: 3rem;
    }
}

.features-grid {
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .features-grid {
        grid-template-columns: 1fr 1fr;
        align-items: center;
    }
}

.feature-item {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: var(--grao-radius);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon.accent {
    background: rgba(99, 102, 241, 0.1);
    color: var(--grao-accent);
}

.feature-icon.neon {
    background: rgba(16, 185, 129, 0.1);
    color: var(--grao-neon);
}

.feature-icon svg {
    width: 24px;
    height: 24px;
}

.feature-title {
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin-bottom: 0.25rem;
}

.feature-text {
    font-size: 0.875rem;
    color: var(--grao-text-muted);
    margin: 0;
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    background: #000;
    border-top: 1px solid var(--grao-border);
    padding: 4rem 0 2rem;
}

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

@media (min-width: 768px) {
    .footer-grid {
        grid-template-columns: 2fr 1fr 1fr 1fr;
    }
}

.footer-brand {
    margin-bottom: 1rem;
}

.footer-description {
    font-size: 0.875rem;
    color: var(--grao-text-dark);
    margin-bottom: 1.5rem;
}

.footer-social {
    display: flex;
    gap: 1rem;
}

.social-link {
    color: var(--grao-text-muted);
    transition: color 0.3s ease;
}

.social-link:hover {
    color: white;
}

.social-link svg {
    width: 20px;
    height: 20px;
}

.footer-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    font-weight: 700;
    color: white;
    margin-bottom: 1.5rem;
}

.footer-links {
    list-style: none;
}

.footer-links li {
    margin-bottom: 0.75rem;
}

.footer-links a {
    font-size: 0.875rem;
    color: var(--grao-text-dark);
    transition: color 0.3s ease;
}

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

/* Newsletter */
.newsletter-form {
    display: flex;
    gap: 0.5rem;
}

.newsletter-input {
    flex: 1;
    background: var(--grao-card);
    border: 1px solid var(--grao-border);
    border-radius: var(--grao-radius);
    padding: 0.75rem 1rem;
    color: white;
    font-size: 0.875rem;
    outline: none;
    transition: border-color 0.3s ease;
}

.newsletter-input:focus {
    border-color: var(--grao-accent);
}

.newsletter-input::placeholder {
    color: var(--grao-text-dark);
}

.newsletter-btn {
    background: var(--grao-accent);
    border: none;
    border-radius: var(--grao-radius);
    padding: 0.75rem;
    color: white;
    cursor: pointer;
    transition: background 0.3s ease;
}

.newsletter-btn:hover {
    background: var(--grao-accent-hover);
}

/* Footer Bottom */
.footer-bottom {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    padding-top: 2rem;
    border-top: 1px solid var(--grao-border);
    font-size: 0.75rem;
    color: var(--grao-text-dark);
}

@media (min-width: 768px) {
    .footer-bottom {
        flex-direction: row;
        justify-content: space-between;
        align-items: center;
    }
}

.footer-legal {
    display: flex;
    gap: 1.5rem;
}

.footer-legal a {
    color: var(--grao-text-dark);
}

.footer-legal a:hover {
    color: var(--grao-text-muted);
}

/* ==========================================================================
   Mobile Menu
   ========================================================================== */

.mobile-menu {
    position: fixed;
    inset: 0;
    background: var(--grao-darker);
    z-index: 999;
    padding: 100px 1.5rem 2rem;
    transform: translateX(100%);
    transition: transform 0.3s ease;
}

.mobile-menu.open {
    transform: translateX(0);
}

.mobile-nav-link {
    display: block;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--grao-text-muted);
    padding: 1rem 0;
    border-bottom: 1px solid var(--grao-border);
}

.mobile-nav-link:hover,
.mobile-nav-link.active {
    color: white;
}

/* ==========================================================================
   Utilities
   ========================================================================== */

.text-center { text-align: center; }
.mt-4 { margin-top: 1rem; }
.mb-4 { margin-bottom: 1rem; }

/* WordPress Block Overrides */
.wp-block-post-featured-image img {
    border-radius: var(--grao-radius) var(--grao-radius) 0 0;
}

.entry-content {
    color: var(--grao-text-muted);
}

.entry-content h2,
.entry-content h3,
.entry-content h4 {
    color: var(--grao-text);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 767px) {
    .hero {
        margin-top: 90px;
        min-height: 400px;
    }

    .hero-content {
        width: 100%;
    }

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

    .hero-description {
        font-size: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
    }

    .hero-buttons .btn {
        width: 100%;
    }
}

/* ==========================================================================
   Single Game Page
   ========================================================================== */

.single-game {
    padding-top: 1rem;
}

.game-header {
    margin-bottom: 2rem;
}

.game-categories {
    margin-bottom: 0.5rem;
}

.game-categories a {
    display: inline-block;
    background: rgba(99, 102, 241, 0.1);
    color: var(--grao-accent);
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.25rem 0.75rem;
    border-radius: 9999px;
    text-decoration: none;
    margin-right: 0.5rem;
}

.game-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 700;
    color: white;
    margin: 0;
}

@media (min-width: 768px) {
    .game-title {
        font-size: 2.5rem;
    }
}

.game-layout {
    gap: 2rem;
}

/* Game Frame */
.game-frame-container {
    position: relative;
    aspect-ratio: 16/9;
    background: var(--grao-card);
    border-radius: var(--grao-radius-lg);
    overflow: hidden;
    border: 1px solid var(--grao-border);
    margin-bottom: 2rem;
}

.game-frame-container img,
.game-featured-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.game-play-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(4px);
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-game-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    color: white;
    text-decoration: none;
    transition: transform 0.3s ease;
}

.play-game-btn:hover {
    transform: scale(1.1);
}

.play-game-btn svg {
    width: 64px;
    height: 64px;
    padding: 1rem;
    background: var(--grao-accent);
    border-radius: 50%;
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.5);
}

.play-game-btn span {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    font-weight: 700;
}

/* Cards */
.card {
    background: var(--grao-card);
    border: 1px solid var(--grao-border);
    border-radius: var(--grao-radius-lg);
    padding: 1.5rem;
    margin-bottom: 1.5rem;
}

.card-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    font-weight: 700;
    color: white;
    margin: 0 0 1rem 0;
}

/* Game Info */
.info-list {
    margin-bottom: 1.5rem;
}

.info-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
    border-bottom: 1px solid var(--grao-border);
}

.info-item:last-child {
    border-bottom: none;
}

.info-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--grao-text-muted);
    font-size: 0.875rem;
}

.info-label svg {
    width: 16px;
    height: 16px;
    opacity: 0.7;
}

.info-value {
    color: white;
    font-size: 0.875rem;
    font-weight: 500;
}

.info-value.rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.info-value .stars {
    color: #fbbf24;
}

/* Controls */
.controls-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.control-item {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.control-item kbd {
    background: rgba(99, 102, 241, 0.1);
    color: var(--grao-accent);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    font-weight: 600;
    padding: 0.5rem 0.75rem;
    border-radius: 6px;
    min-width: 80px;
    text-align: center;
}

.control-item span {
    color: var(--grao-text-muted);
    font-size: 0.875rem;
}

/* Share Buttons */
.share-buttons {
    display: flex;
    gap: 0.75rem;
}

.share-btn {
    width: 40px;
    height: 40px;
    border-radius: var(--grao-radius);
    border: 1px solid var(--grao-border);
    background: transparent;
    color: var(--grao-text-muted);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.share-btn:hover {
    border-color: var(--grao-accent);
    color: var(--grao-accent);
    background: rgba(99, 102, 241, 0.1);
}

.share-btn.facebook:hover {
    border-color: #1877f2;
    color: #1877f2;
    background: rgba(24, 119, 242, 0.1);
}

.share-btn.twitter:hover {
    border-color: #1da1f2;
    color: #1da1f2;
    background: rgba(29, 161, 242, 0.1);
}

/* Full Button */
.btn-full {
    width: 100%;
    justify-content: center;
}

/* Related Games */
.related-games {
    margin-top: 3rem;
    padding-top: 3rem;
    border-top: 1px solid var(--grao-border);
}

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

@media (min-width: 768px) {
    .games-grid-4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

/* Game Description Card */
.game-description .game-content {
    color: var(--grao-text-muted);
    line-height: 1.7;
}

.game-description .game-content p {
    margin-bottom: 1rem;
}

/* Single page responsive */
@media (max-width: 991px) {
    .game-layout {
        flex-direction: column;
    }

    .game-layout .wp-block-column {
        flex-basis: 100% !important;
    }
}
