/*─────────────────────────────────────────────────────────────────────────
  VARIABLES & RESET
──────────────────────────────────────────────────────────────────────────*/
:root {
  --bg-dark:       #2f004f;
  --bg-mid:        #5c0088;
  --text-light:    #ffffff;
  --text-faint:    #cccccc;
  --accent:        #fad16f;
  --footer-bg:     #0b091c;
  --footer-text:   #999999;
}
*, *::before, *::after {
  margin: 0; padding: 0; box-sizing: border-box;
}

/*-------------------------------BODY & BACKGROUND------------------------------*/
body {
    position: relative;
    min-height: 100vh;
    font-family: 'Cormorant Garamond', serif;
    color: var(--text-light);
    background:
        radial-gradient(circle at center, rgba(255,255,255,0.08), transparent 70%),
        radial-gradient(circle at center, #5a3591 0%, #06030a 100%);
    overflow-x: hidden;
}

/* starfield canvas */
#starfield {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: -2;
}

/* swinging spotlight torch from top */
.spotlight {
    position: fixed;
    top: -25%;
    left: -20%;
    width: 160vw;
    height: 160vh;
    background: radial-gradient(circle at top center,
    rgba(255,255,255,0.12), transparent 60%);
    pointer-events: none;
    z-index: -1;
    animation: swing 12s ease-in-out infinite;
}

@keyframes swing {
    0%   { transform: translateX(0)   rotate(-20deg); }
    50%  { transform: translateX(35vw) rotate(20deg); }
    100% { transform: translateX(0)   rotate(-20deg); }
}

/*─────────────────────────────────────────────────────────────────────────
  HEADER
──────────────────────────────────────────────────────────────────────────*/
.site-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 2rem;
  position: relative;
  z-index: 1;
}
.logo {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.9rem;
  color: var(--text-light);
  text-decoration: none;
}
.header-controls {
  display: flex;
  align-items: center;
}

.lang-select-wrapper {
  background: transparent;
  border: 1px solid var(--text-light);
  border-radius: 4px;
  overflow: hidden;
  margin-right: 1rem;
}
.lang-select {
  background: transparent;
  border: none;
  color: var(--text-light);
  font-family: inherit;
  font-size: 0.9rem;
  padding: 0.25rem 0.5rem;
  appearance: none;
}
.lang-select option {
  background: var(--bg-dark);
  color: var(--text-light);
}
.mute-btn, .menu-btn {
  background: none;
  border: none;
  color: var(--text-faint);
  font-size: 1.1rem;
  margin-left: 0.75rem;
  cursor: pointer;
  transition: color 0.3s;
}
.mute-btn:hover, .menu-btn:hover {
  color: var(--text-light);
}

/*─────────────────────────────────────────────────────────────────────────
  HERO & MENU GRID
──────────────────────────────────────────────────────────────────────────*/
.hero {
    text-align: center;
    padding: 3rem 1rem 2rem;
    position: relative;
    z-index: 1;
}
.hero-title {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2rem;
    margin-bottom: 1rem;
    color: var(--text-light);
    text-shadow: 0 0 8px var(--accent);
}
.hero-subtitle {
    font-size: 1.3rem;
    color: var(--text-faint);
    margin-bottom: 4rem; /* increased gap */
    text-shadow: 0 0 6px var(--accent);
}
.after-menu-header-2 {
    font-size: 1.5rem;
    color: var(--accent);
    margin-top: 4rem; /* increased gap */
    text-shadow: 0 0 6px var(--accent);
}
.tools-grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 1.5rem;
}
.tool-card {
    width: 128px;
    height: 135px;       /* reduced by 5px */
    background: var(--accent);
    border-radius: 8px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: transform 0.3s, box-shadow 0.3s;
}
.tool-card:hover {
    transform: translateY(-8px);
    box-shadow:
        0 0 50px var(--accent),
        inset 0 0 0 0 var(--bg-mid);
}
.tool-card .icon {
    font-size: 2rem;
    color: var(--bg-dark);
    margin-bottom: 0.5rem;
}
.tool-card .name {
    font-family: 'Cinzel Decorative', serif;
    font-size: 1rem;
    color: var(--bg-dark);
    text-align: center;
}
.after-menu-header-1 {
    font-family: 'Cinzel Decorative', serif;
    font-size: 2.0rem;   /* same as hero-title */
    color: var(--accent);
    margin: 3rem 0;       /* ample gap above & below */
    /*text-shadow: 0 0 8px var(--accent); turned off glow effect*/
}

