/* Image Showcase Styles */
.image-showcase {
  margin: 15px 0;
  width: 100%;
}

.image-container {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 15px;
  margin-top: 10px;
}

.image-wrapper {
  text-align: center;
  background: rgba(255, 221, 198, 0.1);
  padding: 10px;
  border-radius: 8px;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
  transition: all 0.3s ease;
  max-width: 220px;
  width: 100%;
  box-sizing: border-box;
}

.image-wrapper:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 12px rgba(0, 0, 0, 0.25);
  background: rgba(255, 221, 198, 0.15);
}

.image-wrapper a {
  display: block;
  text-decoration: none;
  color: inherit;
}

.showcase-image {
  width: 180px;
  height: 100px;
  border-radius: 6px;
  border: 1px solid var(--russet);
  transition: transform 0.2s ease;
  display: block;
  margin: 0 auto;
  object-fit: cover;
  object-position: center;
}

.image-wrapper:hover .showcase-image {
  transform: scale(1.02);
}

.image-caption {
  margin-top: 8px;
  color: var(--apricot);
  font-size: 0.9em;
  opacity: 0.9;
  transition: color 0.2s ease;
}

.image-wrapper:hover .image-caption {
  color: #fff;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .image-container {
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
  
  .image-wrapper {
    max-width: 100%;
    padding: 8px;
  }
  
  .showcase-image {
    width: 160px;
    height: 90px;
  }
}

/* Color Variables */
:root {
  --licorice: #1E1412;
  --russet: #974E2A;
  --night: #0D0F0F;
  --apricot: #FFDDC6;
  --murrey: #790A3D;
  --text-light: #FFDDC6;
  --text-dark: #1E1412;
}

