/*
Modern Softy Pinko - Updated Design
Contemporary color scheme and modern UI elements
*/

/* Modern Color Variables */
:root {
  --primary-color: #6366f1;
  --secondary-color: #8b5cf6;
  --accent-color: #06b6d4;
  --background-color: #f8fafc;
  --text-primary: #1e293b;
  --text-secondary: #64748b;
  --success-color: #10b981;
  --warning-color: #f59e0b;
  --danger-color: #ef4444;
  --white: #ffffff;
  --gradient-primary: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
  --gradient-secondary: linear-gradient(135deg, #06b6d4 0%, #10b981 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.05);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.1), 0 2px 4px -1px rgba(0, 0, 0, 0.06);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.1), 0 4px 6px -2px rgba(0, 0, 0, 0.05);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.1), 0 10px 10px -5px rgba(0, 0, 0, 0.04);
}

/* Font Import */
@import url("https://fonts.googleapis.com/css2?family=Inter:wght@100;200;300;400;500;600;700;800;900&display=swap");

/* Reset */
html, body, div, span, applet, object, iframe, h1, h2, h3, h4, h5, h6, p, blockquote, div
pre, a, abbr, acronym, address, big, cite, code, del, dfn, em, font, img, ins, kbd, q,
s, samp, small, strike, strong, sub, sup, tt, var, b, u, i, center, dl, dt, dd, ol, ul, li,
figure, header, nav, section, article, aside, footer, figcaption {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
}

.clearfix:after {
  content: ".";
  display: block;
  clear: both;
  visibility: hidden;
  line-height: 0;
  height: 0;
}

.clearfix {
  display: inline-block;
}

html[xmlns] .clearfix {
  display: block;
}

* html .clearfix {
  height: 1%;
}

ul, li {
  padding: 0;
  margin: 0;
  list-style: none;
}

header, nav, section, article, aside, footer, hgroup {
  display: block;
}

* {
  box-sizing: border-box;
}

html, body {
  font-family: "Inter", sans-serif;
  font-weight: 400;
  background-color: var(--background-color);
  font-size: 16px;
  -ms-text-size-adjust: 100%;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  color: var(--text-primary);
}

#snow {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 1000;
}

a {
  text-decoration: none !important;
  transition: all 0.3s ease;
}

h1, h2, h3, h4, h5, h6 {
  margin-top: 0px;
  margin-bottom: 0px;
  font-weight: 600;
  color: var(--text-primary);
}

ul {
  margin-bottom: 0px;
}

/* Global Styles */
html,
body {
  background: var(--background-color);
  font-family: "Inter", sans-serif;
}

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

::-moz-selection {
  background: var(--primary-color);
  color: var(--white);
}

.section {
  position: relative;
  padding-top: 100px;
}

