/* SollyCoin Main Styles */
html, body {
    width: 100vw;
    height: 100vh;
    margin: 0; 
    padding: 0;
    overflow: hidden; 
    background: #000;
    font-family: 'Open Sans', Arial, sans-serif !important;
}

/* Verwijder driehoek cursor indicators in Chapter 2 */
.html-drop-zone,
.html-drop-zone::before,
.html-drop-zone::after {
    cursor: none !important;
}

.html-drop-zone::before,
.html-drop-zone::after {
    content: none !important;
    display: none !important;
}

/* Three.js Canvas Styling */
canvas {
    /* position: absolute !important; */
    position: relative;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
    z-index: 1000 !important;
    pointer-events: auto !important;
    display: block !important;
    
}

#three-canvas, canvas {
    /* position: absolute !important; */
    position: relative;
    z-index: 1000 !important;
    pointer-events: auto !important;
    top: 0 !important;
    left: 0 !important;
    width: 100vw !important;
    height: 100vh !important;
}

/* Start Screen */
#startscreen {
    position: fixed;
    top: 0; 
    left: 0; 
    width: 100vw; 
    height: 100vh;
    background: radial-gradient(ellipse at center, #fffbe6 0%, #ffe066 30%, #ffd700 60%, #1a237e 100%);
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    justify-content: center;
    z-index: 10000;
}

#startscreen h1 { 
    font-size: 3em; 
    color: #8A2BE2; 
    margin-bottom: 0.5em; 
}

#start-btn {
    font-size: 1.4em; 
    padding: 0.5em 1.8em; 
    border-radius: 12px;
    background: linear-gradient(90deg, #FFD700 0%, #8A2BE2 100%);
    color: #232346; 
    border: none; 
    cursor: pointer; 
    font-weight: bold;
    box-shadow: 0 4px 20px #8A2BE288;
    transition: background 0.2s, color 0.2s, transform 0.15s;
}

#start-btn:hover { 
    background: linear-gradient(90deg, #8A2BE2 0%, #FFD700 100%); 
    color: #fff; 
}

/* CTA Buttons */
.cta-btn {
    background: #232346;
    border: none;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex; 
    align-items: center; 
    justify-content: center;
    box-shadow: 0 0 0 3px #8e24aa88, 0 0 18px 5px #8e24aa99;
    transition: box-shadow 0.2s, transform 0.15s;
    cursor: pointer;
    z-index: 10020;
    outline: none; 
    position: relative;
    margin: 0;
    padding: 3px; /* passend bij kleinere knop */
}

.cta-btn:hover { 
    box-shadow: 0 0 0 8px #FFD70088, 0 0 32px 10px #8e24aaee;
    transform: scale(1.08);
}

/* Vergroot de iconen binnen de CTA-buttons */
.cta-btn svg {
    width: 36px;
    height: 36px;
}

/* Override zodat CTA-knoppen klikbaar zijn */
#cta-info, #cta-instructies, #cta-personaliseer {
    pointer-events: auto !important;
}

/* Vergrote CTA-knoppen */
#cta-buttons .cta-btn {
    width: 80px !important;
    height: 80px !important;
    font-size: 48px !important;
    line-height: 1 !important;
    pointer-events: auto !important;
}
#cta-buttons .cta-btn svg {
    width: 48px !important;
    height: 48px !important;
}

/* Star Wars Intro */
/* Sollyverse Intro Screen */
.solly-intro-modal {
    position: fixed;
    left: 0; top: 0;
    width: 100vw; height: 100vh;
    background: #000;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Courier New', monospace;
    overflow: hidden;
}

.solly-intro-modal canvas {
    position: absolute !important;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 0 !important;
    pointer-events: none !important;
}

