* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Raleway', sans-serif;
    background: url('../images/bg.png') center top / auto 100% repeat-x;
    color: white;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
    width: 100%;
    max-width: 100vw;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 50px 20px;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    width: 100%;
    box-sizing: border-box;
    overflow-x: hidden;
}

.header {
    margin-bottom: 1.0rem;
}

.logo {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
}

.logo-image {
    margin-bottom: 0.5rem;
    position: relative;
}

.logo-image::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 300%;
    height: 200%;
    background: radial-gradient(ellipse at top, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.08) 30%, rgba(255, 255, 255, 0.04) 50%, transparent 70%);
    border-radius: 0 0 500% 500%;
    z-index: 1;
    pointer-events: none;
}

.logo-img {
    max-width: 100%;
    height: auto;
    object-fit: contain;
}

.main-content {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 1000px;
    flex: 1;
    overflow-x: hidden;
}

.tagline {
    font-size: 1.25rem;
    font-weight: 400;
    color: rgba(255, 255, 255, 0.9);
    margin-bottom: 0.5rem;
}

.coming-soon-section {
    width: 100%;
    max-width: 400px;
    margin-bottom: 0.5rem;
}

.coming-soon-img {
    width: 100%;
    height: auto;
    border-radius: 15px;
    position: relative;
    z-index: 2;
}

.socials-section {
    width: 100%;
    margin-bottom: 0.5rem;
}

.hero-image {
    width: 100%;
    height: 200px;
    position: relative;
    overflow: hidden;
    margin-bottom: 1rem;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    border-radius: 20px;
}

.hero-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 20px;
    mask: linear-gradient(
        to right,
        transparent 0%,
        rgb(255, 255, 255) 50px,
        rgb(255, 255, 255) calc(100% - 50px),
        transparent 100%
    );
    -webkit-mask: linear-gradient(
        to right,
        transparent 0%,
        rgb(255, 255, 255) 50px,
        rgb(255, 255, 255) calc(100% - 50px),
        transparent 100%
    );
}

.signup-section {
    width: 100%;
    max-width: 500px;
    overflow-x: hidden;
    margin-bottom: 2rem;
}

.signup-text {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 1rem;
    line-height: 1.6;
    white-space: nowrap;
}

.signup-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.input-group label {
    display: block;
    color: #ffa500;
    font-weight: 500;
    margin-bottom: 0.5rem;
    text-align: left;
    font-size: 0.9rem;
}

.input-wrapper {
    position: relative;
    display: flex;
    align-items: center;
}

.email-icon {
    position: absolute;
    left: 16px;
    width: 20px;
    height: 20px;
    color: rgba(255, 255, 255, 0.6);
    z-index: 1;
}

.input-wrapper input {
    width: 100%;
    padding: 16px 16px 16px 48px;
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 165, 0, 0.3);
    border-radius: 12px;
    color: white;
    font-size: 1rem;
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.input-wrapper input:focus {
    outline: none;
    border-color: #ffa500;
    box-shadow: 0 0 0 3px rgba(255, 165, 0, 0.2);
}

.input-wrapper input::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.join-button {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #000;
    border: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.3);
}

.join-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 165, 0, 0.4);
}

.join-button:active {
    transform: translateY(0);
}

.join-button:disabled {
    opacity: 0.7;
    cursor: not-allowed;
    transform: none;
}

.join-button:disabled:hover {
    transform: none;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.3);
}

/* Validation Messages */
.validation-message {
    font-size: 0.9rem;
    margin-top: 0.5rem;
    padding: 0.5rem;
    border-radius: 8px;
    text-align: left;
}

.validation-message.error {
    color: #ff4444;
    background: rgba(255, 68, 68, 0.1);
    border: 1px solid rgba(255, 68, 68, 0.3);
}

.validation-message.success {
    color: #44ff44;
    background: rgba(68, 255, 68, 0.1);
    border: 1px solid rgba(68, 255, 68, 0.3);
}

