/*!*****************************************************************************************************************************************************************************************************************************************************************!*\
  !*** css ./node_modules/next/dist/build/webpack/loaders/css-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[2]!./node_modules/next/dist/build/webpack/loaders/postcss-loader/src/index.js??ruleSet[1].rules[13].oneOf[12].use[3]!./src/app/globals.css ***!
  \*****************************************************************************************************************************************************************************************************************************************************************/
@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@400;600;700&family=Inter:wght@300;400;500;600&display=swap');

:root {
  --primary: #e41b00;
  --primary-dark: #8b2020;
  --secondary: #2d2a26;
  --background: #1a1815;
  --text: #f5f5f5;
  --text-muted: #a0a0a0;
  --danger: #d64545;
  --success: #45d67a;
}

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

html,
body {
  max-width: 100vw;
  overflow-x: hidden;
  font-family: 'Inter', sans-serif;
  background-color: var(--background);
  color: var(--text);
}

body {
  min-height: 100vh;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
}

a {
  color: inherit;
  text-decoration: none;
}

.container {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Login Page Styles */
.login-page {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: linear-gradient(135deg, rgba(26, 24, 21, 0.9) 0%, rgba(45, 42, 38, 0.95) 100%);
  position: relative;
}

.login-page::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-image: url('/images/background.jpg');
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  opacity: 0.3;
  z-index: 0;
}

.login-content {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  max-width: 500px;
  width: 100%;
}

.logo {
  width: 200px;
  height: auto;
  margin-bottom: 20px;
  filter: drop-shadow(0 4px 20px rgba(201, 162, 39, 0.3));
}

.login-title {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  margin-bottom: 10px;
  text-shadow: 0 2px 10px rgba(201, 162, 39, 0.5);
  letter-spacing: 2px;
}

.login-subtitle {
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 40px;
}

.wallet-section {
  background: rgba(45, 42, 38, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 16px;
  padding: 30px;
  width: 100%;
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.wallet-section h3 {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--primary);
  margin-bottom: 20px;
}

/* Solana Wallet Adapter Overrides */
.wallet-adapter-button {
  background-color: var(--primary) !important;
  color: var(--secondary) !important;
  font-family: 'Inter', sans-serif !important;
  font-weight: 600 !important;
  border-radius: 12px !important;
  transition: all 0.3s ease !important;
}

.wallet-adapter-button:hover {
  background-color: var(--primary-dark) !important;
  transform: translateY(-2px);
  box-shadow: 0 4px 20px rgba(201, 162, 39, 0.4);
}

.wallet-adapter-button-trigger {
  background-color: var(--primary) !important;
}

.wallet-adapter-modal-wrapper {
  background-color: var(--secondary) !important;
  border: 1px solid rgba(201, 162, 39, 0.3) !important;
  border-radius: 16px !important;
}

.wallet-adapter-modal-title {
  font-family: 'Cinzel', serif !important;
  color: var(--primary) !important;
}

.wallet-adapter-modal-list li {
  background-color: transparent !important;
}

.wallet-adapter-modal-list li:hover {
  background-color: rgba(201, 162, 39, 0.1) !important;
}

/* Dashboard Page Styles */
.dashboard-page {
  min-height: 100vh;
  background: linear-gradient(135deg, rgba(26, 24, 21, 0.95) 0%, rgba(45, 42, 38, 0.98) 100%);
}

.dashboard-header {
  padding: 30px 0;
  border-bottom: 1px solid rgba(201, 162, 39, 0.2);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  height: 60px;
  width: auto;
}

.header-wallet {
  display: flex;
  align-items: center;
  gap: 15px;
}

.wallet-address {
  font-family: 'Courier New', monospace;
  background: rgba(201, 162, 39, 0.2);
  padding: 8px 16px;
  border-radius: 8px;
  font-size: 0.9rem;
  color: var(--primary);
}

.dashboard-content {
  padding: 60px 0;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  grid-gap: 40px;
  gap: 40px;
  margin-top: 40px;
}

@media (max-width: 768px) {
  .dashboard-grid {
    grid-template-columns: 1fr;
  }
}

.dashboard-card {
  background: rgba(45, 42, 38, 0.8);
  -webkit-backdrop-filter: blur(10px);
          backdrop-filter: blur(10px);
  border: 1px solid rgba(201, 162, 39, 0.3);
  border-radius: 16px;
  padding: 40px;
  text-align: center;
}

.dashboard-card h2 {
  font-family: 'Cinzel', serif;
  font-size: 1.8rem;
  color: var(--primary);
  margin-bottom: 20px;
}

.dashboard-card p {
  color: var(--text-muted);
  margin-bottom: 30px;
  line-height: 1.6;
}

/* Countdown Timer Styles */
.countdown-container {
  padding: 20px;
}

.countdown-title {
  font-family: 'Cinzel', serif;
  font-size: 1.2rem;
  color: var(--text-muted);
  margin-bottom: 20px;
}

.countdown-grid {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
}

.countdown-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}

