/* MyExovik.art - Modern Redesign CSS Stylesheet */
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&family=Montserrat:wght@400;500;600;700&display=swap');

:root {
  /* Main theme colors - modern dark and teal theme */
  --primary-color: #00b4d8;
  --primary-dark: #0096c7;
  --secondary-color: #caf0f8;
  --accent-color: #03045e;
  --dark-bg: #121212;
  --dark-surface: #1e1e1e;
  --light-surface: #f8f9fa;
  --white: #ffffff;
  --off-white: #f5f5f5;
  --gray-100: #f8f9fa;
  --gray-200: #e9ecef;
  --gray-300: #dee2e6;
  --gray-400: #ced4da;
  --gray-500: #adb5bd;
  --gray-600: #6c757d;
  --gray-700: #495057;
  --gray-800: #343a40;
  --gray-900: #212529;
  --shadow-color: rgba(0, 180, 216, 0.2);
  --shadow-hover: rgba(0, 180, 216, 0.4);
  --gradient-primary: linear-gradient(135deg, #00b4d8 0%, #03045e 100%);
  --gradient-overlay: linear-gradient(rgba(3, 4, 94, 0.8), rgba(0, 150, 199, 0.6));
  --border-radius-sm: 6px;
  --border-radius-md: 12px;
  --border-radius-lg: 18px;
  --transition: all 0.3s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  font-family: 'Outfit', sans-serif;
  color: var(--gray-800);
  line-height: 1.6;
  background-color: var(--white);
  overflow-x: hidden;
}

h1, h2, h3, h4, h5 {
  font-family: 'Montserrat', sans-serif;
  font-weight: 700;
  line-height: 1.2;
  color: var(--gray-900);
}

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

a:hover {
  color: var(--primary-dark);
}

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

img {
  max-width: 100%;
  height: auto;
}

/* Buttons */
.btn {
  display: inline-block;
  padding: 12px 24px;
  border-radius: var(--border-radius-md);
  font-family: 'Montserrat', sans-serif;
  font-weight: 600;
  text-align: center;
  cursor: pointer;
  transition: var(--transition);
  border: none;
  font-size: 1rem;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.btn-primary {
  background-color: var(--primary-color);
  color: var(--white);
}

.btn-primary:hover {
  background-color: var(--primary-dark);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

.btn-secondary {
  background-color: transparent;
  color: var(--primary-color);
  border: 2px solid var(--primary-color);
}

.btn-secondary:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-3px);
  box-shadow: 0 6px 15px rgba(0, 0, 0, 0.15);
}

/* Header & Navigation */
header {
  background-color: var(--white);
  position: fixed;
  width: 100%;
  top: 0;
  z-index: 1000;
  transition: var(--transition);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.05);
}

header.floating {
  background-color: rgba(255, 255, 255, 0.98);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
}

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

.logo {
  display: flex;
  align-items: center;
  gap: 12px;
}

.logo-text {
  font-family: 'Montserrat', sans-serif;
  font-size: 1.5rem;
  font-weight: 700;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  letter-spacing: 0.5px;
}

.logo-img {
  height: 42px;
  filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.1));
}

.nav-menu {
  display: flex;
  gap: 25px;
  list-style: none;
}

.nav-link {
  font-weight: 500;
  font-size: 1.05rem;
  padding: 8px 15px;
  border-radius: var(--border-radius-md);
  transition: var(--transition);
  position: relative;
  color: var(--gray-700);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: var(--transition);
}

.nav-link:hover {
  color: var(--primary-color);
}

.nav-link:hover::after {
  width: 80%;
  left: 10%;
}

.mobile-menu-toggle {
  display: none;
  background: none;
  border: none;
  font-size: 1.5rem;
  cursor: pointer;
  color: var(--primary-color);
}

/* Hero section */
.hero {
  position: relative;
  padding: 180px 0 120px;
  background: var(--gradient-overlay), url('bg.svg'); /* Updated to use bg.svg */
  background-size: cover;
  background-position: center;
  color: var(--white);
  text-align: center;
  overflow: hidden;
}

.hero::before {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 100%;
  height: 100px;
  background: linear-gradient(to top, var(--white) 30%, transparent);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  max-width: 800px;
  margin: 0 auto;
}

.hero h1 {
  font-size: 3.5rem;
  margin-bottom: 20px;
  color: var(--white);
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
  animation: fadeInDown 1s ease-out;
}