/* Base Styles */
html, body {
  height: 100%;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

body {
  background: 
    radial-gradient(ellipse at 50% 0%, rgba(121, 10, 61, 0.2) 0%, transparent 70%),
    linear-gradient(145deg, 
      var(--night) 0%, 
      var(--murrey) 100%
    ) fixed;
  background-attachment: fixed;
  background-size: 100% 100%, cover;
  font-family: 'Segoe UI', sans-serif;
  color: var(--text-light);
  position: relative;
  overflow: auto;
  -webkit-overflow-scrolling: touch;
  line-height: 1.6;
  min-height: 100vh;
}

/* Floating Shapes Animation */
.floating-shape {
  position: fixed;
  width: 12px;
  height: 12px;
  background: rgba(255, 200, 180, 0.8);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  will-change: transform, opacity;
  backface-visibility: hidden;
  transform: translateZ(0);
  transform-origin: center center;
  animation: float 6s ease-out forwards;
  opacity: 0;
  animation-fill-mode: both;
  box-shadow: 0 0 15px 2px rgba(255, 180, 200, 0.5);
  /* Optimize for performance */
  contain: layout style paint;
  transform-style: preserve-3d;
}

@keyframes float {
  0% {
    transform: translate3d(-50%, -50%, 0) scale(0.3);
    opacity: 0.9;
    filter: blur(0.5px);
  }
  50% {
    opacity: 0.8;
    filter: blur(1px);
  }
  100% {
    transform: translate3d(
      calc(-50% + var(--random-x, 0)), 
      calc(-50% + var(--random-y, 0)), 
      0
    ) scale(0.8);
    opacity: 0;
    filter: blur(3px);
  }
}

/* BetaBrowser Button */
.beta-browser-container {
  text-align: center;
  margin: 30px 0;
}

.beta-browser-btn {
  display: inline-block;
  padding: 15px 40px;
  background: linear-gradient(145deg, #790A3D, #5C0830);
  color: var(--text-light);
  text-decoration: none;
  font-size: 1.5em;
  font-weight: bold;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(121, 10, 61, 0.4);
  text-transform: uppercase;
  letter-spacing: 1px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

.beta-browser-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 6px 20px rgba(121, 10, 61, 0.6);
  background: linear-gradient(145deg, #8a0c45, #6b0937);
}

.beta-browser-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(121, 10, 61, 0.6);
}

.beta-browser-btn::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
  transform: translateX(-100%);
  transition: transform 0.6s ease;
  z-index: -1;
}

.beta-browser-btn:hover::after {
  transform: translateX(100%);
}

/* Optimize for reduced motion */
@media (prefers-reduced-motion: reduce) {
  .floating-shape {
    animation: none;
    display: none;
  }
}

/* Container */
.container {
  position: relative;
  z-index: 1;
  width: 70%;
  min-width: 320px;
  max-width: 900px;
  min-height: calc(100vh - 80px);
  margin: 40px auto;
  background: rgba(13, 15, 15, 0.8);
  border: 1px solid var(--russet);
  border-radius: 15px;
  padding: 35px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
  text-align: center;
  overflow-y: auto;
  box-sizing: border-box;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
}

@media (max-width: 1024px) {
  .container {
    width: 85%;
    padding: 30px;
  }
}

@media (max-width: 768px) {
  .container {
    width: 90%;
    margin: 20px auto;
    min-height: calc(100vh - 40px);
    padding: 25px 20px;
  }
}

/* Header Styles */
.header-container {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 20px;
}

.profile-pic {
  width: 300px;
  height: auto;
  object-fit: contain;
  border: none;
  border-radius: 0;
}

.header-text {
  flex: 1;
}

/* Payment Icons */
.payment-icons {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 15px;
  margin-top: 15px;
  width: 100%;
  max-width: 100%;
  box-sizing: border-box;
  align-items: center;
  justify-content: center;
}

.payment-link {
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.3s ease;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 12px;
  padding: 15px;
  aspect-ratio: 1;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.payment-link:hover {
  transform: translateY(-3px) scale(1.03);
  filter: brightness(1.2) drop-shadow(0 5px 15px rgba(255, 150, 200, 0.3));
  background: rgba(255, 255, 255, 0.1);
}

.payment-icon {
  width: 80%;
  height: auto;
  max-height: 80px;
  object-fit: contain;
  filter: grayscale(20%) brightness(1.1);
  transition: all 0.3s ease;
}

.payment-link:hover .payment-icon {
  filter: grayscale(0%) brightness(1.3);
}

/* Typography */
h1 {
  font-size: 2.8em;
  margin-bottom: 0;
  color: var(--apricot);
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
  letter-spacing: 1px;
}

h2, h3 {
  color: var(--apricot);
  margin-top: 0;
}

.subtitle {
  font-size: 1.1em;
  color: var(--russet);
  margin-top: 5px;
  margin-bottom: 25px;
  font-weight: 500;
  letter-spacing: 1px;
}

/* Angled Divider */
.angle-divider {
  position: relative;
  width: 100%;
  max-width: 100vw;
  margin: 40px 0;
  height: 60px;
  overflow: hidden;
  background: transparent;
  border: none;
}

.angle-divider::before {
  content: '';
  position: absolute;
  top: 0;
  left: -50%;
  right: -50%;
  height: 100%;
  transform: rotate(-5deg);
  transform-origin: center;
}

.angle-line {
  position: absolute;
  height: 2px;
  width: 200%;
  left: -50%;
  background: var(--russet);
  opacity: 1;
  box-shadow: 0 0 4px rgba(0,0,0,0.2);
  transform: rotate(-5deg);
  transform-origin: center;
}

.angle-line:first-child {
  top: 30%;
}

.angle-line:last-child {
  top: 70%;
}

@keyframes wave {
  0% {
    transform: scaleX(1);
  }
  50% {
    transform: scaleX(1.05);
  }
  100% {
    transform: scaleX(1);
  }
}

/* Standard HR */
hr {
  border: none;
  border-top: 1px solid var(--russet);
  margin: 25px 0;
  opacity: 0.3;
}

/* Section Layout */
.sections-container {
  display: flex;
  gap: 20px;
  width: 100%;
  align-items: stretch;
  margin: 25px 0;
}

.main-section, .quarter-section {
  flex: 1 1 50%;
  min-width: 0;
  display: flex;
  flex-direction: column;
  box-sizing: border-box;
  width: 100%;
}

/* Section styles */
.section {
  width: 100%;
  margin: 0;
  padding: 20px;
  background: rgba(30, 20, 18, 0.5);
  border: 1px solid var(--russet);
  border-radius: 12px;
  transition: all 0.3s ease;
  box-sizing: border-box;
  flex: 1;
  display: flex;
  flex-direction: column;
  height: 100%;
}

/* Links in quarter section */
.quarter-section .link {
  display: block;
  margin: 10px 0;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 6px;
  transition: all 0.3s ease;
}

.quarter-section .link:hover {
  background: rgba(255, 255, 255, 0.1);
  transform: translateX(5px);
}

/* Wheel Buttons */
.wheel-buttons {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin: 15px 0;
}

.wheel-buttons button {
  background: var(--murrey);
  color: var(--apricot);
  border: 1px solid var(--russet);
  margin: 4px;
  padding: 10px 18px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 0.9em;
}

.wheel-buttons button:hover {
  background: var(--russet);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Links */
.link {
  display: inline-block;
  margin-top: 12px;
  color: var(--apricot);
  text-decoration: none;
  font-weight: 500;
  padding: 6px 12px;
  border-radius: 15px;
  transition: all 0.3s ease;
  border: 1px solid transparent;
}

.link:hover {
  color: var(--russet);
  background: rgba(255, 221, 198, 0.1);
  text-decoration: none;
  border-color: var(--russet);
}

/* Content Layout */
#slider-container {
  width: 100%;
  margin: 25px 0;
  overflow: hidden; /* Clear the float */
}

#first {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding-right: 10px; /* Add some spacing between columns */
}

#second {
  width: 50%;
  float: left;
  box-sizing: border-box;
  padding-left: 10px; /* Add some spacing between columns */
}

