
/*
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&display=swap');
*/

@import "tailwindcss";


/* ⬇️ ONLY FOR test.html ⬇️ */
.my-custom-box {
  @apply bg-amber-100 border-2 border-amber-500 p-6 rounded-xl text-center shadow-md;
}

/*
(The @tailwind directives are for v3 – remove them if you're on v4.)
@tailwind base;
@tailwind components;
@tailwind utilities;
*/

/* Explicitly tell Tailwind where your Thymeleaf templates are located */
@source "../../resources/templates/**/*.html";

@theme {
   
        /* Primary (Amber) */
    --color-primary-50: oklch(98.7% 0.022 95.277);
    --color-primary-100: oklch(96.2% 0.059 95.617);
    --color-primary-200: oklch(92.4% 0.12 95.746);
    --color-primary-300: oklch(87.9% 0.169 91.605);
    --color-primary-400: oklch(82.8% 0.189 84.429);
    --color-primary-500: oklch(76.9% 0.188 70.08);
    --color-primary-600: oklch(66.6% 0.179 58.318);
    --color-primary-700: oklch(55.5% 0.163 48.998);
    --color-primary-800: oklch(47.3% 0.137 46.201);
    --color-primary-900: oklch(41.4% 0.112 45.904);

        /* Success (Emerald) */                                                     
    --color-success-50: oklch(97.9% 0.021 166.113);
    --color-success-100: oklch(95% 0.052 163.051);
    --color-success-200: oklch(90.5% 0.093 164.15);
    --color-success-300: oklch(84.5% 0.143 164.978);
    --color-success-400: oklch(76.5% 0.177 163.223);
    --color-success-500: oklch(69.6% 0.17 162.48);
    --color-success-600: oklch(59.6% 0.145 163.225);
    --color-success-700: oklch(50.8% 0.118 165.612);
    --color-success-800: oklch(43.2% 0.095 166.913);
    --color-success-900: oklch(37.8% 0.077 168.94);

    /* Warning (Orange) */
    --color-warning-50: oklch(98% 0.016 73.684);
    --color-warning-100: oklch(95.4% 0.038 75.164);
    --color-warning-200: oklch(90.1% 0.076 70.697);
    --color-warning-300: oklch(83.7% 0.128 66.29);
    --color-warning-400: oklch(75% 0.183 55.934);
    --color-warning-500: oklch(70.5% 0.213 47.604);
    --color-warning-600: oklch(64.6% 0.222 41.116);
    --color-warning-700: oklch(55.3% 0.195 38.402);
    --color-warning-800: oklch(47% 0.157 37.304);
    --color-warning-900: oklch(40.8% 0.123 38.172);

    /* Danger (Rose) */
    --color-danger-50: oklch(96.9% 0.015 12.422);
    --color-danger-100: oklch(94.1% 0.03 12.58);
    --color-danger-200: oklch(89.2% 0.058 10.001);
    --color-danger-300: oklch(81% 0.117 11.638);
    --color-danger-400: oklch(71.2% 0.194 13.428);
    --color-danger-500: oklch(64.5% 0.246 16.439);
    --color-danger-600: oklch(58.6% 0.253 17.585);
    --color-danger-700: oklch(51.4% 0.222 16.935);
    --color-danger-800: oklch(45.5% 0.188 13.697);
    --color-danger-900: oklch(41% 0.159 10.272);

    /* Info (Blue) */
    --color-info-50: oklch(97% 0.014 254.604);
    --color-info-100: oklch(93.2% 0.032 255.585);
    --color-info-200: oklch(88.2% 0.059 254.128);
    --color-info-300: oklch(80.9% 0.105 251.813);
    --color-info-400: oklch(70.7% 0.165 254.624);
    --color-info-500: oklch(62.3% 0.214 259.815);
    --color-info-600: oklch(54.6% 0.245 262.881);
    --color-info-700: oklch(48.8% 0.243 264.376);
    --color-info-800: oklch(42.4% 0.199 265.638);
    --color-info-900: oklch(37.9% 0.146 265.522);

    /* Gray (Zinc) */
    --color-gray-50: oklch(98.5% 0 0);  
    --color-gray-100: oklch(96.7% 0.001 286.375);
    --color-gray-200: oklch(92% 0.004 286.32);
    --color-gray-300: oklch(87.1% 0.006 286.286);
    --color-gray-400: oklch(70.5% 0.015 286.067);
    --color-gray-500: oklch(55.2% 0.016 285.938);
    --color-gray-600: oklch(44.2% 0.017 285.786);
    --color-gray-700: oklch(37% 0.013 285.805);
    --color-gray-800: oklch(27.4% 0.006 286.033);
    --color-gray-900: oklch(21% 0.006 285.885);
}

