/*
 * PROJECT: NorkHat Games
 * DOMAIN: norkhat.com
 * CSS: Utility-First
 * Palette: Gamification (Purple #6c5ce7, Yellow #ffd93d)
 * Effect: Neon Glow
 * Fonts: Fredoka + Quicksand
 * Buttons: Neon Border
 * Created: 2024
 */

/* ======================
   CSS Variables
   ====================== */
:root {
    --game-purple: #6c5ce7;
    --power-yellow: #ffd93d;
    --electric-purple: #a29bfe;
    --boost-orange: #fd79a8;
    --level-green: #00b894;
    --bonus-blue: #74b9ff;
    --dark-space: #2d3436;
    --light-glow: #ddd6fe;
    --white-clean: #ffffff;
    --shadow-dark: rgba(108, 92, 231, 0.3);
    --header-height: 70px;

    /* Typography */
    --font-heading: 'Fredoka', cursive;
    --font-body: 'Quicksand', sans-serif;

    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;

    /* Border Radius */
    --radius-sm: 0.375rem;
    --radius-md: 0.5rem;
    --radius-lg: 0.75rem;
    --radius-xl: 1rem;
    --radius-full: 9999px;

    /* Shadows */
    --shadow-glow: 0 0 20px var(--shadow-dark);
    --shadow-card: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
    --shadow-neon: 0 0 10px var(--game-purple), 0 0 20px var(--game-purple), 0 0 30px var(--game-purple);
}

/* ======================
   Reset & Base Styles
   ====================== */
*,
*::before,
*::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    max-width: 100%;
}

html {
    scroll-behavior: smooth;
}

html, body {
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-body);
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: var(--white-clean);
    line-height: 1.6;
    min-height: 100vh;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* ======================
   Utility Classes
   ====================== */
.container { max-width: 1200px; margin: 0 auto; padding: 0 var(--space-md); }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.justify-center { justify-content: center; }
.text-center { text-align: center; }
.relative { position: relative; }
.absolute { position: absolute; }
.hidden { display: none; }
.block { display: block; }
.w-full { width: 100%; }
.h-full { height: 100%; }
.mt-4 { margin-top: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-lg); }
.p-4 { padding: var(--space-3xl) 0; }
.rounded-lg { border-radius: var(--radius-lg); }
.rounded-xl { border-radius: var(--radius-xl); }
.glow { box-shadow: var(--shadow-glow); }
.neon-glow { box-shadow: var(--shadow-neon); animation: pulse-glow 2s infinite; }

/* ======================
   Typography
   ====================== */
h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: var(--space-md);
}

h1 { font-size: 3rem; color: var(--power-yellow); }
h2 { font-size: 2.5rem; color: var(--electric-purple); }
h3 { font-size: 2rem; color: var(--white-clean); }
h4 { font-size: 1.5rem; color: var(--light-glow); }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

p {
    margin-bottom: var(--space-md);
    color: var(--light-glow);
}

a {
    color: var(--power-yellow);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--boost-orange);
    text-shadow: 0 0 10px currentColor;
}

ul, ol {
    color: var(--light-glow);
    line-height: 1.8;
    padding-left: var(--space-xl);
    margin-bottom: var(--space-md);
}

/* ======================
   Buttons
   ====================== */
