/* ==========================================================================
   Custom overrides for static AusCryptoCon copy
   ========================================================================== */

/* --- Fix for stretched Elementor sections / horizontal overflow ---------- */
.elementor-section.elementor-section-stretched{
  width:100vw !important;
  left:50% !important;
  right:auto !important;
  margin-left:-50vw !important;
  margin-right:0 !important;
  max-width:100vw !important;
}
html,body{ overflow-x:hidden; }

/* ==========================================================================
   Registration modal
   ========================================================================== */
:root{
  --cw-bg:#0a0413;
  --cw-panel:#160526;
  --cw-panel-2:#0e0318;
  --cw-border:#3a1f52;
  --cw-text:#f4eef9;
  --cw-muted:#b7a6c9;
  --cw-accent:#8a1f4a;
  --cw-accent-2:#3a2ba0;
  --cw-error:#ff6b6b;
  --cw-radius:14px;
}

.cw-modal-overlay{
  position:fixed;
  inset:0;
  z-index:100000;
  display:flex;
  align-items:flex-start;
  justify-content:center;
  padding:24px 16px;
  background:rgba(3,7,18,.72);
  backdrop-filter:blur(4px);
  -webkit-backdrop-filter:blur(4px);
  overflow-y:auto;
  opacity:0;
  visibility:hidden;
  transition:opacity .2s ease, visibility .2s ease;
}
.cw-modal-overlay.cw-open{
  opacity:1;
  visibility:visible;
}

.cw-modal{
  position:relative;
  width:100%;
  max-width:640px;
  margin:auto;
  background:var(--cw-panel);
  color:var(--cw-text);
  border:1px solid var(--cw-border);
  border-radius:var(--cw-radius);
  box-shadow:0 24px 80px rgba(0,0,0,.55);
  padding:36px 34px 30px;
  transform:translateY(16px) scale(.98);
  transition:transform .25s ease;
  font-family:inherit;
}
.cw-modal-overlay.cw-open .cw-modal{
  transform:translateY(0) scale(1);
}

.cw-modal-close{
  position:absolute;
  top:14px;
  right:16px;
  width:36px;
  height:36px;
  border:none;
  background:transparent;
  color:var(--cw-muted);
  font-size:28px;
  line-height:1;
  cursor:pointer;
  border-radius:8px;
  transition:background .15s ease, color .15s ease;
}
.cw-modal-close:hover{ background:rgba(255,255,255,.06); color:var(--cw-text); }

.cw-modal-title{
  margin:0 0 6px;
  font-size:26px;
  font-weight:700;
  color:#fff;
  line-height:1.2;
}
.cw-modal-sub{
  margin:0 0 22px;
  font-size:15px;
  color:var(--cw-muted);
  line-height:1.5;
}

.cw-field{ margin-bottom:20px; }
.cw-field > label,
.cw-group-label{
  display:block;
  margin-bottom:8px;
  font-size:14px;
  font-weight:600;
  color:var(--cw-text);
  line-height:1.45;
}
.cw-req{ color:var(--cw-accent-2); }