.intro-nebula {
    position: absolute;
    border-radius: 50%;
    filter: blur(80px);
    pointer-events: none;
    z-index: 1;
}
.intro-nebula-1 { width: 600px; height: 600px; background: #4B0082; opacity: 0.12; top: -100px; left: -100px; }
.intro-nebula-2 { width: 500px; height: 500px; background: #003366; opacity: 0.12; bottom: -100px; right: -100px; }
.intro-nebula-3 { width: 300px; height: 300px; background: #FFD700; opacity: 0.06; top: 40%; left: 60%; }

.intro-planet {
    position: absolute;
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}
.intro-planet-1 {
    width: 120px; height: 120px;
    background: radial-gradient(circle at 35% 35%, #7B3FBE, #1a0033);
    top: 8%; right: 12%;
    box-shadow: 0 0 40px rgba(123,63,190,0.3);
    animation: intro-float 8s ease-in-out infinite;
}
.intro-planet-2 {
    width: 60px; height: 60px;
    background: radial-gradient(circle at 35% 35%, #FFD700, #8B6000);
    bottom: 15%; left: 8%;
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
    animation: intro-float 12s ease-in-out infinite reverse;
}
.intro-planet-3 {
    width: 40px; height: 40px;
    background: radial-gradient(circle at 35% 35%, #4488ff, #001144);
    top: 60%; right: 6%;
    box-shadow: 0 0 15px rgba(68,136,255,0.2);
    animation: intro-float 10s ease-in-out 2s infinite;
}

@keyframes intro-float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-20px); }
}

.intro-content {
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
    padding: 40px 20px;
}

.intro-solly-triangle {
    width: 0; height: 0;
    border-left: 18px solid transparent;
    border-right: 18px solid transparent;
    border-bottom: 32px solid #FFD700;
    margin-bottom: 20px;
    filter: drop-shadow(0 0 12px #FFD700);
    animation: intro-fadein-down 1s ease forwards, intro-pulse 3s ease-in-out 1s infinite;
}

@keyframes intro-pulse {
    0%, 100% { filter: drop-shadow(0 0 8px #FFD700); }
    50% { filter: drop-shadow(0 0 24px #FFD700) drop-shadow(0 0 40px rgba(255,215,0,0.4)); }
}

.intro-title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    font-weight: 900;
    letter-spacing: 0.3em;
    text-transform: uppercase;
    color: #fff;
    text-shadow: 0 0 30px rgba(255,215,0,0.4);
    margin-bottom: 6px;
    font-family: 'Open Sans', monospace;
    animation: intro-fadein-down 1s ease 0.2s both;
}

.intro-subtitle {
    font-size: clamp(0.7rem, 1.5vw, 0.9rem);
    letter-spacing: 0.5em;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    margin-bottom: 48px;
    animation: intro-fadein-down 1s ease 0.4s both;
}

.intro-levels {
    display: flex;
    flex-direction: column;
    gap: 2px;
    width: 100%;
    max-width: 560px;
    margin-bottom: 48px;
    animation: intro-fadein-up 1s ease 0.7s both;
}

.intro-level-row {
    display: grid;
    grid-template-columns: 36px 160px 1fr;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-left: 2px solid transparent;
    transition: all 0.3s ease;
}

.intro-level-row:hover {
    border-left-color: #FFD700;
    background: rgba(255,215,0,0.04);
}

.intro-level-num {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.3);
    letter-spacing: 0.2em;
    text-transform: uppercase;
}

.intro-level-name {
    font-size: 1.1rem;
    font-weight: 700;
    letter-spacing: 0.15em;
    color: #FFD700;
    text-transform: uppercase;
    font-family: 'Open Sans', monospace;
}

.intro-level-desc {
    font-size: 0.95rem;
    color: rgba(255,255,255,0.5);
    letter-spacing: 0.05em;
    line-height: 1.4;
}

.intro-divider {
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.1), transparent);
}

.intro-begin-btn {
    animation: intro-fadein-up 1s ease 1.2s both;
    background: transparent;
    border: 1px solid rgba(255,215,0,0.5);
    color: #FFD700;
    font-family: 'Courier New', monospace;
    font-size: 0.8rem;
    letter-spacing: 0.4em;
    text-transform: uppercase;
    padding: 14px 48px;
    cursor: pointer;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.intro-begin-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: rgba(255,215,0,0.1);
    transform: translateX(-100%);
    transition: transform 0.3s ease;
}

.intro-begin-btn:hover {
    border-color: #FFD700;
    color: #fff;
    box-shadow: 0 0 20px rgba(255,215,0,0.2);
}

.intro-begin-btn:hover::before {
    transform: translateX(0);
}

.intro-hint {
    position: absolute;
    bottom: 24px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 0.65rem;
    letter-spacing: 0.3em;
    color: rgba(255,255,255,0.2);
    text-transform: uppercase;
    animation: intro-fadein-up 1s ease 1.8s both;
    white-space: nowrap;
}

@keyframes intro-fadein-down {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes intro-fadein-up {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Solly Level Indicator */
#solly-level-indicator {
    display: none; 
    position: fixed; 
    left: 0; 
    top: 0; 
    padding: 32px 48px 16px 32px; 
    color: #fff; 
    font-size: 1.5em; 
    z-index: 100; 
    pointer-events: none; 
    text-shadow: 0 2px 8px #000, 0 0 2px #FFD700;
}

/* Import File Styling */
#import-file {
    display: none;
}

#import-error {
    color: #c00; 
    font-weight: bold; 
    margin-top: 10px; 
    display: none;
}

/* Import Label Styling */
label[for="import-file"] {
    margin-top: 18px; 
    font-size: 1.1em; 
    background: #8A2BE2; 
    color: #fff; 
    border: none; 
    border-radius: 12px; 
    padding: 12px 32px; 
    box-shadow: 0 2px 12px #8A2BE288; 
    cursor: pointer; 
    display: inline-block;
}

/* Start Button Margin */
#start-btn {
    margin-top: 24px;
}

/* Info Box Styling */
.info-box {
    max-width: 480px; 
    margin: 0 auto; 
    color: #232346; 
    background: #fffbe6cc; 
    border-radius: 16px; 
    padding: 24px 32px; 
    box-shadow: 0 2px 12px #FFD70044;
}

.info-box h2 {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: bold;
    font-size: 1.4em;
    margin: 0 0 12px 0;
    color: #232346;
}

.info-box p {
    font-family: "Helvetica Neue", Helvetica, Arial, sans-serif;
    font-weight: normal;
    font-size: 1.1em;
    line-height: 1.5;
    margin: 0;
    color: #232346;
}

#drop-pane-overlay {
    position: fixed;
    top: 50%;
    left: -60%; /* 60% van de cirkel buiten beeld */
    width: 220px;
    height: 220px;
    background: #8e24aa;
    border-radius: 50%;
    box-shadow: 0 0 48px 16px #ce93d8, 0 0 0 12px #9c27b088;
    z-index: 10050;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    pointer-events: auto;
    cursor: pointer;
    transition: box-shadow 0.2s;
}
#drop-pane-overlay:hover {
    box-shadow: 0 0 64px 24px #ffd700, 0 0 0 18px #8e24aa;
}