.btn {
    display: inline-block;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    text-align: center;
    border: 2px solid;
    border-radius: var(--radius-lg);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.btn-primary {
    background: transparent;
    color: var(--power-yellow);
    border-color: var(--power-yellow);
}

.btn-primary:hover {
    background: var(--power-yellow);
    color: var(--dark-space);
    box-shadow: 0 0 20px var(--power-yellow);
    transform: translateY(-2px);
}

.btn-secondary {
    background: transparent;
    color: var(--game-purple);
    border-color: var(--game-purple);
}

.btn-secondary:hover {
    background: var(--game-purple);
    color: var(--white-clean);
    box-shadow: 0 0 20px var(--game-purple);
    transform: translateY(-2px);
}

.btn-play {
    display: inline-block;
    padding: var(--space-lg) var(--space-3xl);
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.5rem;
    text-align: center;
    border: 3px solid var(--power-yellow);
    border-radius: var(--radius-xl);
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: transparent;
    color: var(--power-yellow);
    animation: pulse-border 2s infinite;
}

.btn-play:hover {
    background: var(--power-yellow);
    color: var(--dark-space);
    box-shadow: 0 0 30px var(--power-yellow), 0 0 60px rgba(255, 217, 61, 0.4);
    transform: translateY(-3px) scale(1.05);
}

.btn-read {
    display: inline-block;
    padding: var(--space-sm) var(--space-lg);
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 0.95rem;
    color: var(--power-yellow);
    border: 2px solid var(--power-yellow);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
    margin-top: var(--space-md);
    position: relative;
    z-index: 2;
}

.btn-read:hover {
    background: var(--power-yellow);
    color: var(--dark-space);
    box-shadow: 0 0 15px var(--power-yellow);
}

/* ======================
   Header
   ====================== */
.header {
    background: rgba(26, 26, 46, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 2px solid var(--game-purple);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    box-shadow: var(--shadow-glow);
    height: var(--header-height);
}

.header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.logo {
    font-family: var(--font-heading);
    font-size: 1.8rem;
    font-weight: 700;
    color: var(--power-yellow);
    text-shadow: 0 0 10px var(--power-yellow);
    letter-spacing: -1px;
}

.logo:hover {
    color: var(--power-yellow);
    animation: pulse-glow 0.5s ease;
}

.nav__list {
    display: flex;
    list-style: none;
    gap: var(--space-xl);
}

.nav__link {
    font-family: var(--font-heading);
    font-weight: 500;
    color: var(--white-clean);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    transition: all 0.3s ease;
}

.nav__link:hover {
    color: var(--power-yellow);
    background: rgba(255, 217, 61, 0.1);
    box-shadow: 0 0 15px rgba(255, 217, 61, 0.3);
}

.nav-toggle {
    display: none;
    flex-direction: column;
    background: none;
    border: none;
    cursor: pointer;
    padding: var(--space-sm);
}

.nav-toggle__line {
    width: 25px;
    height: 3px;
    background: var(--power-yellow);
    margin: 3px 0;
    transition: 0.3s;
    box-shadow: 0 0 5px var(--power-yellow);
}

.nav-toggle.active .nav-toggle__line:nth-child(1) {
    transform: rotate(45deg) translate(6px, 6px);
}

.nav-toggle.active .nav-toggle__line:nth-child(2) {
    opacity: 0;
}

.nav-toggle.active .nav-toggle__line:nth-child(3) {
    transform: rotate(-45deg) translate(6px, -6px);
}

/* ======================
   Main Content
   ====================== */
.main {
    margin-top: var(--header-height);
    min-height: calc(100vh - var(--header-height));
}

/* ======================
   Hero Section
   ====================== */
.hero {
    padding: 120px 0 var(--space-3xl);
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(108, 92, 231, 0.4) 0%, transparent 70%);
    position: relative;
    overflow: hidden;
    color: white;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><circle cx="20" cy="20" r="2" fill="%23ffd93d" opacity="0.3"><animate attributeName="opacity" values="0.3;1;0.3" dur="2s" repeatCount="indefinite"/></circle><circle cx="80" cy="30" r="1.5" fill="%2374b9ff" opacity="0.4"><animate attributeName="opacity" values="0.4;0.8;0.4" dur="3s" repeatCount="indefinite"/></circle><circle cx="60" cy="70" r="2.5" fill="%23fd79a8" opacity="0.2"><animate attributeName="opacity" values="0.2;0.7;0.2" dur="2.5s" repeatCount="indefinite"/></circle><circle cx="10" cy="80" r="1" fill="%2300b894" opacity="0.3"><animate attributeName="opacity" values="0.3;0.9;0.3" dur="1.8s" repeatCount="indefinite"/></circle><circle cx="90" cy="90" r="1.8" fill="%23ffd93d" opacity="0.2"><animate attributeName="opacity" values="0.2;0.6;0.2" dur="2.2s" repeatCount="indefinite"/></circle></svg>') repeat;
    opacity: 0.6;
    pointer-events: none;
}

.hero__content {
    position: relative;
    z-index: 2;
}

.game-showcase {
    text-align: center;
    max-width: 650px;
    margin: 0 auto;
}

.game-icon {
    width: 150px;
    height: 150px;
    border-radius: var(--radius-xl);
    margin: 0 auto var(--space-xl);
    box-shadow: var(--shadow-neon);
    animation: float 3s ease-in-out infinite;
    object-fit: cover;
}

.game-showcase h1 {
    font-size: 3.5rem;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 20px var(--power-yellow);
}

.game-description {
    font-size: 1.3rem;
    color: var(--light-glow);
    margin-bottom: var(--space-2xl);
    line-height: 1.6;
}

/* ======================
   Features Section
   ====================== */
.features-section {
    padding: var(--space-3xl) 0;
    background: rgba(26, 26, 46, 0.6);
    position: relative;
}

.features-section h2 {
    margin-bottom: var(--space-3xl);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: var(--space-xl);
}

.feature-card {
    position: relative;
    background: rgba(108, 92, 231, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-neon);
    border-color: var(--game-purple);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    display: block;
}

.feature-card h3 {
    font-size: 1.4rem;
    color: var(--power-yellow);
    margin-bottom: var(--space-sm);
}

.feature-card p {
    font-size: 0.95rem;
    margin-bottom: 0;
}

/* ======================
   FAQ Section
   ====================== */
.faq-section {
    padding: var(--space-3xl) 0;
}

.faq-list {
    max-width: 800px;
    margin: var(--space-2xl) auto 0;
}

.faq-item {
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: var(--game-purple);
}

.faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: var(--space-lg) var(--space-xl);
    cursor: pointer;
    font-family: var(--font-heading);
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--white-clean);
    transition: all 0.3s ease;
    user-select: none;
}

