/*
Theme Name: Shitcoin Simulator
Author: WidgetWheel.com
Version: 1.0
Description: A fully functional interactive trading simulator built with AI.
*/

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@700&family=Press+Start+2P&family=Rajdhani:wght@600&display=swap');

:root {
  --green: #00ff00;
  --white: #ffffff;
  --pink: #ff33cc;
  --silver: #c0c0c0;
  --neon-yellow: #ffff00;
  --neon-blue: #00e5ff;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html, body {
  font-family: 'Segoe UI', sans-serif;
  color: #fff;
  background: url('/wp-content/themes/promptifi-core/assets/assets/shit-coin-shimulator-background.png?v=2') center center / cover no-repeat fixed;
  width: 100%;
  min-height: 100vh;
  overflow-x: hidden;
  padding-top: 140px;
  -webkit-text-size-adjust: none;
  text-size-adjust: none;
}

canvas {
  width: 100% !important;
  height: auto !important;
  display: block;
}

/* Header */
.shitcoin-header {
  width: 100%;
  padding: 2rem 1rem;
  background-color: rgba(10, 10, 10, 0.9);
  border: 4px double var(--pink);
  box-shadow: 0 0 25px var(--pink);
  text-align: center;
  position: fixed;
  top: 0;
  left: 0;
  z-index: 1000;
  animation: strobeHeader 2s infinite;
}

.shitcoin-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 2.6rem;
  color: var(--pink);
  text-shadow: 0 0 10px var(--pink), 0 0 20px var(--pink);
}

.shitcoin-subtitle {
  font-family: 'Rajdhani', sans-serif;
  font-size: 2rem;
  color: var(--silver);
  text-shadow: 0 0 10px var(--silver), 0 0 20px var(--silver);
  position: absolute;
  left: -100%;
  top: 75%;
  transform: translateY(-50%);
  white-space: nowrap;
  animation: swipeIn 2s forwards 1.5s;
}

@keyframes strobeHeader {
  0%, 17%, 19%, 21%, 23%, 25%, 100% { opacity: 1; }
  18%, 20%, 22%, 24% { opacity: 0.2; }
}

@keyframes swipeIn {
  0% { left: -100%; }
  100% { left: 50%; transform: translateX(-50%) translateY(-50%); }
}

/* Description Section */
.shitcoin-description {
  max-width: 900px;
  margin: 20px auto;
  padding: 20px;
  background-color: rgba(0, 0, 0, 0.85);
  border: 3px double var(--pink);
  border-radius: 14px;
  box-shadow: 0 0 20px #ff33cc88;
  font-family: 'Rajdhani', sans-serif;
  color: var(--pink);
  line-height: 1.6;
  font-size: 1rem;
  opacity: 0;
  transform: translateY(40px);
  animation: fadeInUp 1.5s ease-out forwards;
  text-align: center;
}

.description-title {
  font-family: 'Orbitron', sans-serif;
  font-size: 1.5rem;
  color: #ffffff;
  text-shadow: 0 0 10px #ffffff, 0 0 20px #ffffff;
  margin-bottom: 15px;
  text-align: center;
}

@keyframes fadeInUp {
  0% { opacity: 0; transform: translateY(40px); }
  100% { opacity: 1; transform: translateY(0); }
}

/* Home Button */
.home-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  font-size: 1.2rem;
  padding: 1rem 2rem;
  margin: 2rem auto 0;
  font-weight: bold;
  border-radius: 10px;
  border: 3px solid var(--neon-yellow);
  background: var(--neon-blue);
  color: #0e1a2b;
  box-shadow: 0 0 20px var(--neon-yellow);
  text-decoration: none;
  transition: all 0.3s ease;
}
.home-button:hover {
  background: var(--neon-yellow);
  color: #000;
  box-shadow: 0 0 35px var(--neon-blue);
}
.home-button span.emoji {
  font-size: 2rem;
  line-height: 1;
}

/* Button Grid */
.button-container {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  width: 100%;
  max-width: 960px;
  margin: 0 auto 20px auto;
  justify-items: center;
  padding: 0 10px;
}

