:root {
  --gold: #d4af37;
  --dark-gold: #aa8c2c;
  --black: #0a0a0a;
  --lapis: #26619c;
  --sand: #f4e4bc;
  --text-color: #f4e4bc;
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  background-color: var(--black);
  color: var(--text-color);
  font-family: "Roboto", sans-serif;
  background-image: radial-gradient(
    circle at 50% 50%,
    #1a1a1a 0%,
    #000000 100%
  );
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

h1,
h2,
h3 {
  font-family: "Cinzel", serif;
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 2px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

/* Egyptian Border Effect */
.egyptian-border {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: 10px;
  background: repeating-linear-gradient(
    90deg,
    var(--gold) 0,
    var(--gold) 20px,
    var(--lapis) 20px,
    var(--lapis) 40px,
    var(--black) 40px,
    var(--black) 50px
  );
  z-index: 1000;
  box-shadow: 0 2px 10px rgba(212, 175, 55, 0.3);
}

/* Sandstorm Effect */
.sandstorm {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.1'/%3E%3C/svg%3E");
  opacity: 0.4;
  animation: sandstorm 8s linear infinite;
}

@keyframes sandstorm {
  0% {
    background-position: 0 0;
  }
  100% {
    background-position: 100% 100%;
  }
}

header {
  text-align: center;
  padding: 60px 20px 40px;
  max-width: 800px;
  width: 100%;
  position: relative;
  z-index: 2;
}

.logo-container {
  width: 200px;
  height: 200px;
  margin: 0 auto 30px;
  border-radius: 50%;
  border: 4px solid var(--gold);
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.4);
  overflow: hidden;
  background-color: #000;
  position: relative;
}

.logo-container::after {
  content: "";
  position: absolute;
  top: -5px;
  left: -5px;
  right: -5px;
  bottom: -5px;
  border-radius: 50%;
  border: 2px dashed var(--gold);
  animation: spin 20s linear infinite;
}

@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

.logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

h1 {
  font-size: 3rem;
  margin-bottom: 15px;
  background: linear-gradient(to bottom, var(--gold), var(--dark-gold));
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.subtitle {
  font-size: 1.2rem;
  line-height: 1.6;
  color: var(--sand);
  opacity: 0.9;
}

.claim-btn {
  margin-top: 30px;
  padding: 15px 60px;
  font-size: 1.5rem;
  font-family: "Cinzel", serif;
  font-weight: bold;
  color: var(--black);
  background: linear-gradient(45deg, var(--gold), var(--dark-gold));
  border: 2px solid var(--sand);
  border-radius: 50px;
  cursor: pointer;
  text-transform: uppercase;
  letter-spacing: 2px;
  transition: all 0.3s ease;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.5);
  position: relative;
  overflow: hidden;
  display: inline-block;
}

.claim-btn:hover {
  transform: scale(1.05);
  box-shadow: 0 0 30px rgba(212, 175, 55, 0.8);
  background: linear-gradient(45deg, var(--sand), var(--gold));
}

.claim-btn:active {
  transform: scale(0.95);
}

main {
  width: 100%;
  max-width: 800px;
  padding: 0 20px;
  display: flex;
  flex-direction: column;
  gap: 40px;
  margin-bottom: 60px;
  position: relative;
  z-index: 2;
}

.countdown-section {
  text-align: center;
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--gold);
  padding: 30px;
  border-radius: 10px;
  box-shadow: 0 0 15px rgba(212, 175, 55, 0.1);
  position: relative;
}

/* Corner decorations */
.countdown-section::before,
.countdown-section::after,
.info-card::before,
.info-card::after {
  content: "";
  position: absolute;
  width: 20px;
  height: 20px;
  border: 2px solid var(--gold);
  transition: all 0.3s ease;
}

.countdown-section::before {
  top: -2px;
  left: -2px;
  border-right: none;
  border-bottom: none;
}
.countdown-section::after {
  bottom: -2px;
  right: -2px;
  border-left: none;
  border-top: none;
}

#countdown {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.time-unit {
  display: flex;
  flex-direction: column;
  align-items: center;
  background: rgba(0, 0, 0, 0.5);
  padding: 15px;
  border-radius: 5px;
  min-width: 80px;
  border: 1px solid var(--dark-gold);
}

.time-unit span {
  font-size: 2rem;
  font-weight: bold;
  color: var(--gold);
  font-family: "Cinzel", serif;
}

.time-unit label {
  font-size: 0.8rem;
  text-transform: uppercase;
  color: var(--lapis);
  margin-top: 5px;
}

.launch-time {
  font-size: 1.1rem;
  color: var(--gold);
  margin-top: 15px;
}

.info-section {
  display: flex;
  justify-content: center;
}

.info-card {
  background: rgba(20, 20, 20, 0.8);
  border: 1px solid var(--gold);
  padding: 30px;
  border-radius: 10px;
  width: 100%;
  position: relative;
}

.info-card::before {
  top: -2px;
  right: -2px;
  border-left: none;
  border-bottom: none;
}
.info-card::after {
  bottom: -2px;
  left: -2px;
  border-right: none;
  border-top: none;
}

.info-card h3 {
  text-align: center;
  margin-bottom: 20px;
  font-size: 1.8rem;
  border-bottom: 1px solid var(--dark-gold);
  padding-bottom: 10px;
  display: inline-block;
  width: 100%;
}

.info-card ul {
  list-style: none;
}

.info-card li {
  margin-bottom: 15px;
  font-size: 1.1rem;
  display: flex;
  align-items: flex-start;
}

.info-card li::before {
  content: "✦";
  color: var(--gold);
  margin-right: 10px;
  font-size: 1.2rem;
}

.social-section {
  display: flex;
  justify-content: center;
  gap: 20px;
  flex-wrap: wrap;
}

.social-btn {
  padding: 15px 30px;
  text-decoration: none;
  color: var(--black);
  font-weight: bold;
  border-radius: 5px;
  text-transform: uppercase;
  transition: all 0.3s ease;
  font-family: "Cinzel", serif;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  min-width: 200px;
  text-align: center;
}

.social-btn.telegram {
  background: linear-gradient(45deg, #0088cc, #00a2f2);
  color: white;
  border: 1px solid #0088cc;
}

.social-btn.twitter {
  background: linear-gradient(45deg, #000000, #333333);
  color: white;
  border: 1px solid #333333;
}

.social-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(212, 175, 55, 0.3);
}

.social-btn::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.2),
    transparent
  );
  transition: 0.5s;
}

.social-btn:hover::after {
  left: 100%;
}

footer {
  margin-top: auto;
  padding: 20px;
  text-align: center;
  color: var(--dark-gold);
  font-size: 0.9rem;
  border-top: 1px solid rgba(212, 175, 55, 0.2);
  width: 100%;
}

@media (max-width: 600px) {
  h1 {
    font-size: 2rem;
  }

  .logo-container {
    width: 150px;
    height: 150px;
  }

  .time-unit {
    min-width: 60px;
    padding: 10px;
  }

  .time-unit span {
    font-size: 1.5rem;
  }
}
