#generator-header {
    background: linear-gradient(
        90deg,
        #1e90ff,
        #0a3d91
    ); /* Royal blue gradient */
    color: #ffd700; /* Golden text */
    font-weight: bold;
    text-align: center;
    padding: 12px 0;
    margin: 0;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    font-size: 1.3rem;
    letter-spacing: 1px;
}

#generator-box {
    background: #121212; /* Dark base for contrast */
    color: #ffd700; /* Gold text */
    border: 2px solid #1e90ff; /* Blue border */
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
    overflow: hidden;
    padding: 15px;
    width: 90%;
    max-width: 520px;
    margin: 0 auto;
    position: relative;
    top: -20px;
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
}

.logo-container img {
    max-width: 150px;
}

@media (max-width: 768px) {
    #generator-box {
        width: 90%;
        max-width: 400px;
    }
}

@media (max-width: 576px) {
    #generator-box {
        width: 100%;
        max-width: 350px;
        height: auto;
    }
}

img[alt="Clash Of Clans Logo"] {
    margin-top: -120px;
    max-width: 170px;
}

h2 {
    font-weight: 700;
    font-size: 1.8rem;
}

.btn-modern {
    background: linear-gradient(to right, #8cc42a, #556f1d);
    color: #ffffb5;
    font-size: 1rem;
    font-weight: bold;
    text-transform: uppercase;
    padding: 8px 16px;
    border: none;
    border-radius: 10px;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    transition: all 0.3s ease-in-out;
    margin-top: 10px;
}

.btn-modern:hover {
    background: linear-gradient(to right, #556f1d, #8cc42a);
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3);
    transform: scale(1.05);
}

.btn-modern:active {
    transform: scale(0.95);
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2);
}

#proceed-btn {
    margin: 0 auto;
    display: block;
}

@media (max-width: 768px) {
    .btn-modern {
        font-size: 0.9rem;
        padding: 6px 12px;
    }
}

.platform-btn {
    background: transparent;
    border: 2px solid #1e90ff; /* Royal Blue border */
    color: #ffd700; /* Gold text */
    font-weight: bold;
    transition: 0.3s ease-in-out;
    padding: 10px 14px;
    margin: 6px;
    border-radius: 10px;
    box-shadow: 0 4px 8px rgba(30, 144, 255, 0.4); /* Blue shadow */
    font-size: 1rem;
    text-transform: uppercase;
    cursor: pointer;
}

.platform-btn:hover {
    background: linear-gradient(
        90deg,
        #1e90ff,
        #0a3d91
    ); /* Royal Blue gradient */
    color: #fff; /* White on hover */
    border-color: #ffd700; /* Gold border */
    transform: scale(1.08);
    box-shadow: 0 6px 14px rgba(30, 144, 255, 0.6);
}

.platform-btn.selected {
    background-color: #ffd700; /* Gold for active */
    color: #0a3d91; /* Blue text */
    border-color: #ffd700;
    font-weight: 700;
    transition: all 0.3s ease-in-out;
}

#proceed-btn,
#generate-btn,
#verify-btn {
    background: linear-gradient(
        to right,
        #1e90ff,
        #0a3d91
    ); /* Royal blue gradient */
    color: #ffd700; /* Golden text */
    font-weight: 700;
    font-size: 1.1rem;
    border: none;
    border-radius: 8px;
    padding: 12px 20px;
    text-transform: uppercase;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    cursor: pointer;
}

#proceed-btn:hover,
#generate-btn:hover,
#verify-btn:hover {
    background: linear-gradient(
        to right,
        #0a3d91,
        #1e90ff
    ); /* Reverse blue gradient */
    color: #fff; /* White text on hover */
    box-shadow: 0 6px 14px rgba(0, 0, 0, 0.4);
    transform: translateY(-2px);
}

.form-control {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    border-radius: 10px;
    transition: box-shadow 0.3s;
}

.form-control:focus {
    box-shadow: 0 0 10px #ff0000;
    border-color: #ff0000;
}

.progress-bar {
    background: linear-gradient(
        90deg,
        #1e90ff,
        #0a3d91
    ); /* Royal blue gradient */
    animation: progressBar 3s linear infinite;
    border-radius: 10px;
    box-shadow: 0 0 8px rgba(30, 144, 255, 0.8), 0 0 12px rgba(10, 61, 145, 0.8);
}

@keyframes progressBar {
    0% {
        background-position: 0% 0%;
    }
    100% {
        background-position: 100% 0%;
    }
}

#step7 .card {
    background: #212121;
    border-radius: 20px;
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.5);
}

#step7 p {
    color: #ffcc29;
    font-size: 1.2rem;
}

.platform-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    transition: 0.3s;
    padding: 10px;
    margin: 5px;
}

.text-warning {
    color: #ffcc29;
}

.text-danger {
    color: #ff0000;
}

