/* 
Theme Name: Hello Elementor Child
Theme URI: https://github.com/elementor/hello-theme-child/
Description: Hello Elementor Child is a child theme of Hello Elementor, created by Elementor team
Author: Elementor Team
Author URI: https://elementor.com/
Template: hello-elementor
Version: 2.0.0
Text Domain: hello-elementor-child
License: GNU General Public License v3 or later.
License URI: https://www.gnu.org/licenses/gpl-3.0.html
Tags: flexible-header, custom-colors, custom-menu, custom-logo, editor-style, featured-images, rtl-language-support, threaded-comments, translation-ready
*/

/* Add your custom styles here */


/* ── Floating Button ── */
  #fab-gofunky {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99998;
    background: linear-gradient(135deg, #f5c842, #c8860a);
    color: #1a0a00;
    font-family: 'Poppins', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: none;
    cursor: pointer;
    padding: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(200,134,10,0.55), 0 2px 8px rgba(0,0,0,0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1.2;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  #fab-gofunky:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 32px rgba(200,134,10,0.7), 0 4px 12px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #ffd84d, #e09a15);
  }

  #fab-gofunky:active { transform: scale(0.94); }

  #fab-gofunky .fab-icon {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
  }

  #fab-gofunky .fab-label {
    display: block;
    font-size: 0.62rem;
    line-height: 1.2;
  }

  /* Pulse ring */
  #fab-gofunky::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(200,134,10,0.5);
    animation: gfPulse 2s ease-out infinite;
  }

  @keyframes gfPulse {
    0%   { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.55); opacity: 0; }
  }

  /* ── Overlay ── */
  #overlay-gofunky {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.65);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: gfFadeIn 0.35s ease;
  }

  #overlay-gofunky.hidden { display: none; }

  @keyframes gfFadeIn  { from { opacity:0; } to { opacity:1; } }
  @keyframes gfFadeOut { to   { opacity:0; } }
  @keyframes gfPopUp {
    from { opacity:0; transform: scale(0.85) translateY(20px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
  }
  @keyframes gfSlideUp {
    from { opacity:0; transform: translateY(80px); }
    to   { opacity:1; transform: translateY(0); }
  }

  /* ── Dialog ── */
  #dialog-gofunky {
    background: linear-gradient(145deg, #1a0a00, #3d1a00);
    border: 2px solid #c8860a;
    border-radius: 20px;
    padding: 52px 40px 42px;
    max-width: 440px;
    width: 100%;
    text-align: center;
    box-shadow: 0 0 60px rgba(200,134,10,0.3), 0 20px 60px rgba(0,0,0,0.5);
    animation: gfPopUp 0.45s cubic-bezier(0.34,1.56,0.64,1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }

  #dialog-gofunky::before {
    content:''; position:absolute; top:-40px; left:-40px;
    width:160px; height:160px;
    background: radial-gradient(circle, rgba(200,134,10,0.25) 0%, transparent 70%);
    pointer-events:none;
  }
  #dialog-gofunky::after {
    content:''; position:absolute; bottom:-40px; right:-40px;
    width:140px; height:140px;
    background: radial-gradient(circle, rgba(200,134,10,0.15) 0%, transparent 70%);
    pointer-events:none;
  }

  /* Close X */
  #gf-close-x {
    position: absolute;
    top: 14px; right: 16px;
    background: rgba(255,255,255,0.08);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.5);
    font-size: 1rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
  }
  #gf-close-x:hover { background: rgba(255,255,255,0.16); color: #fff; }

  .gf-emoji {
    font-size: 48px; margin-bottom: 12px; display: block;
    animation: gfSwing 1.5s ease-in-out infinite alternate;
  }
  @keyframes gfSwing {
    from { transform: rotate(-8deg); }
    to   { transform: rotate(8deg); }
  }

  .gf-divider {
    width: 60px; height: 3px;
    background: linear-gradient(90deg, transparent, #c8860a, transparent);
    margin: 14px auto 20px; border-radius: 2px;
  }

  #dialog-gofunky h2 {
    font-family: 'Playfair Display', serif;
    font-size: 1.65rem; font-weight: 900;
    color: #f5c842; margin: 0; line-height: 1.2;
    text-shadow: 0 2px 12px rgba(245,200,66,0.3);
  }

  #dialog-gofunky p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.9rem; color: rgba(255,255,255,0.65);
    margin: 10px 0 32px;
  }

  .gf-buttons {
    display: flex; gap: 14px;
    justify-content: center; flex-wrap: wrap;
  }

  .gf-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.95rem; font-weight: 600;
    padding: 13px 34px; border-radius: 50px;
    border: none; cursor: pointer;
    transition: all 0.25s ease; letter-spacing: 0.3px;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .gf-btn-yes {
    background: linear-gradient(135deg, #f5c842, #c8860a);
    color: #1a0a00;
    box-shadow: 0 4px 20px rgba(200,134,10,0.4);
  }
  .gf-btn-yes:hover {
    transform: translateY(-2px) scale(1.03);
    box-shadow: 0 8px 28px rgba(200,134,10,0.55);
  }

  .gf-btn-no {
    background: transparent;
    color: rgba(255,255,255,0.6);
    border: 1.5px solid rgba(255,255,255,0.2);
  }
  .gf-btn-no:hover {
    background: rgba(255,255,255,0.08);
    color: rgba(255,255,255,0.9);
    border-color: rgba(255,255,255,0.4);
    transform: translateY(-1px);
  }

  /* ── Tablet ≤ 768px ── */
  @media (max-width: 768px) {
    #fab-gofunky { width:64px; height:64px; bottom:22px; right:22px; }
    #fab-gofunky .fab-icon { font-size:1.3rem; }
    #dialog-gofunky { padding:40px 28px 34px; max-width:400px; }
    #dialog-gofunky h2 { font-size:1.45rem; }
    .gf-emoji { font-size:40px; }
    #dialog-gofunky p { font-size:0.88rem; margin-bottom:26px; }
    .gf-btn { font-size:0.9rem; padding:12px 28px; }
  }

  /* ── Mobile ≤ 480px ── */
  @media (max-width: 480px) {
    #fab-gofunky { width:58px; height:58px; bottom:18px; right:18px; }
    #fab-gofunky .fab-icon { font-size:1.2rem; }
    #overlay-gofunky { align-items:flex-end; padding:0; }
    #dialog-gofunky {
      width:100%; max-width:100%;
      border-radius:24px 24px 0 0;
      padding:36px 22px 40px;
      border-left:none; border-right:none; border-bottom:none;
      animation: gfSlideUp 0.4s cubic-bezier(0.34,1.3,0.64,1);
    }
    #dialog-gofunky::before {
      top:10px; left:50%; transform:translateX(-50%);
      width:38px; height:4px;
      background: rgba(200,134,10,0.4);
      border-radius:2px;
    }
    #dialog-gofunky h2 { font-size:1.3rem; }
    .gf-emoji { font-size:36px; margin-top:8px; }
    #dialog-gofunky p { font-size:0.82rem; margin-bottom:22px; }
    .gf-buttons { flex-direction:column; gap:10px; }
    .gf-btn { width:100%; padding:15px 20px; font-size:0.95rem; }
    #gf-close-x { top:18px; right:18px; width:34px; height:34px; }
  }

  /* ── Small Mobile ≤ 360px ── */
  @media (max-width: 360px) {
    #fab-gofunky { width:52px; height:52px; bottom:14px; right:14px; }
    #dialog-gofunky h2 { font-size:1.15rem; }
    .gf-emoji { font-size:32px; }
  }


  /* ── Floating Button ── */
  #fab-havehave {
    position: fixed;
    bottom: 28px;
    right: 28px;
    z-index: 99998;
    background: linear-gradient(135deg, #1a1a2e, #0f0f1e);
    color: #d4af6a;
    font-family: 'Poppins', sans-serif;
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 0.3px;
    border: 1.5px solid rgba(212,175,106,0.4);
    cursor: pointer;
    padding: 0;
    width: 72px;
    height: 72px;
    border-radius: 50%;
    box-shadow: 0 6px 24px rgba(212,175,106,0.35), 0 2px 8px rgba(0,0,0,0.4);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3px;
    transition: all 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    line-height: 1.2;
    text-align: center;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  #fab-havehave:hover {
    transform: scale(1.1) translateY(-3px);
    box-shadow: 0 10px 32px rgba(212,175,106,0.5), 0 4px 12px rgba(0,0,0,0.3);
    background: linear-gradient(135deg, #22223a, #16162a);
  }

  #fab-havehave:active { transform: scale(0.94); }

  #fab-havehave .fab-icon {
    display: block;
    font-size: 1.5rem;
    line-height: 1;
    filter: drop-shadow(0 2px 6px rgba(212,175,106,0.5));
  }

  #fab-havehave .fab-label {
    display: block;
    font-size: 0.58rem;
    line-height: 1.2;
  }

  /* Pulse ring */
  #fab-havehave::before {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    border: 2px solid rgba(212,175,106,0.35);
    animation: hhPulse 2.2s ease-out infinite;
  }

  @keyframes hhPulse {
    0%   { transform: scale(1); opacity: 0.7; }
    100% { transform: scale(1.55); opacity: 0; }
  }

  /* ── Overlay ── */
  #overlay-havehave {
    position: fixed;
    inset: 0;
    background: rgba(0,0,0,0.75);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 99999;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    box-sizing: border-box;
    animation: hhFadeIn 0.35s ease;
  }

  #overlay-havehave.hidden { display: none; }

  @keyframes hhFadeIn  { from { opacity:0; } to { opacity:1; } }
  @keyframes hhFadeOut { to   { opacity:0; } }
  @keyframes hhPopUp {
    from { opacity:0; transform: scale(0.82) translateY(24px); }
    to   { opacity:1; transform: scale(1) translateY(0); }
  }
  @keyframes hhSlideUp {
    from { opacity:0; transform: translateY(80px); }
    to   { opacity:1; transform: translateY(0); }
  }

  /* ── Dialog ── */
  #dialog-havehave {
    background: linear-gradient(160deg, #0c0c1d 0%, #12112a 50%, #0a0a18 100%);
    border: 1px solid rgba(212,175,106,0.5);
    border-radius: 4px;
    padding: 52px 44px 44px;
    max-width: 460px;
    width: 100%;
    text-align: center;
    box-shadow:
      0 0 0 1px rgba(212,175,106,0.12),
      0 0 80px rgba(212,175,106,0.12),
      0 30px 80px rgba(0,0,0,0.7),
      inset 0 1px 0 rgba(212,175,106,0.15);
    animation: hhPopUp 0.5s cubic-bezier(0.34,1.3,0.64,1);
    position: relative;
    overflow: hidden;
    box-sizing: border-box;
  }

  /* Corner bracket ornaments */
  #dialog-havehave::before {
    content:''; position:absolute;
    top:12px; left:12px;
    width:28px; height:28px;
    border-top: 1.5px solid rgba(212,175,106,0.6);
    border-left: 1.5px solid rgba(212,175,106,0.6);
    pointer-events:none;
  }
  #dialog-havehave::after {
    content:''; position:absolute;
    bottom:12px; right:12px;
    width:28px; height:28px;
    border-bottom: 1.5px solid rgba(212,175,106,0.6);
    border-right: 1.5px solid rgba(212,175,106,0.6);
    pointer-events:none;
  }

  .hh-corner-tr {
    position:absolute; top:12px; right:12px;
    width:28px; height:28px;
    border-top: 1.5px solid rgba(212,175,106,0.6);
    border-right: 1.5px solid rgba(212,175,106,0.6);
    pointer-events:none;
  }
  .hh-corner-bl {
    position:absolute; bottom:12px; left:12px;
    width:28px; height:28px;
    border-bottom: 1.5px solid rgba(212,175,106,0.6);
    border-left: 1.5px solid rgba(212,175,106,0.6);
    pointer-events:none;
  }

  /* Ambient glow */
  .hh-glow {
    position:absolute; top:-60px; left:50%;
    transform:translateX(-50%);
    width:260px; height:180px;
    background: radial-gradient(ellipse, rgba(212,175,106,0.12) 0%, transparent 70%);
    pointer-events:none;
  }

  /* Close X */
  #hh-close-x {
    position: absolute;
    top: 14px; right: 16px;
    background: rgba(212,175,106,0.08);
    border: 1px solid rgba(212,175,106,0.25);
    color: rgba(212,175,106,0.5);
    font-size: 1rem;
    width: 32px; height: 32px;
    border-radius: 50%;
    cursor: pointer;
    display: flex; align-items: center; justify-content: center;
    transition: all 0.2s;
    z-index: 2;
    -webkit-tap-highlight-color: transparent;
  }
  #hh-close-x:hover { background: rgba(212,175,106,0.15); color: #d4af6a; }

  /* Crown icon */
  .hh-crown {
    font-size: 44px; display: block; margin-bottom: 10px;
    animation: hhFloat 3s ease-in-out infinite;
    filter: drop-shadow(0 4px 12px rgba(212,175,106,0.4));
  }
  @keyframes hhFloat {
    0%,100% { transform: translateY(0); }
    50%     { transform: translateY(-6px); }
  }

  /* Eyebrow */
  .hh-eyebrow {
    font-family: 'Poppins', sans-serif;
    font-size: 0.65rem; font-weight: 600;
    letter-spacing: 3px; text-transform: uppercase;
    color: rgba(212,175,106,0.6);
    margin-bottom: 6px; display: block;
  }

  /* Heading */
  #dialog-havehave h2 {
    font-family: 'Cormorant Garamond', serif;
    font-size: 2rem; font-weight: 600;
    color: #e8d5a3; margin: 0; line-height: 1.15;
    letter-spacing: 1px;
    text-shadow: 0 2px 20px rgba(212,175,106,0.25);
  }
  #dialog-havehave h2 em {
    font-style: italic; color: #d4af6a; display: block;
  }

  /* Diamond ornament divider */
  .hh-ornament {
    display: flex; align-items: center; gap: 10px;
    justify-content: center; margin: 16px auto 22px;
  }
  .hh-ornament-line {
    flex: 1; max-width: 60px; height: 1px;
    background: linear-gradient(90deg, transparent, rgba(212,175,106,0.7));
  }
  .hh-ornament-line.right {
    background: linear-gradient(90deg, rgba(212,175,106,0.7), transparent);
  }
  .hh-ornament-diamond {
    width: 7px; height: 7px;
    background: #d4af6a;
    transform: rotate(45deg);
    box-shadow: 0 0 8px rgba(212,175,106,0.6);
  }

  #dialog-havehave p {
    font-family: 'Poppins', sans-serif;
    font-size: 0.83rem; color: rgba(255,255,255,0.45);
    margin: 14px 0 32px; line-height: 1.6; letter-spacing: 0.2px;
  }

  /* Buttons */
  .hh-buttons {
    display: flex; gap: 14px;
    justify-content: center; flex-wrap: wrap;
  }

  .hh-btn {
    font-family: 'Poppins', sans-serif;
    font-size: 0.8rem; font-weight: 600;
    letter-spacing: 1.5px; text-transform: uppercase;
    padding: 14px 32px; border-radius: 2px;
    cursor: pointer;
    transition: all 0.25s ease;
    -webkit-tap-highlight-color: transparent;
    touch-action: manipulation;
  }

  .hh-btn-yes {
    background: linear-gradient(135deg, #d4af6a, #a07840);
    color: #0c0c1d; border: none;
    box-shadow: 0 4px 20px rgba(212,175,106,0.35);
  }
  .hh-btn-yes:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 28px rgba(212,175,106,0.5);
    background: linear-gradient(135deg, #e0c07a, #b08850);
  }

  .hh-btn-no {
    background: transparent;
    color: rgba(212,175,106,0.5);
    border: 1px solid rgba(212,175,106,0.25);
  }
  .hh-btn-no:hover {
    background: rgba(212,175,106,0.06);
    color: rgba(212,175,106,0.85);
    border-color: rgba(212,175,106,0.5);
    transform: translateY(-1px);
  }

  /* ── Tablet ≤ 768px ── */
  @media (max-width: 768px) {
    #fab-havehave { width:64px; height:64px; bottom:22px; right:22px; }
    #fab-havehave .fab-icon { font-size:1.3rem; }
    #dialog-havehave { padding:44px 32px 36px; max-width:420px; }
    #dialog-havehave h2 { font-size:1.75rem; }
    .hh-crown { font-size:38px; }
    #dialog-havehave p { font-size:0.82rem; margin-bottom:26px; }
    .hh-btn { padding:13px 24px; }
  }

  /* ── Mobile ≤ 480px ── */
  @media (max-width: 480px) {
    #fab-havehave { width:58px; height:58px; bottom:18px; right:18px; }
    #fab-havehave .fab-icon { font-size:1.2rem; }
    #overlay-havehave { align-items:flex-end; padding:0; }
    #dialog-havehave {
      width:100%; max-width:100%;
      border-radius:24px 24px 0 0;
      padding:36px 22px 40px;
      border-left:none; border-right:none; border-bottom:none;
      animation: hhSlideUp 0.4s cubic-bezier(0.34,1.3,0.64,1);
    }
    #dialog-havehave::before {
      top:10px; left:50%; transform:translateX(-50%);
      width:38px; height:4px;
      background: rgba(212,175,106,0.35);
      border-radius:2px;
      border:none;
    }
    #dialog-havehave::after { display:none; }
    .hh-corner-tr, .hh-corner-bl { display:none; }
    #dialog-havehave h2 { font-size:1.6rem; }
    .hh-crown { font-size:34px; }
    #dialog-havehave p { font-size:0.82rem; margin-bottom:22px; }
    .hh-buttons { flex-direction:column; gap:10px; }
    .hh-btn { width:100%; padding:15px 20px; font-size:0.85rem; }
    #hh-close-x { top:18px; right:18px; width:34px; height:34px; }
  }

  /* ── Small Mobile ≤ 360px ── */
  @media (max-width: 360px) {
    #fab-havehave { width:52px; height:52px; bottom:14px; right:14px; }
    #dialog-havehave h2 { font-size:1.4rem; }
    .hh-crown { font-size:30px; }
  }