.faq-question:hover {
    color: var(--power-yellow);
}

.faq-toggle {
    font-size: 1.5rem;
    color: var(--power-yellow);
    transition: transform 0.3s ease;
    flex-shrink: 0;
    margin-left: var(--space-md);
}

.faq-item.active .faq-toggle {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.3s ease;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 var(--space-xl) var(--space-lg);
}

.faq-answer p {
    color: var(--light-glow);
    line-height: 1.7;
    margin-bottom: 0;
}

/* ======================
   CTA Section
   ====================== */
.cta-section {
    padding: var(--space-3xl) 0;
    text-align: center;
    background: radial-gradient(ellipse at center, rgba(108, 92, 231, 0.3) 0%, transparent 70%);
    position: relative;
}

.cta-section h2 {
    color: var(--power-yellow);
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 15px var(--power-yellow);
}

.cta-section p {
    font-size: 1.2rem;
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* ======================
   Page Header
   ====================== */
.page-header {
    padding: 120px 0 var(--space-2xl);
    text-align: center;
    background: radial-gradient(ellipse at center top, rgba(108, 92, 231, 0.3) 0%, transparent 70%);
    position: relative;
}

.page-header h1 {
    margin-bottom: var(--space-sm);
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto;
}

/* ======================
   Content Sections
   ====================== */
.content-section {
    padding: var(--space-2xl) 0;
}

/* ======================
   Cards
   ====================== */
.article-card, .card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all 0.3s ease;
}

.article-card:hover, .card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--game-purple);
}

.article-card__overlay {
    position: absolute;
    inset: 0;
    z-index: 1;
}

.article-card__content {
    position: relative;
    z-index: 2;
}

.article-card__title {
    color: var(--power-yellow);
    margin-bottom: var(--space-sm);
    font-size: 1.3rem;
}

.article-card__excerpt {
    color: var(--light-glow);
    font-size: 0.95rem;
    line-height: 1.6;
}

.article-card__meta {
    margin-top: var(--space-md);
    font-size: 0.875rem;
    color: var(--electric-purple);
}

/* ======================
   Blog Cards
   ====================== */
.blog-card {
    position: relative;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s ease;
}

.blog-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
    border-color: var(--game-purple);
}

.blog-card-content {
    padding: var(--space-xl);
}

.category-badge {
    display: inline-block;
    padding: var(--space-xs) var(--space-md);
    background: rgba(108, 92, 231, 0.3);
    color: var(--electric-purple);
    border-radius: var(--radius-full);
    font-size: 0.8rem;
    font-weight: 600;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: var(--space-sm);
}

.blog-card-content h3 {
    color: var(--power-yellow);
    font-size: 1.3rem;
    margin-bottom: var(--space-sm);
}

.blog-card-content p {
    color: var(--light-glow);
    font-size: 0.95rem;
    line-height: 1.6;
}

.blog-card-meta {
    display: flex;
    gap: var(--space-lg);
    font-size: 0.85rem;
    color: var(--electric-purple);
    margin-top: var(--space-sm);
}

/* ======================
   Game Section
   ====================== */
.game-section {
    padding: var(--space-3xl) 0;
    background: rgba(26, 26, 46, 0.6);
}