.hero p {
  font-size: 1.25rem;
  margin-bottom: 30px;
  color: var(--white);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
  animation: fadeInUp 1s ease-out;
}

@keyframes fadeInDown {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

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

/* Disclaimer section */
.disclaimer-section {
  padding: 70px 0;
  background-color: var(--gray-100);
}

.disclaimer-box {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  text-align: center;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  border-top: 4px solid var(--primary-color);
  border-bottom: 4px solid var(--accent-color);
}

.disclaimer-box h2 {
  margin-bottom: 20px;
  font-size: 2.2rem;
  color: var(--accent-color);
}

.disclaimer-box p {
  font-size: 1.1rem;
  color: var(--gray-700);
  margin-bottom: 15px;
}

/* Game section */
.game-section {
  padding: 80px 0;
  background: linear-gradient(45deg, var(--gray-100) 0%, var(--white) 100%);
}

.game-container {
  max-width: 1100px;
  margin: 0 auto;
}

.game-header {
  text-align: center;
  margin-bottom: 40px;
}

.game-header h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.game-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.game-content {
  position: relative;
  margin-bottom: 40px;
}

.game-iframe {
  width: 100%;
  height: 650px;
  border: none;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
  transition: transform 0.4s ease, box-shadow 0.4s ease;
  overflow: hidden;
}

.game-iframe:hover {
  transform: translateY(-5px);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.2);
}

.game-action {
  display: flex;
  justify-content: center;
  margin-top: 30px;
}

.game-description {
  background-color: var(--white);
  padding: 30px;
  border-radius: var(--border-radius-lg);
  margin-top: 50px;
  box-shadow: 0 8px 30px rgba(0, 0, 0, 0.1);
  position: relative;
}

.game-description::before {
  content: '';
  position: absolute;
  top: -15px;
  left: 50px;
  width: 30px;
  height: 30px;
  background-color: var(--white);
  transform: rotate(45deg);
  box-shadow: -5px -5px 10px rgba(0, 0, 0, 0.05);
}

.game-description h3 {
  color: var(--accent-color);
  margin-bottom: 15px;
  font-size: 1.8rem;
}

.game-description p {
  color: var(--gray-700);
  margin-bottom: 15px;
}

/* About Section */
.about-section {
  padding: 90px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.about-section::before {
  content: '';
  position: absolute;
  width: 200px;
  height: 200px;
  background-color: var(--secondary-color);
  opacity: 0.5;
  border-radius: 50%;
  top: -100px;
  right: -100px;
  z-index: 0;
}

.about-container {
  display: flex;
  align-items: center;
  gap: 60px;
}

.about-text {
  flex: 1;
  z-index: 1;
}

.about-text h2 {
  color: var(--accent-color);
  margin-bottom: 25px;
  font-size: 2.5rem;
}

.about-text p {
  color: var(--gray-700);
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.about-image {
  flex: 1;
  position: relative;
  z-index: 1;
}

.about-image img {
  width: 70%; /* Reduced size */
  height: auto;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
  transform: rotate(2deg);
  transition: var(--transition);
}

.about-image::before {
  content: ''; /* Removed border */
  position: absolute;
  width: 100%;
  height: 100%;
  border-radius: var(--border-radius-lg);
  top: 15px;
  left: 15px;
  z-index: -1;
}

.about-image:hover img {
  transform: rotate(0);
}

/* Features section */
.features-section {
  padding: 90px 0;
  background: linear-gradient(45deg, var(--gray-100) 0%, var(--white) 100%);
  position: relative;
}

.features-header {
  text-align: center;
  margin-bottom: 60px;
}

.features-header h2 {
  font-size: 2.5rem;
  color: var(--accent-color);
  margin-bottom: 15px;
}

.features-header p {
  color: var(--gray-600);
  font-size: 1.1rem;
  max-width: 700px;
  margin: 0 auto;
}

.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 40px;
}

.feature-card {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px 30px;
  text-align: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.08);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.feature-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.feature-card:hover {
  transform: translateY(-10px);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.15);
}

.feature-icon {
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background-color: var(--secondary-color);
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto 25px;
  font-size: 2rem;
  color: var(--accent-color);
}

.feature-card h3 {
  margin-bottom: 15px;
  color: var(--accent-color);
  font-size: 1.5rem;
}

