* {
  margin: 0; padding: 0; box-sizing: border-box;
}
body, html {
  height: 100%;
  background: linear-gradient(135deg, #1b0036, #431a78);
  overflow: hidden;
  font-family: 'Arial', sans-serif;
}
#particles-canvas {
  position: fixed;
  top:0; left:0; width:100%; height:100%;
  pointer-events:none;
  z-index: 0;
}
.start-screen {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.9);
  color: white;
  display: flex; flex-direction: column; justify-content: center; align-items: center;
  z-index: 1000;
  padding: 40px;
  text-align: center;
}
.start-screen h1 {
  font-size: 2.5em; margin-bottom: 20px; color: #FFD700;
}
.start-screen p {
  font-size: 1.2em; margin-bottom: 40px; max-width: 600px;
}
.start-screen button {
  padding: 15px 30px;
  font-size: 1.1em;
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: white;
  border: none;
  border-radius: 30px;
  cursor: pointer;
}
.game-container {
  position: relative;
  height: 100vh;
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1;
}
.card-arena {
  position: relative;
  width: 100%;
  max-width: 700px;
  height: 450px;
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: visible;
}
.card {
  position: absolute;
  width: 130px;
  height: 190px;
  background: #2c003e;
  border-radius: 15px;
  box-shadow:
    0 0 15px #c88cff,
    0 0 25px #a76eff,
    inset 0 0 20px #6b29ac;
  display: flex;
  justify-content: center;
  align-items: center;
  color: white;
  font-size: 4em;
  font-weight: bold;
  cursor: pointer;
  user-select: none;
  transition: box-shadow 0.3s ease;
}
.card:hover {
  box-shadow:
    0 0 25px #e0baff,
    0 0 35px #c18fff,
    inset 0 0 30px #8249c3;
  transform: scale(1.1);
}
.controls {
  margin-top: 20px;
  z-index: 2;
}
.controls button {
  padding: 12px 24px;
  border: none;
  background: linear-gradient(45deg, #ff6b6b, #ff5252);
  color: white;
  font-size: 1.1em;
  border-radius: 30px;
  cursor: pointer;
}
.card-modal {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  background: rgba(0,0,0,0.95);
  display: none;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  z-index: 1001;
  text-align: center;
  padding: 20px;
}
.card-modal img {
  max-width: 90vw;
  max-height: 70vh;
  border-radius: 20px;
  margin-bottom: 20px;
  box-shadow: 0 0 40px #a76eff;
}
.card-modal h3 {
  color: #FFD700;
  font-size: 1.8em;
  margin-bottom: 10px;
}
.card-modal p {
  color: #fff;
  font-size: 1.2em;
  max-width: 600px;
  margin-bottom: 20px;
}
.card-modal button {
  padding: 10px 20px;
  border: none;
  background: linear-gradient(45deg, #4CAF50, #45a049);
  color: white;
  border-radius: 30px;
  font-size: 1em;
  cursor: pointer;
}
