/* Frog-themed styles for josefin.rocks */
@import url("https://fonts.googleapis.com/css2?family=Quicksand:wght@400;500;600;700&family=Fredoka:wght@400;500;600;700&display=swap");

:root {
  --frog-green: #4ade80;
  --frog-dark: #166534;
  --frog-light: #bbf7d0;
  --lily-pad: #22c55e;
  --pond-blue: #0ea5e9;
  --pond-dark: #0c4a6e;
  --cream: #fefce8;
  --golden: #fbbf24;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

/* Custom Froggy Cursors */
*, *::before, *::after {
  cursor: url("/cursors/default.png"), auto;
}

a,
button,
[role="button"],
input[type="submit"],
input[type="button"],
.frog-card,
.qualities li {
  cursor: url("/cursors/pointer.png"), pointer;
}

input[type="text"],
input[type="email"],
input[type="password"],
input[type="search"],
textarea,
[contenteditable="true"] {
  cursor: url("/cursors/text.png"), text;
}

p,
span,
h1,
h2,
h3,
h4,
h5,
h6,
li,
blockquote,
.quote {
  cursor: url("/cursors/text.png"), text;
}

[draggable="true"], .draggable {
  cursor: url("/cursors/move.png"), move;
}

[title], [data-tooltip], abbr {
  cursor: url("/cursors/help.png"), help;
}

[disabled], .disabled {
  cursor: url("/cursors/not-allowed.gif"), not-allowed;
}

/* Animated cursors for loading states */
.wait, .loading {
  cursor: url("/cursors/wait.gif"), wait;
}

.progress {
  cursor: url("/cursors/progress.gif"), progress;
}

/* Resize cursors for potential future use */
.resize-ew {
  cursor: url("/cursors/ew-resize.png"), ew-resize;
}
.resize-ns {
  cursor: url("/cursors/ns-resize.png"), ns-resize;
}
.resize-nwse {
  cursor: url("/cursors/nwse-resize.png"), nwse-resize;
}
.resize-nesw {
  cursor: url("/cursors/nesw-resize.png"), nesw-resize;
}
.crosshair {
  cursor: url("/cursors/crosshair.png"), crosshair;
}

body {
  font-family: "Quicksand", sans-serif;
  background: linear-gradient(
    180deg,
    var(--frog-dark) 0%,
    #0f4c2a 50%,
    var(--pond-dark) 100%
  );
  min-height: 100vh;
  color: var(--cream);
  line-height: 1.6;
}

/* Lily pad floating animation */
@keyframes float {
  0%, 100% {
    transform: translateY(0) rotate(-2deg);
  }
  50% {
    transform: translateY(-10px) rotate(2deg);
  }
}

@keyframes ribbit {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

@keyframes hop {
  0%, 100% {
    transform: translateY(0);
  }
  25% {
    transform: translateY(-20px);
  }
  50% {
    transform: translateY(0);
  }
  75% {
    transform: translateY(-10px);
  }
}

/* Header */
header {
  text-align: center;
  padding: 3rem 1rem;
  position: relative;
  overflow: hidden;
}

header::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background:
    radial-gradient(
      ellipse at 20% 80%,
      rgba(74, 222, 128, 0.2) 0%,
      transparent 50%
    ),
    radial-gradient(
    ellipse at 80% 60%,
    rgba(14, 165, 233, 0.15) 0%,
    transparent 40%
  );
  pointer-events: none;
}

.frog-hero {
  font-size: 6rem;
  animation: hop 3s ease-in-out infinite;
  display: inline-block;
}

h1 {
  font-family: "Fredoka", sans-serif;
  font-size: 3.5rem;
  color: var(--frog-light);
  text-shadow: 3px 3px 0 var(--frog-dark), 0 0 20px rgba(74, 222, 128, 0.5);
  margin: 1rem 0;
}

.subtitle {
  font-size: 1.3rem;
  color: var(--golden);
  font-weight: 500;
}

/* Main content */
main {
  max-width: 900px;
  margin: 0 auto;
  padding: 2rem 1rem;
}

/* Section styling */
section {
  background: linear-gradient(
    135deg,
    rgba(34, 197, 94, 0.2) 0%,
    rgba(22, 101, 52, 0.3) 100%
  );
  border: 2px solid var(--frog-green);
  border-radius: 30px 30px 30px 5px; /* Frog-like shape */
  padding: 2rem;
  margin: 2rem 0;
  position: relative;
  backdrop-filter: blur(10px);
}

section::before {
  content: "🐸";
  position: absolute;
  top: -0.8em;
  left: -0.5rem;
  font-size: 3rem;
  animation: ribbit 2s ease-in-out infinite;
}

section h2 {
  font-family: "Fredoka", sans-serif;
  color: var(--frog-light);
  font-size: 2rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

section p {
  margin-bottom: 1rem;
  font-size: 1.1rem;
}

/* Quality list */
.qualities {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin: 1.5rem 0;
  list-style: none;
}

.qualities li {
  background: rgba(74, 222, 128, 0.15);
  border-left: 4px solid var(--frog-green);
  padding: 1rem;
  border-radius: 0 15px 15px 0;
  font-weight: 500;
  transition: transform 0.2s, background 0.2s;
}

.qualities li:hover {
  transform: translateX(5px);
  background: rgba(74, 222, 128, 0.25);
}

.qualities li::before {
  content: "🌿 ";
}

/* Frog facts section */
.frog-facts {
  background: linear-gradient(
    135deg,
    rgba(14, 165, 233, 0.2) 0%,
    rgba(12, 74, 110, 0.3) 100%
  );
  border-color: var(--pond-blue);
}

.frog-facts::before {
  content: "🪷";
}

.frog-facts h2 {
  color: #7dd3fc;
}

.frog-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

.frog-card {
  background: rgba(14, 165, 233, 0.1);
  border: 1px solid rgba(125, 211, 252, 0.3);
  border-radius: 20px;
  padding: 1.5rem;
  text-align: center;
  transition: transform 0.3s, box-shadow 0.3s;
}

.frog-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(14, 165, 233, 0.2);
}

.frog-card .emoji {
  font-size: 3rem;
  display: block;
  margin-bottom: 0.5rem;
  animation: float 4s ease-in-out infinite;
}

.frog-card h3 {
  color: var(--frog-light);
  margin-bottom: 0.5rem;
}

.frog-card p {
  font-size: 0.95rem;
  color: rgba(254, 252, 232, 0.8);
}

/* Quote styling */
.quote {
  font-style: italic;
  font-size: 1.3rem;
  text-align: center;
  padding: 2rem;
  color: var(--golden);
  position: relative;
}

.quote::before,
.quote::after {
  content: "🐸";
  position: absolute;
  font-size: 1.5rem;
}

.quote::before {
  left: 10%;
  top: 50%;
}
.quote::after {
  right: 10%;
  top: 50%;
}

/* Footer */
footer {
  text-align: center;
  padding: 2rem;
  color: rgba(254, 252, 232, 0.6);
  font-size: 0.9rem;
}

footer .frogs {
  font-size: 2rem;
  letter-spacing: 0.5rem;
  display: block;
  margin-bottom: 1rem;
  animation: hop 4s ease-in-out infinite;
}

/* Pond ripple effect */
.pond-bg {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  height: 200px;
  background: linear-gradient(
    0deg,
    rgba(14, 165, 233, 0.3) 0%,
    transparent 100%
  );
  pointer-events: none;
  z-index: -1;
}

/* Mobile responsive */
@media (max-width: 768px) {
  h1 {
    font-size: 2.5rem;
  }

  .frog-hero {
    font-size: 4rem;
  }

  section {
    padding: 1.5rem;
    border-radius: 20px 20px 20px 5px;
  }

  .qualities {
    grid-template-columns: 1fr;
  }

  .quote {
    font-size: 1.1rem;
  }

  .quote::before,
  .quote::after {
    display: none;
  }
}

/* Viewport meta handled in HTML */