.feature-card p {
  color: var(--gray-700);
}

/* Contact Form */
.contact-section {
  padding: 90px 0;
  background-color: var(--white);
  position: relative;
  overflow: hidden;
}

.contact-container {
  display: flex;
  gap: 60px;
}

.contact-info {
  flex: 1;
}

.contact-info h2 {
  color: var(--accent-color);
  margin-bottom: 25px;
  font-size: 2.5rem;
}

.contact-info p {
  color: var(--gray-700);
  margin-bottom: 20px;
  font-size: 1.05rem;
}

.contact-details {
  margin-top: 40px;
}

.contact-item {
  display: flex;
  align-items: center;
  margin-bottom: 20px;
  gap: 15px;
}

.contact-item i {
  width: 40px;
  height: 40px;
  background-color: var(--secondary-color);
  border-radius: 50%;
  display: flex;
  justify-content: center;
  align-items: center;
  color: var(--primary-dark);
}

.contact-form {
  flex: 1;
  background-color: var(--white);
  padding: 40px;
  border-radius: var(--border-radius-lg);
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  position: relative;
  z-index: 1;
}

.contact-form::before {
  content: '';
  position: absolute;
  width: 100%;
  height: 100%;
  background-color: var(--primary-color);
  opacity: 0.05;
  top: 20px;
  left: 20px;
  border-radius: var(--border-radius-lg);
  z-index: -1;
}

.contact-form h3 {
  color: var(--accent-color);
  margin-bottom: 25px;
  font-size: 1.8rem;
}

.form-group {
  margin-bottom: 25px;
}

.form-control {
  width: 100%;
  padding: 15px;
  font-family: 'Outfit', sans-serif;
  font-size: 1rem;
  border: 2px solid var(--gray-300);
  border-radius: var(--border-radius-md);
  transition: var(--transition);
  background-color: var(--gray-100);
  color: var(--gray-800);
}

.form-control:focus {
  outline: none;
  border-color: var(--primary-color);
  box-shadow: 0 0 0 3px var(--shadow-color);
  background-color: var(--white);
}

.form-label {
  display: block;
  margin-bottom: 10px;
  font-weight: 500;
  color: var(--gray-800);
}

textarea.form-control {
  min-height: 150px;
  resize: vertical;
}

/* Popup Disclaimer */
.disclaimer-popup {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background-color: rgba(0, 0, 0, 0.85);
  display: none;
  justify-content: center;
  align-items: center;
  z-index: 2000;
  -webkit-backdrop-filter: blur(5px);
  backdrop-filter: blur(5px);
}

.disclaimer-popup.show {
  display: flex;
  animation: fadeIn 0.4s ease-out;
}

.disclaimer-popup-content {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 40px;
  width: 90%;
  max-width: 550px;
  text-align: center;
  box-shadow: 0 25px 50px rgba(0, 0, 0, 0.3);
  animation: scaleIn 0.4s ease-out;
  border-top: 5px solid var(--primary-color);
  position: relative;
  overflow: hidden;
}

.disclaimer-popup-content::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes scaleIn {
  from {
    opacity: 0;
    transform: scale(0.95);
  }
  to {
    opacity: 1;
    transform: scale(1);
  }
}

.disclaimer-popup-content h3 {
  color: var(--accent-color);
  margin-bottom: 25px;
  font-size: 2rem;
}

.disclaimer-popup-content p {
  margin-bottom: 20px;
  color: var(--gray-700);
  font-size: 1.05rem;
}

.popup-buttons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-top: 30px;
}

/* Legal content styling */
.legal-content {
  padding: 80px 0;
  background-color: var(--gray-100);
}

.legal-box {
  background-color: var(--white);
  border-radius: var(--border-radius-lg);
  padding: 50px;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.1);
  border-top: 5px solid var(--primary-color);
}

.legal-box h2 {
  color: var(--accent-color);
  margin-bottom: 30px;
  font-size: 2.5rem;
}

.legal-box h3 {
  color: var(--primary-dark);
  margin: 35px 0 15px;
  font-size: 1.6rem;
}

.legal-box p, .legal-box ul {
  color: var(--gray-700);
  margin-bottom: 20px;
  line-height: 1.7;
}

.legal-box ul {
  padding-left: 20px;
}

.legal-box ul li {
  margin-bottom: 10px;
}

