/* ============================================
   Casa Tricot — Minimalista
   Cores: #B3161A, #A7A8AA, #FFFFFF
   ============================================ */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600&display=swap');

@font-face {
  font-family: 'Magnolia Script';
  src: url('magnolia_font/Magnolia Script.otf') format('opentype');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

:root {
  --red: #B3161A;
  --gray: #A7A8AA;
  --white: #FFFFFF;
  --gray-light: #F2F2F2;
  --radius: 16px;
}

/* Reset */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--white);
  color: #333;
  min-height: 100vh;
  display: flex;
  justify-content: center;
}

.page-wrapper {
  width: 100%;
  max-width: 480px;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

/* ============================================
   Header / Profile
   ============================================ */
.header {
  padding: 48px 24px 32px;
  text-align: center;
}

.profile {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
}

.brand-logo {
  font-family: 'Magnolia Script', cursive;
  font-size: 3rem;
  font-weight: 700;
  color: var(--red);
  letter-spacing: 1px;
  line-height: 1.2;
}

.brand-desc {
  font-size: 0.88rem;
  color: var(--gray);
  font-weight: 400;
  margin-top: 10px;
  text-align: center;
  line-height: 1.5;
  text-wrap: balance;
}

.brand-desc-sub {
  font-size: 0.82rem;
  color: var(--gray);
  font-weight: 300;
  text-align: center;
  line-height: 1.5;
}



/* ============================================
   Links Section
   ============================================ */
.links-section {
  flex: 1;
  padding: 8px 24px 40px;
  display: flex;
  flex-direction: column;
}

.links-section .container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  width: 100%;
}

.container {
  width: 100%;
  max-width: 480px;
}

/* ============================================
   Link Cards
   ============================================ */
.link-card {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 20px;
  background: var(--white);
  border: 1.5px solid var(--gray-light);
  border-radius: var(--radius);
  text-decoration: none;
  color: #333;
  transition: border-color 0.25s ease, transform 0.2s ease;
  cursor: pointer;
}

.link-card:hover {
  border-color: var(--red);
  transform: translateY(-2px);
}

.link-icon-wrap {
  width: 44px;
  height: 44px;
  border-radius: 12px;
  background: var(--red);
  color: var(--white);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  transition: background 0.25s ease;
}

.link-card:hover .link-icon-wrap {
  background: #8C1114;
}

.link-text {
  flex: 1;
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.link-title {
  font-weight: 600;
  font-size: 0.92rem;
  color: #333;
}

.link-desc {
  font-size: 0.78rem;
  color: var(--gray);
  font-weight: 400;
}

.link-arrow {
  font-size: 1.4rem;
  color: var(--gray);
  font-weight: 300;
  transition: color 0.25s ease, transform 0.25s ease;
}

.link-card:hover .link-arrow {
  color: var(--red);
  transform: translateX(3px);
}

/* ============================================
   Footer
   ============================================ */
.footer {
  padding: 24px;
  text-align: center;
  border-top: 1px solid var(--gray-light);
}

.footer .container {
  display: flex;
  align-items: center;
  justify-content: center;
}

.footer-text {
  font-size: 0.8rem;
  color: var(--gray);
  font-weight: 400;
}

/* ============================================
   Animations
   ============================================ */
.header {
  animation: fadeIn 0.6s ease-out;
}

.link-card {
  animation: slideUp 0.5s ease-out both;
}

.link-card:nth-child(1) {
  animation-delay: 0.05s;
}

.link-card:nth-child(2) {
  animation-delay: 0.1s;
}

.link-card:nth-child(3) {
  animation-delay: 0.15s;
}

.link-card:nth-child(4) {
  animation-delay: 0.2s;
}

.link-card:nth-child(5) {
  animation-delay: 0.25s;
}

.link-card:nth-child(6) {
  animation-delay: 0.3s;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes slideUp {
  from {
    opacity: 0;
    transform: translateY(12px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* ============================================
   Responsive
   ============================================ */
@media (max-width: 480px) {
  .header {
    padding: 40px 20px 24px;
  }

  .links-section {
    padding: 8px 16px 32px;
  }

  .brand-logo {
    font-size: 2.5rem;
  }

  .link-card {
    padding: 14px 16px;
    gap: 12px;
  }

  .link-icon-wrap {
    width: 40px;
    height: 40px;
    border-radius: 10px;
  }

  .link-icon-wrap svg {
    width: 20px;
    height: 20px;
  }
}