/* contactinfo.css */

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: #0a0a0a;
  color: #ddd;
  line-height: 1.6;
  min-height: 100vh;
  overflow-x: hidden;
}

/* RETURN BUTTON */
.return-button {
  position: fixed;
  top: 2rem;
  right: 2rem;
  background: linear-gradient(135deg, rgba(180, 22, 22, 0.95), rgba(140, 15, 15, 0.95));
  color: #fff;
  padding: 0.65rem 1.25rem;
  border-radius: 6px;
  text-decoration: none;
  font-weight: 500;
  font-size: 0.9rem;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border: 1px solid rgba(180, 22, 22, 0.3);
  backdrop-filter: blur(10px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
  letter-spacing: 0.3px;
}

.return-button:hover {
  background: linear-gradient(135deg, #b41616, #8c0f0f);
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(180, 22, 22, 0.5);
  border-color: rgba(180, 22, 22, 0.5);
  text-decoration: none;
}

.return-button svg {
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 18px;
  height: 18px;
}

.return-button:hover svg {
  transform: translateX(-3px);
}

/* CONTAINER */
.container {
  max-width: 1000px;
  margin: 0 auto;
  padding: 6rem 2rem 4rem;
  animation: fadeIn 0.5s ease-in;
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(20px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* HEADER */
.header {
  text-align: center;
  margin-bottom: 3rem;
  padding-bottom: 2rem;
  border-bottom: 2px solid rgba(180, 22, 22, 0.3);
}

.logo-section {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  margin-bottom: 1.5rem;
}

.logo-img {
  width: 50px;
  height: 50px;
  object-fit: contain;
  filter: drop-shadow(0 0 15px rgba(180, 22, 22, 0.3));
}

.logo-text {
  font-size: 1.35rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.3px;
}

h1 {
  font-size: 2.5rem;
  color: #fff;
  margin-bottom: 0.5rem;
  font-weight: 700;
}

.subtitle {
  color: #999;
  font-size: 1.1rem;
}

/* CONTENT */
.content {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.05);
  border-radius: 16px;
  padding: 3rem;
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* SECTIONS */
.contact-section {
  margin-bottom: 3rem;
}

.contact-section:last-child {
  margin-bottom: 0;
}

h2 {
  color: #fff;
  font-size: 1.75rem;
  margin-bottom: 1.5rem;
  padding-bottom: 0.5rem;
  border-bottom: 2px solid rgba(180, 22, 22, 0.2);
}

h3 {
  color: #f0f0f0;
  font-size: 1.15rem;
  margin-bottom: 0.5rem;
  font-weight: 600;
}

/* CONTACT GRID */
.contact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.5rem;
}

.contact-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  transition: all 0.3s ease;
  text-align: center;
}

.contact-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(180, 22, 22, 0.3);
  transform: translateY(-5px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.contact-icon {
  width: 64px;
  height: 64px;
  margin: 0 auto 1rem;
  background: rgba(180, 22, 22, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b41616;
  transition: all 0.3s ease;
}

.contact-card:hover .contact-icon {
  background: rgba(180, 22, 22, 0.2);
  transform: scale(1.1);
}

.contact-link {
  display: inline-block;
  color: #b41616;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 0.75rem;
  transition: color 0.2s ease;
}

.contact-link:hover {
  color: #ff4444;
}

.contact-desc {
  color: #999;
  font-size: 0.9rem;
  line-height: 1.5;
}

/* INFO CARDS */
.info-card {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 12px;
  padding: 2rem;
  display: flex;
  align-items: center;
  gap: 2rem;
  transition: all 0.3s ease;
}

.info-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(180, 22, 22, 0.3);
  transform: translateY(-3px);
  box-shadow: 0 8px 16px rgba(0, 0, 0, 0.3);
}

.info-icon {
  width: 64px;
  height: 64px;
  flex-shrink: 0;
  background: rgba(180, 22, 22, 0.1);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #b41616;
  transition: all 0.3s ease;
}

.info-card:hover .info-icon {
  background: rgba(180, 22, 22, 0.2);
  transform: scale(1.1);
}

.info-content {
  flex: 1;
}

.info-link {
  display: inline-block;
  color: #b41616;
  text-decoration: none;
  font-weight: 600;
  font-size: 1.1rem;
  margin-bottom: 0.5rem;
  transition: color 0.2s ease;
}

.info-link:hover {
  color: #ff4444;
}

.info-desc {
  color: #999;
  font-size: 0.95rem;
  line-height: 1.5;
}

/* DISCORD SPECIAL STYLING */
.discord-card {
  border-color: rgba(88, 101, 242, 0.2);
}

.discord-card:hover {
  border-color: rgba(88, 101, 242, 0.5);
  box-shadow: 0 8px 20px rgba(88, 101, 242, 0.2);
}

.discord-icon {
  background: rgba(88, 101, 242, 0.1);
  color: #5865f2;
}

.discord-card:hover .discord-icon {
  background: rgba(88, 101, 242, 0.2);
}

.discord-link {
  color: #5865f2;
}

.discord-link:hover {
  color: #7289da;
}

/* NOTICE BOX */
.notice-box {
  background: rgba(180, 22, 22, 0.08);
  border: 2px solid rgba(180, 22, 22, 0.3);
  border-radius: 12px;
  padding: 2rem;
  text-align: center;
}

.notice-box h3 {
  color: #fff;
  font-size: 1.25rem;
  margin-bottom: 1rem;
}

.notice-box p {
  color: #ddd;
  font-size: 1rem;
  line-height: 1.6;
  margin: 0;
}

/* SMOOTH SCROLLING */
html {
  scroll-behavior: smooth;
}

/* SELECTION */
::selection {
  background: rgba(180, 22, 22, 0.3);
  color: #fff;
}

::-moz-selection {
  background: rgba(180, 22, 22, 0.3);
  color: #fff;
}

/* SCROLLBAR */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: #0a0a0a;
}

::-webkit-scrollbar-thumb {
  background: rgba(180, 22, 22, 0.5);
  border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(180, 22, 22, 0.7);
}

/* RESPONSIVE DESIGN */
@media (max-width: 768px) {
  .return-button {
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
  }

  .return-button svg {
    width: 16px;
    height: 16px;
  }

  .container {
    padding: 5rem 1.5rem 3rem;
  }

  .content {
    padding: 2rem 1.5rem;
    border-radius: 12px;
  }

  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  .logo-section {
    gap: 0.75rem;
    margin-bottom: 1rem;
  }

  .logo-img {
    width: 45px;
    height: 45px;
  }

  .logo-text {
    font-size: 1.2rem;
  }

  .contact-grid {
    grid-template-columns: 1fr;
  }

  .info-card {
    flex-direction: column;
    text-align: center;
    gap: 1.5rem;
  }

  .info-icon {
    width: 56px;
    height: 56px;
  }

  .contact-icon {
    width: 56px;
    height: 56px;
  }

  .contact-icon svg {
    width: 28px;
    height: 28px;
  }

  .info-icon svg {
    width: 28px;
    height: 28px;
  }

  .discord-icon svg {
    width: 36px;
    height: 36px;
  }
}

@media (max-width: 480px) {
  .return-button {
    position: static;
    margin: 1rem auto;
    display: inline-flex;
    width: auto;
  }

  .container {
    padding: 1rem 1rem 3rem;
  }

  .content {
    padding: 1.5rem 1rem;
  }

  h1 {
    font-size: 1.75rem;
  }

  h2 {
    font-size: 1.35rem;
  }

  .logo-section {
    gap: 0.5rem;
  }

  .logo-img {
    width: 40px;
    height: 40px;
  }

  .logo-text {
    font-size: 1.05rem;
  }

  .subtitle {
    font-size: 1rem;
  }

  .contact-card {
    padding: 1.5rem;
  }

  .info-card {
    padding: 1.5rem;
  }

  .notice-box {
    padding: 1.5rem;
  }
}

/* ACCESSIBILITY */
@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }

  html {
    scroll-behavior: auto;
  }
}

/* PRINT STYLES */
@media print {
  body {
    background: #fff;
    color: #000;
  }

  .return-button {
    display: none;
  }

  .content {
    background: #fff;
    border: none;
    box-shadow: none;
  }

  h1,
  h2,
  h3 {
    color: #000;
  }

  .contact-card,
  .info-card {
    background: #f5f5f5;
    border-color: #ccc;
  }

  .contact-link,
  .info-link {
    color: #000;
    text-decoration: underline;
  }
}