/* Base style
   ========================================================================== */
   
/* Fonts */
   @font-face {
      font-family: 'dimitri_swankregular';
      src: url('fonts/dimis___-webfont.woff2') format('woff2'),
           url('fonts/dimis___-webfont.woff') format('woff');
      font-weight: normal;
      font-style: normal;
  }
  
  @font-face {
      font-family: 'dimitriregular';
      src: url('fonts/dimitri_-webfont.woff2') format('woff2'),
           url('fonts/dimitri_-webfont.woff') format('woff');
      font-weight: normal;
      font-style: normal;
  }

html{ -webkit-user-select: none; -ms-user-select: none; user-select: none; background:#37adab;}

/*-- Percent Loader -- */
#mainLoader{position:absolute;z-index:5; display:none; font-size:35px; line-height:35px; color:#fff; text-align:center; width:100%; font-family:'dimitriregular';}

/*-- Content Wrapper -- */
#mainHolder{position:absolute; width:100%;height:100%;}

/*-- Browser Not Support -- */
#notSupportHolder{ width:90%; margin:5% auto; position:relative; color:#fff; text-align:center; font-size:35px; font-family:'dimitriregular'; display:none;}

/*-- Rotate Animation -- */
@-moz-keyframes spin { 50% { -moz-transform: rotate(0deg); } 100% { -moz-transform: rotate(0deg); } }
@-webkit-keyframes spin { 50% { -webkit-transform: rotate(90deg); } 100% { -webkit-transform: rotate(0deg); } }
@keyframes spin { 50% { -webkit-transform: rotate(90deg); transform:rotate(90deg); } 100% { -webkit-transform: rotate(90deg); transform:rotate(90deg); } }

/*-- Canvas Wrapper -- */
#canvasHolder{ display:none; width:100%; max-width:1280px; height:100%; margin:auto; position:relative;}
canvas{ position:fixed;}

/*-- Form Wrapper -- */
.clearfix:after { content: "."; visibility: hidden; display: block; clear: both;}

/* ========== Registration Popup ========== */
#registerPopup, #noPlaysPopup, #voucherResultPopup {
    position: fixed;
    top: 0; left: 0;
    width: 100%; height: 100%;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
}
.register-overlay {
    position: absolute;
    top: 0; left: 0;
    width: 100%; height: 100%;
    background: rgba(0,0,0,0.75);
}
.register-card, .voucher-result-card {
    position: relative;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    border-radius: 20px;
    padding: 35px 30px;
    width: 90%;
    max-width: 380px;
    box-shadow: 0 20px 60px rgba(0,0,0,0.5);
    border: 2px solid rgba(255,215,0,0.3);
    text-align: center;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
.register-title {
    font-size: 26px;
    font-weight: 800;
    color: #FFD700;
    margin-bottom: 4px;
    text-shadow: 0 2px 10px rgba(255,215,0,0.3);
    letter-spacing: 1px;
}
.register-subtitle {
    font-size: 15px;
    color: rgba(255,255,255,0.6);
    margin-bottom: 22px;
}
.register-info {
    font-size: 16px;
    color: rgba(255,255,255,0.8);
    margin-bottom: 22px;
    line-height: 1.5;
    font-family: Arial, sans-serif;
}
.register-field {
    margin-bottom: 14px;
    text-align: left;
}
.register-field label {
    display: block;
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    margin-bottom: 5px;
    padding-left: 4px;
}
.register-field input {
    width: 100%;
    padding: 11px 14px;
    border: 2px solid rgba(255,255,255,0.2);
    border-radius: 10px;
    background: rgba(255,255,255,0.08);
    color: #fff;
    font-size: 16px;
    font-family: Arial, sans-serif;
    outline: none;
    transition: border-color 0.3s;
    box-sizing: border-box;
}
.register-field input:focus {
    border-color: #FFD700;
}
.register-field input::placeholder {
    color: rgba(255,255,255,0.35);
}
.register-error {
    color: #ff6b6b;
    font-size: 13px;
    min-height: 18px;
    margin-bottom: 8px;
    font-family: Arial, sans-serif;
}
.register-rules-link {
    display: block;
    color: #FFD700;
    font-size: 15px;
    font-weight: 700;
    margin-bottom: 14px;
    text-decoration: none;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    transition: color 0.2s, text-shadow 0.2s;
    text-shadow: 0 1px 8px rgba(255,215,0,0.25);
}
.register-rules-link:hover {
    color: #fff;
    text-shadow: 0 2px 12px rgba(255,215,0,0.5);
}
#regSubmit, #noPlaysClose, #voucherResultClose {
    width: 100%;
    padding: 13px;
    border: none;
    border-radius: 10px;
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #1a1a2e;
    font-size: 17px;
    font-weight: 800;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
    cursor: pointer;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-top: 5px;
    letter-spacing: 1px;
}
#regSubmit:hover, #noPlaysClose:hover, #voucherResultClose:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(255,215,0,0.4);
}
#regSubmit:active, #noPlaysClose:active, #voucherResultClose:active {
    transform: translateY(0);
}

/* Voucher Result Items */
.voucher-result-item {
    background: linear-gradient(135deg, #FFD700, #FF8C00);
    color: #1a1a2e;
    padding: 10px 16px;
    border-radius: 10px;
    margin: 8px auto;
    max-width: 280px;
    font-size: 20px;
    font-weight: 800;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
.voucher-result-none {
    color: rgba(255,255,255,0.6);
    font-size: 15px;
    margin: 15px 0;
    font-family: Arial, sans-serif;
}
.voucher-result-desc {
    color: rgba(255,255,255,0.85);
    font-size: 14px;
    line-height: 1.6;
    margin: 15px 0 8px;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
.voucher-result-desc a {
    color: #FFD700;
    font-weight: 700;
    text-decoration: underline;
}
.voucher-result-player {
    color: #fff;
    font-size: 15px;
    font-weight: 700;
    margin: 10px 0 5px;
    padding: 8px 16px;
    background: rgba(255,255,255,0.1);
    border-radius: 8px;
    display: inline-block;
    font-family: 'Segoe UI', 'Roboto', 'Helvetica Neue', Arial, sans-serif;
}
