/* ============ BASE STYLES ============ */
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 400;
  src: local('Arial'), local('Helvetica');
  font-display: swap;
}
@font-face {
  font-family: 'Inter';
  font-style: normal;
  font-weight: 500;
  src: local('Arial Bold'), local('Helvetica Bold');
  font-display: swap;
}

:root {
  --bg-color: #0f172a;
  --glass-color: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.1);
  --text-color: #f8fafc;
  --accent-color: #3b82f6;
  --icon-color: #60a5fa;
  --link-color: #93c5fd;
  --hover-color: #e0f2fe;
}

/* ============ GLOBAL STYLES ============ */
* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  margin: 0;
  padding: 20px;
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  min-height: 100vh;
  background-color: var(--bg-color);
  color: var(--text-color);
  line-height: 1.6;
}

/* ============ LAYOUT COMPONENTS ============ */
.page-wrapper {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  min-height: 100vh;
}

.glass-container {
  width: 100%;
  max-width: 600px;
  margin: 0 auto;
  padding: 15px;
}

.glass-card {
  padding: 2rem;
  background: var(--glass-color);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-radius: 20px;
  border: 1px solid var(--glass-border);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
  animation: fadeIn 0.5s ease forwards;
  opacity: 0;
}

@keyframes fadeIn {
  to { opacity: 1; }
}

/* ============ HOMEPAGE STYLES ============ */
.homepage .glass-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.profile-image {
  width: 220px;
  height: 220px;
  border-radius: 50%;
  object-fit: cover;
  border: 3px solid var(--glass-border);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
  margin-bottom: 1.5rem;
}

.title {
  font-size: 2rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.subtitle {
  font-size: 1rem;
  opacity: 0.8;
  margin-bottom: 1.5rem;
  font-weight: 400;
}

.countdown-container {
  display: flex;
  justify-content: center;
  gap: 8px;
  width: 100%;
  margin: 1.5rem 0;
}

.countdown-box {
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  padding: 0.8rem 0.5rem;
  min-width: 60px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.countdown-value {
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.2;
}

.countdown-label {
  font-size: 0.65rem;
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  font-weight: 500;
  margin-top: 2px;
}

.contact-info {
  margin-top: 1.5rem;
  width: 100%;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 1rem;
  padding: 0.8rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 10px;
  transition: all 0.2s ease;
}

.contact-item:hover {
  background: rgba(255, 255, 255, 0.1);
}

.contact-icon {
  margin-right: 12px;
  width: 20px;
  height: 20px;
  fill: var(--icon-color);
}

.contact-text {
  font-size: 0.9rem;
}

/* ============ LINK STYLES ============ */
a {
  color: var(--link-color);
  text-decoration: none;
  transition: all 0.2s ease;
}

a:hover {
  color: var(--hover-color);
  text-decoration: underline;
}

a:visited {
  color: var(--link-color);
}

/* ============ FOOTER STYLES ============ */
.footer-links {
  margin-top: 2rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--glass-border);
  display: flex;
  justify-content: center;
  gap: 1.5rem;
}

/* ============ LEGAL PAGES ============ */
.legal-content h1 {
  font-size: 2rem;
  margin-bottom: 1.5rem;
  text-align: center;
  position: relative;
}

.legal-content h1::after {
  content: '';
  position: absolute;
  bottom: -0.5rem;
  left: 50%;
  transform: translateX(-50%);
  width: 80px;
  height: 3px;
  background: var(--accent-color);
  border-radius: 3px;
}

.legal-content h2 {
  font-size: 1.25rem;
  margin-top: 1.5rem;
  margin-bottom: 0.75rem;
  font-weight: 500;
  color: var(--hover-color);
}

.legal-content p, 
.legal-content ul {
  font-size: 0.95rem;
  opacity: 0.9;
  margin-bottom: 1rem;
  line-height: 1.7;
}

.legal-content ul {
  padding-left: 1.5rem;
}

.legal-content li {
  margin-bottom: 0.6rem;
  position: relative;
}

.legal-content li::before {
  content: '•';
  color: var(--accent-color);
  position: absolute;
  left: -1rem;
}

/* ============ RESPONSIVE DESIGN ============ */
@media (max-width: 768px) {
  .glass-card {
    padding: 1.8rem;
  }
  
  .profile-image {
    width: 200px;
    height: 200px;
  }
  
  .title, .legal-content h1 {
    font-size: 1.8rem;
  }
  
  .countdown-box {
    min-width: 55px;
    padding: 0.7rem 0.4rem;
  }
  
  .countdown-value {
    font-size: 1.4rem;
  }
}

@media (max-width: 480px) {
  body {
    padding: 15px;
  }
  
  .glass-container {
    padding: 10px;
  }
  
  .glass-card {
    padding: 1.5rem;
  }
  
  .profile-image {
    width: 180px;
    height: 180px;
  }
  
  .countdown-container {
    gap: 6px;
  }
  
  .countdown-box {
    min-width: 50px;
    padding: 0.6rem 0.3rem;
  }
  
  .countdown-value {
    font-size: 1.3rem;
  }
  
  .countdown-label {
    font-size: 0.6rem;
  }
  
  .footer-links {
    flex-direction: column;
    gap: 0.75rem;
    align-items: center;
  }
  
  .legal-content h1 {
    font-size: 1.6rem;
  }
  
  .legal-content h2 {
    font-size: 1.1rem;
  }
}