/* Access Denied Page Styles */
.access-denied-section {
    width: 100%;
    max-width: 400px;
    margin-bottom: 1.5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

.access-denied-img {
    width: 100%;
    max-width: 300px;
    height: auto;
    object-fit: contain;
}

.message-section {
    text-align: center;
    margin-bottom: 2rem;
    max-width: 600px;
}

.access-denied-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.access-denied-message {
    font-size: 1.2rem;
    color: rgba(255, 255, 255, 0.9);
    line-height: 1.6;
    margin-bottom: 1rem;
}

.help-text {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.8);
    margin-top: 1rem;
}

.contact-link {
    color: #ffa500;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease;
}

.contact-link:hover {
    color: #ff8c00;
    text-decoration: underline;
}

.action-section {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    align-items: center;
    margin-bottom: 1.5rem;
}

.home-link {
    background: linear-gradient(135deg, #ffa500 0%, #ff8c00 100%);
    color: #000;
    text-decoration: none;
    padding: 16px 32px;
    border-radius: 12px;
    font-size: 1.1rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    transition: all 0.3s ease;
    box-shadow: 0 4px 20px rgba(255, 165, 0, 0.3);
    display: inline-block;
}

.home-link:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 25px rgba(255, 165, 0, 0.4);
}

/* Footer Styles */
.footer {
    width: 100%;
    max-width: 1200px;
    margin-top: auto;
    padding-top: 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1.5rem;
    flex-wrap: wrap;
}