/* ── Psychic CTA (match page purple) ── */
.psychic-help {
    padding: 0rem 1rem;
    border: 1px solid gray;
    border-radius: 8px;
    margin-top: 2rem;

    /* Add these lines to center */
    max-width: 600px;        /* Optional: controls the width */
    margin-left: auto;
    margin-right: auto;
    text-align: center;      /* Optional: centers text inside */
}
.psychic-help__inner {
    max-width: 800px;
    text-align: center;
    border-radius: 12px;
    padding: 2rem;
}
.psychic-help__inner h2 {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: .5rem;
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.8rem;
    color: #fff;
    text-shadow: 0 0 8px var(--accent);
}
.psychic-help__inner p {
    margin-top: 1rem;
    line-height: 1.5;
    color: var(--txt);
}
.psychic-help__price {
    margin: 1.5rem 0;
    font-size: 1.2rem;
    color: var(--accent);
}
.psychic-help__btn {
    display: inline-block;
    padding: .72rem 1.8rem;
    background: var(--accent);
    color: var(--bg-dark);
    border-radius: 6px;
    font-family: 'Cinzel Decorative', serif;
    font-size: 1.2rem;
    text-decoration: none;
    transition: box-shadow .3s ease;
}
.psychic-help__btn:hover {
    box-shadow: 0 0 12px var(--accent);
}
/* ---------------------End of Pshychic section designs----------------------------- */


/* ---------------------------SECTION DIVIDER----------------------------------------*/
.section-divider {
  border: none;
  border-top: 1px solid var(--accent); /* gold color */
  margin: 3rem auto;
  width: 80%;
  position: relative;
  z-index: 1;
}


/*---------------------------------FOOTER-------------------------*/
.site-footer {
  display: grid;
  grid-template-columns: 1fr 3fr;
  gap: 2rem;
  background: var(--footer-bg);
  color: var(--footer-text);
  padding: 2.5rem 2rem 1rem;
  position: relative;
  z-index: 1;
}

.footer-brand{
  margin-bottom: 2rem;
}
.footer-brand h2 {
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.5rem;
  color: var(--text-light);
  margin-bottom: 0.5rem;
}
.footer-brand p {
  max-width: 400px;
  line-height: 1.4;
  color: var(--text-faint);
}
.footer-links {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 2rem;
}
.footer-col {
  flex: 1;
  min-width: 140px;
}
.footer-col h4 {
  position: relative;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  color: var(--accent);
  text-transform: uppercase;
  margin-bottom: 0.75rem;
}
.footer-col h4::after {
  content: '';
  position: absolute;
  left: 0; bottom: -4px;
  width: 40px; height: 2px;
  background: var(--accent);
}
.footer-col a {
  display: block;
  color: var(--footer-text);
  text-decoration: none;
  margin-bottom: 0.5rem;
  transition: color 0.3s, text-shadow 0.3s;
}
.footer-col a:hover {
  color: var(--accent);
  text-shadow: 0 0 6px var(--accent);
}
.footer-col a i {
  margin-right: 0.5rem;
}
.footer-bottom {
  grid-column: 1 / -1;
  border-top: 1px solid rgba(255,255,255,0.1);
  padding-top: 1rem;
  text-align: center;
}
.footer-bottom p {
  font-size: 1.1rem;
  color: var(--text-faint);
}


/*---------------Enhanced Section---------------------*/
.enhanced-section {
  background: rgba(255,255,255,0.03);
  padding: 4rem 1rem;
  position: relative;
  z-index: 1;
}

