/*
  Art Nouveau inspired, modern, clean, and responsive CSS for NFT artist showcase
*/

:root {
  --primary: #2e1a47;
  --accent: #2e7bbb; /* turquoise accent */
  --background: #92a4c4;
  --text: #2e1a47;
  --nav-bg: #bfaecb; /* Dusty lavender */
  --nav-shadow: 0 2px 8px rgba(46,26,71,0.07);
  --border-radius: 18px;
  --font-main: 'Cormorant Garamond', serif;
  --font-sans: 'Montserrat', sans-serif;
  --tulip-petal: #bfaecb;
  --tulip-stem: #3ec6e0; /* turquoise accent for tulip stem */
}

body {
  margin: 0;
  font-family: var(--font-sans);
  background: var(--background);
  color: var(--text);
}

header {
  background: var(--nav-bg);
  box-shadow: var(--nav-shadow);
  border-bottom-left-radius: var(--border-radius);
  border-bottom-right-radius: var(--border-radius);
  padding: 1.5rem 0 1rem 0;
  text-align: center;
}

nav {
  display: flex;
  justify-content: center;
  gap: 4rem;
  margin-bottom: 1rem;
  letter-spacing: 0.18em;
}

nav a {
  text-decoration: none;
  color: var(--primary);
  font-weight: 600;
  font-family: var(--font-main);
  font-size: 1.3rem;
  letter-spacing: 0.12em;
  transition: color 0.2s;
  position: relative;
  padding: 0 0.5rem;
}

nav a::after {
  content: '';
  display: block;
  margin: 0 auto;
  width: 0;
  height: 2px;
  background: var(--accent);
  transition: width 0.3s;
}

nav a:hover::after {
  width: 100%;
}

h1, h2, h3 {
  font-family: var(--font-main);
  color: var(--primary);
  margin-top: 0;
}

.hero {
  max-width: 700px;
  margin: 2rem auto 2rem auto;
  background: #202020;
  border-radius: var(--border-radius);
  box-shadow: 0 4px 24px rgba(46,26,71,0.08);
  padding: 2rem;
  text-align: center;
}

.hero img {
  max-width: 220px;
  border-radius: 50%;
  border: 4px solid var(--accent);
  margin-bottom: 1.2rem;
  box-shadow: 0 2px 12px rgba(224,181,137,0.12);
}

.bio {
  font-family: var(--font-main);
  font-size: 1.2rem;
  color: var(--primary);
  margin-bottom: 0.5rem;
}

.gallery {
  max-width: 1100px;
  margin: 3rem auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 2rem;
  padding: 0 1rem;
}

.nft-card {
  background: #343236;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(46,26,71,0.07);
  overflow: hidden;
  transition: transform 0.18s, box-shadow 0.18s;
  text-align: center;
}

.nft-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 8px 32px rgba(224,181,137,0.18);
}

.nft-card img {
  width: 100%;
  height: 220px;
  object-fit: cover;
  border-bottom: 2px solid var(--accent);
}

.nft-card a {
  display: block;
  padding: 1rem;
  color: #eaf6ff;
  font-family: var(--font-main);
  font-size: 1.1rem;
  text-decoration: none;
  transition: color 0.2s;
}

.nft-card a:hover {
  color: var(--accent);
}

.contact {
  max-width: 500px;
  margin: 3rem auto 2rem auto;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(46,26,71,0.07);
  padding: 2rem;
  text-align: center;
}

.contact-links {
  display: flex;
  justify-content: center;
  gap: 2rem;
  margin-top: 1rem;
}

.contact-links a {
  color: var(--primary);
  font-size: 1.5rem;
  text-decoration: none;
  transition: color 0.2s;
}

.contact-links a:hover {
  color: var(--accent);
}

footer {
  text-align: center;
  color: #a89bb6;
  font-size: 0.95rem;
  margin-bottom: 1.5rem;
  margin-top: 2rem;
}

.hero, .contact, .whats-new {
  border: 2.5px solid var(--accent);
  position: relative;
  background: #f3eaf7;
}

/* Decorative hollow, round-bottom, 45°-tilted tulip corners */
.hero::before, .hero::after, .contact::before, .contact::after, .whats-new::before, .whats-new::after {
  content: '';
  position: absolute;
  width: 36px;
  height: 36px;
  background: none;
  z-index: 2;
  pointer-events: none;
}
.hero::before {
  top: -22px; left: -22px;
  width: 48px;
  height: 48px;
  transform: rotate(135deg);
  mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  background-color: var(--accent);
}
.hero::after {
  top: -22px; right: -22px;
  width: 48px;
  height: 48px;
  transform: rotate(-135deg);
  mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  background-color: var(--accent);
}
.contact::before {
  bottom: -22px; left: -22px;
  width: 48px;
  height: 48px;
  transform: rotate(-135deg);
  mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  background-color: var(--accent);
}
.contact::after {
  bottom: -22px; right: -22px;
  width: 48px;
  height: 48px;
  transform: rotate(135deg);
  mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  background-color: var(--accent);
}
.whats-new::before {
  top: -22px; left: -22px;
  width: 48px;
  height: 48px;
  transform: rotate(135deg);
  mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  background-color: var(--accent);
}
.whats-new::after {
  top: -22px; right: -22px;
  width: 48px;
  height: 48px;
  transform: rotate(-135deg);
  mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  -webkit-mask: url('data:image/svg+xml;utf8,<svg width="48" height="48" xmlns="http://www.w3.org/2000/svg"><path d="M8 32 Q24 4 40 32 Q32 24 24 46 Q16 24 8 32 Z M17 25 Q24 36 31 25" fill="none" stroke="%232e7bbb" stroke-width="3" stroke-linecap="round" stroke-linejoin="round"/></svg>') no-repeat center/contain;
  background-color: var(--accent);
}
.whats-new {
  max-width: 900px;
  margin: 2.5rem auto 0 auto;
  background: #fff;
  border-radius: var(--border-radius);
  box-shadow: 0 2px 12px rgba(46,26,71,0.07);
  padding: 2rem 1rem 1.5rem 1rem;
  border: 2px solid var(--accent);
  position: relative;
  text-align: center;
}
.whats-new h2 {
  font-family: var(--font-main);
  color: var(--primary);
  margin-top: 0;
  margin-bottom: 1.2rem;
}
.whats-new-list {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
}
.whats-new .nft-card {
  width: 220px;
  min-width: 0;
  margin: 0 auto;
}
@media (max-width: 700px) {
  .whats-new-list {
    flex-direction: column;
    gap: 1.2rem;
    align-items: center;
  }
  .whats-new {
    padding: 1rem 0.5rem;
  }
}

/* Responsive */
@media (max-width: 700px) {
  .hero, .contact {
    padding: 1rem;
  }
  .gallery {
    grid-template-columns: 1fr;
    gap: 1.2rem;
  }
  nav {
    gap: 1.5rem;
    font-size: 1rem;
  }
}
