/* =============================================
   HOCKEYDEV.XYZ — Admiral_hockey
   Dark, sleek, professional
   ============================================= */

:root {
  --bg: #0a0a0b;
  --bg-2: #0f0f11;
  --bg-3: #141417;
  --bg-card: #111114;
  --border: rgba(255,255,255,0.07);
  --border-hover: rgba(255,255,255,0.14);
  --accent: #5865F2;
  --accent-2: #7289da;
  --accent-glow: rgba(88,101,242,0.3);
  --white: #ffffff;
  --text: #c8c8d4;
  --text-muted: #6b6b7e;
  --text-dim: #3a3a4a;
  --font-display: 'Syne', sans-serif;
  --font-body: 'DM Sans', sans-serif;
  --radius: 14px;
  --radius-sm: 8px;
  --transition: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html { scroll-behavior: smooth; font-size: 16px; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.7;
  overflow-x: hidden;
}

/* Noise */
.noise {
  position: fixed; inset: 0; z-index: 0; pointer-events: none;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.4;
}

/* SCROLLBAR */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--bg-3); border-radius: 3px; }

/* TYPOGRAPHY */
a { color: inherit; text-decoration: none; }
em { font-style: italic; color: var(--white); }

.section-label {
  font-family: var(--font-display);
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--accent);
  margin-bottom: 20px;
}

.section-title {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 3.2rem);
  font-weight: 800;
  color: var(--white);
  line-height: 1.12;
  margin-bottom: 24px;
}
.section-title.centered { text-align: center; }

/* CONTAINER */
.container { max-width: 1180px; margin: 0 auto; padding: 0 32px; }

/* =============================================
   NAVIGATION
   ============================================= */
#navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  padding: 20px 40px;
  transition: background var(--transition), border-color var(--transition);
}
#navbar.scrolled {
  background: rgba(10,10,11,0.92);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border);
}
.nav-inner {
  max-width: 1180px; margin: 0 auto;
  display: flex; align-items: center; gap: 40px;
}
.nav-logo {
  font-family: var(--font-display);
  font-size: 16px;
  font-weight: 700;
  color: var(--white);
  letter-spacing: 0.02em;
  margin-right: auto;
}
.nav-links {
  list-style: none; display: flex; gap: 36px;
}
.nav-links a {
  font-size: 14px; font-weight: 500; color: var(--text-muted);
  transition: color var(--transition);
}
.nav-links a:hover { color: var(--white); }

.btn-nav {
  font-size: 13px; font-weight: 600;
  background: var(--accent); color: white;
  padding: 10px 20px; border-radius: 50px;
  transition: background var(--transition), transform var(--transition);
}
.btn-nav:hover { background: var(--accent-2); transform: translateY(-1px); }

.hamburger {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: none; cursor: pointer; padding: 4px;
}
.hamburger span {
  display: block; width: 22px; height: 2px;
  background: var(--white); border-radius: 2px;
  transition: var(--transition);
}

.mobile-menu {
  display: none; flex-direction: column; gap: 4px;
  padding: 16px 40px 20px;
  border-top: 1px solid var(--border);
}
.mobile-menu.open { display: flex; }
.mob-link {
  font-size: 16px; font-weight: 500; color: var(--text);
  padding: 12px 0; border-bottom: 1px solid var(--border);
  transition: color var(--transition);
}
.mob-link:hover, .mob-link.accent { color: var(--accent); }

/* =============================================
   HERO
   ============================================= */
.hero {
  position: relative; min-height: 100vh;
  display: grid;
  grid-template-rows: 1fr auto;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  padding: 140px 64px 80px;
  gap: 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute; inset: 0; z-index: 0; overflow: hidden;
}

.orb {
  position: absolute; border-radius: 50%;
  filter: blur(100px); opacity: 0.12;
}
.orb-1 {
  width: 600px; height: 600px;
  background: var(--accent);
  top: -150px; right: -100px;
  animation: float1 12s ease-in-out infinite;
}
.orb-2 {
  width: 400px; height: 400px;
  background: #7289da;
  bottom: 0; left: -80px;
  animation: float2 15s ease-in-out infinite;
}

@keyframes float1 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(-30px,30px)} }
@keyframes float2 { 0%,100%{transform:translate(0,0)} 50%{transform:translate(20px,-20px)} }

