/* About Section Basic Styles */
.section_about {
  position: relative;
  width: 100%;
  min-height: 100vh;
  background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
  color: #ffffff;
  overflow: hidden;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 0;
}

/* Scrolling text section - based on template best practices */
.scrolling_text_section {
  position: relative;
  width: 100%;
  height: 60px;
  overflow: hidden;
  background: rgba(255, 255, 255, 0.05);
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  z-index: 2;
}

.scrolling_text_section.scrolling_text_top {
  position: absolute;
  top: 0;
  left: 0;
}

.scrolling_text_section.scrolling_text_bottom {
  position: absolute;
  bottom: 0;
  left: 0;
}

.scrolling_text_container {
  width: 100%;
  height: 100%;
  position: relative;
  overflow: hidden;
}

.scrolling_text_wrapper {
  display: flex;
  align-items: center;
  height: 100%;
  white-space: nowrap;
  will-change: transform;
}

.scrolling_text {
  font-size: 1rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.8);
  letter-spacing: 1px;
  text-transform: uppercase;
  white-space: nowrap;
  padding-right: 2rem;
}

/* Main content area */
.about_container {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  padding: 120px 0 80px;
  position: relative;
  z-index: 3;
}

.about_main_row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 4rem;
  width: 100%;
  max-width: 1200px;
  margin-bottom: 4rem;
}

.about_image {
  flex: 0 0 auto;
  width: 400px;
  height: auto;
  border-radius: 20px;
  overflow: hidden;
  transition: all 0.3s ease;
  display: flex;
}

.about_image:hover {
  transform: translateY(-5px);
}

.about_mascot {
  width: 100%;
  height: auto;
  border-radius: 20px;
}

.about_content {
  flex: 1;
  max-width: 600px;
  text-align: left;
}

.about_title {
  font-size: 3.5rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 2rem;
  line-height: 1.1;
  letter-spacing: -1px;
  text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.about_description {
  font-size: 1.25rem;
  font-weight: 400;
  color: rgba(255, 255, 255, 0.9);
  line-height: 1.6;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.2);
}

.about_description:last-child {
  margin-bottom: 0;
}

/* Contract address section */
.contract_row {
  width: 100%;
  max-width: 1000px;
  margin-bottom: 3rem;
  text-align: center;
}

.contract_title {
  font-size: 2rem;
  font-weight: 700;
  color: #ffffff;
  margin-bottom: 1.5rem;
  text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.3);
}

.contract_address {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2rem;
  margin: 0 auto;
  max-width: 600px;
  transition: all 0.3s ease;
}

.contract_address:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.2);
}

.address_text {
  font-family: 'Courier New', monospace;
  font-size: 1.1rem;
  font-weight: 600;
  color: #ffffff;
  letter-spacing: 0.5px;
  word-break: break-all;
  flex: 1;
  text-align: center;
}

.copy_button {
  background: rgba(255, 255, 255, 0.2);
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 50%;
  width: 44px;
  height: 44px;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  color: #ffffff;
  flex-shrink: 0;
}

.copy_button:hover {
  background: rgba(255, 255, 255, 0.3);
  transform: scale(1.05);
}

.copy_button:active {
  transform: scale(0.95);
}

.copy_button svg {
  width: 18px;
  height: 18px;
  color: currentColor;
}

/* Trade buttons section */
.trade_buttons {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1.5rem;
  width: 100%;
  max-width: 1000px;
}

.trade_button {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1rem;
  padding: 1.5rem 2rem;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(15px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 1.5rem;
  color: #ffffff;
  text-decoration: none;
  font-size: 1.1rem;
  font-weight: 600;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  min-height: 70px;
}

.trade_button:hover {
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
  color: #ffffff;
}

.trade_button img {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex-shrink: 0;
}

.trade_button span {
  font-weight: 600;
  text-align: center;
}

/* Responsive design - based on template best practices */

/* Large screens (1200px+) */
@media (min-width: 1200px) {
    .about_container {
        padding: 140px 0 100px;
    }
    
    .about_main_row {
        gap: 5rem;
        margin-bottom: 5rem;
    }
    
    .about_image {
        width: 450px;
        height: 450px;
    }
    
    .about_title {
        font-size: 4rem;
    }
    
    .about_description {
        font-size: 1.4rem;
    }
    
    .contract_title {
        font-size: 2.5rem;
    }
    
    .trade_buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 2rem;
    }
}

