* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background-color: #12141b;
    color: #e0e0e0;
    display: flex;
    flex-direction: column;
    align-items: center;
    min-height: 100vh;
    padding: 50px 20px;
      position: relative;
    background-image: url(1bg.jpg);
    background-position: center;
    background-size: cover;
    background-blend-mode: multiply;
    background-repeat: no-repeat;
}

     body::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: inherit; 
  background-repeat: inherit;
  opacity: 0.3; 
  z-index: -1;
}
    
header {
    width: 100%;
    max-width: 800px;
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}
.qq {
    margin-bottom: 20px;
    margin-top: 20px;
}
header a {
       text-decoration: none;
    color: #ffff;
font-family: "Permanent Marker", cursive;
  font-weight: 400;
  font-style: normal;
    transition: all 0.3s ease;
}

header a:hover {
    transform: scale(1.05);
}
a {
    color: #5c6bc0;
    overflow-wrap: break-word;
}
hr {
    border-color: #0000004d;
}
.aaaef {
    width: max-content;
    max-width: 90%;
}

main {
    width: 90%;
    max-width: 700px;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
}

h1 {
    font-weight: 600;
    font-size: 25px;
}
.footeer {
    font-family: "Yellowtail", cursive;
  font-weight: 400;
    width: 100%;
    position: absolute;
    bottom: 0px;
    display: flex
;
    justify-content: center;
    opacity: 0.5;
    font-size: 14px;
}
.form {
    background-color: #1f2226;
    padding: 30px;
    border-radius: 12px;
    
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    gap: 20px;
}
form {
        width: 100%;
    display: flex
;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin-bottom: 40px;
}
input[type="file"] {
    border: 2px dashed #555;
    border-radius: 8px;
    padding: 30px;
    width: 100%;
    cursor: pointer;
    text-align: center;
    color: #aaa;
    transition: border-color 0.2s, color 0.2s;
}

input[type="file"]:hover {
    border-color: #888;
    color: #fff;
}

button {
    background-color: #e05226;
    color: #fff;
    border: none;
    padding: 12px 25px;
    border-radius: 4px;
    font-size: 1rem;
    cursor: pointer;
    transition: background-color 0.2s, transform 0.1s;
}

button:hover {
    background-color: #ec653b;
    
}

button:active {
    transform: translateY(0);
}

.error {
    color: #ef5350;
    font-size: 0.9rem;
}

.stats {
    background-color: #202226;
    padding: 20px 30px;
    border-radius: 12px;
    width: 100%;
}

.stats h2 {
    margin-bottom: 15px;
    font-size: 1.4rem;
    font-weight: 500;
}
.copy-buttons {
        margin-top: 0px;
    display: flex
;
    gap: 8px;
    flex-direction: column;
    align-items: stretch;
    justify-content: space-between;
    width: 100%;
}
.copy-btn {
      height: 24px;
    font-size: 13px;
    padding: 5px;
    width: 100%;
    min-width: 100%;
    background-color: #424242;
    display: flex
;
    align-items: center;
    justify-content: center;
    gap: 3px;
}
.copy-btn:hover {

    background-color: #e05226;
}
.stats p {
    font-size: 1rem;
    margin-bottom: 8px;
}
.imgg {
        width: 100%;
    padding: 20px;
}

.stats-container {
    max-width: 100%;
   width: 100%;
}

h3 {
     text-align: center;
    margin-bottom: 10px;
    letter-spacing: 0.3px;
    font-weight: 500;
}
.stats-cards {
  display: flex
;
    flex-wrap: wrap;
    justify-content: center;
    flex-direction: row;
}
.mini {
    padding: 0px;
    margin-bottom: 8px;
    border-radius: 5px;
}
.stat-card {
    width: 25%;
    transition: transform 0.2s, box-shadow 0.2s;
    margin-bottom: 2%;
    padding: 6px;
}



.icon {
        font-size: 30px;
    margin-right: 15px;
}
.stat-info {
    display: flex
;
    flex-direction: column-reverse;
    align-items: center;
    background: #202226;
    padding: 10px;
    border-radius: 8px;
   
}
.stat-info .stat-title {
    font-size: 10px;
    color: #666;
    margin-bottom: 5px;
}

.stat-info .stat-value {
        font-size: 16px;
    color: #fff;
}
#customBtn {
   border-radius: 8px;
    padding: 30px;
    border: 2px dashed #55555538;
    width: 100%;
    cursor: pointer;
    text-align: center;
    color: #aaa;
    transition: border-color 0.2s, color 0.2s;
    position: relative;
    overflow: hidden;
    background: #202226;
}
#customBtn:hover {
    border-color: #888;
    color: #aaa;
}
#customBtn img {
    display: block;
    margin: 0 auto;
}
#btnText.hidden {
    display: none;
}
.set {
    width: 100%;
    display: grid
;
    grid-template-columns: repeat(auto-fill, minmax(125px, 1fr));
    gap: 15px;
    margin-top: 15px;
    background: #202226;
    padding: 20px;
    border-radius: 8px;
}
.qqff {
    padding-bottom: 10px;
    margin-bottom: 10px;
    display: flex
;
    flex-direction: column;
    align-items: center;
}

 .qqff img {
    width: 100%;
    height: 100px;
    object-fit: cover;
         }
   #btnText {
                display: flex
;
    flex-direction: column;
    align-items: center;
    font-size: 12px;
    gap: 3px;
        }
        #customBtn {
    border: 2px dashed #55555538;
        }
        #customBtn:hover {
    color: #aaa;
}

.bulk-copy-buttons {
            display: flex
;
    width: 100%;
    gap: 8px;
    margin-top: 0px;
    margin-bottom: 20px;
    flex-direction: column;
}

@media (max-width: 768px) {
    .stat-card {
   width: 100%;
            padding: 6px 0px;
    }
    .stats-cards {
    margin-bottom: 40px;
}
    body {
        padding: 20px 10px;
    }
h1 {
    font-weight: 600;
    font-size: 17px;
}
   
form {
    margin-top: 20px;
    }
    button {
        width: 100%;
    }
}