/* ===== General Settings ===== */
* {
    box-sizing: border-box;
}

html,
body {
    font-family: 'Roboto', sans-serif;
    background-color: #171616;
    color: #fff;
    margin: 0;
    padding: 0;
    display: flex;
    flex-direction: column;
    height: 100%;
    user-select: none;
    -webkit-user-select: none;
    -moz-user-select: none;
    -ms-user-select: none;
}

img {
    -webkit-user-drag: none;
    -khtml-user-drag: none;
    -moz-user-drag: none;
    -o-user-drag: none;
    pointer-events: none;
    /* sağ tık kaydet vs. engeller */
}

/* ===== Main & Typography ===== */
main {
    max-width: 1100px;
    margin: 0 auto;
    padding: 50px 20px;
    text-align: center;
    flex: 1;
}

h1 {
    font-size: clamp(2rem, 5vw, 3rem);
    color: #ffcc00;
    margin-bottom: 20px;
    text-transform: uppercase;
}

p.description {
    font-size: clamp(1rem, 1.5vw, 1.2rem);
    margin-bottom: 40px;
    line-height: 1.6;
}

.highlight {
    color: #ffcc00;
    font-weight: bold;
}

/* ===== Progress Bar ===== */
.progress-container {
    background: #1f1e1e;
    border-radius: 20px;
    overflow: hidden;
    margin: 0 auto 20px;
    width: 90%;
    max-width: 800px;
    height: 40px;
    box-shadow: 0 0 15px #ffcc00;
}

.progress-bar {
    background: linear-gradient(90deg, #ffcc00, #ff66cc, #00ccff);
    height: 100%;
    width: 0;
    text-align: right;
    padding-right: 10px;
    color: #fff;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: flex-end;
    font-size: 1rem;
    box-shadow: 0 0 20px #ffcc00 inset;
    transition: width 2s ease-out;
}

/* ===== Image Cards ===== */
.image-row {
    display: flex;
    justify-content: space-between;
    gap: 20px;
    margin-top: 40px;
    flex-wrap: wrap;
}

.image-card {
    position: relative;
    flex: 1 1 48%;
    background: #2a2a2a;
    border-radius: 15px;
    overflow: hidden;
    min-height: 300px;
    max-width: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.2rem;
    transition: transform 0.4s;
    cursor: pointer;
}

.image-card:hover {
    transform: scale(1.03);
}

.image-card button {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ffcc00;
    color: #3b3b3b;
    border: none;
    padding: 8px 15px;
    border-radius: 8px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
    font-size: 0.9rem;
    box-shadow: 0 0 10px #ffffff8c;
}

.image-card button:hover {
    background: #ff66cc;
    color: #fff;
}

/* Tool Tip */

.toast {
    visibility: hidden;
    min-width: 150px;
    background-color: #ff3c00;
    color: white;
    text-align: center;
    border-radius: 5px;
    padding: 10px 20px;
    position: fixed;
    left: 50%;
    bottom: 30px;
    transform: translateX(-50%);
    font-size: 0.9rem;
    font-weight: 500;
    z-index: 1000;
    opacity: 0;
    transition: bottom 0.4s ease, opacity 0.4s ease;
}

.toast.show {
    visibility: visible;
    opacity: 1;
    bottom: 50px;
}

/* ===== Share Popup ===== */
#sharePopup {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    justify-content: center;
    align-items: center;
    z-index: 1000;
}

#sharePopupDiv {
    background: #171616;
    padding: 20px;
    border-radius: 12px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    position: relative;
}

#sharePopupDiv button {
    appearance: none;
    border: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text);
    background: #1b1b20;
    padding: 8px 12px;
    border-radius: 10px;
    cursor: pointer;
}

.copyCode {
    background-color: #ff0040;
    color: #ffdddd;
    padding: 10px;
    margin-bottom: 15px;
    border-radius: 10px;
}

/* ===== Responsive ===== */
@media(max-width:768px) {
    .image-card {
        flex: 1 1 100%;
    }
}