/* Shape Divider */
.shape-divider-top svg {
  display: block;
  width: 100%;
  height: 60px;
}

/* Feature Grid */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  max-width: 1200px;
  margin: 0 auto 3rem;
}

.feature-card {
  border: 1px solid #fad16f;
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
  backdrop-filter: blur(4px);
  transition: transform 0.3s, box-shadow 0.3s;
}
.feature-card:hover {
  transform: translateY(-8px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
.feature-card i {
  font-size: 2.5rem;
  color: var(--accent);
  margin-bottom: 1rem;
}
.feature-card h3 {
  font-size: 1.25rem;
  margin-bottom: 0.5rem;
  color: var(--text-light);
}
.feature-card p {
  color: var(--text-faint);
  font-size: 0.95rem;
}

/* Stats Counters */
.stats {
  display: flex;
  justify-content: center;
  gap: 3rem;
  max-width: 800px;
  margin: 0 auto 3rem;
}
.stat {
  text-align: center;
}
.counter {
  font-size: 2.5rem;
  color: var(--accent);
  display: block;
}
.stat p {
  color: var(--text-faint);
}

/* Accordion */
.accordion details {
  border-radius: 8px;
  margin-bottom: 1.7rem;
  padding: 1rem;
}
.accordion summary {
  font-size: 1.3rem;
  text-align: center;
  cursor: pointer;
  position: relative;
  padding-right: 1.5rem;
  list-style: none;
}
.accordion summary::-webkit-details-marker {
  display: none;
}
.accordion summary::after {
  content: '+';
  position: absolute;
  right: 1rem;
  font-size: 1.2rem;
  transition: transform 0.3s;
}
.accordion details[open] summary::after {
  content: '-';
}
.accordion p {
  margin-top: 0.5rem;
  line-height: 1.6;
  color: var(--text-faint);
  font-size: 1.3rem;
}

/* CTA */
.enhanced-cta {
  text-align: center;
  margin: 3rem;
}
.enhanced-cta h2 {
  font-size: 2rem;
  color: var(--accent);
  margin: 1.5rem;
}
.btn-primary {
  background: var(--accent);
  color: var(--bg-dark);
  padding: 0.75rem 2rem;
  border-radius: 6px;
  font-family: 'Cinzel Decorative', serif;
  font-size: 1.1rem;
  text-decoration: none;
  transition: transform 0.3s, box-shadow 0.3s;
}
.btn-primary:hover {
  transform: translateY(-4px);
  box-shadow: 0 8px 20px rgba(0,0,0,0.2);
}
/*---------------End of ENHANCED SECTION------------------------*/


/*-------------RESPONSIVE – stack footer on mobile--------------*/
@media (max-width: 768px) {
    .tool-card {
    width: 120px;
    height: 120px;       /* reduced by 5px */
    }
    .after-menu-header-1 {
        font-size: 1.8rem;   /* same as hero-title */
        margin-top: 2rem;       /* ample gap above & below */
    }
    .site-footer {
        display: block;
    }
    .footer-links {
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .footer-col {
        width: 100%;
        text-align: center;
    }
    .footer-col h4::after {
        left: 50%;
        transform: translateX(-50%);
    }
        .hero {
        text-align: center;
        padding: 1rem 1rem 1rem;
        position: relative;
        z-index: 1;
    }

    /*Controls responsive behaviour of header only*/
    .logo {
        font-family: 'Cinzel Decorative', serif;
        font-size: 1.4rem;
        color: var(--text-light);
        text-decoration: none;
    }
    .menu-btn, .mute-btn{
        display: none;
    }
    /*end of responsive header*/

    .hero-title {
        font-size: 2rem;
    }
    .hero-subtitle {
        font-size: 1.2rem;
        color: var(--text-faint);
        margin-bottom: 1.3rem; /* increased gap */
        text-shadow: 0 0 6px var(--accent);
    }

    .after-menu-header-1{
        font-size: 1.5rem;
        margin-top: 2rem;
    }
}
