/* style/jun888login.css */
.page-jun888login {
    font-family: 'Arial', sans-serif;
    color: #333333; /* Default dark text for light body background */
    line-height: 1.6;
    background-color: #f8f9fa; /* Light background for the page content */
}

.page-jun888login__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-jun888login__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding, assuming body has header offset */
    background-color: #e0f2f7;
    text-align: center;
    overflow: hidden;
}

.page-jun888login__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 500px; /* Limit height for banner effect */
}

.page-jun888login__hero-content {
    padding: 40px 20px;
    background: linear-gradient(to bottom, rgba(255,255,255,0.8), rgba(255,255,255,1));
    position: relative;
    z-index: 1;
}

.page-jun888login__hero-title {
    font-size: clamp(2em, 5vw, 3em); /* Responsive font size */
    color: #2563eb;
    margin-bottom: 15px;
    font-weight: 700;
    line-height: 1.2;
}

.page-jun888login__hero-description {
    font-size: 1.1em;
    color: #64748b;
    max-width: 800px;
    margin: 0 auto 30px;
}

.page-jun888login__hero-button,
.page-jun888login__floating-button,
.page-jun888login__btn-primary,
.page-jun888login__btn-secondary,
.page-jun888login__game-button,
.page-jun888login__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    cursor: pointer;
    transition: background-color 0.3s ease, transform 0.2s ease;
    box-sizing: border-box; /* Crucial for button responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-jun888login__hero-button,
.page-jun888login__btn-primary,
.page-jun888login__cta-button {
    background-color: #2563eb;
    color: #ffffff;
    border: 2px solid #2563eb;
}

.page-jun888login__btn-secondary {
    background-color: #ffffff;
    color: #2563eb;
    border: 2px solid #2563eb;
}

.page-jun888login__hero-button:hover,
.page-jun888login__btn-primary:hover,
.page-jun888login__cta-button:hover {
    background-color: #1e40af;
    transform: translateY(-2px);
}

.page-jun888login__btn-secondary:hover {
    background-color: #e0f2f7;
    transform: translateY(-2px);
}

/* Floating Login Button */
.page-jun888login__floating-login-btn {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    max-width: 300px; /* Limit width */
    width: 100%;
    box-sizing: border-box;
    padding: 0 10px; /* Inner padding for mobile */
}

.page-jun888login__floating-button {
    background-color: #ef4444; /* Eye-catching color for promotion */
    color: #ffffff;
    padding: 15px 20px;
    border-radius: 50px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block; /* Make it block to fill max-width */
    font-size: 1.1em;
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
    text-align: center;
}

.page-jun888login__floating-button:hover {
    background-color: #dc2626;
    transform: scale(1.05);
}

/* General Section Styling */
.page-jun888login__section {
    padding: 60px 0;
    text-align: center;
}

.page-jun888login__section:nth-of-type(even) {
    background-color: #f0f8ff; /* Light blue background for alternating sections */
}

.page-jun888login__section-title {
    font-size: clamp(1.8em, 4vw, 2.5em); /* Responsive font size */
    color: #2563eb;
    margin-bottom: 30px;
    font-weight: 700;
}

.page-jun888login__text-block {
    font-size: 1.05em;
    color: #64748b;
    max-width: 900px;
    margin: 0 auto 20px;
}

.page-jun888login__inline-link {
    color: #2563eb;
    text-decoration: none;
    font-weight: bold;
}

.page-jun888login__inline-link:hover {
    text-decoration: underline;
}

/* Why Choose Us Section */
.page-jun888login__why-choose-us {
    background-color: #ffffff;
}

.page-jun888login__features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-jun888login__feature-item {
    background-color: #ffffff;
    padding: 30px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08);
    text-align: center;
    transition: transform 0.3s ease;
}

.page-jun888login__feature-item:hover {
    transform: translateY(-10px);
}

.page-jun888login__feature-icon {
    width: 100px;
    height: 100px;
    object-fit: contain;
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-jun888login__feature-title {
    font-size: 1.5em;
    color: #2563eb;
    margin-bottom: 10px;
    font-weight: 600;
}

.page-jun888login__feature-description {
    font-size: 0.95em;
    color: #64748b;
}

/* Login Guide Section */
.page-jun888login__login-guide {
    background-color: #f0f8ff;
}

.page-jun888login__steps-container {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    margin-top: 40px;
}