/* ── Google Fonts ── */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@600;700&family=Inter:wght@400;500;600&display=swap');

/* ── Reset & Base ── */
*, *::before, *::after { box-sizing: border-box; }

html, body {
    margin: 0;
    padding: 0;
    font-family: 'Inter', 'Open Sans', Helvetica, Arial, sans-serif;
    font-size: 14px;
    font-weight: 400;
    background-attachment: fixed;
    background-position: center;
    background-size: cover;
}

body { background-image: url("../images/bg.jpg"); position: relative; }

body::before {
    content: '';
    position: fixed;
    inset: 0;
    background: linear-gradient(135deg, rgba(10,15,30,0.78) 0%, rgba(8,20,50,0.72) 100%);
    z-index: 0;
    pointer-events: none;
}

div#body {
    width: 100%;
    padding: clamp(18px, 4vw, 50px) 0;
    margin: 0;
    position: relative;
    z-index: 1;
}

div.panel {
    width: 100%;
    background: rgba(255,255,255,0.97);
    border-radius: 20px;
    box-shadow: 0 8px 48px rgba(0,0,0,0.38), 0 2px 8px rgba(0,0,0,0.18);
    border: 1px solid rgba(255,255,255,0.18);
    overflow: hidden;
    margin: 0;
}

div.panel-header {
    width: 100%;
    background: linear-gradient(135deg, #0e1f3d 0%, #16346a 100%);
    border-bottom: 1px solid rgba(255,255,255,0.08);
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: clamp(14px, 2.5vw, 22px) clamp(18px, 4vw, 36px);
    text-align: center;
}

div.panel-header img {
    max-width: 180px;
    width: 100%;
    height: auto;
    display: block;
}

div.panel-body {
    background: transparent;
    border: none;
    display: block;
    padding: clamp(18px, 3vw, 32px) clamp(18px, 4vw, 36px) 12px;
}

div.panel-body .row {
    margin-top: 18px;
    border-bottom: 1px solid rgba(0,0,0,0.07);
    padding-bottom: 4px;
}

div.panel-body .row:first-child { margin-top: 0; }

div.panel-footer {
    background: #f7f8fa;
    border-top: 1px solid rgba(0,0,0,0.08);
    display: block;
    padding: clamp(16px, 3vw, 28px) clamp(18px, 4vw, 36px);
}

.titlu_font {
    font-family: 'Poppins', Helvetica, Arial, sans-serif;
    font-size: clamp(16px, 2.2vw, 22px);
    font-weight: 700;
    letter-spacing: 0.01em;
}

.button, .button2, .orangebtn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    height: 48px;
    padding: 0 32px;
    border: none;
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-size: 15px;
    font-weight: 600;
    letter-spacing: 0.03em;
    text-decoration: none;
    transition: background 0.22s, box-shadow 0.22s, transform 0.12s;
    outline: none;
    float: none;
    position: relative;
    overflow: hidden;
    margin: 8px 0 0 0;
}