/* Medium screens (992px - 1199px) */
@media (min-width: 992px) and (max-width: 1199.98px) {
    .about_container {
        padding: 120px 0 80px;
    }
    
    .about_main_row {
        gap: 3.5rem;
        margin-bottom: 3.5rem;
    }
    
    .about_image {
        width: 350px;
        height: 350px;
    }
    
    .about_title {
        font-size: 3.2rem;
    }
    
    .about_description {
        font-size: 1.2rem;
    }
    
    .trade_buttons {
        grid-template-columns: repeat(2, 1fr);
    }
}

/* Tablets (768px - 991px) */
@media (min-width: 768px) and (max-width: 991.98px) {
    .about_container {
        padding: 100px 2rem 60px;
    }
    
    .about_main_row {
        flex-direction: column;
        gap: 2.5rem;
        margin-bottom: 3rem;
        text-align: center;
    }
    
    .about_image {
        width: 300px;
        height: 300px;
        margin: 0 auto;
    }
    
    .about_content {
        max-width: 100%;
        text-align: center;
    }
    
    .about_title {
        font-size: 2.8rem;
        margin-bottom: 1.5rem;
    }
    
    .about_description {
        font-size: 1.1rem;
        margin-bottom: 1.25rem;
    }
    
    .contract_title {
        font-size: 1.8rem;
    }
    
    .contract_address {
        padding: 1.25rem 1.5rem;
        max-width: 100%;
        flex-direction: column;
        gap: 1rem;
    }
    
    .address_text {
        font-size: 1rem;
        word-break: break-all;
    }
    
    .trade_buttons {
        grid-template-columns: 1fr;
        gap: 1.25rem;
    }
    
    .scrolling_text_section {
        height: 50px;
    }
    
    .scrolling_text {
        font-size: 0.9rem;
    }
}

