/*
Theme Name: Raver Dogs Puppy Child
Template: astra
Version: 1.6.0
Author: raVer doG
Description: V89 Master - Queen Button Glow Unfrozen (Animation Fix).
*/

/* ===========================================================
   1. CORE VARIABLES
   =========================================================== */
   :root {
    --purpink: #FF03E6; 
    --neon-green: #39FF14; 
    --off-white: #f0f0f0; 
    --dark-bg: #050205; 
    --grey-bg: #111111; 
    
    --neo-blue: #00BFFF;       /* Angel Core */
    --devil-blood: #410400;    /* Devil Fill */
    --eclipse-red: #FF0000;    /* Devil Glow Layer */
    --red-p22: #FF0000;        /* Master Red */

    --brand-font: "brandon-grotesque", sans-serif;
    --p22-font: "p22-arts-and-crafts", "P22 Arts and Crafts", serif; 
}

/* ===========================================================
   2. GLOBAL RESET & BLUE FLASH KILLER
   =========================================================== */
* {
    -webkit-tap-highlight-color: transparent !important;
    tap-highlight-color: transparent !important;
    box-sizing: border-box;
}

html, body {
    margin: 0; padding: 0; border: 0;
    width: 100%; height: 100%; 
    overflow: hidden !important; 
    background-color: var(--dark-bg) !important;
    font-family: var(--brand-font);
    color: var(--off-white);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

::-webkit-scrollbar { display: none !important; width: 0 !important; background: transparent !important; }

/* ===========================================================
   3. GLOBAL CORNER LAYOUT (Blog Match)
   =========================================================== */

/* LOGO (Top Right) */
.rd-logo {
  position: fixed; top: 20px; right: 20px; z-index: 30010;
  pointer-events: auto; padding: 0; line-height: 0;
  background: transparent !important; box-shadow: none !important; filter: none !important;
}
.rd-logo img {
  height: 60px !important; width: auto; display: block;
  filter: none !important; box-shadow: none !important; drop-shadow: none !important;
}

/* MENU TOGGLE (Top Left) */
.rd-menu-toggle {
  position: fixed; top: 38px; left: 20px; width: 30px; height: 24px;
  z-index: 30010; cursor: pointer; display: flex; flex-direction: column; justify-content: space-between;
}
.rd-hamburger-line {
  width: 100%; height: 3px; border-radius: 2px; transition: 0.3s ease;
  background-color: var(--red-p22) !important; box-shadow: none !important; transform-origin: center;
}
.rd-menu-toggle.menu-is-open .rd-hamburger-line.top { transform: translateY(10.5px) rotate(45deg) !important; }
.rd-menu-toggle.menu-is-open .rd-hamburger-line.middle { opacity: 0 !important; }
.rd-menu-toggle.menu-is-open .rd-hamburger-line.bottom { transform: translateY(-10.5px) rotate(-45deg) !important; }

/* QUEEN BUTTON (Bottom Right) */
.navigation-button {
  position: fixed; z-index: 50000; cursor: pointer;
  opacity: 0; visibility: hidden; transition: opacity 0.5s ease;
  padding: 0; margin: 0; outline: none; border: none;
}
.navigation-button.visible { opacity: 1 !important; visibility: visible !important; }

.scroll-down-button {
  bottom: 15px; right: 20px; width: 35px; height: 35px;
  background: rgba(10, 2, 10, 0.7); border: 2px solid var(--red-p22); border-radius: 50%;
  transform: translate3d(0,0,0); animation: neon-kick 1.5s ease-in-out infinite;
  pointer-events: auto !important; touch-action: manipulation;
}

/* --- GLOW FIX --- */
/* We allow the animation to control the shadow, but force the colors to prevent Blue Flash */
.scroll-down-button:hover, 
.scroll-down-button:active, 
.scroll-down-button:focus {
    outline: none !important; 
    background-color: rgba(10, 2, 10, 0.7) !important;
    border-color: var(--red-p22) !important;
    /* REMOVED 'box-shadow: !important' so animation can breathe */
}

/* ARROW BUTTON (Bottom Left) */
.scroll-up-arrow {
  bottom: 15px; left: 15px; width: 35px; height: 35px;
  background: transparent !important; border: none !important; outline: none !important;
  pointer-events: auto !important; touch-action: manipulation;
}
.scroll-up-arrow::after {
    content: ''; position: absolute; top: 50%; left: 50%; width: 20px; height: 20px;
    border-top: 4px solid var(--off-white); border-right: 4px solid var(--off-white);
    transform: translate(-50%, -75%) rotate(-45deg);
    filter: drop-shadow(0 0 5px var(--neo-blue)) drop-shadow(0 0 10px var(--purpink));
    transition: all 0.3s ease;
}
.scroll-up-arrow:hover::after {
    border-color: var(--neo-blue) !important;
    filter: drop-shadow(0 0 8px var(--off-white)) drop-shadow(0 0 20px var(--neo-blue));
    transform: translate(-50%, -90%) rotate(-45deg) scale(1.1);
}

/* Animations */
@keyframes neon-kick { 
    0%, 100% { box-shadow: 0 0 8px var(--red-p22); transform: scale(1) translate3d(0,0,0); } 
    50% { box-shadow: 0 0 30px var(--red-p22), 0 0 50px var(--red-p22); transform: scale(1.1) translate3d(0,0,0); } 
}
.scroll-down-button.panic-pulse { animation: panic-pulse 0.4s infinite !important; }

/* ===========================================================
   4. NAV MENU OVERLAY
   =========================================================== */
.rd-main-menu {
  position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(5, 2, 5, 0.95); backdrop-filter: blur(10px);
  z-index: 29000; display: flex; justify-content: center; align-items: center;
  opacity: 0; visibility: hidden; pointer-events: none;
  transition: 0.4s ease;
}
.rd-main-menu.menu-is-open { opacity: 1 !important; visibility: visible !important; pointer-events: auto !important; }
.rd-main-menu ul { list-style: none; padding: 0; margin: 0; text-align: center; display: flex; flex-direction: column; gap: 1.5vh; }

.rd-main-menu a {
    font-family: var(--p22-font) !important; font-weight: 700;
    color: var(--red-p22) !important; text-decoration: none;
    font-size: clamp(2.5rem, 7vw, 4rem); line-height: 0.9;
    text-shadow: 0 0 10px rgba(255, 0, 0, 0.5);
    transition: all 0.3s ease; display: inline-block;
}
.rd-main-menu a:hover { 
    color: var(--neon-green) !important; /* ACID GREEN HOVER */
    text-shadow: 0 0 10px var(--neon-green), 0 0 20px var(--neon-green) !important;
    transform: scale(1.05); 
}

/* ===========================================================
   5. TYPOGRAPHY DEFAULTS
   =========================================================== */
.entry-title, h1, h2, h3, h4, h5, h6 {
    font-family: var(--p22-font) !important; font-weight: 700 !important;
    color: var(--dark-bg); text-shadow: 0 0 5px var(--purpink); text-transform: none !important;
}
.entry-content p { font-family: var(--p22-font), serif !important; color: var(--red-p22) !important; }
a { color: var(--neon-green); text-decoration: none; transition: all 0.3s ease; }
a:hover { color: var(--off-white); text-shadow: 0 0 10px var(--neon-green); }