/* 
  Note: The styles for this gradient grid background is heavily inspired by the creator of this amazing site (https://dub.sh) – all credits go to them! 
*/

/* Hide scrollbar for Chrome, Safari, Opera */
body ::-webkit-scrollbar { width: 0 !important }  

/* Hide scrollbar for Firefox */
body { overflow: -moz-scrollbars-none; }

/* Hide scrollbar for Internet Explorer, Edge */
body { -ms-overflow-style: none; }

/*
* {
  outline: 1px solid red !important;
}
*/

.gradient {
  height: fit-content;
  z-index: 3;
  width: 100%;
  max-width: 640px;
  background-image: radial-gradient(
      at 27% 37%,
      hsla(215, 98%, 61%, 1) 0px,
      transparent 0%
    ),
    radial-gradient(at 97% 21%, hsla(125, 98%, 72%, 1) 0px, transparent 50%),
    radial-gradient(at 52% 99%, hsla(354, 98%, 61%, 1) 0px, transparent 50%),
    radial-gradient(at 10% 29%, hsla(256, 96%, 67%, 1) 0px, transparent 50%),
    radial-gradient(at 97% 96%, hsla(38, 60%, 74%, 1) 0px, transparent 50%),
    radial-gradient(at 33% 50%, hsla(222, 67%, 73%, 1) 0px, transparent 50%),
    radial-gradient(at 79% 53%, hsla(343, 68%, 79%, 1) 0px, transparent 50%);
  position: absolute;
  content: "";
  width: 100%;
  height: 100%;
  filter: blur(100px) saturate(150%);
  top: 80px;
  opacity: 0.15;
}


@keyframes fadeIn {
  from { opacity: 0; }
  to { opacity: 1; }
}

.animate-fade-in {
  animation: fadeIn 0.4s ease-in-out forwards;
}

@keyframes wave {
  0%, 100% { transform: translateX(0); }
  50% { transform: translateX(-10px); }
}
.animate-wave {
  animation: wave 6s infinite ease-in-out;
}

.neon-glow {
  text-shadow: 
    0 0 5px rgba(34, 211, 238, 0.5),
    0 0 10px rgba(34, 211, 238, 0.3),
    0 0 15px rgba(34, 211, 238, 0.2);
}

@keyframes pulse-glow {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.8; }
}

.neon-pulse {
  animation: pulse-glow 3s ease-in-out infinite;
}

.neon-glow {
  text-shadow: 
    0 0 8px rgba(34, 211, 238, 0.4),
    0 0 15px rgba(34, 211, 238, 0.2);
}

.dark .neon-glow {
  text-shadow: 
    0 0 10px rgba(34, 211, 238, 0.6),
    0 0 20px rgba(34, 211, 238, 0.3);
}

.neon-glow-intense {
  text-shadow: 
    0 0 10px rgba(34, 211, 238, 0.8),
    0 0 20px rgba(34, 211, 238, 0.6),
    0 0 30px rgba(34, 211, 238, 0.4);
  filter: drop-shadow(0 0 5px rgba(34, 211, 238, 0.9));
}

.dark .neon-glow-intense {
  text-shadow: 
    0 0 15px rgba(34, 211, 238, 0.9),
    0 0 25px rgba(34, 211, 238, 0.7),
    0 0 35px rgba(34, 211, 238, 0.5);
}
/* Add to your global CSS */
.text-cyan-500 {
  text-shadow: 0 0 8px rgba(34, 211, 238, 0.3);
}

.text-purple-500 {
  text-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}


.scroll-target {
  position: relative;
}

.scroll-target::before {
  content: "→";
  position: absolute;
  left: -28px;           /* space before heading */
  top: 50%;
  transform: translateY(-50%);
  font-size: 20px;
  color: #6366f1;        /* indigo */
  animation: slide 0.8s ease-in-out infinite;
}

@keyframes slide {
  0%, 100% {
    transform: translate(-2px, -50%);
    opacity: 0.9;
  }
  50% {
    transform: translate(6px, -50%);
    opacity: 1;
  }
}

/* Forces the AdSense container to respect the height we set in JS */
.adsbygoogle[data-ad-status="filled"] {
    margin-bottom: 0 !important;
}

/* Removes the background color Google sometimes adds while loading */
ins.adsbygoogle {
    background: transparent !important;
}


