/* General Body Styles */
body {
    background-color: #f7f9fc;
    font-family: 'Pretendard', sans-serif;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    margin: 0;
}

/* Main container for the Lotto Generator */
.lotto-generator-container {
    background-color: #ffffff;
    padding: 30px 35px;
    border-radius: 16px;
    border: 1px solid #e8e8e8;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.07);
    max-width: 650px;
    width: 90%;
    margin: 20px;
    text-align: center;
}

/* Title Styles */
h3 {
    margin: 0 0 25px 0;
    color: #2c3e50;
    font-size: 24px;
    font-weight: 700;
}

/* Lotto List Styles */
#lotto-list {
    display: flex;
    flex-direction: column;
    gap: 18px;
    margin-bottom: 30px;
}

/* Placeholder styles for the initial state of the lotto list */
#lotto-list > div[style*="text-align: center"] {
    color: #95a5a6;
    padding: 25px;
    background-color: #fdfdfd;
    border-radius: 10px;
    border: 1px dashed #e0e0e0;
}

/* Button Styles */
button {
    background-color: #ff4757;
    color: white;
    border: none;
    padding: 15px 45px;
    border-radius: 50px;
    font-size: 19px;
    cursor: pointer;
    font-weight: 600;
    box-shadow: 0 5px 20px rgba(255, 71, 87, 0.35);
    transition: all 0.3s ease;
}

button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(255, 71, 87, 0.45);
}

button:active {
    transform: translateY(-1px);
    box-shadow: 0 5px 15px rgba(255, 71, 87, 0.4);
}

/* Copy Message Styles */
#copy-msg-global {
    text-align: center;
    margin-top: 20px;
    font-size: 15px;
    color: #2ecc71;
    height: 22px;
    font-weight: 600;
    transition: all 0.3s ease-in-out;
}

/* Individual Lotto Row Styles */
.lotto-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 18px;
    background-color: #f8f9fa;
    border-radius: 10px;
    border: 1px solid #e9ecef;
    transition: transform 0.2s;
}

.lotto-row:hover {
    transform: scale(1.02);
}

/* Lotto Numbers Container */
.lotto-numbers {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
}

/* Lotto Ball Styles */
.lotto-ball {
    display: inline-block;
    width: 36px;
    height: 36px;
    line-height: 36px;
    text-align: center;
    border-radius: 50%;
    color: white;
    font-size: 15px;
    font-weight: 700;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.15);
}

/* Copy Button for each row */
.copy-btn {
    margin-left: 12px;
    padding: 8px 14px;
    border: 1px solid #ced4da;
    border-radius: 8px;
    background-color: white;
    cursor: pointer;
    font-size: 14px;
    color: #495057;
    transition: background-color 0.2s;
}

.copy-btn:hover {
    background-color: #e9ecef;
}

/* Responsive Design */
@media (max-width: 600px) {
    .lotto-generator-container {
        padding: 25px 20px;
    }

    h3 {
        font-size: 22px;
    }

    button {
        font-size: 17px;
        padding: 14px 40px;
    }

    .lotto-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 12px;
    }

    .copy-btn {
        align-self: flex-end;
    }
}