.grid-lines {
  position: absolute; inset: 0;
  background-image:
    linear-gradient(var(--border) 1px, transparent 1px),
    linear-gradient(90deg, var(--border) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: radial-gradient(ellipse 80% 80% at 50% 0%, black 0%, transparent 100%);
  opacity: 0.5;
}

.hero-content {
  position: relative; z-index: 1;
  grid-column: 1; grid-row: 1;
}

.hero-tag {
  display: inline-flex; align-items: center; gap: 8px;
  font-size: 12px; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--text-muted);
  border: 1px solid var(--border); border-radius: 50px;
  padding: 6px 14px; margin-bottom: 28px;
}
.dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 8px var(--accent);
  animation: pulse 2s infinite;
}
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:0.4} }

.hero-title {
  font-family: var(--font-display);
  font-size: clamp(3.5rem, 7vw, 6.5rem);
  font-weight: 800; line-height: 1.0;
  color: var(--white);
  margin-bottom: 28px;
  letter-spacing: -0.02em;
}
.hero-title em {
  font-style: italic;
  background: linear-gradient(135deg, var(--accent), #9ba8ff);
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-sub {
  font-size: 18px; color: var(--text-muted); line-height: 1.7;
  margin-bottom: 40px; max-width: 480px;
}

.hero-ctas { display: flex; gap: 14px; flex-wrap: wrap; margin-bottom: 0; }

.btn-primary {
  display: inline-flex; align-items: center;
  background: var(--accent); color: white;
  font-weight: 600; font-size: 15px;
  padding: 14px 28px; border-radius: 50px;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-primary:hover {
  background: var(--accent-2);
  transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}

.btn-ghost {
  display: inline-flex; align-items: center;
  color: var(--text); font-weight: 500; font-size: 15px;
  padding: 14px 28px; border-radius: 50px;
  border: 1px solid var(--border);
  transition: border-color var(--transition), color var(--transition), transform var(--transition);
}
.btn-ghost:hover {
  border-color: var(--border-hover); color: var(--white);
  transform: translateY(-2px);
}

/* Presence Card */
.presence-card {
  position: relative; z-index: 1;
  grid-column: 2; grid-row: 1;
  justify-self: end;
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 20px;
  padding: 28px;
  width: 340px;
  transition: border-color var(--transition), transform var(--transition);
  box-shadow: 0 20px 60px rgba(0,0,0,0.5);
}
.presence-card:hover { border-color: var(--border-hover); transform: translateY(-4px); }

.presence-header { display: flex; align-items: flex-start; gap: 16px; margin-bottom: 20px; }

.avatar-wrap { position: relative; flex-shrink: 0; }
.discord-avatar {
  width: 52px; height: 52px; border-radius: 50%;
  background: var(--bg-3); object-fit: cover;
}
.status-dot {
  position: absolute; bottom: 2px; right: 2px;
  width: 13px; height: 13px; border-radius: 50%;
  border: 2px solid var(--bg-card);
  background: var(--text-dim);
}
.status-dot.online { background: #3ba55d; }
.status-dot.idle { background: #faa81a; }
.status-dot.dnd { background: #ed4245; }
.status-dot.offline { background: #737f8d; }

.presence-info { flex: 1; min-width: 0; }
.presence-name {
  font-family: var(--font-display);
  font-size: 16px; font-weight: 700; color: var(--white);
  margin-bottom: 5px;
}
.status-badge {
  display: inline-block;
  font-size: 10px; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; padding: 3px 9px; border-radius: 4px;
  background: rgba(237,66,69,0.2); color: #ed4245; border: 1px solid rgba(237,66,69,0.3);
}
.status-badge.online-badge { background: rgba(59,165,93,0.2); color: #3ba55d; border-color: rgba(59,165,93,0.3); }
.status-badge.idle-badge { background: rgba(250,168,26,0.2); color: #faa81a; border-color: rgba(250,168,26,0.3); }
.status-badge.offline-badge { background: rgba(115,127,141,0.15); color: #737f8d; border-color: rgba(115,127,141,0.2); }

.presence-handle { font-size: 12px; color: var(--text-muted); margin-top: 5px; }

.presence-activity {
  background: var(--bg-3); border-radius: var(--radius-sm);
  padding: 12px 14px; margin-bottom: 18px;
}
.activity-label { font-size: 10px; text-transform: uppercase; letter-spacing: 0.1em; color: var(--text-muted); margin-bottom: 4px; }
.activity-text { font-size: 13px; color: var(--text); }

.presence-actions { display: flex; gap: 10px; }
.btn-sm {
  display: inline-flex; align-items: center;
  background: var(--accent); color: white;
  font-size: 13px; font-weight: 600;
  padding: 9px 18px; border-radius: 8px;
  transition: background var(--transition), transform var(--transition);
}
.btn-sm:hover { background: var(--accent-2); transform: translateY(-1px); }

/* Hero stats */
.hero-stats {
  position: relative; z-index: 1;
  grid-column: 1 / -1; grid-row: 2;
  display: flex; align-items: center; gap: 40px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}
.stat { display: flex; flex-direction: column; gap: 4px; }
.stat-num {
  font-family: var(--font-display);
  font-size: 28px; font-weight: 800; color: var(--white);
}
.stat-label { font-size: 13px; color: var(--text-muted); }
.stat-divider { width: 1px; height: 40px; background: var(--border); }

/* =============================================
   SECTION SHARED
   ============================================= */
.section { padding: 100px 0; position: relative; z-index: 1; }

/* =============================================
   ABOUT
   ============================================= */
.about { border-top: 1px solid var(--border); }
.about-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 80px;
  align-items: start; margin-top: 20px;
}
.about-right p {
  color: var(--text); font-size: 16px; line-height: 1.8;
  margin-bottom: 18px;
}
.about-pills { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 24px; }
.pill {
  font-size: 12px; font-weight: 600; letter-spacing: 0.06em;
  color: var(--text-muted); border: 1px solid var(--border);
  border-radius: 50px; padding: 6px 14px;
  transition: color var(--transition), border-color var(--transition);
}
.pill:hover { color: var(--accent); border-color: var(--accent); }

/* =============================================
   SERVICES
   ============================================= */
.services { background: var(--bg-2); border-top: 1px solid var(--border); border-bottom: 1px solid var(--border); }
.services-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2px; margin-top: 48px;
  border: 1px solid var(--border); border-radius: var(--radius);
  overflow: hidden;
}
.service-card {
  background: var(--bg-card);
  padding: 36px 32px;
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  transition: background var(--transition), transform var(--transition);
}
.service-card:hover { background: var(--bg-3); }
.service-card:nth-child(3n) { border-right: none; }
.service-card:nth-child(4), .service-card:nth-child(5), .service-card:nth-child(6) { border-bottom: none; }

.service-icon {
  width: 44px; height: 44px;
  background: rgba(88,101,242,0.1); border-radius: var(--radius-sm);
  display: flex; align-items: center; justify-content: center;
  margin-bottom: 20px; color: var(--accent);
}
.service-icon svg { width: 22px; height: 22px; }

.service-card h3 {
  font-family: var(--font-display);
  font-size: 17px; font-weight: 700; color: var(--white);
  margin-bottom: 12px;
}
.service-card p { font-size: 14px; color: var(--text-muted); line-height: 1.7; }

/* =============================================
   FAQ
   ============================================= */
.faq-container { max-width: 780px; }
.faq-list { margin-top: 48px; }

.faq-item {
  border-bottom: 1px solid var(--border);
}
.faq-q {
  width: 100%; display: flex; justify-content: space-between; align-items: center;
  background: none; border: none; cursor: pointer;
  font-family: var(--font-body); font-size: 16px; font-weight: 500;
  color: var(--white); padding: 24px 0; text-align: left;
  transition: color var(--transition);
}
.faq-q:hover { color: var(--accent); }
.faq-icon {
  font-size: 22px; font-weight: 300; color: var(--text-muted);
  transition: transform var(--transition), color var(--transition);
  flex-shrink: 0;
}
.faq-item.open .faq-icon { transform: rotate(45deg); color: var(--accent); }

.faq-a {
  overflow: hidden;
  max-height: 0;
  transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}
.faq-item.open .faq-a { max-height: 300px; }
.faq-a p {
  padding-bottom: 24px;
  font-size: 15px; color: var(--text-muted); line-height: 1.8;
}
.faq-a a { color: var(--accent); text-decoration: underline; text-underline-offset: 3px; }

/* =============================================
   CONTACT
   ============================================= */
.contact { border-top: 1px solid var(--border); }
.contact-grid {
  display: grid; grid-template-columns: 1fr 1.4fr; gap: 80px;
  align-items: start; margin-top: 20px;
}
.contact-left p {
  font-size: 16px; color: var(--text-muted); line-height: 1.8;
  margin-bottom: 32px;
}
.discord-link {
  display: inline-flex; align-items: center; gap: 10px;
  background: rgba(88,101,242,0.1); border: 1px solid rgba(88,101,242,0.25);
  color: var(--accent); font-weight: 600; font-size: 15px;
  padding: 14px 22px; border-radius: var(--radius);
  transition: background var(--transition), border-color var(--transition), transform var(--transition);
}
.discord-link:hover {
  background: rgba(88,101,242,0.2); border-color: var(--accent);
  transform: translateY(-2px);
}
.discord-link svg { width: 20px; height: 20px; }

/* FORM */
.contact-form { display: flex; flex-direction: column; gap: 20px; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-group { display: flex; flex-direction: column; gap: 8px; }

label {
  font-size: 13px; font-weight: 600; color: var(--text-muted);
  letter-spacing: 0.04em;
}

input, select, textarea {
  background: var(--bg-3); border: 1px solid var(--border);
  color: var(--white); font-family: var(--font-body); font-size: 15px;
  padding: 12px 16px; border-radius: var(--radius-sm);
  outline: none; transition: border-color var(--transition), background var(--transition);
  width: 100%;
}
input::placeholder, textarea::placeholder { color: var(--text-dim); }
input:focus, select:focus, textarea:focus {
  border-color: var(--accent); background: var(--bg-2);
}
select { cursor: pointer; appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%236b6b7e' stroke-width='2'%3E%3Cpath d='M6 9l6 6 6-6'/%3E%3C/svg%3E");
  background-repeat: no-repeat; background-position: right 14px center;
}
select option { background: var(--bg-2); }
textarea { resize: vertical; min-height: 120px; }

.btn-submit {
  background: var(--accent); color: white;
  font-family: var(--font-body); font-size: 15px; font-weight: 600;
  padding: 15px 30px; border-radius: 50px; border: none; cursor: pointer;
  align-self: flex-start;
  transition: background var(--transition), transform var(--transition), box-shadow var(--transition);
}
.btn-submit:hover {
  background: var(--accent-2); transform: translateY(-2px);
  box-shadow: 0 8px 30px var(--accent-glow);
}
.btn-submit:disabled { opacity: 0.6; cursor: not-allowed; transform: none; }

.form-success { color: #3ba55d; font-size: 14px; font-weight: 500; }
.form-error { color: #ed4245; font-size: 14px; font-weight: 500; }

/* =============================================
   FOOTER
   ============================================= */
.footer {
  border-top: 1px solid var(--border);
  padding: 32px 0; position: relative; z-index: 1;
}
.footer-inner {
  display: flex; align-items: center; justify-content: space-between;
  flex-wrap: wrap; gap: 16px;
}
.footer-logo {
  font-family: var(--font-display); font-weight: 700;
  font-size: 15px; color: var(--white);
}
.footer-copy { font-size: 13px; color: var(--text-muted); }
.footer-links { display: flex; gap: 24px; }
.footer-links a { font-size: 13px; color: var(--text-muted); transition: color var(--transition); }
.footer-links a:hover { color: var(--accent); }

/* =============================================
   REVEAL ANIMATION
   ============================================= */
.reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

/* =============================================
   RESPONSIVE
   ============================================= */
@media (max-width: 1024px) {
  .hero {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto auto;
    padding: 130px 40px 60px;
    text-align: left;
  }
  .hero-content { grid-column: 1; grid-row: 1; }
  .presence-card { grid-column: 1; grid-row: 2; justify-self: start; }
  .hero-stats { grid-column: 1; grid-row: 3; }
  .about-grid { grid-template-columns: 1fr; gap: 32px; }
  .services-grid { grid-template-columns: 1fr 1fr; }
  .service-card:nth-child(2n) { border-right: none; }
  .service-card:nth-child(3) { border-right: 1px solid var(--border); }
  .service-card:nth-child(5), .service-card:nth-child(6) { border-bottom: none; }
  .service-card:nth-child(4) { border-bottom: 1px solid var(--border); }
  .contact-grid { grid-template-columns: 1fr; gap: 40px; }
}

@media (max-width: 768px) {
  #navbar { padding: 18px 24px; }
  .nav-links, .btn-nav { display: none; }
  .hamburger { display: flex; }
  .mobile-menu { padding: 16px 24px 20px; }
  .hero { padding: 110px 24px 50px; }
  .hero-title { font-size: clamp(2.8rem, 12vw, 4rem); }
  .container { padding: 0 24px; }
  .services-grid { grid-template-columns: 1fr; }
  .service-card { border-right: none !important; }
  .service-card:last-child { border-bottom: none; }
  .service-card:nth-child(n) { border-bottom: 1px solid var(--border); }
  .form-row { grid-template-columns: 1fr; }
  .footer-inner { flex-direction: column; align-items: flex-start; }
  .hero-stats { gap: 24px; }
  .stat-num { font-size: 22px; }
  .presence-card { width: 100%; }
}
