#generator-header {
    background: #A31414; /* Deep red background */
    color: #ffffff; /* White text */
    font-weight: bold;
    text-align: center;
    padding: 10px 0;
    margin: 0;
    width: 100%;
    border-top-left-radius: 20px;
    border-top-right-radius: 20px;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}
.efootball-background {
  /* Updated — deep dark + red highlights */
  background: radial-gradient(circle at 20% 30%, #A31414 0%, #5F0B0B 40%, #120202 100%),
              linear-gradient(135deg, rgba(163, 20, 20, 0.08), rgba(0, 0, 0, 0.85));
  background-blend-mode: overlay;
  min-height: 100vh;
  color: #fff;
}


/* Generator box */
#generator-box {
    background: #1a1a1a; /* Dark background */
    color: white;
    border-radius: 20px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
    overflow: hidden;
    padding: 0px;
    width: 90%;
    max-width: 500px;
    margin: 0 auto;
    position: relative;
    top: -20px; /* Ensure header integrates seamlessly */
}

.logo-container {
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px; /* Adjust spacing below the logo */
}

.logo-container img {
    max-width: 150px; /* Control image size */
}

@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="Brawl Stars Logo"] {
    margin-top: -150px;
    max-width: 150px;
}

h2 {
    font-weight: 700;
    font-size: 1.8rem;
}

/* Modern Button Styling */
.btn-modern {
    display: inline-block;
    background: linear-gradient(
        to right,
        #A31414,
        #FF4A4A
    ); /* Red gradient */
    color: #ffffff; /* White text */
    font-size: 1rem; /* Smaller text for compact design */
    font-weight: bold; /* Bold text for emphasis */
    text-transform: uppercase; /* Uppercase text */
    padding: 8px 16px; /* Compact padding */
    border: none; /* Remove default border */
    border-radius: 10px; /* Subtle rounded corners */
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2); /* Soft shadow for depth */
    cursor: pointer; /* Pointer cursor on hover */
    transition: all 0.3s ease-in-out; /* Smooth hover effects */
    margin-top: 10px; /* Space above the button */
}

/* Hover Effect */
.btn-modern:hover {
    background: linear-gradient(
        to right,
        #FF4A4A,
        #A31414
    ); /* Reverse gradient */
    box-shadow: 0 6px 8px rgba(0, 0, 0, 0.3); /* Stronger shadow on hover */
    transform: scale(1.05); /* Slight growth for feedback */
}

/* Active/Pressed Effect */
.btn-modern:active {
    transform: scale(0.95); /* Shrinks on click */
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.2); /* Lighter shadow when pressed */
}

/* Center Alignment */
#proceed-btn {
    margin: 0 auto; /* Center horizontally */
    display: block; /* Ensure it's a block for full-width alignment */
}

/* Mobile Adjustments */
@media (max-width: 768px) {
    .btn-modern {
        font-size: 0.9rem; /* Adjust font size for smaller screens */
        padding: 6px 12px; /* Adjust padding */
    }
}

/* Platform Button Styling */
.platform-btn {
    background: transparent;
    border: 2px solid #A31414; /* Red border for contour */
    color: #ffffff; /* White text/icons */
    transition: 0.3s ease-in-out;
    padding: 10px;
    margin: 5px;
    border-radius: 10px; /* Rounded corners for a sleek design */
    box-shadow: 0 4px 6px rgba(163, 20, 20, 0.35); /* Subtle red shadow for depth */
}

.platform-btn:hover {
    background: #A31414; /* Red background on hover */
    color: #ffffff; /* White text/icons on hover */
    border-color: #ffffff; /* White border on hover */
    transform: scale(1.1); /* Slightly enlarge on hover for effect */
}

.platform-btn.selected {
    background-color: #A31414; /* Red background */
    color: #ffffff; /* White text */
    border-color: #A31414; /* Red border */
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Button Styles */
#proceed-btn,
#generate-btn,
#verify-btn {
    background: linear-gradient(
        to right,
        #A31414,
        #FF4A4A
    ); /* Red gradient */
    color: #ffffff; /* White text */
    font-weight: 600;
    border: none;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.2);
}

#proceed-btn:hover,
#generate-btn:hover,
#verify-btn:hover {
    background: linear-gradient(
        to right,
        #FF4A4A,
        #A31414
    ); /* Reverse gradient on hover */
}

.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 #A31414;
    border-color: #A31414;
}

.progress-bar {
    background: linear-gradient(
        90deg,
        #A31414,
        #FF4A4A
    ); /* Red gradient */
    animation: progressBar 3s linear infinite;
}

@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: #FF4A4A;
    font-size: 1.2rem;
}

.platform-btn {
    background: transparent;
    border: 2px solid #ffffff;
    color: #ffffff;
    transition: 0.3s;
    padding: 10px;
    margin: 5px;
}

.text-warning {
    color: #FF4A4A;
}

.text-danger {
    color: #A31414;
}

.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;
}

