/* Reset and Base Styles */
* {
  box-sizing: border-box;
}

/* Remove default list styles */
ul, ol {
  list-style: none;
  margin: 0;
  padding: 0;
}

li {
  list-style: none;
  margin: 0;
  padding: 0;
}

html {
  height: 100%;
  -webkit-text-size-adjust: 100%;
  -ms-text-size-adjust: 100%;
  scroll-behavior: smooth;
  overflow-x: hidden;
}

body {
  margin: 0;
  padding: 0;
  overflow-x: hidden;
  position: relative;
  width: 100%;
  min-height: 100vh;
  font-family: 'Inter', Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.35;
  color: #000;
  background-color: #ffffff;
  /* Optimize font rendering on mobile */
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
  margin-top: 0;
  margin-bottom: 0;
  font-weight: 700;
}

h1 {
  font-size: 4rem;
  font-weight: 800;
  line-height: 1.1;
  letter-spacing: -1.5px;
}

h2 {
  font-size: 2.25rem;
  font-weight: 800;
  line-height: 1.2;
}

h3 {
  font-size: 1.5rem;
  font-weight: 800;
  line-height: 1.2;
}

p {
  margin-bottom: 0;
}

img {
  max-width: 100%;
  display: inline-block;
  vertical-align: middle;
  image-rendering: auto;
  image-rendering: -webkit-optimize-contrast;
}

/* Layout Components */
.page-wrapper {
  overflow: hidden;
}

.padding-global {
  padding-left: 2.5rem;
  padding-right: 2.5rem;
}

.container-large {
  width: 100%;
  max-width: 83.13rem;
  margin-left: auto;
  margin-right: auto;
}

.container-medium {
  width: 100%;
  max-width: 65.5rem;
  margin-left: auto;
  margin-right: auto;
}

/* Main Content */
.main-wrapper {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
}

/* Enhanced responsive breakpoint system - based on template best practices */

/* Large screens (1200px+) */
@media (min-width: 1200px) {
    .container-large {
        max-width: 85rem;
    }
    
    .padding-global {
        padding-left: 3rem;
        padding-right: 3rem;
    }
}

/* Medium screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .padding-global {
        padding-left: 2.5rem;
        padding-right: 2.5rem;
    }
    
    h1 {
        font-size: 3.5rem;
    }
    
    h2 {
        font-size: 2rem;
    }
    
    h3 {
        font-size: 1.4rem;
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .padding-global {
        padding-left: 2rem;
        padding-right: 2rem;
    }
    
    h1 {
        font-size: 3rem;
        letter-spacing: -1px;
    }
    
    h2 {
        font-size: 1.8rem;
    }
    
    h3 {
        font-size: 1.3rem;
    }
    
    .container-large {
        max-width: 100%;
    }
}

/* Mobile (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .padding-global {
        padding-left: 1.5rem;
        padding-right: 1.5rem;
    }
    
    h1 {
        font-size: 2.5rem;
        letter-spacing: -0.5px;
        line-height: 1.2;
    }
    
    h2 {
        font-size: 1.6rem;
    }
    
    h3 {
        font-size: 1.2rem;
    }
    
    body {
        font-size: 0.9rem;
        line-height: 1.4;
    }
}

/* Small screen phones (below 575px) */
@media (max-width: 575.98px) {
    .padding-global {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    h1 {
        font-size: 2rem;
        letter-spacing: -0.3px;
        line-height: 1.3;
    }
    
    h2 {
        font-size: 1.4rem;
    }
    
    h3 {
        font-size: 1.1rem;
    }
    
    body {
        font-size: 0.85rem;
        line-height: 1.45;
    }
}

/* Maintain backward compatibility */
@media screen and (max-width: 1024px) {
    section {
        padding: 60px 2rem;
    }
}

@media screen and (max-width: 768px) {
    section {
        padding: 50px 1.5rem;
    }
}

@media screen and (max-width: 480px) {
    section {
        padding: 40px 1rem;
    }
}

/* Performance optimization - based on template best practices */
@media (prefers-reduced-motion: reduce) {
    * {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
    
    .scrolling_text_wrapper,
    .gallery_scroll_wrapper,
    .arts_scroll_content {
        animation: none !important;
    }
}

/* High DPI display optimization - based on template best practices */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    .navbar_logo-img,
    .bsc-logo,
    .launch-icon,
    .faq_footer .footer_logo,
    .footer_social_icon {
        image-rendering: -webkit-optimize-contrast;
        image-rendering: crisp-edges;
        image-rendering: optimizeQuality;
    }
    
    .faq_footer .footer_logo {
        width: 52px;
        height: 52px;
    }
    
    .navbar_logo-img {
        width: 36px;
        height: 36px;
    }
}

/* Touch-friendly buttons and links - based on template best practices */
@media (hover: none) and (pointer: coarse) {
    /* Mobile touch optimization */
    button,
    .navbar_link-block,
    .trade_button,
    .copy_button,
    .community_art_button {
        min-height: 44px;
        min-width: 44px;
        padding: 0.75rem 1rem;
    }
    
    .navbar_social-link {
        min-height: 44px;
        min-width: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
    
    /* Remove hover effects to optimize touch experience */
    .navbar_link-block:hover,
    .trade_button:hover,
    .copy_button:hover {
        transform: none;
    }
    
    /* Add touch feedback */
    .navbar_link-block:active,
    .trade_button:active,
    .copy_button:active {
        transform: scale(0.95);
        transition: transform 0.1s ease;
    }
}

/* Accessibility enhancements - based on template best practices */
@media (prefers-contrast: high) {
    .navbar_unified {
        border: 2px solid #fff;
    }
    
    .navbar_link-block {
        border: 1px solid rgba(255, 255, 255, 0.3);
    }
    
    .trade_button {
        border: 2px solid currentColor;
    }
}

/* Landscape optimization */
@media (orientation: landscape) and (max-height: 600px) {
    .header_component {
        padding: 1rem 0;
    }
    
    .navbar_unified {
        padding: 0.5rem 1.5rem;
    }
}

/* Ultrawide screen optimization */
@media (min-width: 1920px) {
    .container-large {
        max-width: 90rem;
    }
    
    .padding-global {
        padding-left: 4rem;
        padding-right: 4rem;
    }
} 

/* --- fullPage.js Navigation Dots Customization --- */

#fp-nav {
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.3s ease;
}

#fp-nav ul li {
    margin: 15px 7px;
}

#fp-nav ul li a {
    width: 20px;
    height: 20px;
}

#fp-nav ul li a span {
    background: rgba(255, 255, 255, 0.4);
    width: 8px;
    height: 8px;
    margin: -4px 0 0 -4px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

#fp-nav ul li a.active span {
    background: #fff;
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.5);
}

#fp-nav ul li:hover a span {
    width: 12px;
    height: 12px;
    margin: -6px 0 0 -6px;
    background: rgba(255, 255, 255, 0.8);
}

#fp-nav ul li .fp-tooltip {
    color: #fff;
    background: rgba(0, 0, 0, 0.7);
    padding: 6px 12px;
    border-radius: 6px;
    font-size: 14px;
    font-weight: 500;
    top: 50%;
    transform: translateY(-50%);
    transition: all 0.2s ease;
    white-space: nowrap;
}

#fp-nav ul li:hover .fp-tooltip {
    opacity: 1;
    transform: translateY(-50%) translateX(-10px);
} 