/* MintoGames Theme - Based on logo colors #00AEEF, #F7941E, and #7C4A0F */
@import url("https://fonts.googleapis.com/css2?family=Poppins:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap");

:root {
  /* Primary Colors from Logo */
  --primary-color: #00AEEF;
  /* Main blue from logo */
  --primary-light: #33BFEF;
  /* Lighter blue for hover effects */
  --primary-dark: #0089BC;
  /* Darker blue for shadows/borders */

  /* Accent Colors from Logo */
  --accent-color: #F7941E;
  /* Orange accent from logo */
  --accent-light: #F9AB4E;
  /* Lighter orange for hover effects */
  --accent-dark: #7C4A0F;
  /* Darker brown/orange from logo for shadows/borders */

  /* Background Colors - Derived from Logo Colors */
  --bg-dark: #0A1A2A;
  /* Dark blue background that complements the logo blue */
  --bg-dark-secondary: #0F2D4A;
  /* Secondary background that complements the primary color */
  --bg-accent-dark: #2A170A;
  /* Dark background derived from accent color */
  --bg-accent-secondary: #4A2F0F;
  /* Secondary background derived from accent color */

  /* Text Colors */
  --text-light: #FFFFFF;
  /* White text */
  --text-dark: #333333;
  /* Dark text */
  --text-accent: #F7941E;
  /* Accent text color */
  --text-primary: #00AEEF;
  /* Primary text color */
}

body {
  font-family: "Poppins", sans-serif;
  font-size: 14px;
  background-color: var(--bg-dark);
  color: var(--text-light);
}

/* General Elements */
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--text-light);
}

a {
  color: var(--primary-color);
  transition: color 0.3s ease;
}

a:hover {
  color: var(--primary-light);
  text-decoration: none;
}

/* Buttons */
.BTN,
.BTN_2 {
  background: var(--primary-color);
  color: var(--text-light);
  border: none;
  padding: 12px 30px;
  border-radius: 10px;
  font-weight: 600;
  margin: 0 5px;
  cursor: pointer;
  transition: all 0.3s ease-in-out;
  position: relative;
  overflow: hidden;
  z-index: 1;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.2);
}

.BTN::before,
.BTN_2::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.BTN:hover::before,
.BTN_2:hover::before {
  left: 100%;
}

.BTN:hover,
.BTN_2:hover {
  background: var(--primary-light);
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(0, 174, 239, 0.3);
}

.BTN:active,
.BTN_2:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(0, 174, 239, 0.2);
}

.BTN {
  background: var(--accent-color);
  box-shadow: 0 4px 15px rgba(247, 148, 30, 0.2);
}

.BTN:hover {
  background: var(--accent-light);
  box-shadow: 0 6px 20px rgba(247, 148, 30, 0.3);
}

/* Header */
.ss_header {
  background: linear-gradient(to right, var(--bg-dark), var(--bg-dark-secondary));
  padding: 15px 0;
  position: sticky;
  top: 0;
  z-index: 1000;
  transition: all 0.3s ease-in-out;
  border-bottom: 3px solid var(--accent-color);
  box-shadow: 0 2px 15px rgba(0, 174, 239, 0.2);
}

.ss_header::after {
  content: '';
  position: absolute;
  bottom: -3px;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--primary-color), transparent);
  opacity: 0.5;
}

.logo {
  filter: drop-shadow(0 0 5px rgba(0, 174, 239, 0.3));
  transition: all 0.3s ease;
}

.logo:hover {
  filter: drop-shadow(0 0 8px rgba(0, 174, 239, 0.5));
  transform: scale(1.05);
}

/* Navigation */
.nav-link {
  color: var(--text-light);
  font-size: 16px;
  font-weight: 600;
  text-decoration: none;
  transition: all 0.3s ease-in-out;
  position: relative;
  padding: 5px 10px;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  transition: all 0.3s ease;
  transform: translateX(-50%);
}

.nav-link:hover::after,
.nav-link.active::after {
  width: 80%;
}

.nav-link:hover,
.nav-link.active {
  color: var(--primary-color);
  transform: translateY(-2px);
}

/* Game Cards */
.game_sec .game_celss {
  background: var(--bg-dark-secondary);
  border-radius: 12px;
  overflow: hidden;
  transition: transform 0.3s ease, box-shadow 0.3s ease;
  border: 1px solid rgba(0, 174, 239, 0.1);
}

