/* =============================================
   DISCORD POP-UP - RAMONIA
   discord-popup.css
   ============================================= */

/* Overlay */
#discord-popup-overlay {
    display: none;
    position: fixed;
    top: 0; left: 0; right: 0; bottom: 0;
    background: rgba(0, 0, 0, 0.75);
    z-index: 9999999;
    align-items: center;
    justify-content: center;
}
#discord-popup-overlay.dp-visible {
    display: flex;
}

/* Pop-up box */
#discord-popup {
    position: relative;
    width: 420px;
    max-width: 95vw;
    background: linear-gradient(160deg, #1a1310 0%, #1e1612 60%, #131112 100%);
    border-radius: 22px;
    border-style: solid;
    border-width: 1px;
    border-top-color: transparent;
    border-left-color: #80663f;
    border-right-color: #80663f;
    border-bottom-color: #593c24;
    box-shadow: 0 0 40px rgba(0,0,0,0.8), inset 0 0 0 1px rgba(255,220,120,0.04);
    font-family: 'Open Sans', Helvetica Neue, Helvetica, Arial, sans-serif;
    overflow: hidden;
    animation: dp-fadeIn 0.3s ease-out;
}

@keyframes dp-fadeIn {
    from { opacity: 0; transform: translateY(-18px) scale(0.97); }
    to   { opacity: 1; transform: translateY(0) scale(1); }
}

/* Header */
#discord-popup-header {
    color: #766e64;
    padding: 12px 20px;
    font-size: 14px;
    box-shadow: 0 0 10px rgba(0,0,0,0.5), inset 0 0 0 1px rgba(0,0,0,0.02), inset 0 -16px 0 rgba(0,0,0,0.1);
    font-weight: bold;
    font-family: Arial,'Helvetica Neue',Helvetica,sans-serif;
    text-shadow: 0 0 4px rgba(0,0,0,0.30), 0 2px 0 #000;
    border-radius: 0;
    letter-spacing: 0;
    text-transform: uppercase;
    background-color: rgba(255,255,255,0.02);
    display: flex;
    align-items: center;
    justify-content: center; /* centered title */
    position: relative;      /* for absolute close btn */
}

#discord-popup-header .dp-header-inner {
    display: flex;
    align-items: center;
    gap: 8px;
}

#discord-popup-header .dp-discord-icon {
    width: 24px;
    height: 24px;
    flex-shrink: 0;
    fill: #9a8c85;
    position: absolute;
    left: 14px;
    top: 50%;
    transform: translateY(-50%);
}

#discord-popup-header .dp-title-text {
    color: #b09060;
}

#discord-popup-header .dp-title-text span {
    color: #d3a84d;
}

/* Close button – absolutely positioned so it doesn't affect centering */
#discord-popup-close {
    position: absolute;
    right: 14px;
    top: 50%;
    transform: translateY(-50%);
    cursor: pointer;
    background: none;
    border: none;
    color: #766e64;
    font-size: 21px;
    line-height: 1;
    padding: 0 2px;
    font-family: Arial, sans-serif;
    text-shadow: 0 1px 0 #000;
    transition: color 200ms;
}
#discord-popup-close:hover {
    color: #f2c745;
}

/* Separator line */
#discord-popup .dp-separator {
    height: 1px;
    background: linear-gradient(90deg, #80663f 0%, #593c24 70%, transparent 100%);
    margin: 0;
}

/* Body */
#discord-popup-body {
    padding: 22px 26px 6px 26px;
    background: linear-gradient(90deg, #131112, #261e1e);
}

/* Tagline */
#discord-popup-body .dp-tagline {
    color: #d3a84d;
    font-size: 15px;
    font-weight: 600;
    text-align: center;
    text-transform: uppercase;
    letter-spacing: 1px;
    margin-bottom: 16px;
    text-shadow: 0 1px 0 #000;
}

/* Feature list – !important overrides any global list-style */
#discord-popup-body .dp-features {
    list-style: none !important;
    margin: 0 0 8px 0 !important;
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    gap: 0;
}

#discord-popup-body .dp-features li {
    list-style: none !important;
    position: relative;
    color: #a89880;
    font-size: 14px;
    padding: 9px 0 9px 20px;
    text-shadow: 0 1px 0 #000;
    border-bottom: 1px solid;
    border-image: linear-gradient(90deg, #80663f 0%, #593c24 70%, transparent 100%) 1;
}
#discord-popup-body .dp-features li:last-child {
    border-image: none;
    border-bottom-color: transparent;
}

/* Remove any ::marker or ::before from global styles */
#discord-popup-body .dp-features li::marker {
    content: none !important;
    display: none !important;
}

/* Our own bullet arrow */
#discord-popup-body .dp-features li::before {
    content: "»";
    position: absolute;
    left: 0;
    color: #80663f;
    font-size: 14px;
    line-height: inherit;
}

#discord-popup-body .dp-features li strong {
    color: #c8a860;
    font-weight: 700;
}

/* Footer – centered button */
#discord-popup-footer {
    padding: 10px 26px 40px 26px;
    background: linear-gradient(90deg, #131112, #261e1e);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* Join button – .nice_button style */
#discord-popup-footer .dp-join-btn {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    text-decoration: none;
    color: #9a8c85;
    cursor: pointer;
    padding: 10px 34px;
    font-size: 15px;
    text-align: center;
    box-shadow: inset 0 0 0 2px rgba(0,0,0,0.40), inset 0 0 24px 0 rgba(0,0,0,0.46), 0 0 3px 0 rgba(0,0,0,0.75), 0 2px 0 0 rgba(0,0,0,0.28);
    font-family: 'Open Sans', serif;
    font-weight: bold;
    text-shadow: 0 1px 0 #000;
    border-width: 1px;
    border-style: solid;
    border-top-color: #a8905a;
    border-left-color: #80663f;
    border-right-color: #80663f;
    border-bottom-color: #593c24;
    border-radius: 3px;
    text-transform: uppercase;
    background-color: #2d2522;
    transition: color 300ms ease-in-out, background-color 300ms ease-in-out;
}
#discord-popup-footer .dp-join-btn:hover {
    color: #f2c745;
    background-color: #312825;
}
#discord-popup-footer .dp-join-btn svg {
    width: 19px;
    height: 19px;
    fill: currentColor;
    flex-shrink: 0;
}