.cw-field input[type="text"],
.cw-field input[type="tel"],
.cw-field input[type="email"]{
  width:100%;
  box-sizing:border-box;
  padding:12px 14px;
  background:var(--cw-panel-2);
  border:1px solid var(--cw-border);
  border-radius:10px;
  color:var(--cw-text);
  font-size:15px;
  font-family:inherit;
  transition:border-color .15s ease, box-shadow .15s ease;
}
.cw-field input::placeholder{ color:#5f6f8c; }
.cw-field input:focus{
  outline:none;
  border-color:var(--cw-accent-2);
  box-shadow:0 0 0 3px rgba(58,43,160,.30);
}
.cw-field input.cw-invalid{
  border-color:var(--cw-error);
  box-shadow:0 0 0 3px rgba(255,107,107,.18);
}

.cw-options{
  display:grid;
  grid-template-columns:repeat(2,minmax(0,1fr));
  gap:10px 18px;
}
.cw-check{
  display:flex;
  align-items:flex-start;
  gap:9px;
  font-size:14px;
  font-weight:400;
  color:var(--cw-text);
  cursor:pointer;
  line-height:1.35;
}
.cw-check input{
  margin:2px 0 0;
  width:17px;
  height:17px;
  accent-color:var(--cw-accent-2);
  flex:0 0 auto;
  cursor:pointer;
}

.cw-error{
  display:block;
  margin-top:6px;
  font-size:12.5px;
  color:var(--cw-error);
  min-height:0;
}

.cw-form-status{
  margin:4px 0 14px;
  font-size:14px;
  color:var(--cw-error);
  min-height:0;
}

.cw-submit{
  display:inline-block;
  width:100%;
  padding:14px 20px;
  border:none;
  border-radius:10px;
  background:linear-gradient(135deg,var(--cw-accent),var(--cw-accent-2));
  color:#fff;
  font-size:16px;
  font-weight:700;
  font-family:inherit;
  cursor:pointer;
  transition:filter .15s ease, transform .05s ease;
}
.cw-submit:hover{ filter:brightness(1.08); }
.cw-submit:active{ transform:translateY(1px); }
.cw-submit:disabled{ opacity:.6; cursor:not-allowed; }

/* Success screen */
.cw-success{ text-align:center; padding:20px 6px 8px; }
.cw-success-icon{
  width:64px;
  height:64px;
  margin:0 auto 18px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:32px;
  color:#fff;
  background:linear-gradient(135deg,var(--cw-accent),var(--cw-accent-2));
}
.cw-success-close{
  position:static;
  width:auto;
  height:auto;
  margin-top:20px;
  padding:12px 28px;
  font-size:15px;
  color:#fff;
  background:rgba(255,255,255,.08);
  border:1px solid var(--cw-border);
  border-radius:10px;
}
.cw-success-close:hover{ background:rgba(255,255,255,.14); }

body.cw-modal-active{ overflow:hidden; }

/* Mobile */
@media (max-width:560px){
  .cw-modal{ padding:30px 20px 24px; }
  .cw-modal-title{ font-size:22px; }
  .cw-options{ grid-template-columns:1fr; }
}

/* ==========================================================================
   Thank-you page (thank-you.html)
   ========================================================================== */
.cw-ty-body{
  margin:0;
  min-height:100vh;
  display:flex;
  align-items:center;
  justify-content:center;
  padding:40px 20px;
  background:#000;
  background-image:
    radial-gradient(1200px 600px at 50% -10%, rgba(58,43,160,.35), transparent 60%),
    radial-gradient(1000px 500px at 50% 110%, rgba(138,31,74,.35), transparent 60%),
    url("https://auscryptocon.com/wp-content/uploads/2024/05/footer-gradient-scaled.webp");
  background-size:auto, auto, cover;
  background-position:center, center, center;
  background-repeat:no-repeat;
  color:#fff;
  font-family:"Helvetica", Arial, Sans-serif;
  box-sizing:border-box;
}
.cw-ty-card{
  width:100%;
  max-width:640px;
  text-align:center;
}
.cw-ty-logo{
  width:320px;
  max-width:70%;
  height:auto;
  margin:0 auto 40px;
  display:block;
}
.cw-ty-check{
  width:88px;
  height:88px;
  margin:0 auto 28px;
  border-radius:50%;
  display:flex;
  align-items:center;
  justify-content:center;
  font-size:44px;
  line-height:1;
  color:#fff;
  background:linear-gradient(135deg,#55001A,#11024C);
  box-shadow:0 12px 40px rgba(85,0,26,.5);
}
.cw-ty-title{
  margin:0 0 16px;
  font-size:56px;
  font-weight:700;
  line-height:1.05;
  text-transform:uppercase;
  background:linear-gradient(90deg,#C01534,#205EC1);
  -webkit-background-clip:text;
  background-clip:text;
  -webkit-text-fill-color:transparent;
  color:transparent;
}
.cw-ty-text{
  margin:0 auto 36px;
  max-width:520px;
  font-size:17px;
  line-height:1.6;
  color:#d9cfe6;
}
.cw-ty-home{
  display:inline-block;
  padding:14px 34px;
  border-radius:100px;
  font-size:16px;
  font-weight:600;
  color:#fff;
  text-decoration:none;
  background:linear-gradient(274deg,#4E001D 0%,#11024C 100%);
  transition:filter .15s ease, transform .05s ease;
}
.cw-ty-home:hover{ filter:brightness(1.12); }
.cw-ty-home:active{ transform:translateY(1px); }

@media (max-width:560px){
  .cw-ty-title{ font-size:38px; }
  .cw-ty-text{ font-size:15px; }
  .cw-ty-check{ width:72px; height:72px; font-size:36px; }
}