@media (max-width: 768px) {
  .button-container {
    grid-template-columns: repeat(3, 1fr);
  }
}

/* Coin Buttons */
.coin-button {
  width: 100%;
  max-width: 140px;
  height: 100px;
  border: none;
  border-radius: 12px;
  font-weight: bold;
  font-size: 0.9rem;
  color: #111;
  background: #fff;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease;
  box-shadow: 0 0 6px rgba(0, 0, 0, 0.2);
  position: relative;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
}

.coin-button .emoji {
  font-size: 2rem;
  line-height: 1;
  margin-bottom: 4px;
}

.coin-button:hover {
  transform: scale(1.08);
  filter: brightness(1.1);
  box-shadow: 0 0 10px white;
}

.coin-button:focus {
  outline: none;
}

.coin-button.strobe {
  animation: strobe-effect 0.4s ease-in-out 1;
}

@keyframes strobe-effect {
  0%, 100% {
    box-shadow: 0 0 10px white, 0 0 20px white;
  }
  50% {
    box-shadow: 0 0 25px white, 0 0 45px white;
  }
}

/* Chart Widget */
.widget-container {
  width: 100%;
  max-width: 960px;
  margin: 0 auto 20px auto;
  background: #111;
  border: 4px solid #333;
  border-radius: 12px;
  overflow: hidden;
  display: flex;
  flex-wrap: wrap;
}

.chart-side {
  width: 100px;
  background: #0e0e0e;
  border-right: 2px solid #333;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  font-size: 0.8rem;
  padding: 10px 0;
}

.chart-main {
  flex: 1;
  position: relative;
  min-width: 0;
}

/* Money Tracker */
.money-tracker {
  background: #111;
  padding: 15px 25px;
  border-radius: 10px;
  font-size: 1.2rem;
  font-weight: bold;
  margin: 0 auto 10px auto;
  border: 2px solid #333;
  box-shadow: 0 0 10px #00f6ff88;
  text-align: center;
  width: fit-content;
}

/* Buy/Sell Controls */
.buy-buttons, .sell-buttons {
  display: flex;
  justify-content: center;
  gap: 10px;
  flex-wrap: nowrap;
  margin: 10px auto;
  max-width: 960px;
  padding: 0 10px;
}

.buy-button, .sell-button {
  flex: 1 1 auto;
  min-width: 60px;
  max-width: 120px;
  height: 42px;
  border-radius: 10px;
  font-weight: bold;
  font-size: 0.8rem;
  cursor: pointer;
  transition: 0.3s ease;
  border: 2px solid #333;
}

.buy-button {
  background: linear-gradient(145deg, #0f3, #0b2);
  color: #000;
  box-shadow: 0 0 5px #0f3;
}

.sell-button {
  background: linear-gradient(145deg, #f33, #b22);
  color: #fff;
  box-shadow: 0 0 5px #f33;
}

.buy-button:hover:enabled {
  box-shadow: 0 0 15px #0f6, 0 0 30px #0f6;
  transform: scale(1.05);
}

.sell-button:hover:enabled {
  box-shadow: 0 0 15px #f66, 0 0 30px #f66;
  transform: scale(1.05);
}

.buy-button:disabled,
.sell-button:disabled {
  background: #333;
  color: #666;
  box-shadow: none;
  cursor: not-allowed;
}

/* Responsive */
@media (max-width: 768px) {
  .shitcoin-title {
    font-size: 2rem;
  }

  .shitcoin-subtitle {
    font-size: 1rem;
  }

  .description-title {
    font-size: 1.2rem;
  }

  .coin-button {
    max-width: 100px;
    height: 80px;
    font-size: 0.8rem;
  }

  .coin-button .emoji {
    font-size: 1.6rem;
  }

  .money-tracker {
    font-size: 1rem;
  }

  .buy-button, .sell-button {
    font-size: 0.7rem;
    padding: 0.4rem 0.5rem;
  }
} 
