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

/* === UNPARTY PREMIUM BRANDING VARIABLES === */
:root {
  --background: #0a0a0a;
  --foreground: #ededed;
  --brand-gold: #f9c22e;
  --brand-blue: #00E5E5;
  --brand-gold-hover: rgba(249, 194, 46, 0.9);
  --card-bg: rgba(237, 237, 237, 0.05);
  --waitlist-bg: rgba(28, 20, 20, 0.02);
  --border-color: rgba(237, 237, 237, 0.1);
}

/* === MOBILE-FIRST BASE STYLES === */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  color: var(--foreground);
  background: var(--background);
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  font-size: 14px;
  line-height: 1.6;
  min-height: 100vh;
}

@media (min-width: 768px) {
  body { font-size: 16px; }
}

/* === UNPARTY BRAND TITLE === */
.brand-title {
  color: var(--brand-gold) !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .brand-title { font-size: 2.5rem; }
}

/* === PREMIUM CONTAINER STYLING === */
.container {
  max-width: 1200px;
  margin: 0 auto;
  background: var(--card-bg);
  border-radius: 20px;
  box-shadow: 0 20px 60px rgba(0,0,0,0.5), 0 0 0 1px rgba(249, 194, 46, 0.1);
  overflow: hidden;
  backdrop-filter: blur(15px);
  border: 1px solid rgba(249, 194, 46, 0.2);
}

/* === PREMIUM HEADER STYLING === */
.header {
  background: linear-gradient(135deg, rgba(249, 194, 46, 0.1) 0%, rgba(10, 10, 10, 0.8) 100%);
  color: var(--foreground);
  padding: 2rem;
  text-align: center;
  border-bottom: 1px solid rgba(249, 194, 46, 0.3);
  position: relative;
}

.header::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold) 0%, var(--brand-blue) 100%);
  opacity: 0.8;
}

.header h1 {
  color: var(--brand-gold);
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  font-size: 2rem;
  margin-bottom: 0.5rem;
  text-shadow: 0 2px 4px rgba(0,0,0,0.3);
}

@media (min-width: 768px) {
  .header h1 {
    font-size: 2.5rem;
  }
}

.header p {
  color: var(--foreground);
  opacity: 0.8;
  font-size: 1rem;
  margin: 0;
}

@media (min-width: 768px) {
  .header p {
    font-size: 1.1rem;
  }
}

/* === PREMIUM CONTENT AREA === */
.content {
  padding: 2rem;
  background: rgba(237, 237, 237, 0.01);
}

@media (min-width: 768px) {
  .content {
    padding: 2.5rem;
  }
}

/* === PREMIUM SECTIONS === */
.section {
  margin-bottom: 3rem;
}

.section h2 {
  color: var(--brand-gold);
  margin-bottom: 1.5rem;
  font-size: 1.25rem;
  font-weight: 600;
  border-bottom: 2px solid rgba(249, 194, 46, 0.3);
  padding-bottom: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

@media (min-width: 768px) {
  .section h2 {
    font-size: 1.5rem;
  }
}

/* === PREMIUM CARD GRID === */
.file-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 1.5rem;
  margin-top: 1.5rem;
}

/* === PREMIUM CARDS === */
.file-card {
  background: var(--card-bg);
  border: 1px solid var(--border-color);
  border-radius: 15px;
  padding: 1.5rem;
  backdrop-filter: blur(10px);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.file-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(249, 194, 46, 0.4) 50%, transparent 100%);
  opacity: 0.8;
}

.file-card:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 30px rgba(249, 194, 46, 0.2);
  border-color: rgba(249, 194, 46, 0.3);
  background: rgba(249, 194, 46, 0.03);
}

.file-card h3 {
  color: var(--foreground);
  margin-bottom: 0.75rem;
  font-size: 1.1rem;
  font-weight: 600;
}

.file-card p {
  color: rgba(237, 237, 237, 0.7);
  margin-bottom: 1rem;
  font-size: 0.9rem;
  line-height: 1.6;
}

/* === PREMIUM BUTTONS AND LINKS === */
.file-link {
  display: inline-block;
  background: linear-gradient(135deg, rgba(249, 194, 46, 0.1) 0%, rgba(249, 194, 46, 0.05) 100%);
  color: var(--brand-gold);
  text-decoration: none;
  padding: 0.75rem 1.25rem;
  border-radius: 10px;
  font-size: 0.9rem;
  font-weight: 600;
  transition: all 0.3s ease;
  border: 1px solid rgba(249, 194, 46, 0.3);
  backdrop-filter: blur(5px);
  margin-right: 0.5rem;
  margin-bottom: 0.5rem;
}