#clear {
  clear: both;
}

.column h3 {
  color: var(--russet);
  margin-bottom: 15px;
  font-size: 1.3em;
}

/* Image Placeholder */
.image-placeholder {
  background: rgba(30, 20, 18, 0.6);
  height: 200px;
  border-radius: 10px;
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  border: 1px solid var(--russet);
  overflow: hidden;
  transition: transform 0.3s ease;
}

.image-placeholder:hover {
  transform: translateY(-3px);
}

/* Loader Animation */
.loader {
  border: 4px solid rgba(255, 221, 198, 0.1);
  border-top: 4px solid var(--russet);
  border-radius: 50%;
  width: 30px;
  height: 30px;
  animation: spin 1s linear infinite;
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

/* Footer Buttons */
.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 12px;
  margin-top: 30px;
  flex-wrap: wrap;
}

.footer-buttons button {
  background: var(--murrey);
  color: var(--apricot);
  border: 1px solid var(--russet);
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  min-width: 120px;
}

.footer-buttons button:hover {
  background: var(--russet);
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Image Slider Styles */
.slider-container {
  position: relative;
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  aspect-ratio: 1 / 1; /* Makes container square */
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

.slider {
  display: flex;
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
  height: 100%;
  width: 100%;
  will-change: transform;
  backface-visibility: hidden;
  transform-style: preserve-3d;
}

.slider.sliding {
  transition: transform 0.8s cubic-bezier(0.4, 0, 0.2, 1);
}

.slide {
  min-width: 100%;
  min-height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.8s ease, transform 0.8s ease;
  transform: scale(0.95);
  will-change: opacity, transform;
  backface-visibility: hidden;
}

.slide {
  position: absolute;
  width: 100%;
  height: 100%;
  min-height: 300px;
  top: 0;
  left: 0;
  opacity: 0;
  transition: opacity 0.5s ease-in-out;
  display: none;
}

.slide.active {
  width: 30%;
  opacity: 1;
  display: block;
  position: relative;
}

.slide-loading {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--text-color);
  font-size: 1.2rem;
  background: rgba(0, 0, 0, 0.5);
  padding: 10px 20px;
  border-radius: 20px;
  backdrop-filter: blur(5px);
}

.slide img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.05);
  /* Smooth scaling and rendering */
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  /* Prevent image distortion */
  max-width: 100%;
  max-height: 100%;
  /* Center the image */
  margin: 0 auto;
  display: block;
  /* Hardware acceleration */
  transform: translateZ(0);
  will-change: transform, opacity;
}

.slider-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background-color: rgba(0, 0, 0, 0.5);
  color: white;
  border: none;
  padding: 15px 10px;
  cursor: pointer;
  font-size: 18px;
  border-radius: 4px;
  transition: background-color 0.3s;
  z-index: 10;
}

.slider-nav:hover {
  background-color: var(--russet);
}

.slider-nav.prev {
  left: 10px;
}

.slider-nav.next {
  right: 10px;
}

/* Responsive adjustments */
/* Default styles (for larger screens) */
.content-section {
  display: block;
  gap: 20px;
  justify-content: space-between;
  margin: 25px 0;
  width: 100%;
}

.column {
  min-width: 0;
  display: block;
  width: 50%;
}

.slider-container {
  width: 100%;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
  aspect-ratio: 1 / 1;
  background: rgba(0, 0, 0, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Mobile styles */
@media (max-width: 768px) {
  .content-section {
    flex-direction: column;
    align-items: center;
    gap: 30px;
  }
  
  .column {
    width: 100%;
    max-width: 400px;
    margin-bottom: 0;
  }
  
  .slider-container {
    max-width: 100%;
    height: auto;
  }
  
  .slider {
    height: 100%;
  }
  
  .slider-nav {
    padding: 12px 8px;
    font-size: 16px;
  }
}

/* Simple Popup Styles */
.popup {
  display: none; /* Hidden by default */
}

.popup.show {
  display: block; /* Show when toggled */
}

.popup-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: rgba(13, 15, 15, 0.95);
  border: 1px solid var(--russet);
  border-radius: 15px;
  padding: 2rem;
  width: 90%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.5);
  z-index: 2000;
}