/* Shield icoon in security button iets kleiner */
#cta-security svg {
    width: 27px;
    height: 27px;
} 

/* Wallet Hub Button - Rechtsbovenin */
.wallet-hub-btn {
  position: fixed;
  top: 20px;
  right: 20px;
  z-index: 9999;
  cursor: pointer;
  transition: all 0.3s ease;
  background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
  border-radius: 12px;
  padding: 12px 24px;
  box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
  border: 2px solid #ffffff;
  text-align: center;
  color: white;
  font-weight: bold;
  font-size: 16px;
  /* Verborgen tot game start */
  display: none;
}

.wallet-hub-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 35px rgba(102, 126, 234, 0.6);
  background: linear-gradient(135deg, #764ba2 0%, #667eea 100%);
}

.wallet-hub-btn .hub-label {
  font-size: 16px;
  font-weight: bold;
}

/* Blockchain Hub Modal Styles */
.modal-overlay {
  position: fixed !important;
  top: 0 !important;
  left: 0 !important;
  width: 100vw !important;
  height: 100vh !important;
  background: rgba(0, 0, 0, 0.8) !important;
  display: none !important;
  justify-content: center !important;
  align-items: center !important;
  z-index: 99999 !important;
  pointer-events: auto !important;
}

.modal-overlay[style*="display: flex"] {
  display: flex !important;
}

.modal-content {
  background: white !important;
  border-radius: 12px !important;
  padding: 20px !important;
  max-width: 90% !important;
  max-height: 90% !important;
  overflow-y: auto !important;
  position: relative !important;
  z-index: 100000 !important;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5) !important;
}

.modal-header {
  display: flex !important;
  justify-content: space-between !important;
  align-items: center !important;
  margin-bottom: 20px !important;
  padding-bottom: 15px !important;
  border-bottom: 2px solid #667eea !important;
}

.modal-header h2 {
  margin: 0 !important;
  color: #333 !important;
  font-size: 24px !important;
}

.close-btn {
  background: #ff4757 !important;
  color: white !important;
  border: none !important;
  border-radius: 50% !important;
  width: 30px !important;
  height: 30px !important;
  cursor: pointer !important;
  font-size: 18px !important;
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
}

.close-btn:hover {
  background: #ff3742 !important;
}

.modal-body {
  color: #333 !important;
}

.blockchain-hub-modal {
  max-width: 800px;
  width: 90%;
}

.hub-tabs {
  display: flex;
  gap: 10px;
  margin-bottom: 20px;
  border-bottom: 2px solid #667eea;
  padding-bottom: 10px;
}

.tab-btn {
  background: #f0f0f0;
  border: none;
  padding: 10px 20px;
  border-radius: 8px;
  cursor: pointer;
  transition: all 0.3s ease;
}

.tab-btn.active {
  background: #667eea;
  color: white;
}

.tab-pane {
  display: none;
}

.tab-pane.active {
  display: block;
}

.dashboard-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 20px;
}

.dashboard-card {
  background: #f8f9fa;
  padding: 20px;
  border-radius: 12px;
  border: 1px solid #e9ecef;
}

.dashboard-card select {
  width: 100%;
  padding: 10px;
  border: 2px solid #667eea;
  border-radius: 8px;
  background: white;
  font-size: 14px;
  margin: 10px 0;
  cursor: pointer;
  transition: border-color 0.3s ease;
}

.dashboard-card select:focus {
  outline: none;
  border-color: #764ba2;
  box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.1);
}

.dashboard-card select option {
  padding: 10px;
  background: white;
  color: #333;
}

.activate-btn {
  width: 100%;
  background: #667eea;
  color: white;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  margin: 10px 0;
  transition: all 0.3s ease;
}

.activate-btn:hover:not(:disabled) {
  background: #764ba2;
  transform: translateY(-2px);
  box-shadow: 0 4px 12px rgba(102, 126, 234, 0.3);
}

.activate-btn:disabled {
  cursor: not-allowed;
  opacity: 0.7;
}

.minting-section, .trading-section, .game-section {
  padding: 20px;
}

.minting-section button, .trading-section button, .game-section button {
  background: #667eea;
  color: white;
  border: none;
  padding: 12px 24px;
  border-radius: 8px;
  cursor: pointer;
  margin: 10px 5px;
  transition: all 0.3s ease;
}

.minting-section button:hover, .trading-section button:hover, .game-section button:hover {
  background: #5a6fd8;
  transform: translateY(-2px);
} 