.file-link:hover {
  background: linear-gradient(135deg, rgba(249, 194, 46, 0.2) 0%, rgba(249, 194, 46, 0.1) 100%);
  color: var(--brand-gold);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(249, 194, 46, 0.3);
  text-decoration: none;
  border-color: rgba(249, 194, 46, 0.5);
}

/* === UNPARTY PREMIUM BRANDING FOR SPECIAL LINKS === */
.unparty-link {
  background: linear-gradient(135deg, var(--brand-gold) 0%, rgba(249, 194, 46, 0.8) 100%) !important;
  color: var(--background) !important;
  font-family: 'Nunito', sans-serif;
  font-weight: 700;
  text-shadow: none;
  box-shadow: 0 4px 15px rgba(249, 194, 46, 0.3);
  border: 1px solid rgba(249, 194, 46, 0.5);
  padding: 1rem 1.5rem;
  font-size: 1rem;
  position: relative;
  overflow: hidden;
}

.unparty-link::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(255, 255, 255, 0.4) 50%, transparent 100%);
  opacity: 0.8;
}

.unparty-link:hover {
  background: linear-gradient(135deg, rgba(249, 194, 46, 1) 0%, rgba(249, 194, 46, 0.9) 100%) !important;
  color: var(--background) !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(249, 194, 46, 0.4);
  text-decoration: none;
}

/* === PREMIUM WARNING COMPONENT === */
.warning {
  background: linear-gradient(135deg, rgba(249, 194, 46, 0.1) 0%, rgba(249, 194, 46, 0.05) 100%);
  border: 1px solid rgba(249, 194, 46, 0.3);
  border-radius: 15px;
  padding: 1.5rem;
  margin-bottom: 2rem;
  backdrop-filter: blur(10px);
  position: relative;
  overflow: hidden;
}

.warning::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--brand-gold) 0%, rgba(249, 194, 46, 0.5) 100%);
  opacity: 0.8;
}

.warning h3 {
  color: var(--brand-gold);
  margin-bottom: 0.75rem;
  font-weight: 600;
  font-size: 1.1rem;
}

.warning p {
  color: rgba(237, 237, 237, 0.8);
  margin: 0;
  line-height: 1.6;
}

/* === PREMIUM FOOTER === */
.footer {
  background: linear-gradient(135deg, rgba(237, 237, 237, 0.05) 0%, rgba(10, 10, 10, 0.8) 100%);
  padding: 2rem;
  border-top: 1px solid rgba(249, 194, 46, 0.2);
  text-align: center;
  color: rgba(237, 237, 237, 0.7);
  font-size: 0.9rem;
}

/* === RESPONSIVE DESIGN === */
@media (max-width: 768px) {
  body {
    padding: 1rem;
  }
  
  .container {
    border-radius: 15px;
  }
  
  .header {
    padding: 1.5rem 1rem;
  }
  
  .header h1 {
    font-size: 1.75rem;
  }
  
  .content {
    padding: 1.5rem 1rem;
  }
  
  .file-grid {
    grid-template-columns: 1fr;
    gap: 1rem;
  }
  
  .file-card {
    padding: 1.25rem;
  }
  
  .unparty-link {
    padding: 0.75rem 1.25rem;
    font-size: 0.9rem;
  }
}

/* === SCROLLBAR STYLING === */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: rgba(237, 237, 237, 0.1);
}

::-webkit-scrollbar-thumb {
  background: rgba(249, 194, 46, 0.5);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(249, 194, 46, 0.7);
}

/* === PAGE TRANSITIONS === */
.page-transition-wrapper {
  position: relative;
}

.page-transition-wrapper > * {
  animation: fade-slide-in 0.3s ease-out forwards;
}

@keyframes fade-slide-in {
  from {
    opacity: 0;
    transform: translateY(10px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* === ENHANCED INTERACTIVE ELEMENTS === */
a {
  transition: all 0.2s ease-in-out;
}

button {
  transition: all 0.2s ease-in-out;
}

/* === ADDITIONAL PREMIUM EFFECTS === */
.premium-glow {
  box-shadow: 0 0 20px rgba(249, 194, 46, 0.3);
}

.premium-border {
  border: 1px solid rgba(249, 194, 46, 0.3);
}

.premium-bg {
  background: var(--card-bg);
  backdrop-filter: blur(10px);
}

/* === FOCUS STATES FOR ACCESSIBILITY === */
a:focus,
button:focus {
  outline: 2px solid var(--brand-gold);
  outline-offset: 2px;
}