.game_sec .game_celss:hover {
  transform: translateY(-5px);
  box-shadow: 0 10px 20px rgba(0, 174, 239, 0.3);
  border-color: var(--primary-color);
}

.game_details h4 {
  color: var(--text-light);
}

.game_details p {
  color: rgba(255, 255, 255, 0.8);
}

/* Welcome Section */
.welcome_cells {
  background: linear-gradient(135deg, var(--bg-dark-secondary), var(--bg-dark));
  border-radius: 26px;
  padding: 20px 15px;
  border: 1px solid var(--primary-dark);
  box-shadow: 0 5px 15px rgba(0, 174, 239, 0.2);
  position: relative;
  overflow: hidden;
}

.welcome_cells::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.welcome_cells h2 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

/* Footer */
.footer {
  background: linear-gradient(to right, var(--bg-dark), var(--bg-dark-secondary));
  color: var(--text-light);
  text-align: center;
  padding: 40px 0;
  width: 100%;
  border-top: 3px solid var(--primary-color);
  position: relative;
  box-shadow: 0 -5px 15px rgba(0, 0, 0, 0.2);
}

.footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 1px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  opacity: 0.7;
}

.footer-title {
  color: var(--accent-color);
  font-weight: 700;
  margin-bottom: 15px;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
  position: relative;
  display: inline-block;
}

.footer-title::after {
  content: '';
  position: absolute;
  bottom: -5px;
  left: 25%;
  width: 50%;
  height: 2px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.footer-nav li,
.footer-contact li {
  margin-bottom: 8px;
}

.footer-nav li a,
.footer-contact li a {
  color: var(--text-light);
  transition: all 0.3s ease;
  position: relative;
  display: inline-block;
}

.footer-nav li a:hover,
.footer-contact li a:hover {
  color: var(--primary-color);
  transform: translateX(5px);
}

.footer-divider {
  background: linear-gradient(to right, transparent, var(--primary-color), transparent);
  height: 1px;
  border: none;
  margin: 30px 0;
  opacity: 0.5;
}

/* Social Icons */
.social-link {
  color: var(--text-light);
  transition: all 0.3s ease;
  display: inline-block;
  margin: 0 10px;
}

.social-link:hover {
  color: var(--primary-color);
  transform: translateY(-5px) scale(1.1);
}

.social-icon {
  filter: drop-shadow(0 2px 5px rgba(0, 0, 0, 0.2));
  transition: all 0.3s ease;
  width: 30px;
  height: 30px;
}

.social-link:hover .social-icon {
  filter: drop-shadow(0 4px 8px rgba(0, 174, 239, 0.4));
}

/* Contact Form */
.contact-card {
  background: linear-gradient(135deg, rgba(15, 45, 74, 0.9), rgba(10, 26, 42, 0.95));
  border: 1px solid var(--primary-dark);
  border-radius: 15px;
  padding: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
  position: relative;
  overflow: hidden;
}

.contact-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
}

.contact-card h3 {
  color: var(--primary-color);
  margin-bottom: 20px;
  font-weight: 700;
  text-align: center;
}

.contact-card input,
.contact-card textarea {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--primary-dark);
  color: var(--text-light);
  border-radius: 8px;
  padding: 12px 15px;
  margin-bottom: 15px;
  transition: all 0.3s ease;
  width: 100%;
}

.contact-card input:focus,
.contact-card textarea:focus {
  outline: none;
  box-shadow: 0 0 15px rgba(0, 174, 239, 0.3);
  border-color: var(--primary-color);
  background: rgba(255, 255, 255, 0.1);
}

.contact-card label {
  color: var(--primary-color);
  font-weight: 600;
  margin-bottom: 8px;
  display: block;
}

.btn-submit {
  background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
  color: var(--text-light);
  border: none;
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.3s ease;
  display: block;
  width: 100%;
  margin-top: 20px;
  box-shadow: 0 4px 15px rgba(0, 174, 239, 0.2);
  position: relative;
  overflow: hidden;
}

.btn-submit::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
}

.btn-submit:hover::before {
  left: 100%;
}

.btn-submit:hover {
  background: linear-gradient(135deg, var(--primary-light), var(--primary-color));
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(0, 174, 239, 0.3);
}

.btn-submit:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(0, 174, 239, 0.2);
}

/* About Section */
.about-section .animated-heading,
.developer-section .animated-heading,
.affiliate-section .animated-heading {
  text-shadow: 3px 3px 10px rgba(0, 174, 239, 0.7);
  font-weight: 800;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;
  padding-bottom: 15px;
}