.legal-box a {
  color: var(--primary-color);
  font-weight: 500;
}

.legal-box a:hover {
  text-decoration: underline;
}

/* Footer */
footer {
  background-color: var(--accent-color);
  color: var(--white);
  position: relative;
  overflow: hidden;
}

footer::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 5px;
  background: var(--gradient-primary);
}

.footer-container {
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 60px;
  padding-top: 70px;
}

.footer-column h3 {
  color: var(--white);
  margin-bottom: 25px;
  font-size: 1.5rem;
  position: relative;
}

.footer-column h3::after {
  content: '';
  position: absolute;
  bottom: -10px;
  left: 0;
  width: 40px;
  height: 3px;
  background-color: var(--primary-color);
}

.footer-column p {
  margin-bottom: 20px;
  color: var(--gray-300);
  line-height: 1.7;
}

.footer-social {
  display: flex;
  gap: 15px;
}

.social-icon {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 40px;
  height: 40px;
  background-color: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
  color: var(--white);
  transition: var(--transition);
}

.social-icon:hover {
  background-color: var(--primary-color);
  color: var(--white);
  transform: translateY(-5px);
}

.footer-links {
  list-style: none;
}

.footer-link:not(:last-child) {
  margin-bottom: 15px;
}

.footer-link a {
  color: var(--gray-300);
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 8px;
}

.footer-link a::before {
  content: '→';
  font-size: 1.1rem;
  opacity: 0;
  transform: translateX(-10px);
  transition: var(--transition);
}

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

.footer-link a:hover::before {
  opacity: 1;
  transform: translateX(0);
}

.footer-disclaimer {
  background-color: rgba(0, 0, 0, 0.2);
  padding: 25px 0;
  margin-top: 60px;
  text-align: center;
}

.footer-disclaimer p {
  color: var(--gray-300);
}

.footer-bottom {
  background-color: rgba(0, 0, 0, 0.3);
  padding: 20px 0;
  text-align: center;
  font-size: 0.9rem;
  color: var(--gray-400);
}

/* Media Queries */
@media (max-width: 992px) {
  .hero h1 {
    font-size: 2.8rem;
  }
  
  .features-grid {
    grid-template-columns: repeat(2, 1fr);
  }
  
  .about-container {
    flex-direction: column-reverse;
    gap: 40px;
  }
  
  .about-image::before {
    top: 10px;
    left: 10px;
  }
  
  .footer-container {
    grid-template-columns: 1fr 1fr;
  }
  
  .game-iframe {
    height: 550px;
  }
}

@media (max-width: 768px) {
  .mobile-menu-toggle {
    display: block;
  }
  
  .header-content {
    padding: 15px 0;
  }
  
  nav {
    position: relative;
  }
  
  .nav-menu {
    position: absolute;
    top: 100%;
    right: 0;
    width: 250px;
    flex-direction: column;
    background-color: var(--white);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    border-radius: var(--border-radius-lg);
    padding: 20px;
    gap: 15px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
    transition: var(--transition);
  }
  
  .nav-menu.active {
    opacity: 1;
    visibility: visible;
    transform: translateY(10px);
  }
  
  .hero {
    padding: 150px 0 80px;
  }
  
  .hero h1 {
    font-size: 2.5rem;
  }
  
  .hero p {
    font-size: 1.1rem;
  }
  
  .disclaimer-box {
    padding: 30px 20px;
  }
  
  .contact-container {
    flex-direction: column;
    gap: 40px;
  }
  
  .features-grid {
    grid-template-columns: 1fr;
    gap: 30px;
  }
  
  .footer-container {
    grid-template-columns: 1fr;
    gap: 40px;
    padding-top: 50px;
  }
  
  .game-iframe {
    height: 450px;
  }
  
  .game-description::before {
    display: none;
  }
  
  .legal-box {
    padding: 30px 20px;
  }
}

@media (max-width: 576px) {
  .hero h1 {
    font-size: 2rem;
  }
  
  .hero p {
    font-size: 1rem;
  }
  
  .disclaimer-popup-content {
    padding: 30px 20px;
  }
  
  .popup-buttons {
    flex-direction: column;
    gap: 15px;
  }
  
  .game-iframe {
    height: 350px;
  }
  
  .legal-box h2 {
    font-size: 2rem;
  }
  
  .legal-box h3 {
    font-size: 1.4rem;
  }
}