/* Prevent horizontal scrollbar */
html, body {
  max-width: 100%;
  overflow-x: hidden;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 15px;
  font-size: 24px;
  cursor: pointer;
  color: var(--light-color, #FFDDC6);
  transition: color 0.2s;
}

.close-btn:hover {
  color: var(--russet);
}

.crypto-address {
  margin: 1.5rem 0;
  padding: 1rem;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 4px;
  word-break: break-all;
  font-family: monospace;
  color: var(--light-color, #FFDDC6);
}

.copy-btn {
  background: var(--russet);
  color: white;
  border: none;
  padding: 0.5rem 1rem;
  border-radius: 4px;
  cursor: pointer;
  font-size: 1rem;
  transition: background-color 0.2s;
  width: 100%;
}

.copy-btn:hover {
  background: var(--murrey);
}

.copy-btn.copied {
  background: #4CAF50;
}

/* Make crypto links look clickable */
.crypto-link {
  cursor: pointer;
  transition: transform 0.2s;
  display: flex;
  justify-content: center;
  align-items: center;
}

.crypto-link:hover {
  transform: scale(1.05);
}

/* Footer Buttons */
.payment-icons {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin: 20px 0;
  flex-wrap: wrap;
}

.footer-buttons {
  display: flex;
  justify-content: center;
  gap: 15px;
  margin: 25px 0;
  flex-wrap: wrap;
}

/* Payment links styles */
.payment-link {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
  transition: all 0.3s ease;
  border-radius: 50%;
}

.payment-icon {
  width: 80px;
  height: 80px;
  object-fit: contain;
  transition: transform 0.3s ease;
}

/* Throne link highlight effect */
a[href*="throne.com"] {
  position: relative;
  animation: pulse 2s infinite;
  background-color: rgba(255, 234, 114, 0.4);
}

a[href*="throne.com"]:hover .payment-icon {
  transform: scale(1.1);
}

a[href*="throne.com"]:hover {
  background: rgba(255, 215, 0, 0.2);
  box-shadow: 0 0 15px rgba(255, 215, 0, 0.4);
}

@keyframes pulse {
  0% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0.4);
  }
  70% {
    box-shadow: 0 0 0 10px rgba(255, 215, 0, 0);
  }
  100% {
    box-shadow: 0 0 0 0 rgba(255, 215, 0, 0);
  }
}

.footer-buttons button {
  background: var(--murrey);
  color: var(--apricot);
  border: 1px solid var(--russet);
  padding: 10px 20px;
  border-radius: 20px;
  cursor: pointer;
  font-weight: 500;
  transition: all 0.3s ease;
  font-size: 1em;
  min-width: 180px;
}

.footer-buttons button:hover {
  background: var(--russet);
  transform: translateY(-2px);
  box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

/* Popup Text Styles */
.popup-text {
  color: var(--apricot);
  line-height: 1.6;
  margin: 15px 0;
}

.popup-text p {
  margin-bottom: 10px;
}

.popup-text strong {
  color: var(--russet);
  font-weight: 600;
}

.popup h3 {
  color: var(--russet);
  margin-top: 0;
  font-size: 1.5em;
  border-bottom: 1px solid var(--russet);
  padding-bottom: 10px;
  margin-bottom: 15px;
}

/* Responsive adjustments for popups */
@media (max-width: 600px) {
  .popup-content {
    width: 90%;
    padding: 1.5rem;
  }
  
  .footer-buttons {
    flex-direction: column;
    align-items: center;
  }
  
  .footer-buttons button {
    width: 100%;
    max-width: 250px;
  }
}


/* Risky Link */
.risky-link-container {
  margin: 30px 0;
  padding: 0 20px;
}

.risky-link-btn {
  display: block;
  width: 100%;
  padding: 20px;
  text-align: center;
  font-size: 1.5em;
  background: linear-gradient(145deg, #ffd700, #ffa500);
  color: white;
  text-decoration: none;
  border-radius: 8px;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
  box-sizing: border-box;
  border: none;
  cursor: pointer;
}

.risky-link-btn h3 {
  margin: 0 0 10px 0;
  color: #3a2c00;  /* Dark brown for better contrast */
  font-size: 1em;
  font-weight: bold;
  text-shadow: none;
}

.risky-link-btn p {
  margin: 0;
  font-size: 0.8em;
  color: #5c4a1a;  /* Slightly lighter brown for subtext */
  text-shadow: none;
  font-weight: 500;
}

.risky-link-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(255, 215, 0, 0.4);
  background: linear-gradient(145deg, #ffdf00, #ffb700);
}

.risky-link-btn:active {
  transform: translateY(1px);
  box-shadow: 0 2px 10px rgba(255, 215, 0, 0.4);
}