.section.colored {
  background: linear-gradient(135deg, #f8fafc 0%, #e2e8f0 100%);
}

.hr {
  bottom: 0px;
  width: 100%;
  height: 1px;
  margin-top: 100px;
  border-bottom: 1px solid #e2e8f0;
}

.left-heading.light .section-title {
  color: var(--white);
}

.left-heading .section-title {
  font-weight: 600;
  font-size: 28px;
  line-height: 42px;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 30px;
  position: relative;
}

.center-heading {
  text-align: center;
}

.center-heading .section-title {
  font-weight: 700;
  font-size: 32px;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  line-height: 38px;
  margin-bottom: 20px;
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.center-heading.colored .section-title {
  color: var(--white);
  -webkit-text-fill-color: var(--white);
}

.center-text {
  text-align: center;
  font-weight: 400;
  font-size: 18px;
  color: var(--text-secondary);
  line-height: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 50px;
}

.center-text.colored {
  color: var(--white);
}

.center-text p {
  font-size: 16px;
  color: var(--text-secondary);
  margin-bottom: -100px;
}

.left-text {
  font-weight: 400;
  font-size: 16px;
  color: var(--text-secondary);
  line-height: 28px;
  letter-spacing: -0.025em;
}

.left-text.light {
  color: var(--white);
}

.left-text p {
  margin-bottom: 30px;
}

.left-text p.dark {
  color: var(--text-primary);
}

/* Modern Button Styles */
a.main-button-slider {
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 28px;
  background: var(--gradient-primary);
  text-transform: none;
  color: var(--white);
  letter-spacing: -0.025em;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

a.main-button-slider:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

a.main-button-slider:active {
  transform: translateY(0);
}

a.main-button {
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 28px;
  background: var(--gradient-secondary);
  text-transform: none;
  color: var(--white);
  letter-spacing: -0.025em;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: none;
  position: relative;
  overflow: hidden;
}

a.main-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

button.main-button {
  outline: none;
  border: none;
  cursor: pointer;
  font-size: 14px;
  font-weight: 600;
  border-radius: 12px;
  padding: 14px 28px;
  background: var(--gradient-primary);
  text-transform: none;
  color: var(--white);
  letter-spacing: -0.025em;
  box-shadow: var(--shadow-lg);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

button.main-button:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-xl);
}

/* Header Styles */
.header-area {
  position: fixed;
  top: 20px;
  left: 0px;
  right: 0px;
  z-index: 100;
  height: 100px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-area .main-nav {
  box-shadow: var(--shadow-xl);
  border-radius: 20px;
  min-height: 80px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.header-area .main-nav .logo {
  float: left;
  margin-top: 37px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  margin-left: 30px;
}

.header-area .main-nav .logo img {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.header-area .main-nav .nav {
  float: right;
  margin-top: 27px;
  margin-left: 0px;
  margin-right: 30px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  z-index: 999;
}

.header-area .main-nav .nav li {
  padding-left: 20px;
  padding-right: 20px;
}

.header-area .main-nav .nav li:last-child {
  padding-right: 0px;
}

.header-area .main-nav .nav li a {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  height: 40px;
  line-height: 40px;
  border: transparent;
  letter-spacing: -0.025em;
  position: relative;
}

.header-area .main-nav .nav li a:hover {
  color: var(--primary-color);
}

.header-area .main-nav .nav li a.active {
  color: var(--primary-color);
}

.header-area .main-nav .nav li a:after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--gradient-primary);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  transform: translateX(-50%);
}

.header-area .main-nav .nav li a:hover:after,
.header-area .main-nav .nav li a.active:after {
  width: 100%;
}

/* Welcome Area */
.welcome-area {
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  background: var(--gradient-primary);
  height: 100vh;
  background-attachment: fixed;
}

.welcome-area:before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url(../images/modern-earning-banner.png) center center/cover;
  opacity: 0.1;
  z-index: 1;
}

.welcome-area .header-text {
  position: absolute;
  top: 50%;
  transform: translateY(-55%);
  text-align: center;
  width: 100%;
  z-index: 2;
}

.welcome-area .header-text h1 {
  font-weight: 700;
  font-size: 48px;
  line-height: 54px;
  letter-spacing: -0.025em;
  margin-bottom: 30px;
  color: var(--white);
  text-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
}

.welcome-area .header-text p {
  font-weight: 400;
  font-size: 18px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 28px;
  letter-spacing: -0.025em;
  margin-bottom: 40px;
  position: relative;
}

/* Features */
.features-small-item {
  cursor: pointer;
  display: block;
  background: var(--white);
  box-shadow: var(--shadow-lg);
  border-radius: 20px;
  padding: 40px 30px;
  text-align: center;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  margin-bottom: 30px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.features-small-item:hover {
  transform: translateY(-8px);
  box-shadow: var(--shadow-xl);
}

.features-small-item:hover .icon {
  background: var(--gradient-secondary);
  transform: scale(1.1);
}

.features-small-item .icon {
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  width: 90px;
  height: 90px;
  line-height: 90px;
  margin: auto;
  position: relative;
  margin-bottom: 30px;
  background: var(--gradient-primary);
  border-radius: 50%;
  box-shadow: var(--shadow-md);
}

.features-small-item .icon i {
  font-size: 24px;
  color: var(--white);
}

.features-small-item .features-title {
  font-weight: 600;
  font-size: 20px;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 15px;
  position: relative;
  z-index: 2;
}

.features-small-item p {
  font-weight: 400;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: -0.025em;
  line-height: 25px;
  position: relative;
  z-index: 2;
}

.home-feature {
  padding-bottom: 0px;
  padding-top: 30px;
  margin-top: -220px;
  z-index: 9;
}

/* Mini Section */
.mini {
  min-height: 215px;
  overflow: hidden;
  position: relative;
  padding-top: 90px;
  padding-bottom: 90px;
}

.mini:before {
  content: '';
  position: absolute;
  width: 140%;
  height: 140%;
  opacity: 0.95;
  background: var(--gradient-primary);
  z-index: 2;
  top: -20%;
  left: -20%;
}

.mini .mini-content {
  position: relative;
  z-index: 3;
}

.mini .mini-content .info {
  text-align: center;
  color: var(--white);
  padding-top: 20px;
  padding-bottom: 20px;
}

.mini .mini-content .info h1 {
  color: var(--white);
  font-weight: 700;
  font-size: 32px;
  letter-spacing: -0.025em;
  margin-bottom: 30px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.mini .mini-content .info p {
  letter-spacing: -0.025em;
  margin-bottom: 40px;
  color: rgba(255, 255, 255, 0.9);
  line-height: 26px;
  font-weight: 400;
  font-size: 16px;
}

.mini .mini-content .mini-box {
  display: block;
  background: var(--white);
  padding: 30px 20px;
  border-radius: 20px;
  box-shadow: var(--shadow-xl);
  margin-bottom: 30px;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  text-align: center;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.mini .mini-content .mini-box:hover {
  transform: translateY(-10px);
}

.mini .mini-content .mini-box i {
  display: block;
  font-size: 24px;
  margin-bottom: 15px;
  color: var(--primary-color);
}

.mini .mini-content .mini-box span {
  display: block;
  font-weight: 500;
  font-size: 14px;
  color: var(--text-secondary);
  letter-spacing: -0.025em;
}

.mini .mini-content .mini-box strong {
  display: block;
  font-weight: 600;
  font-size: 18px;
  color: var(--text-primary);
  letter-spacing: -0.025em;
  margin-bottom: 5px;
  margin-top: 20px;
}

/* Responsive Design */
@media (max-width: 991px) {
  html, body {
    overflow-x: hidden;
  }
  
  .welcome-area .header-text h1 {
    font-size: 32px;
    line-height: 40px;
  }
  
  .welcome-area .header-text p {
    font-size: 16px;
  }
  
  .center-heading .section-title {
    font-size: 28px;
  }
  
  .home-feature {
    padding-bottom: 0px;
    padding-top: 0px;
    margin-top: 0px;
  }
}

@media (max-width: 768px) {
  .welcome-area .header-text h1 {
    font-size: 28px;
    line-height: 36px;
  }
  
  .features-small-item {
    padding: 30px 20px;
  }
  
  .mini .mini-content .mini-box {
    padding: 25px 15px;
  }
}

/* Additional Modern Elements */
.glass-effect {
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.gradient-text {
  background: var(--gradient-primary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.modern-card {
  background: var(--white);
  border-radius: 20px;
  box-shadow: var(--shadow-lg);
  border: 1px solid rgba(255, 255, 255, 0.1);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.modern-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-xl);
}

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

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

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

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

