#death-note-font-generator{
    --bg:#050505;
    --card:#111111;
    --border:#2b2b2b;
    --text:#f5f5f5;
    --muted:#9ca3af;
    --red:#dc2626;
    --red2:#7f1d1d;

    max-width:1300px;
    margin:auto;
    padding:25px;
    border-radius:24px;
    color:var(--text);
    font-family:Arial,sans-serif;

    background:
    radial-gradient(circle at top right,
    rgba(220,38,38,.15), transparent 30%),
    radial-gradient(circle at bottom left,
    rgba(127,29,29,.15), transparent 30%),
    #050505;
}

#death-note-font-generator *{
    box-sizing:border-box;
}

.dn-header{
    text-align:center;
    margin-bottom:30px;
}

.dn-badge{
    display:inline-block;
    padding:8px 16px;
    border-radius:999px;
    background:linear-gradient(135deg,#7f1d1d,#dc2626);
    font-weight:700;
    margin-bottom:15px;
}

.dn-title{
    font-size:clamp(32px,5vw,60px);
    text-transform:uppercase;
    font-weight:900;
    margin:0 0 15px;

    text-shadow:
    0 0 15px rgba(220,38,38,.8),
    0 0 30px rgba(220,38,38,.3);
}

.dn-subtitle{
    color:var(--muted);
    line-height:1.8;
    max-width:800px;
    margin:auto;
}

.dn-grid{
    display:grid;
    gap:20px;
}

.dn-card{
    background:#111;
    border:1px solid #222;
    border-radius:20px;
    padding:20px;
}

.dn-input{
    width:100%;
    min-height:140px;
    resize:vertical;
    border:none;
    outline:none;
    border-radius:15px;
    background:#050505;
    color:white;
    padding:15px;
    font-size:18px;
}

.dn-controls{
    display:flex;
    flex-wrap:wrap;
    gap:10px;
    margin-top:15px;
}

.dn-btn{
    border:none;
    cursor:pointer;
    padding:12px 18px;
    border-radius:12px;
    color:white;
    font-weight:700;
    background:linear-gradient(135deg,#7f1d1d,#dc2626);
}

.dn-search{
    width:100%;
    padding:14px;
    border:none;
    border-radius:12px;
    background:#050505;
    color:white;
    margin-bottom:20px;
}

.dn-stats{
    display:grid;
    grid-template-columns:repeat(auto-fit,minmax(150px,1fr));
    gap:15px;
    margin-top:20px;
}

.dn-stat{
    text-align:center;
    padding:15px;
    border-radius:15px;
    background:#0b0b0b;
}

.dn-stat-number{
    font-size:24px;
    font-weight:800;
    color:#ef4444;
}

.dn-stat-label{
    color:var(--muted);
}

.dn-results{
    display:grid;
    grid-template-columns:1fr;
    gap:15px;
}

.dn-item{
    background:#0b0b0b;
    border:1px solid #222;
    border-radius:16px;
    padding:18px;
}

.dn-name{
    color:#f87171;
    font-size:13px;
    letter-spacing:1px;
    text-transform:uppercase;
    margin-bottom:10px;
}

.dn-output{
    font-size:22px;
    line-height:1.8;
    margin-bottom:12px;
    word-break:break-word;
}

.dn-copy{
    border:none;
    cursor:pointer;
    padding:10px 16px;
    border-radius:10px;
    color:white;
    background:linear-gradient(135deg,#991b1b,#ef4444);
}

@media(min-width:768px){

    .dn-results{
        grid-template-columns:repeat(2,1fr);
    }

}

@media(min-width:1100px){

    .dn-results{
        grid-template-columns:repeat(3,1fr);
    }

}