.button {
    background: linear-gradient(135deg, #0e3361 0%, #1a4f96 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(14,51,97,0.35);
    width: 100%;
}
.button:hover {
    background: linear-gradient(135deg, #0a2248 0%, #0e3361 100%);
    box-shadow: 0 6px 20px rgba(14,51,97,0.5);
    transform: translateY(-1px);
}
.button:active { transform: translateY(0); }

.button2 {
    background: linear-gradient(135deg, #e07700 0%, #ffb732 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(224,119,0,0.35);
    width: auto;
}
.button2:hover {
    background: linear-gradient(135deg, #c96a00 0%, #e07700 100%);
    box-shadow: 0 6px 20px rgba(224,119,0,0.5);
    transform: translateY(-1px);
}

.orangebtn {
    background: linear-gradient(135deg, #e07700 0%, #ffb732 100%);
    color: #fff;
    box-shadow: 0 4px 14px rgba(224,119,0,0.30);
}
.orangebtn:hover {
    background: linear-gradient(135deg, #c96a00 0%, #e07700 100%);
    transform: translateY(-1px);
}

.form-control, #gems, select {
    display: block;
    width: 100%;
    height: 52px;
    padding: 0 16px;
    font-family: 'Inter', sans-serif;
    font-size: 14px;
    font-weight: 500;
    color: #222;
    background: #fff;
    border: 1.5px solid #d1d5db;
    border-radius: 10px;
    outline: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    transition: border-color 0.18s, box-shadow 0.18s;
    box-sizing: border-box;
}
.form-control:focus, #gems:focus, select:focus {
    border-color: #1a4f96;
    box-shadow: 0 0 0 3px rgba(26,79,150,0.15);
}
.form-control::placeholder { color: #9ca3af; font-weight: 400; }

label.select { display: block; position: relative; }
label.select::after {
    content: '▾';
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    color: #6b7280;
    pointer-events: none;
    font-size: 16px;
}
label.select select { padding-right: 36px; cursor: pointer; }

.input-group {
    display: flex;
    align-items: stretch;
    width: 100%;
    border-radius: 10px;
    overflow: hidden;
    border: 1.5px solid #d1d5db;
    transition: border-color 0.18s, box-shadow 0.18s;
}
.input-group:focus-within {
    border-color: #1a4f96;
    box-shadow: 0 0 0 3px rgba(26,79,150,0.15);
}
.input-group .form-control {
    border: none;
    border-radius: 0;
    height: 52px;
    box-shadow: none;
    flex: 1;
}
.input-group-addon {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f3f4f6;
    border: none;
    padding: 0 14px;
    min-width: 52px;
}
.input-group-addon img { width: 24px; height: 24px; object-fit: contain; margin: 0; }

.value {
    font-family: 'Inter', sans-serif;
    font-size: 12px;
    font-weight: 600;
    color: #374151;
    margin-bottom: 8px !important;
    letter-spacing: 0.06em;
    text-transform: uppercase;
}

.warning { font-size: 12px; color: #dc2626; margin-top: 6px; }
.note { font-size: 12px; color: #9ca3af; margin-top: 5px; }

/* Comment cards */
.comment-card {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    padding: 14px 16px;
    margin-bottom: 12px;
}
.comment-card img.avatar {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    object-fit: cover;
    flex-shrink: 0;
}
.comment-card .comment-meta {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 4px;
}
.comment-card .comment-name { font-weight: 600; font-size: 14px; color: #111827; }
.comment-card .comment-badge img { width: 18px; height: 18px; vertical-align: middle; }
.comment-card .comment-text { font-size: 13px; color: #4b5563; line-height: 1.5; }

code.command {
    color: #a3e635;
    font-weight: 500;
    background: #0d1117;
    font-family: 'Fira Mono', 'Consolas', monospace;
    display: block;
    margin: 0;
    padding: 20px 22px;
    border-radius: 10px;
    border: 1px solid #1e2733;
    width: 100%;
    min-height: 400px;
    font-size: 13px;
    line-height: 1.7;
}

.modal-content {
    border-radius: 20px;
    overflow: hidden;
    border: none;
    box-shadow: 0 16px 64px rgba(0,0,0,0.35);
}
.modal-header {
    background: linear-gradient(135deg, #0e1f3d 0%, #16346a 100%);
    border-bottom: none;
    padding: 22px 28px;
}
.modal-header .modal-title {
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 18px;
    font-weight: 700;
}
.modal-body { padding: 28px; background: #fff; }
.modal-footer {
    background: #f7f8fa;
    border-top: 1px solid rgba(0,0,0,0.07);
    padding: 18px 28px;
    display: flex;
    justify-content: flex-end;
}

.loading-bar { margin: 8px auto; display: block; }

@media (max-width: 991px) {
    div.panel { border-radius: 16px; }
    div.panel-body { padding: 24px 24px 10px; }
    div.panel-footer { padding: 20px 24px; }
    .titlu_font { font-size: 19px; }
}

@media (max-width: 767px) {
    div#body { padding: 12px 0; }
    div.panel { border-radius: 12px; }
    div.panel-body { padding: 18px 16px 8px; }
    div.panel-footer { padding: 16px 16px; }
    .titlu_font { font-size: 17px; }
    .button, .button2 { width: 100%; float: none; margin: 8px 0; }
    div.panel-body .row { margin-top: 12px; }
}

@media (max-width: 480px) {
    div.panel-header { padding: 12px 14px; }
    div.panel-header img { max-width: 130px; }
    div.panel-body { padding: 14px 12px 6px; }
    div.panel-footer { padding: 14px 12px; }
    .titlu_font { font-size: 15px; }
    .form-control, #gems, select { height: 46px; }
    .input-group .form-control { height: 46px; }
    code.command { font-size: 11px; padding: 14px; }
}

/* ── Generator header row ── */
.generator-header {
    display: flex;
    align-items: flex-start;
    gap: 16px;
}

.generator-icon {
    width: 64px;
    height: 64px;
    object-fit: contain;
    flex-shrink: 0;
    border-radius: 12px;
}

@media (max-width: 480px) {
    .generator-icon { width: 48px; height: 48px; }
    .generator-header { gap: 10px; }
}

/* ── Layout centering fix ── */
div#body .container {
    max-width: 900px;
    margin-left: auto;
    margin-right: auto;
    padding-left: 16px;
    padding-right: 16px;
}

/* Force the col offset to center properly regardless of Bootstrap grid state */
.col-md-offset-2.col-md-8 {
    float: none;
    margin-left: auto;
    margin-right: auto;
    max-width: 760px;
    width: 100%;
}

/* ── Custom Popup Overlay (replaces Bootstrap modal) ── */
#gw-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.65);
    backdrop-filter: blur(3px);
    -webkit-backdrop-filter: blur(3px);
    align-items: center;
    justify-content: center;
}

/* Use flex when shown */
#gw-overlay[style*="block"],
#gw-overlay[style*="flex"] {
    display: flex !important;
}

/* jQuery fadeIn sets display:block — override to flex */
#gw-overlay {
    display: none;
}

#gw-box {
    background: #fff;
    border-radius: 20px;
    width: 100%;
    max-width: 460px;
    margin: 20px;
    box-shadow: 0 24px 80px rgba(0,0,0,0.45);
    overflow: hidden;
    animation: popIn 0.25s ease;
}

@keyframes popIn {
    from { transform: scale(0.88); opacity: 0; }
    to   { transform: scale(1);    opacity: 1; }
}

#gw-header {
    background: linear-gradient(135deg, #0e1f3d 0%, #16346a 100%);
    padding: 20px 24px;
    color: #fff;
}

#gw-body {
    padding: 28px 24px;
    text-align: center;
    background: #fff;
}

#gw-footer {
    background: #f7f8fa;
    border-top: 1px solid rgba(0,0,0,0.07);
    padding: 16px 24px;
    display: flex;
    justify-content: flex-end;
}

#gw-footer .button2 {
    margin: 0;
    padding: 0 28px;
}

/* ── Verification Section ── */
#offers {
    padding: clamp(20px, 3vw, 36px) clamp(18px, 4vw, 36px);
}

.verify-title-bar {
    display: flex;
    align-items: center;
    gap: 10px;
    background: linear-gradient(135deg, #dc2626 0%, #b91c1c 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    padding: 14px 20px;
    border-radius: 12px;
    margin-bottom: 20px;
}

.verify-meta-row {
    display: flex;
    gap: 14px;
    margin-bottom: 16px;
}

.verify-meta-card {
    flex: 1;
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,0.08);
    border-radius: 12px;
    padding: 16px 18px;
    text-align: center;
}

.verify-meta-label {
    font-size: 11px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.07em;
    color: #9ca3af;
    margin-bottom: 6px;
}

.verify-timer-value {
    font-family: 'Poppins', monospace;
    font-size: 28px;
    font-weight: 700;
    color: #dc2626;
    letter-spacing: 0.04em;
    line-height: 1;
}

.verify-ip-value {
    font-family: 'Inter', monospace;
    font-size: 16px;
    font-weight: 700;
    color: #0e3361;
    margin-bottom: 6px;
}

.verify-ip-badge {
    display: inline-block;
    background: #dcfce7;
    color: #16a34a;
    font-size: 11px;
    font-weight: 600;
    padding: 2px 10px;
    border-radius: 20px;
    letter-spacing: 0.04em;
}

.verify-alert {
    display: flex;
    align-items: flex-start;
    gap: 8px;
    background: #fff7ed;
    border: 1px solid #fed7aa;
    border-radius: 10px;
    padding: 12px 16px;
    font-size: 13px;
    color: #92400e;
    margin-bottom: 22px;
    line-height: 1.5;
}

.verify-alert svg { flex-shrink: 0; margin-top: 1px; color: #f97316; }

.verify-btn-wrap {
    text-align: center;
    margin-bottom: 28px;
}

.verify-cta-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    background: linear-gradient(135deg, #16a34a 0%, #22c55e 100%);
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 17px;
    font-weight: 700;
    letter-spacing: 0.04em;
    padding: 0 40px;
    height: 56px;
    border-radius: 14px;
    text-decoration: none;
    cursor: pointer;
    box-shadow: 0 6px 24px rgba(22,163,74,0.35);
    transition: transform 0.15s, box-shadow 0.15s;
}

.verify-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 30px rgba(22,163,74,0.45);
    color: #fff;
    text-decoration: none;
}

.verify-steps {
    background: #f9fafb;
    border: 1px solid rgba(0,0,0,0.07);
    border-radius: 12px;
    padding: 18px 20px;
}

.verify-steps-title {
    font-family: 'Poppins', sans-serif;
    font-size: 14px;
    font-weight: 700;
    color: #111827;
    margin-bottom: 14px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.verify-step {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    margin-bottom: 12px;
}

.verify-step:last-child { margin-bottom: 0; }

.verify-step-num {
    width: 26px;
    height: 26px;
    background: linear-gradient(135deg, #0e3361 0%, #1a4f96 100%);
    color: #fff;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Poppins', sans-serif;
    font-size: 13px;
    font-weight: 700;
    flex-shrink: 0;
}

.verify-step-text {
    font-size: 14px;
    color: #374151;
    line-height: 1.6;
    padding-top: 3px;
}

@media (max-width: 480px) {
    .verify-meta-row { flex-direction: column; }
    .verify-timer-value { font-size: 24px; }
    .verify-cta-btn { width: 100%; }
}

/* ── Animated Hourglass ── */
.hourglass-svg {
    margin-top: 8px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    animation: hourglassSpin 2.4s ease-in-out infinite;
    transform-origin: center;
}

@keyframes hourglassSpin {
    0%   { transform: rotate(0deg);   }
    40%  { transform: rotate(0deg);   }
    50%  { transform: rotate(180deg); }
    90%  { transform: rotate(180deg); }
    100% { transform: rotate(360deg); }
}

.top-sand {
    animation: topSandDrain 2.4s ease-in-out infinite;
    transform-origin: 20px 14px;
}

@keyframes topSandDrain {
    0%   { transform: scaleY(1);   }
    45%  { transform: scaleY(0.1); }
    50%  { transform: scaleY(1);   }
    100% { transform: scaleY(1);   }
}

.bot-sand {
    animation: botSandFill 2.4s ease-in-out infinite;
    transform-origin: 20px 38px;
}

@keyframes botSandFill {
    0%   { transform: scaleY(0.1); }
    45%  { transform: scaleY(1);   }
    50%  { transform: scaleY(0.1); }
    100% { transform: scaleY(0.1); }
}

.drip {
    animation: dripPulse 2.4s ease-in-out infinite;
}

@keyframes dripPulse {
    0%, 100% { opacity: 1; transform: translateY(0); }
    40%       { opacity: 0; transform: translateY(4px); }
    50%       { opacity: 1; transform: translateY(0); }
}