.countdown-value {
  font-family: 'Cinzel', serif;
  font-size: 3rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 2px 10px rgba(201, 162, 39, 0.5);
}

.countdown-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 2px;
  margin-top: 5px;
}

.countdown-separator {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--primary);
  opacity: 0.5;
  margin-top: -20px;
}

.countdown-expired {
  padding: 40px;
}

.countdown-expired h2 {
  font-family: 'Cinzel', serif;
  font-size: 2rem;
  color: var(--success);
  margin-bottom: 10px;
}

/* Waitlist Button */
.join-button {
  background: linear-gradient(135deg, var(--primary) 0%, var(--primary-dark) 100%);
  color: var(--secondary);
  border: none;
  padding: 16px 48px;
  font-size: 1.1rem;
  font-weight: 600;
  font-family: 'Cinzel', serif;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 2px;
}

.join-button:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(201, 162, 39, 0.4);
}

.join-button:disabled {
  opacity: 0.6;
  cursor: not-allowed;
}

.join-button.joined {
  background: var(--success);
  color: var(--secondary);
}

/* Stats */
.waitlist-stats {
  display: flex;
  justify-content: center;
  gap: 40px;
  margin: 30px 0;
}

.stat-item {
  text-align: center;
}

.stat-value {
  font-family: 'Cinzel', serif;
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--primary);
}

.stat-label {
  font-size: 0.9rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Position Display */
.position-display {
  background: linear-gradient(135deg, rgba(201, 162, 39, 0.2) 0%, rgba(201, 162, 39, 0.1) 100%);
  border: 1px solid rgba(201, 162, 39, 0.5);
  border-radius: 12px;
  padding: 30px;
  margin-top: 20px;
}

.position-display h4 {
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  color: var(--text-muted);
  margin-bottom: 10px;
}

.position-number {
  font-family: 'Cinzel', serif;
  font-size: 4rem;
  font-weight: 700;
  color: var(--primary);
  text-shadow: 0 2px 20px rgba(201, 162, 39, 0.5);
}

/* Loading Spinner */
.loading {
  display: inline-block;
  width: 20px;
  height: 20px;
  border: 3px solid rgba(45, 42, 38, 0.3);
  border-radius: 50%;
  border-top-color: var(--secondary);
  animation: spin 1s ease-in-out infinite;
}

.loading-container {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 15px;
  padding: 40px 0;
  color: var(--text-muted);
}

.loading-container .loading {
  width: 40px;
  height: 40px;
  border-width: 4px;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Toast Notification */
.toast {
  position: fixed;
  bottom: 30px;
  right: 30px;
  padding: 16px 24px;
  border-radius: 12px;
  font-weight: 500;
  z-index: 1000;
  animation: slideIn 0.3s ease;
}

.toast-success {
  background: var(--success);
  color: var(--secondary);
}

.toast-error {
  background: var(--danger);
  color: var(--text);
}

@keyframes slideIn {
  from {
    transform: translateX(100%);
    opacity: 0;
  }
  to {
    transform: translateX(0);
    opacity: 1;
  }
}

/* Footer */
.footer {
  padding: 30px 0;
  border-top: 1px solid rgba(201, 162, 39, 0.2);
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
}

.footer a {
  color: var(--primary);
}

/* Responsive */
@media (max-width: 768px) {
  .login-title {
    font-size: 2rem;
  }

  .countdown-value {
    font-size: 2rem;
  }

  .countdown-item {
    min-width: 60px;
  }

  .position-number {
    font-size: 3rem;
  }

  .waitlist-stats {
    flex-direction: column;
    gap: 20px;
  }
}