.footer-link {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: #ffa500;
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.social-link {
    display: inline-block;
    transition: transform 0.3s ease;
}

.social-link:hover {
    transform: scale(1.1);
}

.social-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.disclaimer {
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

.responsible-gaming {
    font-size: 1rem;
    color: #ffa500;
    font-weight: 600;
    margin-bottom: 1rem;
    line-height: 1.4;
}

.cert-logo {
    width: 40px;
    height: auto;
    margin: 0 0.5rem 0.75rem 0.5rem;
    vertical-align: middle;
    filter: grayscale(1) brightness(0.7) opacity(0.7);
}

.legal-text {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.5;
    margin-bottom: 1rem;
}

.copyright {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.4;
    margin-top: 1rem;
}

/* Base responsive styles */
img {
    max-width: 100%;
    height: auto;
}

/* Responsive Design */
@media (max-width: 768px) {
    body {
        min-height: 100vh;
    }
    
    .container {
        padding: 30px 20px 20px 20px;
        max-width: 100%;
        min-height: 100vh;
        justify-content: flex-start;
    }
    
    .header {
        margin-bottom: 1rem;
    }
    
    .main-content {
        gap: 1rem;
        padding: 0;
        width: 100%;
        max-width: 100%;
        flex: 1;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .logo-image::before {
        width: 250%;
        height: 150%;
    }
    
    .logo-img {
        max-width: 200px;
    }
    
    .tagline {
        font-size: 1.1rem;
        margin-bottom: 0.3rem;
        padding: 0;
    }
    
    .coming-soon-section {
        width: 100%;
        max-width: 280px;
        margin-bottom: 0.3rem;
    }
	
	.socials-section {
        width: 100%;
        margin-bottom: 0.3rem;
    }
    
    .hero-image {
        height: 150px;
        margin-bottom: 0.5rem;
        width: 100%;
        max-width: 300px;
    }
    
    .hero-img {
        mask: linear-gradient(
            to right,
            transparent 0%,
            rgb(255, 255, 255) 25px,
            rgb(255, 255, 255) calc(100% - 25px),
            transparent 100%
        );
        -webkit-mask: linear-gradient(
            to right,
            transparent 0%,
            rgb(255, 255, 255) 25px,
            rgb(255, 255, 255) calc(100% - 25px),
            transparent 100%
        );
    }
    
    .signup-section {
        width: 100%;
        max-width: 300px;
        padding: 0;
        overflow-x: hidden;
    }
    
    .signup-text {
        font-size: 1rem;
        white-space: normal;
        line-height: 1.5;
        padding: 0;
        margin-bottom: 0.8rem;
    }
    
    .input-wrapper {
        width: 100%;
        max-width: 100%;
        overflow: hidden;
    }
    
    .input-wrapper input {
        padding: 14px 14px 14px 44px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .join-button {
        padding: 14px 28px;
        font-size: 1rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
}

@media (max-width: 480px) {
    .access-denied-title {
        font-size: 1.8rem;
    }
    
    .access-denied-message {
        font-size: 1rem;
    }
    
    .home-link {
        padding: 14px 28px;
        font-size: 1rem;
    }
    
    .container {
        padding: 30px 15px 20px 15px;
        min-height: 100vh;
        max-width: 100%;
        justify-content: flex-start;
    }
    
    .header {
        margin-bottom: 1rem;
    }
    
    .main-content {
        gap: 0.8rem;
        padding: 0;
        width: 100%;
        flex: 1;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .logo-image::before {
        width: 200%;
        height: 120%;
    }
    
    .logo-img {
        max-width: 170px;
    }
    
    .tagline {
        font-size: 0.95rem;
        padding: 0;
        margin-bottom: 0.2rem;
    }
    
    .coming-soon-section {
        width: 100%;
        max-width: 250px;
        margin-bottom: 0.2rem;
    }
	
	.socials-section {
        width: 100%;
        margin-bottom: 0.2rem;
    }
    
    .hero-image {
        height: 120px;
        width: 100%;
        max-width: 270px;
        margin-bottom: 0.3rem;
    }
    
    .hero-img {
        mask: linear-gradient(
            to right,
            transparent 0%,
            rgb(255, 255, 255) 20px,
            rgb(255, 255, 255) calc(100% - 20px),
            transparent 100%
        );
        -webkit-mask: linear-gradient(
            to right,
            transparent 0%,
            rgb(255, 255, 255) 20px,
            rgb(255, 255, 255) calc(100% - 20px),
            transparent 100%
        );
    }
    
    .signup-section {
        width: 100%;
        max-width: 270px;
    }
    
    .signup-text {
        font-size: 0.9rem;
        padding: 0;
        margin-bottom: 0.6rem;
    }
    
    .input-group label {
        font-size: 0.85rem;
    }
    
    .input-wrapper input {
        padding: 12px 12px 12px 40px;
        font-size: 0.9rem;
    }
    
    .email-icon {
        left: 12px;
        width: 18px;
        height: 18px;
    }
    
    .join-button {
        padding: 12px 24px;
        font-size: 0.95rem;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
    }
    
    .validation-message {
        font-size: 0.8rem;
        margin-top: 0.4rem;
        padding: 0.4rem;
    }
}

@media (max-width: 360px) {
    .access-denied-title {
        font-size: 1.6rem;
    }
    
    .access-denied-message {
        font-size: 0.95rem;
    }
    
    .home-link {
        padding: 12px 24px;
        font-size: 0.95rem;
    }
    
    .container {
        padding: 30px 10px 20px 10px;
        min-height: 100vh;
        max-width: 100%;
        justify-content: flex-start;
    }
    
    .header {
        margin-bottom: 1rem;
    }
    
    .main-content {
        gap: 0.6rem;
        padding: 0;
        flex: 1;
        overflow-x: hidden;
        display: flex;
        flex-direction: column;
        justify-content: center;
    }
    
    .logo-image::before {
        width: 180%;
        height: 100%;
    }
    
    .logo-img {
        max-width: 150px;
    }
    
    .coming-soon-section {
        max-width: 220px;
    }
    
    .hero-image {
        height: 100px;
        max-width: 240px;
    }
    
    .signup-section {
        max-width: 240px;
    }
    
    .tagline {
        font-size: 0.85rem;
    }
    
    .signup-text {
        font-size: 0.85rem;
    }
}