/* Mobile (576px - 767px) */
@media (min-width: 576px) and (max-width: 767.98px) {
    .about_container {
        padding: 80px 1.5rem 50px;
    }
    
    .about_main_row {
        flex-direction: column;
        gap: 2rem;
        margin-bottom: 2.5rem;
        text-align: center;
    }
    
    .about_image {
        width: 250px;
        height: 250px;
        border-radius: 15px;
    }
    
    .about_mascot {
        border-radius: 15px;
    }
    
    .about_title {
        font-size: 2.4rem;
        margin-bottom: 1.25rem;
        letter-spacing: -0.5px;
    }
    
    .about_description {
        font-size: 1rem;
        margin-bottom: 1rem;
        line-height: 1.5;
    }
    
    .contract_title {
        font-size: 1.6rem;
        margin-bottom: 1.25rem;
    }
    
    .contract_address {
        padding: 1rem 1.25rem;
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 1.5rem;
    }
    
    .address_text {
        font-size: 0.9rem;
        line-height: 1.4;
    }
    
    .copy_button {
        width: 40px;
        height: 40px;
    }
    
    .copy_button svg {
        width: 16px;
        height: 16px;
    }
    
    .trade_buttons {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .trade_button {
        padding: 1.25rem 1.5rem;
        font-size: 1rem;
        min-height: 60px;
    }
    
    .trade_button img {
        width: 28px;
        height: 28px;
    }
    
    .scrolling_text_section {
        height: 45px;
    }
    
    .scrolling_text {
        font-size: 0.85rem;
    }
}

/* Small screen phones (below 575px) */
@media (max-width: 575.98px) {
    .about_container {
        padding: 60px 1rem 40px;
    }
    
    .about_main_row {
        flex-direction: column;
        gap: 1.5rem;
        margin-bottom: 2rem;
        text-align: center;
    }
    
    .about_image {
        width: 200px;
        height: 200px;
        border-radius: 12px;
        margin: 0 auto;
    }
    
    .about_mascot {
        border-radius: 12px;
    }
    
    .about_title {
        font-size: 2rem;
        margin-bottom: 1rem;
        letter-spacing: -0.3px;
        line-height: 1.2;
    }
    
    .about_description {
        font-size: 0.9rem;
        margin-bottom: 0.875rem;
        line-height: 1.6;
        padding: 0 0.5rem;
    }
    
    .contract_title {
        font-size: 1.4rem;
        margin-bottom: 1rem;
    }
    
    .contract_address {
        padding: 0.875rem 1rem;
        flex-direction: column;
        gap: 0.75rem;
        border-radius: 1.25rem;
        margin: 0 1rem;
    }
    
    .address_text {
        font-size: 0.8rem;
        line-height: 1.5;
        letter-spacing: 0.3px;
    }
    
    .copy_button {
        width: 36px;
        height: 36px;
        align-self: center;
    }
    
    .copy_button svg {
        width: 14px;
        height: 14px;
    }
    
    .trade_buttons {
        grid-template-columns: 1fr;
        gap: 0.875rem;
        padding: 0 0.5rem;
    }
    
    .trade_button {
        padding: 1rem 1.25rem;
        font-size: 0.9rem;
        min-height: 56px;
        border-radius: 1.25rem;
    }
    
    .trade_button img {
        width: 24px;
        height: 24px;
    }
    
    .trade_button span {
        font-size: 0.9rem;
    }
    
    .scrolling_text_section {
        height: 40px;
    }
    
    .scrolling_text {
        font-size: 0.75rem;
        letter-spacing: 0.5px;
    }
}

/* Extra-small screens (below 400px) */
@media (max-width: 400px) {
    .about_title {
        font-size: 1.8rem;
    }
    
    .about_description {
        font-size: 0.85rem;
    }
    
    .contract_title {
        font-size: 1.2rem;
    }
    
    .address_text {
        font-size: 0.75rem;
    }
    
    .trade_button {
        padding: 0.875rem 1rem;
        font-size: 0.85rem;
        min-height: 52px;
    }
    
    .trade_button img {
        width: 20px;
        height: 20px;
    }
}

/* Landscape mode optimization */
@media (orientation: landscape) and (max-height: 600px) {
    .about_container {
        padding: 40px 1rem 30px;
    }
    
    .about_main_row {
        flex-direction: row;
        gap: 2rem;
        margin-bottom: 1.5rem;
    }
    
    .about_image {
        width: 200px;
        height: 200px;
    }
    
    .about_title {
        font-size: 1.8rem;
        margin-bottom: 0.75rem;
    }
    
    .about_description {
        font-size: 0.9rem;
        margin-bottom: 0.5rem;
    }
    
    .contract_title {
        font-size: 1.3rem;
        margin-bottom: 0.75rem;
    }
    
    .trade_buttons {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.75rem;
    }
    
    .trade_button {
        padding: 0.75rem 1rem;
        min-height: 48px;
    }
    
    .scrolling_text_section {
        height: 35px;
    }
}

/* Touch device optimization */
@media (hover: none) and (pointer: coarse) {
    .copy_button,
    .trade_button {
        min-height: 44px;
        min-width: 44px;
    }
    
    .about_image:hover {
        transform: none;
        box-shadow: none;
    }
    
    .contract_address:hover,
    .trade_button:hover {
        transform: none;
        box-shadow: none;
    }
    
    .copy_button:hover {
        transform: none;
        background: rgba(255, 255, 255, 0.2);
    }
    
    /* Add touch feedback */
    .copy_button:active {
        background: rgba(255, 255, 255, 0.4);
        transform: scale(0.95);
    }
    
    .trade_button:active {
        background: rgba(255, 255, 255, 0.25);
        transform: scale(0.98);
    }
    
    .about_image:active {
        transform: scale(0.99);
    }
}

/* High contrast mode */
@media (prefers-contrast: high) {
    .contract_address,
    .trade_button {
        border: 2px solid rgba(255, 255, 255, 0.8);
        background: rgba(0, 0, 0, 0.8);
    }
    
    .copy_button {
        border: 2px solid rgba(255, 255, 255, 0.8);
        background: rgba(255, 255, 255, 0.2);
    }
    
    .scrolling_text_section {
        border-top: 2px solid rgba(255, 255, 255, 0.5);
        border-bottom: 2px solid rgba(255, 255, 255, 0.5);
    }
}

/* Reduced motion preference */
@media (prefers-reduced-motion: reduce) {
    .scrolling_text_wrapper,
    .scrolling_text_wrapper.scrolling_text_reverse {
        animation: none;
    }
    
    .scrolling_text {
        transform: translateX(0);
    }
    
    .about_image,
    .contract_address,
    .trade_button,
    .copy_button {
        transition: none;
    }
    
    .about_image:hover,
    .trade_button:hover,
    .copy_button:hover {
        transform: none;
    }
}

/* Reduced data preference */
@media (prefers-reduced-data: reduce) {
    .about_mascot {
        background: linear-gradient(135deg, #333, #555);
    }
    
    .about_image {
        background: rgba(255, 255, 255, 0.1);
    }
} 