.game-container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 var(--space-md);
    text-align: center;
}

.game-frame {
    background: var(--white-clean);
    border-radius: var(--radius-xl);
    padding: var(--space-md);
    box-shadow: var(--shadow-neon);
    margin: var(--space-2xl) auto;
    max-width: 100%;
    overflow: hidden;
}

.game-iframe {
    width: 100%;
    height: 600px;
    border: none;
    border-radius: var(--radius-lg);
}

/* ======================
   Grid Layouts
   ====================== */
.grid {
    display: grid;
    gap: var(--space-xl);
}

.grid-2 { grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); }
.grid-3 { grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); }

/* ======================
   Form Elements
   ====================== */
.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 600;
    color: var(--power-yellow);
    font-family: var(--font-heading);
}

.form-input, .form-textarea {
    width: 100%;
    padding: var(--space-md);
    border: 2px solid rgba(108, 92, 231, 0.4);
    border-radius: var(--radius-md);
    background: rgba(255, 255, 255, 0.05);
    color: var(--white-clean);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-input:focus, .form-textarea:focus {
    outline: none;
    border-color: var(--power-yellow);
    box-shadow: 0 0 10px rgba(255, 217, 61, 0.3);
    background: rgba(255, 255, 255, 0.08);
}

.form-input::placeholder, .form-textarea::placeholder {
    color: rgba(221, 214, 254, 0.5);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.contact-form .btn {
    margin-top: var(--space-md);
}

/* ======================
   Stars Rating
   ====================== */
.stars {
    color: #ffc107;
    text-shadow: 0 0 5px #ffc107;
}

/* ======================
   Cookie Consent
   ====================== */
.cookie-consent {
    position: fixed;
    bottom: var(--space-xl);
    right: var(--space-xl);
    max-width: 400px;
    background: rgba(26, 26, 46, 0.97);
    backdrop-filter: blur(15px);
    border: 2px solid var(--game-purple);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    z-index: 9999;
    box-shadow: var(--shadow-neon);
    animation: slideUp 0.5s ease;
}

.cookie-consent h4 {
    color: var(--power-yellow);
    margin-bottom: var(--space-sm);
    font-size: 1.2rem;
}

.cookie-consent p {
    font-size: 0.9rem;
    line-height: 1.5;
    margin-bottom: var(--space-md);
}

.cookie-consent .btn {
    padding: var(--space-sm) var(--space-lg);
    font-size: 0.9rem;
}

.cookie-buttons {
    display: flex;
    gap: var(--space-md);
}

/* ======================
   Info Cards on Contact
   ====================== */
.info-item {
    margin-bottom: var(--space-xl);
}

.info-item h4 {
    color: var(--electric-purple);
    margin-bottom: var(--space-xs);
}

.info-item .highlight {
    color: var(--power-yellow);
    font-weight: 600;
}

/* ======================
   How-to-play steps
   ====================== */
.step-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--space-xl);
    margin-top: var(--space-xl);
}

.step-card {
    position: relative;
    background: rgba(108, 92, 231, 0.1);
    border: 1px solid rgba(108, 92, 231, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-2xl) var(--space-lg) var(--space-lg);
    text-align: center;
    transition: all 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-neon);
}

.step-number {
    position: absolute;
    top: -20px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 45px;
    background: var(--game-purple);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1.3rem;
    color: var(--power-yellow);
    box-shadow: 0 0 15px var(--game-purple);
}

.step-card h3 {
    font-size: 1.2rem;
    color: var(--power-yellow);
}

/* ======================
   Legal Page Styles
   ====================== */
.legal-content .card {
    margin-bottom: var(--space-lg);
    position: relative;
}

.legal-content .card h2 {
    color: var(--power-yellow);
    font-size: 1.6rem;
    border-bottom: 1px solid rgba(108, 92, 231, 0.3);
    padding-bottom: var(--space-sm);
    margin-bottom: var(--space-md);
}

.legal-content .card h3 {
    color: var(--electric-purple);
    font-size: 1.2rem;
    margin-top: var(--space-md);
}

/* ======================
   Article Page
   ====================== */
.article-full {
    max-width: 800px;
    margin: 0 auto;
}

.article-full .card {
    padding: var(--space-2xl);
    position: relative;
}

.article-full h1 {
    font-size: 2.2rem;
    line-height: 1.2;
}

