:root{
  --bg:#161616;
  --panel:#1f1f1f;
  --muted:#9aa0a6;
  --accent:#ff7200;
  --accent-2:#ff5f6d;
  --text:#f5f5f5;
  --radius:8px;
  --container:980px;
}

*{box-sizing:border-box}
html,body{height:100%;margin:0;font-family:Segoe UI,system-ui,Roboto,Arial;background:linear-gradient(180deg,var(--bg),#111);color:var(--text)}
.container{max-width:var(--container);margin:0 auto;padding:0 18px}

/* header */
.site-header{background:transparent;padding:10px 0}
.header-inner{display:flex;align-items:center;justify-content:space-between}
.brand{color:var(--text);font-weight:700;text-decoration:none;font-size:18px}
.header-inner nav a{color:var(--muted);margin-left:12px;text-decoration:none;padding:8px 12px;border-radius:6px}
.header-inner nav a.cta{background:var(--accent);color:#111}
.user-status{color:var(--muted);margin-left:12px;padding:8px 12px;font-size:14px;border-radius:6px;background:rgba(255,255,255,0.05)}

/* hero */
.hero{padding:24px 0}
.hero-inner{display:flex;gap:22px;align-items:center}
.hero-copy{flex:1}
.hero-copy h1{margin:0 0 8px;font-size:28px}
.hero-copy p{margin:6px 0;color:var(--muted)}
.hero-actions{margin-top:12px}
.button{display:inline-block;background:var(--accent);color:#111;padding:10px 16px;border-radius:8px;text-decoration:none}
.button.ghost{background:transparent;border:1px solid rgba(255,255,255,0.06);color:var(--text)}
.link-button{background:none;border:none;color:var(--accent);cursor:pointer;text-decoration:underline;font-size:14px;padding:0}
.brand{display:flex;align-items:center;gap:8px;text-decoration:none}
.brand-logo{width:48px;height:48px;object-fit:contain;border-radius:12px}
.tos-section{padding:2rem 0}
.tos-content{margin:2rem 0}
.tos-content h2{color:var(--accent);margin-bottom:1.5rem}
.tos-content h3{color:var(--text);margin-top:1.5rem;margin-bottom:0.5rem}
.tos-content p{margin-bottom:1rem;line-height:1.6;color:var(--muted)}

/* screenshot placeholder */
.screenshot-placeholder{width:320px;height:200px;border-radius:8px;background:rgba(255,255,255,0.03);display:flex;align-items:center;justify-content:center;color:var(--muted)}
.screenshot-image{width:410px;height:615px;border-radius:8px;object-fit:contain;border:1px solid rgba(255,255,255,0.1);max-width:100%}

/* features */
.features{padding:12px 0}
.feature-list{display:grid;grid-template-columns:repeat(auto-fit,minmax(220px,1fr));gap:12px;list-style:none;padding:0;margin:12px 0}
.feature-list li{background:var(--panel);padding:12px;border-radius:8px;color:var(--muted)}

/* pricing / buy */
.buy-hero{padding:18px 0}
.pricing-grid{display:flex;gap:12px;flex-wrap:wrap;margin-top:12px;justify-content:center}
.card{background:var(--panel);padding:20px;border-radius:10px;flex:1;min-width:280px;max-width:400px;text-align:center;position:relative}
.card.featured{border:2px solid var(--accent);background:rgba(255,114,0,0.05)}
.card h3{margin:0 0 12px;font-size:24px}
.price{font-size:32px;color:var(--accent);margin:0 0 16px;font-weight:bold}
.badge{position:absolute;top:-8px;right:12px;background:var(--accent);color:#111;padding:4px 12px;border-radius:12px;font-size:12px;font-weight:bold}
.card .features{list-style:none;padding:0;margin:16px 0;text-align:left}
.card .features li{padding:4px 0;color:var(--muted)}
.license-info{margin-top:32px;background:var(--panel);padding:24px;border-radius:10px}
.license-info h3{color:var(--accent);margin:0 0 16px}
.license-info ol{color:var(--muted);line-height:1.6}
.license-info ol li{margin-bottom:8px}
.status-message{margin-top:20px;padding:12px;border-radius:8px;display:none}
.status-message.success{background:rgba(34,197,94,0.1);color:#22c55e;border:1px solid rgba(34,197,94,0.2)}
.status-message.error{background:rgba(239,68,68,0.1);color:#ef4444;border:1px solid rgba(239,68,68,0.2)}
.status-message.info{background:rgba(59,130,246,0.1);color:#3b82f6;border:1px solid rgba(59,130,246,0.2)}

/* Download section styles */
.download-section{margin-top:32px}
.download-card{background:linear-gradient(135deg,var(--panel),rgba(255,114,0,0.05));border:2px solid var(--accent);text-align:center}
.download-actions{margin:20px 0;display:flex;gap:12px;justify-content:center;flex-wrap:wrap}
.download-btn{background:var(--accent);color:#111;font-weight:bold;padding:12px 24px;font-size:16px}
.download-btn:hover{background:#ff8c33}
.download-instructions{text-align:left;background:#1a1a1a;padding:16px;border-radius:8px;margin:16px 0}
.download-instructions h4{color:var(--accent);margin:0 0 12px 0}
.download-instructions ol{margin:0}
.download-instructions code{background:#333;padding:2px 6px;border-radius:4px;color:var(--accent)}
.download-status{margin-top:16px;padding:12px;border-radius:6px;display:none}
.download-status.success{background:rgba(34,197,94,0.1);color:#22c55e;border:1px solid rgba(34,197,94,0.2)}
.download-status.error{background:rgba(239,68,68,0.1);color:#ef4444;border:1px solid rgba(239,68,68,0.2)}

/* Manual check section */
.manual-check-section{margin-top:20px}
.manual-check-section .card{background:rgba(59,130,246,0.05);border:1px solid rgba(59,130,246,0.2);text-align:center}
.manual-check-section .note{font-size:14px;color:var(--muted);margin-top:12px}

/* footer */
.site-footer{padding:12px 0;margin-top:18px;border-top:1px solid rgba(255,255,255,0.03)}
.footer-inner{display:flex;justify-content:space-between;color:#ffffff;font-size:15px}
.footer-inner a{color:#ffffff;text-decoration:none}
.footer-inner a:hover{color:#ffffff;text-decoration:underline}
.tiny{font-size:15px;color:#ffffff}
.tiny a{color:#ffffff;text-decoration:none}
.tiny a:hover{color:#ffffff;text-decoration:underline}

/* responsive */
@media (max-width:780px){
  .hero-inner{flex-direction:column}
  .screenshot-placeholder{width:100%}
  .screenshot-image{width:300px;height:auto;max-width:100%}
  .pricing-grid{flex-direction:column}
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 20px;
  background: var(--panel);
  padding: 30px;
  border-radius: var(--radius);
  margin-top: 24px;
  max-width: 400px;
  width: 100%;
}

.login-form label {
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
  margin-bottom: 6px;
  display: block;
}

.login-form input {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #222;
  color: var(--text);
  font-size: 15px;
  width: 100%;
  box-sizing: border-box;
  margin-bottom: 16px;
  transition: border-color 0.3s ease;
}

.login-form input:focus {
  outline: none;
  border-color: var(--accent);
}

.login-form button {
  margin-top: 10px;
  padding: 12px 20px;
  font-size: 16px;
  font-weight: 500;
}

/* Package info styling */
.package-info {
  margin-top: 1.5rem;
  padding: 1rem;
  background: rgba(255, 154, 71, 0.1);
  border-radius: 8px;
  border-left: 4px solid #ff9a47;
}

.package-info h5 {
  margin: 0 0 0.5rem 0;
  color: #ff9a47;
}

.package-info ul {
  margin: 0;
  padding-left: 1.5rem;
}

.package-info li {
  margin-bottom: 0.25rem;
}

/* Status Messages */
.status-message {
  margin: 20px 0;
  padding: 12px 16px;
  border-radius: 8px;
  font-weight: 500;
  display: none;
}

.status-message.success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid #28a745;
  color: #28a745;
}

.status-message.error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid #dc3545;
  color: #dc3545;
}

.status-message.info {
  background: rgba(23, 162, 184, 0.1);
  border: 1px solid #17a2b8;
  color: #17a2b8;
}

/* Download Status */
.download-status {
  margin-top: 15px;
  padding: 10px 14px;
  border-radius: 6px;
  font-size: 14px;
  display: none;
}

.download-status.success {
  background: rgba(40, 167, 69, 0.1);
  border: 1px solid #28a745;
  color: #28a745;
}

.download-status.error {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid #dc3545;
  color: #dc3545;
}

/* Manual Check Section */
.manual-check-section {
  margin-top: 30px;
}

.manual-check-section .card {
  text-align: center;
  padding: 25px;
}

.manual-check-section .button {
  margin: 0 10px;
  margin-bottom: 10px;
}

.manual-check-section .note {
  font-size: 14px;
  color: var(--muted);
  margin-top: 15px;
}

/* Download Section */
.download-section {
  margin-top: 30px;
}

.download-card {
  text-align: center;
}

.download-actions {
  margin: 20px 0;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.download-btn {
  background: var(--accent);
  color: #111;
  border: none;
  padding: 12px 20px;
  border-radius: 8px;
  font-weight: 500;
  cursor: pointer;
  text-decoration: none;
  display: inline-block;
  transition: all 0.3s ease;
}

.download-btn:hover {
  background: #ff8533;
  transform: translateY(-2px);
}

.download-instructions {
  text-align: left;
  margin-top: 25px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.02);
  border-radius: 8px;
}

.download-instructions h4 {
  color: var(--accent);
  margin-bottom: 15px;
}

.download-instructions h5 {
  color: var(--text);
  margin-top: 20px;
  margin-bottom: 10px;
}

.download-instructions ol {
  padding-left: 20px;
  line-height: 1.6;
}

.download-instructions li {
  margin-bottom: 8px;
  color: var(--muted);
}

.download-instructions code {
  background: rgba(255, 255, 255, 0.1);
  padding: 2px 6px;
  border-radius: 4px;
  color: var(--accent);
  font-size: 0.9em;
}

/* Error Messages */
.error-message {
  background: rgba(220, 53, 69, 0.1);
  border: 1px solid #dc3545;
  color: #dc3545;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 14px;
  margin: 10px 0;
}

/* Success/Info Messages */
.muted {
  color: var(--muted);
  font-size: 14px;
  line-height: 1.4;
}

/* Login section styling */
.login-section {
  padding: 60px 0;
  min-height: 70vh;
}

.login-section .container {
  max-width: 450px;
  margin: 0 auto;
  padding: 0 20px;
}

.login-section h1 {
  text-align: center;
  margin-bottom: 30px;
  color: var(--text);
  font-size: 28px;
}

/* Form field grouping */
.form-field {
  margin-bottom: 20px;
}

.form-field label {
  display: block;
  margin-bottom: 8px;
  color: var(--muted);
  font-size: 15px;
  font-weight: 500;
}

.form-field input {
  width: 100%;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: #222;
  color: var(--text);
  font-size: 15px;
  box-sizing: border-box;
  transition: border-color 0.3s ease;
}

.form-field input:focus {
  outline: none;
  border-color: var(--accent);
}

/* Social Media Icons */
.social-icons {
    position: fixed;
    bottom: 20px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    z-index: 1000;
}

.social-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    cursor: pointer;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    text-decoration: none;
}

.social-icon:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.4);
}

.discord-icon {
    background: #5865F2;
}

.discord-icon:hover {
    background: #4752C4;
}

.youtube-icon {
    background: #FF0000;
}

.youtube-icon:hover {
    background: #CC0000;
}

.social-icon svg {
    width: 24px;
    height: 24px;
    fill: white;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .social-icons {
        bottom: 15px;
        right: 15px;
        gap: 12px;
    }
    
    .social-icon {
        width: 45px;
        height: 45px;
    }
    
    .social-icon svg {
        width: 20px;
        height: 20px;
    }
}