* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
  font-family: Inter, Arial, sans-serif;
}

body {
  background: #0b1f16;
  color: #e6e6e6;
}

.hero {
  position: relative;
  height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  background: radial-gradient(circle at center, #123524 0%, #08140f 70%);
}

.overlay {
  position: absolute;
  width: 100%;
  height: 100%;
  background: url("https://www.transparenttextures.com/patterns/asfalt-dark.png");
  opacity: 0.15;
}

.hero-content {
  position: relative;
  text-align: center;
  z-index: 2;
}

.avatar-wrapper {
  position: relative;
  width: 220px;
  height: 220px;
  margin: 0 auto 20px;
}

.avatar {
  width: 100%;
  image-rendering: pixelated;
  position: relative;
  z-index: 2;
}

.avatar-glow {
  position: absolute;
  width: 240px;
  height: 240px;
  background: radial-gradient(circle, #2bb3a3 0%, transparent 70%);
  filter: blur(20px);
  animation: pulse 4s infinite ease-in-out;
}

h1 {
  font-size: 42px;
  margin-top: 10px;
}

h2 {
  font-size: 20px;
  color: #c8a95a;
  margin: 8px 0;
}

.subtitle {
  opacity: 0.8;
  margin-bottom: 25px;
}
.buttons {
  display: flex;
  gap: 15px;
  justify-content: center;
}

.btn {
  padding: 12px 22px;
  border-radius: 8px;
  text-decoration: none;
  transition: 0.3s;
  font-weight: 600;
}

.primary {
  background: #c8a95a;
  color: #08140f;
}

.primary:hover {
  background: #e0c679;
}

.secondary {
  border: 1px solid #2bb3a3;
  color: #2bb3a3;
}

.secondary:hover {
  background: #2bb3a3;
  color: #08140f;
}

@keyframes pulse {
  0% { transform: scale(1); opacity: 0.7; }
  50% { transform: scale(1.1); opacity: 1; }
  100% { transform: scale(1); opacity: 0.7; }
}
.contact-grid {
  display: grid;
  grid-template-columns: repeat(2, 180px);
  gap: 20px;
  justify-content: center;
  margin-bottom: 30px;
}

.contact-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 180px;
  height: 180px;
  border: 1px solid #c8a95a;
  border-radius: 10px;
  background: rgba(0,0,0,0.3);
  text-decoration: none;
  color: #e6e6e6;
  overflow: hidden;
  transition: 0.3s;
  position: relative;
}

.contact-card img {
  max-width: 80px;
  max-height: 80px;
  object-fit: contain;
  transition: transform 0.3s;
}

.contact-card span {
  margin-top: 10px;
  opacity: 0;
  transition: opacity 0.3s;
}

.contact-card:hover {
  background: #c8a95a;
  transform: translateY(-4px);
  color: #08140f;
}

.contact-card:hover img {
  transform: scale(1.2);
}

.contact-card:hover span {
  opacity: 1;
}

.btn.secondary {
  display: inline-block;
  padding: 10px 30px;
  border: 1px solid #c8a95a;
  border-radius: 5px;
  text-decoration: none;
  color: #e6e6e6;
  transition: 0.3s;
}

.btn.secondary:hover {
  background: #c8a95a;
  color: #08140f;
}


.temple-img {
  width: 300px;
  margin-bottom: 20px;
}

.project-content {
  width: 60%;
  padding: 40px;
  border: 2px solid #c8a95a;
  border-radius: 12px;
  text-align: center;
  background: rgba(0,0,0,0.3);
}

.project-content h2 {
  color: #c8a95a;
  margin-bottom: 10px;
}

.temple-hero {
  height: 100vh;
  background: radial-gradient(circle, #123524, #08140f);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.temple-img {
  width: 300px;
  margin-bottom: 20px;
}

.back-btn {
  margin-top: 20px;
  padding: 10px 18px;
  text-decoration: none;
  border: 1px solid #2bb3a3;
  color: #2bb3a3;
  border-radius: 8px;
  transition: 0.3s;
}

.back-btn:hover {
  background: #2bb3a3;
  color: #08140f;
}


.project-block {
  height: 100vh;
  background: #0f2a1d;
  display: flex;
  align-items: center;
  justify-content: center;
}

.project-block.darker {
  background: #0b1f16;
}

.project-inner {
  width: 70%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 40px;
}

.project-text h2 {
  font-size: 34px;
  color: #2bb3a3;
  margin-bottom: 10px;
  width: 60%;
}

.project-text p {
   display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
}

.project-link a {
  text-decoration: none;
  padding: 14px 22px;
  border: 1px solid #2bb3a3;
  border-radius: 8px;
  color: #2bb3a3;
  transition: 0.3s;
}

.project-link a:hover {
  background: #2bb3a3;
  color: #08140f;
}


.glyph-big {
  width: 320px;
  margin-bottom: 24px;
  display: block;
  opacity: 0.95;

  filter:
    drop-shadow(0 0 10px rgba(200,170,90,0.35))
    drop-shadow(0 0 20px rgba(200,170,90,0.15));
}


.project-title {
  font-size: 38px;
  margin-bottom: 12px;

  background: linear-gradient(
    90deg,
    #bfa066,
    #f5e1a4,
    #bfa066
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  text-shadow:
    0 0 6px rgba(245,225,164,0.35),
    0 0 14px rgba(191,160,102,0.25);
}


.project-desc {
  line-height: 1.6;
  font-size: 16px;

  background: linear-gradient(
    90deg,
    #9f8758,
    #e8d6a0,
    #9f8758
  );

  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;

  opacity: 0.85;
}

.project-block {
  height: 100vh;
  background: #0f2a1d;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

/* ФОНАРИ */
.project-block::before,
.project-block::after {
  content: "";
  position: absolute;
  width: 240px;
  height: 240px;

  background: radial-gradient(
    circle,
    rgba(255,80,40,0.9) 0%,
    rgba(255,40,20,0.5) 40%,
    transparent 75%
  );

  filter: blur(18px);
  opacity: 0.8;

  animation: lanternPulse 6s infinite ease-in-out;
}


.project-block::before {
  top: 18%;
  left: 6%;
}


.project-block::after {
  bottom: 22%;
  right: 8%;
}

@keyframes lanternPulse {
  0%   { opacity: 0.7; transform: scale(1); }
  50%  { opacity: 1;   transform: scale(1.08); }
  100% { opacity: 0.7; transform: scale(1); }
}

.gold-ribbon {
  width: 560px;
  height: 100px;
  border-radius: 50%;

  background: radial-gradient(
    ellipse,
    rgba(255,220,140,0.9) 0%,
    rgba(200,170,90,0.5) 40%,
    transparent 75%
  );

  filter: blur(10px);
  margin-bottom: 10px;

  animation: ribbonGlow 5s infinite ease-in-out;
}

@keyframes ribbonGlow {
  0%   { opacity: 0.7; transform: scaleX(1); }
  50%  { opacity: 1;   transform: scaleX(1.15); }
  100% { opacity: 0.7; transform: scaleX(1); }
}