.platform-error,
.username-error {
    font-size: 0.9rem;
    color: #ff6b6b;
    display: none;
}

.shake {
    animation: shake 0.3s;
}

@keyframes shake {
    0%,
    100% {
        transform: translateX(0);
    }
    20%,
    60% {
        transform: translateX(-10px);
    }
    40%,
    80% {
        transform: translateX(10px);
    }
}

.error-message {
    color: #ff4d4d;
    font-size: 0.9rem;
    margin-top: 5px;
}

@keyframes zoomInOut {
    0% {
        transform: scale(0.9);
        opacity: 0;
    }
    50% {
        transform: scale(1.05);
        opacity: 1;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

.message-zoom {
    animation: zoomInOut 1s infinite ease-in-out;
}

@media (max-width: 768px) {
    #generator-box {
        width: 100%;
        height: auto;
        margin: 0 auto;
    }

    img[alt="Brawl Stars Logo"] {
        margin-top: -100px;
        max-width: 120px;
    }

    h2 {
        font-size: 1.5rem;
    }

    button {
        font-size: 1rem;
        padding: 10px 15px;
    }

    .form-control {
        font-size: 0.9rem;
        padding: 10px;
    }
}

@media (max-width: 576px) {
    h2 {
        font-size: 1.2rem;
    }

    .fa-lg {
        font-size: 1.2rem;
    }

    .platform-btn {
        padding: 8px;
        font-size: 0.9rem;
    }

    #generator-box {
        width: 100%;
        height: 400px;
    }

    .form-control {
        font-size: 0.8rem;
        padding: 8px;
    }

    #step7 .card {
        width: 90%;
    }
}
.gem-icon {
    width: 16px;
    height: 16px;
    margin-left: 5px;
    vertical-align: middle;
}

.gem-icon-inline {
    width: 24px;
    height: 32px;
    vertical-align: middle;
    margin-left: 5px;
    display: inline-block;
}

#recent-activity {
    background-color: black;
    padding: 10px;
    border-radius: 10px;
    color: white;
    margin: 20px auto;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    width: 90%;
    max-width: 400px;
    min-width: 300px;
    text-align: center;
}

#recent-activity h5 {
    color: #ffc107;
    margin-bottom: 10px;
    text-align: center;
    font-weight: bold;
    font-size: 1rem;
}

#fake-users-list {
    list-style: none;
    margin: 0;
    padding: 0;
}

#fake-users-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.3rem;
}

#fake-users-list li:last-child {
    border-bottom: none;
}

.fake-user-details {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.6rem;
}

.fake-user-details img {
    width: 16px;
    height: auto;
    margin-right: 3px;
}

.fake-time {
    margin-left: 5px;
    font-size: 0.75rem;
}

.recent-activity-container {
    background-color: #000;
    padding: 8px;
    border-radius: 8px;
    max-width: 350px;
    margin: 0 auto;
    font-size: 0.8rem;
}

.recent-activity-container h4 {
    font-size: 1rem;
    margin-bottom: 8px;
    color: #ffc107;
}

.modern-input {
    background: linear-gradient(145deg, #2a2a2a, #3c3c3c);
    border: 2px solid #ffcc29;
    color: #ffffff;
    font-size: 1.1rem;
    font-weight: bold;
    border-radius: 15px;
    padding: 12px 15px;
    width: 80%;
    max-width: 300px;
    margin: 0 auto;
    outline: none;
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6),
        -4px -4px 8px rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease-in-out;
}

.modern-input::placeholder {
    color: #ffffff;
    font-weight: normal;
    opacity: 1;
}

.modern-input:focus {
    border-color: #ff0000;
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.8),
        -6px -6px 12px rgba(255, 255, 255, 0.2);
    background: linear-gradient(145deg, #333333, #444444);
}

.modern-input:hover {
    border-color: #ffffff;
    background: linear-gradient(145deg, #292929, #3d3d3d);
    box-shadow: 6px 6px 12px rgba(0, 0, 0, 0.7),
        -6px -6px 12px rgba(255, 255, 255, 0.3);
}

.generator-step h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #ffc107;
}

.dots {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #ffc107;
    border-radius: 50%;
    margin: 0 3px;
    animation: bounce 1.5s infinite;
}

.dot:nth-child(2) {
    animation-delay: 0.2s;
}

.dot:nth-child(3) {
    animation-delay: 0.4s;
}

@keyframes dot-flash {
    0%,
    80%,
    100% {
        opacity: 0;
    }
    40% {
        opacity: 1;
    }
}

.message-blink {
    animation: blink 0.5s infinite;
}
@keyframes blink {
    0%,
    100% {
        opacity: 1;
    }
    50% {
        opacity: 0;
    }
}

@keyframes bounce {
    0%,
    80%,
    100% {
        transform: scale(0);
    }
    40% {
        transform: scale(1);
    }
}
.invisible {
    visibility: hidden;
}