.article-full h2 {
    color: var(--power-yellow);
    font-size: 1.6rem;
    margin-top: var(--space-xl);
    border-left: 4px solid var(--game-purple);
    padding-left: var(--space-md);
}

.article-full p {
    font-size: 1.05rem;
    line-height: 1.8;
}

/* ======================
   Footer
   ====================== */
.footer {
    background: rgba(26, 26, 46, 0.95);
    border-top: 2px solid var(--game-purple);
    padding: var(--space-3xl) 0 var(--space-xl);
}

.footer__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--space-md);
}

.footer__content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer__title {
    color: var(--power-yellow);
    font-size: 1.5rem;
    margin-bottom: var(--space-md);
    text-shadow: 0 0 10px var(--power-yellow);
}

.footer__subtitle {
    color: var(--electric-purple);
    margin-bottom: var(--space-md);
}

.footer__text {
    color: var(--light-glow);
    line-height: 1.6;
    margin-bottom: var(--space-sm);
}

.footer__links {
    list-style: none;
    padding-left: 0;
}

.footer__links li {
    margin-bottom: var(--space-sm);
}

.footer__link {
    color: var(--light-glow);
    transition: all 0.3s ease;
}

.footer__link:hover {
    color: var(--power-yellow);
    text-shadow: 0 0 5px var(--power-yellow);
    padding-left: var(--space-sm);
}

.footer__bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid rgba(108, 92, 231, 0.3);
}

.footer__copyright {
    color: var(--light-glow);
    font-size: 0.9rem;
}

/* ======================
   Animations
   ====================== */
@keyframes pulse-glow {
    0%, 100% { text-shadow: 0 0 10px currentColor; }
    50% { text-shadow: 0 0 20px currentColor, 0 0 30px currentColor; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

@keyframes pulse-border {
    0%, 100% { box-shadow: 0 0 10px rgba(255, 217, 61, 0.3); }
    50% { box-shadow: 0 0 25px rgba(255, 217, 61, 0.6), 0 0 50px rgba(255, 217, 61, 0.2); }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ======================
   Success Message
   ====================== */
.form-success {
    display: none;
    padding: var(--space-lg);
    background: rgba(0, 184, 148, 0.2);
    border: 1px solid var(--level-green);
    border-radius: var(--radius-lg);
    color: var(--level-green);
    text-align: center;
    font-family: var(--font-heading);
    font-weight: 600;
    margin-top: var(--space-md);
}

.form-success.visible {
    display: block;
    animation: slideUp 0.4s ease;
}

/* ======================
   Responsive Design
   ====================== */
@media (max-width: 768px) {
    .nav {
        position: fixed;
        top: calc(var(--header-height) - 1px);
        left: 0;
        right: 0;
        background: rgba(26, 26, 46, 0.98);
        padding: var(--space-lg);
        transform: translateY(-150%);
        opacity: 0;
        transition: all 0.3s ease;
        border-bottom: 2px solid var(--game-purple);
        z-index: 999;
    }

    .nav.active {
        transform: translateY(0);
        opacity: 1;
    }

    .nav__list {
        flex-direction: column;
        gap: var(--space-md);
    }

    .nav__link {
        display: block;
        padding: var(--space-md);
        text-align: center;
    }

    .nav-toggle {
        display: flex;
    }

    .hero {
        padding: 100px 0 var(--space-2xl);
    }

    .game-showcase h1 {
        font-size: 2.5rem;
    }

    .game-description {
        font-size: 1.1rem;
    }

    .game-icon {
        width: 120px;
        height: 120px;
    }

    .btn-play {
        font-size: 1.2rem;
        padding: var(--space-md) var(--space-2xl);
    }

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

    .game-iframe {
        height: 400px;
    }

    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
    h3 { font-size: 1.5rem; }

    .cookie-consent {
        left: var(--space-md);
        right: var(--space-md);
        bottom: var(--space-md);
        max-width: none;
    }

    .page-header {
        padding: 100px 0 var(--space-xl);
    }

    .article-full .card {
        padding: var(--space-lg);
        position: relative;
}
}

@media (max-width: 480px) {
    .header__container {
        padding: 0 var(--space-sm);
    }

    .container {
        padding: 0 var(--space-sm);
    }

    .hero {
        padding: 90px 0 var(--space-xl);
    }

    .game-showcase h1 {
        font-size: 2rem;
    }

    .game-iframe {
        height: 350px;
    }

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

    .blog-card-meta {
        flex-direction: column;
        gap: var(--space-xs);
    }
}