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

body {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
  padding: 20px;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
}

article {
  width: 100%;
  max-width: 700px;
  background: #ffffff;
  border-radius: 20px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
  border: 1px solid #e0e0e0;
}

.bg-head {
  background: linear-gradient(135deg, #000000 0%, #1a1a1a 100%);
  color: white;
  display: flex;
  align-items: center;
  gap: 24px;
  padding: 32px 28px;
  border-bottom: 3px solid #ffffff;
}

figure {
  flex-shrink: 0;
  width: 100px;
  height: 100px;
  overflow: hidden;
  border-radius: 50%;
  border: 4px solid #ffffff;
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.2);
}

img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.bg-head > div {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  flex: 1;
  min-width: 0;
}

.bg-head h2 {
  font-size: 28px;
  font-weight: 700;
  letter-spacing: -0.5px;
  margin: 0;
}

.timer {
  background: #ffffff;
  color: #000000;
  border-radius: 6px;
  padding: 6px 12px;
  font-size: 13px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  box-shadow: 0 2px 8px rgba(255, 255, 255, 0.15);
}

.timer span {
  font-weight: 700;
  color: #000000;
}

.content {
  padding: 32px 28px;
  display: flex;
  flex-direction: column;
  gap: 28px;
  background: #ffffff;
}

.content > div,
.content > section {
  padding-bottom: 24px;
  border-bottom: 2px solid #f0f0f0;
}

.content > div:last-child,
.content > section:last-child {
  padding-bottom: 0;
  border-bottom: none;
}

.text-head {
  font-size: 11px;
  font-weight: 700;
  color: #666666;
  letter-spacing: 1.2px;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.content > div > p:not(.text-head) {
  font-size: 15px;
  line-height: 1.7;
  color: #333333;
  font-weight: 400;
}

nav {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

nav a {
  background: #000000;
  color: #ffffff;
  padding: 12px;
  width: 48px;
  height: 48px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 20px;
  border-radius: 50%;
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

nav a:hover {
  background: #333333;
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
}

nav a:active {
  transform: translateY(-1px);
}

ul {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
}

ul li {
  list-style: none;
  font-size: 15px;
  color: #333333;
  background: #f5f5f5;
  padding: 8px 16px;
  border-radius: 20px;
  font-weight: 500;
  border: 2px solid #e0e0e0;
  transition: all 0.2s ease;
}

ul li:hover {
  background: #000000;
  color: #ffffff;
  border-color: #000000;
}

/* Navigation Links in Header */
.bg-head ul {
  display: flex;
  gap: 10px;
  margin-top: 4px;
}

.navlink {
  list-style: none;
  margin: 0;
  background: none;
  border: none;
  padding: 0;
}

.navlink a {
  display: inline-block;
  background: rgba(255, 255, 255, 0.15);
  backdrop-filter: blur(10px);
  color: #ffffff;
  text-decoration: none;
  padding: 8px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  border: 1px solid rgba(255, 255, 255, 0.2);
  transition: all 0.3s ease;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  letter-spacing: 0.3px;
}

.navlink a:hover {
  background: rgba(255, 255, 255, 0.25);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(255, 255, 255, 0.15);
}

.navlink a:active {
  transform: translateY(0);
}

/* Responsive Design */
@media (max-width: 600px) {
  body {
    padding: 16px;
  }

  .bg-head {
    flex-direction: column;
    text-align: center;
    padding: 28px 20px;
    gap: 16px;
  }

  .bg-head > div {
    align-items: center;
    width: 100%;
  }

  .bg-head h2 {
    font-size: 24px;
  }

  figure {
    width: 90px;
    height: 90px;
  }

  .content {
    padding: 24px 20px;
    gap: 24px;
  }

  .content > div,
  .content > section {
    padding-bottom: 20px;
  }

  nav a {
    width: 44px;
    height: 44px;
    font-size: 18px;
  }
  
  .bg-head ul {
    justify-content: center;
    width: 100%;
  }
  
  .navlink a {
    font-size: 13px;
    padding: 7px 16px;
  }
}

@media (max-width: 400px) {
  .bg-head h2 {
    font-size: 20px;
  }

  figure {
    width: 80px;
    height: 80px;
  }

  .content {
    padding: 20px 16px;
  }

  nav a {
    width: 40px;
    height: 40px;
    font-size: 16px;
  }

  ul li {
    font-size: 14px;
    padding: 6px 12px;
  }
  
  .navlink a {
    font-size: 12px;
    padding: 6px 14px;
  }
}