/* Responsive Design */
@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; /* Adjust size to fit the text */
    height: 16px;
    margin-left: 5px; /* Space between the gems number and the icon */
    vertical-align: middle; /* Align the gem image with the text */
}
/* Ensure the gem icon stays inline */
.gem-icon-inline {
    width: 26px; /* Adjust size as needed */
    height: 24px; /* Adjust size as needed */
    vertical-align: middle; /* Align with the text */
    margin-left: 5px; /* Add some space between the text and the icon */
    display: inline-block; /* Ensure it stays inline */
}
/* Styling for the Recent Activity section */
#recent-activity {
    background-color: black; /* Black background */
    padding: 10px; /* Add some padding for spacing */
    border-radius: 10px; /* Rounded corners */
    color: white; /* White text for readability */
    margin: 20px auto; /* Center align the section and add spacing above */
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3); /* Add shadow for depth */
    width: 90%; /* Responsive width */
    max-width: 400px; /* Fixed maximum width */
    min-width: 300px; /* Fixed minimum width for smaller screens */
    text-align: center; /* Center align the content inside */
}

/* Title styling */
#recent-activity h5 {
    color: #FF4A4A; /* Red title */
    margin-bottom: 10px; /* Space below the title */
    text-align: center;
    font-weight: bold;
    font-size: 1rem; /* Smaller font size */
}

/* List styling */
#fake-users-list {
    list-style: none; /* Remove bullets */
    margin: 0;
    padding: 0;
}

/* Individual item styling */
#fake-users-list li {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 5px 0; /* Space between items */
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Divider between items */
    font-size: 0.3rem; /* Smaller font size for content */
}

/* Remove the last divider */
#fake-users-list li:last-child {
    border-bottom: none;
}

/* User details styling */
.fake-user-details {
    display: flex;
    align-items: center;
    gap: 3px; /* Reduced gap between elements */
    font-size: 0.6rem; /* Smaller font size */
}

.fake-user-details img {
    width: 16px; /* Smaller flag size */
    height: auto; /* Maintain aspect ratio */
    margin-right: 3px; /* Smaller margin */
}

.fake-time {
    margin-left: 5px; /* Reduced space before time */
    font-size: 0.75rem; /* Smaller font size for time */
}

.recent-activity-container {
    background-color: #000; /* Keep the black background */
    padding: 8px; /* Slightly smaller padding */
    border-radius: 8px; /* Slightly smaller border-radius */
    max-width: 350px; /* Restrict the width */
    margin: 0 auto; /* Center align */
    font-size: 0.8rem; /* Make the overall text smaller */
}

.recent-activity-container h4 {
    font-size: 1rem; /* Smaller title */
    margin-bottom: 8px; /* Less space below title */
    color: #FF4A4A; /* Red title */
}

/* Modern 3D Input Field */
.modern-input {
    background: linear-gradient(
        145deg,
        #2a2a2a,
        #3c3c3c
    ); /* Subtle dark gradient for depth */
    border: 2px solid #A31414; /* Red border matching theme */
    color: #ffffff; /* White inserted text */
    font-size: 1.1rem; /* Balanced text size */
    font-weight: bold; /* Bold inserted text */
    border-radius: 15px; /* Smooth rounded corners */
    padding: 12px 15px; /* Spacing for comfortable text entry */
    width: 80%; /* Smaller width */
    max-width: 300px; /* Maximum width to limit size */
    margin: 0 auto; /* Center the input inside the container */
    outline: none; /* Remove default browser focus outline */
    box-shadow: 4px 4px 8px rgba(0, 0, 0, 0.6),
        -4px -4px 8px rgba(255, 255, 255, 0.1); /* 3D shadow effect */
    transition: all 0.3s ease-in-out; /* Smooth hover and focus transitions */
}

/* Placeholder Styling */
.modern-input::placeholder {
    color: #ffffff; /* Normal white text for placeholder */
    font-weight: normal; /* Normal weight for placeholder */
    opacity: 1; /* Fully opaque for clarity */
}

/* Focus Effect */
.modern-input:focus {
    border-color: #A31414; /* Highlight border in red */
    box-shadow: 0 0 12px rgba(163, 20, 20, 0.75),
        6px 6px 12px rgba(0, 0, 0, 0.8),
        -6px -6px 12px rgba(255, 255, 255, 0.2); /* Red glow + depth */
    background: linear-gradient(
        145deg,
        #333333,
        #444444
    ); /* Subtle brightened gradient on focus */
}

/* Hover Effect */
.modern-input:hover {
    border-color: #ffffff; /* White border on hover */
    background: linear-gradient(
        145deg,
        #292929,
        #3d3d3d
    ); /* Slightly different gradient for hover */
    box-shadow: 0 0 10px rgba(163, 20, 20, 0.45),
        6px 6px 12px rgba(0, 0, 0, 0.7),
        -6px -6px 12px rgba(255, 255, 255, 0.3); /* Stronger shadow on hover */
}

.generator-step h2 {
    font-size: 1.5rem;
    font-weight: bold;
    text-align: center;
    color: #FF4A4A; /* Red heading */
}

.dots {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    margin-left: 10px;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #FF4A4A; /* Red dots */
    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;
}

.platform-btn img {
  filter: brightness(1);
  transition: transform .2s ease, filter .2s ease;
}

.platform-btn:hover img,
.platform-btn:focus img {
  transform: scale(1.1);
  filter: brightness(1.3);
}

.platform-btn {
  background: transparent;
  border: none;
  margin: .25rem .4rem;
}



/* Remove the white gap above the footer only on this page */
.efootball-background + .site-footer { margin-top: 0 !important; }
