/* Variables */
:root {
  --white: #fff;
  --black: #000;
  --nav-bgd-color: rgba(0, 0, 102, 0.15);
  --primary-color-light: #1a1a4d;
  --primary-color: #000066;
  --secondary-color: #ffa600;
  --accent-color: #ff6b35;
  --bg-dark: #0f0f23;
  --bg-medium: #1a1a3a;
  --text-light: #e0e0e0;
  --text-medium: #b0b0b0;
  --gradient-primary: linear-gradient(135deg, #000066 0%, #1a1a4d 100%);
  --gradient-secondary: linear-gradient(135deg, #ffa600 0%, #ff6b35 100%);
  --shadow-primary: 0 10px 30px rgba(0, 0, 102, 0.3);
  --shadow-secondary: 0 5px 15px rgba(255, 166, 0, 0.2);
}

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

ul {
  list-style: none;
}

html,
body {
  overflow-x: hidden;
  scroll-behavior: smooth;
}

a {
  display: inline-block;
  color: inherit;
  text-decoration: none;
  transition: all 0.3s ease;
}

img,
video {
  height: 100%;
  width: 100%;
  object-fit: cover;
}

/* General Style */
body {
  font-family: "Inter", sans-serif;
  color: var(--text-medium);
  font-size: 1rem;
  background: var(--bg-dark);
  line-height: 1.6;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: "Poppins", sans-serif;
  color: var(--text-light);
  font-weight: 600;
}

p {
  line-height: 1.7;
  color: var(--text-medium);
}

section {
  scroll-margin-top: 80px;
}

/* Keyframes */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideInLeft {
  from {
    opacity: 0;
    transform: translateX(-50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideInRight {
  from {
    opacity: 0;
    transform: translateX(50px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes pulse {
  0% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
  100% {
    transform: scale(1);
  }
}

@keyframes bounce {
  0%,
  20%,
  50%,
  80%,
  100% {
    transform: translateY(0);
  }
  40% {
    transform: translateY(-10px);
  }
  60% {
    transform: translateY(-5px);
  }
}

@keyframes glow {
  0% {
    box-shadow: 0 0 5px var(--secondary-color);
  }
  50% {
    box-shadow: 0 0 20px var(--secondary-color), 0 0 30px var(--secondary-color);
  }
  100% {
    box-shadow: 0 0 5px var(--secondary-color);
  }
}

/* Loading Animation */
@keyframes spin {
  0% {
    transform: rotate(0deg);
  }
  100% {
    transform: rotate(360deg);
  }
}

/* Modal Styles */
.modal-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(15, 15, 35, 0.95);
  display: flex;
  justify-content: center;
  align-items: center;
  z-index: 999;
  backdrop-filter: blur(5px);
}

.modal-overlay .modal-content {
  background: linear-gradient(
    135deg,
    var(--bg-medium) 0%,
    var(--primary-color-light) 100%
  );
  padding: 2rem;
  border-radius: 20px;
  text-align: center;
  width: 90%;
  max-width: 450px;
  box-shadow: var(--shadow-primary);
  border: 1px solid rgba(255, 166, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.modal-overlay .modal-content::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-secondary);
}

.modal-overlay button {
  display: inline-block;
  margin: 0.5rem;
  padding: 0.8rem 1.5rem;
  border: none;
  border-radius: 50px;
  cursor: pointer;
  font-weight: 600;
  transition: all 0.3s ease;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.modal-overlay :is(h2, h3) {
  margin-bottom: 1.5rem;
  color: var(--text-light);
}

.modal-overlay p {
  margin-bottom: 1rem;
  color: var(--text-medium);
}

.modal-overlay #countdown {
  font-size: 2.5rem;
  font-weight: 700;
  display: block;
  margin-bottom: 1.5rem;
  color: var(--secondary-color);
  text-shadow: 0 0 10px rgba(255, 166, 0, 0.3);
}

.modal-overlay #claimOffer {
  color: var(--white);
  background: var(--gradient-secondary);
  box-shadow: var(--shadow-secondary);
}

.modal-overlay #claimOffer:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(255, 166, 0, 0.4);
}

.modal-overlay #closeModal {
  color: var(--text-light);
  background: transparent;
  border: 2px solid var(--text-medium);
}

.modal-overlay #closeModal:hover {
  background: var(--text-medium);
  color: var(--bg-dark);
}

/* Utility Classes */
.text-gradient {
  background: var(--gradient-secondary) !important;
  -webkit-background-clip: text !important;
  -webkit-text-fill-color: transparent !important;
  background-clip: text !important;
  display: inline-block !important;
  color: transparent !important;
}

.glow-effect {
  animation: glow 2s ease-in-out infinite alternate;
}

.fade-in-up {
  animation: fadeInUp 0.8s ease-out;
}

.slide-in-left {
  animation: slideInLeft 0.8s ease-out;
}

.slide-in-right {
  animation: slideInRight 0.8s ease-out;
}

.pulse-animation {
  animation: pulse 2s infinite;
}

.bounce-animation {
  animation: bounce 1s infinite;
}