.about-section .animated-heading::after,
.developer-section .animated-heading::after,
.affiliate-section .animated-heading::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 25%;
  width: 50%;
  height: 3px;
  background: linear-gradient(to right, var(--primary-color), var(--accent-color));
  border-radius: 3px;
}

.highlight {
  color: var(--accent-color);
  font-weight: 700;
  position: relative;
  display: inline-block;
}

.highlight::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background-color: rgba(247, 148, 30, 0.2);
  z-index: -1;
  transform: translateY(2px);
}

.feature-card {
  border: 1px solid var(--primary-dark);
  background: linear-gradient(135deg, rgba(15, 45, 74, 0.8), rgba(10, 26, 42, 0.9));
  transition: all 0.3s ease;
  padding: 25px 20px;
  border-radius: 15px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: -2px;
  left: -2px;
  right: -2px;
  height: 5px;
  background: linear-gradient(90deg, var(--primary-color), var(--accent-color));
  z-index: -1;
  opacity: 0;
  transition: all 0.3s ease;
}

.feature-card i {
  color: var(--primary-color);
  font-size: 2.5rem;
  margin-bottom: 15px;
  transition: all 0.3s ease;
}

.feature-card:hover {
  box-shadow: 0px 10px 30px rgba(0, 174, 239, 0.3);
  transform: translateY(-7px);
}

.feature-card:hover::before {
  opacity: 1;
}

.feature-card:hover i {
  color: var(--accent-color);
  transform: scale(1.1);
}

.feature-list {
  list-style: none;
  padding-left: 0;
  margin: 25px 0;
}

.feature-list li {
  position: relative;
  padding-left: 30px;
  margin-bottom: 15px;
  font-size: 1.1rem;
  transition: all 0.3s ease;
}

.feature-list li::before {
  content: '✓';
  color: var(--accent-color);
  position: absolute;
  left: 0;
  top: 0;
  font-weight: bold;
  transition: all 0.3s ease;
}

.feature-list li:hover {
  transform: translateX(5px);
}

.feature-list li:hover::before {
  color: var(--primary-color);
  transform: scale(1.2);
}

.cta-button {
  background: linear-gradient(135deg, var(--accent-color), var(--accent-dark));
  color: var(--text-light);
  padding: 12px 30px;
  border-radius: 50px;
  font-weight: 700;
  font-size: 1.1rem;
  border: none;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(247, 148, 30, 0.3);
  position: relative;
  overflow: hidden;
  z-index: 1;
  letter-spacing: 0.5px;
}

.cta-button::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: all 0.5s ease;
  z-index: -1;
}

.cta-button:hover::before {
  left: 100%;
}

.cta-button:hover {
  background: linear-gradient(135deg, var(--accent-light), var(--accent-color));
  transform: translateY(-3px);
  box-shadow: 0 7px 20px rgba(247, 148, 30, 0.4);
}

.cta-button:active {
  transform: translateY(1px);
  box-shadow: 0 3px 10px rgba(247, 148, 30, 0.3);
}

/* Privacy Policy */
.privacy-section h2,
.privacy-section h3 {
  color: var(--primary-color);
}

.privacy-section h3 {
  border-bottom: 2px solid var(--accent-color);
}

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

.privacy-section a:hover {
  color: var(--primary-light);
}

/* Mobile Menu */
.mobile-menu {
  background: var(--bg-dark);
  border-left: 3px solid var(--primary-color);
}

.mobile-menu ul li a {
  color: var(--text-light);
}

.mobile-menu ul li a:hover {
  color: var(--primary-color);
}

/* Alternating accent colors for buttons */
.welcome_cells .BTN_2:nth-child(odd) {
  background: var(--primary-color);
}

.welcome_cells .BTN_2:nth-child(even) {
  background: var(--accent-color);
}

.welcome_cells .BTN_2:nth-child(odd):hover {
  background: var(--primary-light);
}

.welcome_cells .BTN_2:nth-child(even):hover {
  background: var(--accent-light);
}

/* Responsive Adjustments */
@media (max-width: 768px) {
  .game_sec {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (min-width: 768px) and (max-width: 1024px) {
  .game_sec {
    grid-template-columns: repeat(4, 1fr);
  }
}

@media (min-width: 1025px) and (max-width: 1170px) {
  .game_sec {
    grid-template-columns: repeat(5, 1fr);
  }
}