/*
Theme Name: Tap Tokenz Arcade
Theme URI: https://example.com/tap-tokenz
Author: Radical AI
Author URI: https://example.com
Description: A radical, neon-soaked theme for arcade RFID payment systems. Features pixel art aesthetics, sticker-bomb graphics, and tubular animations.
Version: 1.0
License: GNU General Public License v2 or later
License URI: http://www.gnu.org/licenses/gpl-2.0.html
Text Domain: tap-tokenz
*/

/* =========================================
   0. Variables & Fonts
========================================= */
:root {
    --neon-purple: #a020f0;
    --neon-pink: #ff00ff;
    --neon-cyan: #00ffff;
    --neon-yellow: #ffff00;
    --dark-bg: #110d1a;
    --pixel-font: 'Press Start 2P', cursive; /* We will load this in functions.php */
    --header-font: 'Bungee Shade', cursive; /* Loud header font */
}

/* =========================================
   1. Global Resets & Base Styles
========================================= */
body {
    background-color: var(--dark-bg);
    color: #fff;
    font-family: var(--pixel-font), monospace;
    font-size: 14px;
    line-height: 1.6;
    margin: 0;
    padding: 0;
    position: relative;
    overflow-x: hidden;
    background-image: 
        linear-gradient(45deg, #1a1a2e 25%, transparent 25%, transparent 75%, #1a1a2e 75%, #1a1a2e), 
        linear-gradient(45deg, #1a1a2e 25%, transparent 25%, transparent 75%, #1a1a2e 75%, #1a1a2e);
    background-size: 60px 60px;
    background-position: 0 0, 30px 30px;
}

/* CRT Scanline overlay effect */
body::after {
    content: "";
    position: fixed;
    top: 0; left: 0; width: 100vw; height: 100vh;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 999;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--header-font);
    font-weight: normal;
    text-transform: uppercase;
    letter-spacing: 2px;
    margin-bottom: 20px;
    text-shadow: 3px 3px 0px var(--neon-purple), -3px -3px 0px var(--neon-cyan); 
}

h1 { font-size: 3.5rem; color: var(--neon-yellow); }
h2 { font-size: 2.5rem; color: var(--neon-pink); }
a { color: var(--neon-cyan); text-decoration: none; transition: all 0.3s ease;}
a:hover { color: var(--neon-yellow); text-shadow: 0 0 10px var(--neon-yellow);}
.container { width: 90%; max-width: 1200px; margin: 0 auto; }
img { max-width: 100%; height: auto; }

/* =========================================
   2. Radical Components & Animations
========================================= */

/* The Sticker Look */
.sticker-graphic {
    border: 5px solid #fff;
    box-shadow: 5px 5px 0px rgba(0,0,0,0.5);
    transform: rotate(-2deg);
    transition: transform 0.2s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
    background: var(--dark-bg); /* Placeholder background */
    padding: 10px;
}

.sticker-graphic:hover {
    transform: rotate(2deg) scale(1.05);
    box-shadow: 8px 8px 0px var(--neon-purple);
}

/* Neon Button */
.btn-radical {
    display: inline-block;
    padding: 15px 30px;
    background: transparent;
    border: 4px solid var(--neon-cyan);
    color: var(--neon-cyan);
    font-family: var(--header-font);
    font-size: 1.2rem;
    text-transform: uppercase;
    position: relative;
    box-shadow: 0 0 10px var(--neon-cyan), inset 0 0 10px var(--neon-cyan);
    transition: all 0.3s;
}

.btn-radical:hover {
    background: var(--neon-pink);
    border-color: var(--neon-yellow);
    color: var(--neon-yellow);
    box-shadow: 0 0 20px var(--neon-pink), inset 0 0 20px var(--neon-yellow);
    animation: pixel-jitter 0.4s infinite;
}

@keyframes pixel-jitter {
  0% { transform: translate(0,0); }
  25% { transform: translate(-2px, 2px); }
  50% { transform: translate(2px, -2px); }
  75% { transform: translate(-2px, -2px); }
  100% { transform: translate(2px, 2px); }
}

/* =========================================
   3. Header & Navigation
========================================= */
.site-header {
    padding: 20px 0;
    border-bottom: 4px dashed var(--neon-purple);
    background: rgba(17, 13, 26, 0.9);
}

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

.site-branding h1 {
    margin: 0;
    font-size: 2rem;
    transform: rotate(-3deg);
    display: inline-block;
    border: 3px solid white;
    padding: 5px 15px;
    background: var(--neon-pink);
    color: white;
    text-shadow: 3px 3px 0 black;
}

.main-navigation ul {
    list-style: none;
    margin: 0;
    padding: 0;
    display: flex;
}

.main-navigation li { margin-left: 25px; }

.main-navigation a {
    font-size: 1rem;
    text-transform: uppercase;
    position: relative;
}

.main-navigation a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 4px;
    bottom: -5px;
    left: 0;
    background-color: var(--neon-cyan);
    transition: width 0.3s ease-in-out;
    box-shadow: 0 0 10px var(--neon-cyan);
}

.main-navigation a:hover::before { width: 100%; }

/* =========================================
   4. Front Page Layout
========================================= */
.hero-section {
    padding: 100px 0;
    text-align: center;
    background: radial-gradient(circle at center, rgba(160, 32, 240, 0.3) 0%, rgba(17, 13, 26, 1) 70%);
}

.hero-content {
    max-width: 800px;
    margin: 0 auto;
}

.features-section {
    padding: 80px 0;
    background-color: rgba(0,0,0,0.3);
    border-top: 4px solid var(--neon-cyan);
    border-bottom: 4px solid var(--neon-pink);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 40px;
}

.feature-item {
    text-align: center;
    padding: 30px;
    border: 4px solid var(--neon-purple);
    background: rgba(255,255,255,0.05);
    transition: transform 0.3s;
}
.feature-item:hover { transform: translateY(-10px); border-color: var(--neon-yellow);}

.feature-icon {
    font-size: 4rem;
    color: var(--neon-yellow);
    margin-bottom: 20px;
    text-shadow: 0 0 15px var(--neon-yellow);
}

/* =========================================
   5. Footer
========================================= */
.site-footer {
    padding: 50px 0;
    background: #0a0810;
    text-align: center;
    border-top: 4px dashed var(--neon-yellow);
}
.footer-menu ul {
    display: flex;
    justify-content: center;
    list-style: none;
    padding: 0;
    margin-bottom: 20px;
}
.footer-menu li { margin: 0 15px; }


/* =========================================
   FIX: H3 Readability
========================================= */
h3, .feature-item h3 {
    /* Removes the double neon shadow */
    text-shadow: 2px 2px 0px #000000; 
    
    /* Optional: Makes the font slightly thicker */
    font-weight: bold; 
    
    /* Optional: Increases spacing slightly for legibility */
    letter-spacing: 1px;
}