/* input-field

<input
    type="text"
    className="input-field"
    placeholder="Name"
/>

<input
    type="text"
    className="input-field success"
    placeholder="Verified"
/>

<input
    type="email"
    className="input-field error"
    placeholder="Email"
/>

A few improvements this gives you:

consistent spacing app-wide
semantic validation states
your theme colors fully integrated
softer modern focus ring
easier dark mode later
cleaner React components

Your color system is already mature enough to support a full design system.

*/

.input-field {
    width: 100%;
    padding: 0.875rem 1rem;
    font-size: 1rem;

    background: var(--color-gray-100);
    color: var(--color-gray-900);

    border: 1px solid var(--color-gray-300);
    border-radius: 0.75rem;

    outline: none;
    transition:
        border-color 0.2s ease,
        box-shadow 0.2s ease,
        background-color 0.2s ease;
}

/* Placeholder */
.input-field::placeholder {
    color: var(--color-gray-400);
}

/* Focus */
.input-field:focus {
    background: white;
    border-color: var(--color-primary-500);
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-primary-500) 20%, transparent);
}

/* Disabled */
.input-field:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    background: var(--color-gray-100);
}

/* Error state */
.input-field.error {
    border-color: var(--color-danger-500);
}

.input-field.error:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-danger-500) 20%, transparent);
}

/* Success state */
.input-field.success {
    border-color: var(--color-success-500);
}

.input-field.success:focus {
    box-shadow: 0 0 0 3px color-mix(in srgb, var(--color-success-500) 20%, transparent);
}

/* CTA Button 

<button className="cta-button">
    Get Started
</button>

This keeps things simple now while still giving you room later to add things like:
.secondary-button
.outline-button
.icon-button

*/

.cta-button {
    display: inline-flex;
    align-items: center;
    background: var(--color-primary-400);
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
    text-decoration: none;
    position: relative;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button:hover {
    background: var(--color-primary-500);
}

/* Arrow animation */
.cta-button .cta-button-arrow {
    display: inline-flex;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button:hover .cta-button-arrow {
    transform: translateX(4px);
}

.cta-button:hover svg {
    transform: translateX(4px);
}

/* action-button


<button className="action-button">
    Send
</button>

*/


.cta-button-jumborton {
    display: inline-flex;
    align-items: center;
    background: #8B6EAD;
    color: white;
    border-radius: 0.5rem;
    font-weight: 600;
    padding: 1rem 1.25rem;
    text-decoration: none;
    position: relative;
    z-index: 10;
    cursor: pointer;
    transition: all 0.3s ease;
}

.cta-button-jumborton:hover {
    background:#6E4F8C;
}

/* Arrow animation */
.cta-button-jumborton .cta-button-arrow {
    display: inline-flex;
    margin-left: 0.5rem;
    transition: transform 0.3s ease;
}

.cta-button-jumborton:hover .cta-button-arrow {
    transform: translateX(4px);
}

.cta-button-jumborton:hover svg {
    transform: translateX(4px);
}


.action-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    width: 100%;

    padding: 0.625rem 1.25rem;

    background: var(--color-primary-400);
    color: white;

    border: none;
    border-radius: 0.75rem;

    font-size: 1rem;
    font-weight: 500;
    letter-spacing: 0.02em;

    cursor: pointer;
    user-select: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.action-button:hover {
    background: var(--color-primary-500);
}

.action-button:active {
    transform: scale(0.99);
}

.action-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}


/* primary-button


-primary color
-but not layout-constrained (unlike .action-button)
-reusable across the app

<button className="primary-button">
    Apply
</button>

*/

.primary-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.75rem 1.5rem;

    background: var(--color-primary-400);
    color: white;

    border: none;
    border-radius: 0.75rem;

    font-size: 1rem;
    font-weight: 500;

    cursor: pointer;
    user-select: none;

    position: relative;
    z-index: 20;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.primary-button:hover {
    background: var(--color-primary-500);
}

.primary-button:active {
    transform: scale(0.98);
}


/* small-button


<button className="small-button">
    Join
</button>

*/

.small-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;

    padding: 0.5rem 0.75rem;

    background: var(--color-primary-400);
    color: white;

    border: none;
    border-radius: 0.5rem;

    font-size: 0.875rem;
    font-weight: 600;

    cursor: pointer;
    user-select: none;

    transition:
        background-color 0.2s ease,
        transform 0.2s ease,
        opacity 0.2s ease;
}

.small-button:hover {
    background: var(--color-primary-500);
}

.small-button:active {
    transform: scale(0.98);
}

.small-button:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    pointer-events: none;
}