:root {
    --primary: #BC430D;
    --secondary: #F09410;
    --brown: #35200D;
    --background: #f7f5f6;
    --white: #fef1df;
    --text-color: #241705;
}

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

body {
    font-family: 'Montserrat', sans-serif;
    /* Gradient matching the welcome screen: light at top, amber at bottom */
    background: linear-gradient(to bottom, var(--white) 0%, var(--secondary) 100%);
    color: var(--text-color);
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
}

.container {
    max-width: 500px;
    width: 100%;
    padding: 20px 20px 40px;
    text-align: center;
}

.lang-bar {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.lang-toggle-btn {
    background: rgba(255, 255, 255, 0.9);
    border: 2px solid var(--primary);
    color: var(--primary);
    padding: 6px 14px;
    border-radius: 999px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.85rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 10px rgba(53, 32, 13, 0.1);
}

.lang-toggle-btn:hover {
    background: var(--primary);
    color: var(--white);
    transform: translateY(-1px);
}

.header {
	margin-bottom:80px;
}

.logo {
    max-width: 150px;
    height: auto;
    margin-bottom: 24px;
}

.title {
    font-size: 2.2rem;
    font-weight: 600;
    color: var(--text-color);
    margin-bottom: 16px;
    letter-spacing: -0.5px;
}

.subtitle-text {
    font-size: 1.1rem;
    line-height: 1.6;
    color: var(--text-color);
}

.trailer-video {
    width: 100%;
    margin-top: 28px;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    border-radius: 8px;
    box-shadow: 0 10px 18px rgba(53, 32, 13, 0.22);
}

.trailer-video video {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
    border: 0;
    background: #000;
}

.store-badges {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 14px;
    flex-wrap: wrap;
    margin-top: 28px;
}

.store-badge {
    display: block;
    height: 48px;
    width: auto;
}
.footer-content {
	width: 100%;
	position:fixed;
	bottom:0;
	left:0;
}
.footer-links {	
	background:#ad3f0c;
	padding:12px;
	text-align:center;
}

.footer-link {  
    padding: 12px;    
	color:#fde7e9;
	text-decoration:none;
	font-size:13px;
}

.tooltip-footer {
	background:#271805;
	color:#fde7e9;
	text-align:left;	
	padding:8px;
	padding-left:30px;
	font-size:11px;
}
.tooltip-footer a {
	color:#fde7e9;
	text-decoration:none;
	font-size:13px;
}
.policy-page {
    align-items: flex-start;
}


.policy-container {
    max-width: 900px;
    text-align: left;
    padding: 36px 20px 64px;
}

.policy-header {
    text-align: center;
    margin-bottom: 28px;
}

.policy-logo {
    max-width: 96px;
    margin-bottom: 16px;
}

.policy-updated {
    margin-top: 8px;
    color: var(--brown);
    font-size: 0.95rem;
    font-weight: 600;
}

.policy-language-links {
    margin-top: 18px;
    display: flex;
    justify-content: center;
    gap: 10px;
    font-weight: 700;
}

.delete-btn {
    display: block;
    width: max-content;
    margin: 24px auto 0;
    background-color: #d32f2f;
    color: var(--white);
    padding: 12px 24px;
    text-decoration: none;
    border-radius: 999px;
    font-weight: bold;
    font-size: 16px;
    transition: background-color 0.3s, transform 160ms ease, box-shadow 160ms ease;
    text-align: center;
    box-shadow: 0 10px 16px rgba(53, 32, 13, 0.24);
}

.delete-btn:hover {
    background-color: #b71c1c;
    transform: translateY(-1px);
    box-shadow: 0 12px 20px rgba(53, 32, 13, 0.28);
}

.delete-btn:active {
    transform: translateY(1px);
    box-shadow: 0 6px 12px rgba(53, 32, 13, 0.2);
}

.policy-language-links a {
    color: var(--primary);
    text-decoration: none;
}

.policy-language-links a:hover {
    text-decoration: underline;
}

.policy-card {
    background: rgba(254, 241, 223, 0.88);
    border: 2px solid rgba(255, 255, 255, 0.8);
    border-radius: 28px;
    box-shadow: 0 10px 18px rgba(53, 32, 13, 0.18);
    margin-top: 24px;
    padding: 32px;
	margin-bottom:50px;
}

.policy-card h2 {
    color: var(--text-color);
    font-size: 16px;
    margin-bottom: 20px;
}

.policy-card h3 {
    color: var(--brown);
    font-size: 15px;
    margin: 24px 0 10px;
}

.policy-card p,
.policy-card li {
    font-size: 13px;
    line-height: 1.65;
}
.policy-card p a {
	color:var(--text-color);
}
.policy-card ul {
    padding-left: 22px;
}

.policy-card li+li {
    margin-top: 8px;
}

@media (max-width: 600px) {
    .policy-container {
        padding: 28px 14px 48px;
    }

    .policy-card {
        border-radius: 22px;
        padding: 24px 20px;
    }

    .policy-card h2 {
        font-size: 18px;
    }
}

/* Authentication Page Custom Styles */
.auth-card {
    max-width: 480px;
    margin: 0 auto 50px;
    text-align: center;
}

.auth-state {
    padding: 10px 0;
}

.auth-icon {
    display: inline-flex;
    justify-content: center;
    align-items: center;
    width: 80px;
    height: 80px;
    border-radius: 50%;
    margin-bottom: 20px;
}

.success-icon {
    background: rgba(240, 148, 16, 0.15);
    color: var(--secondary);
    border: 2px solid var(--secondary);
}

.error-icon {
    background: rgba(211, 47, 47, 0.12);
    color: #d32f2f;
    border: 2px solid #d32f2f;
}

.auth-subtitle {
    font-size: 0.95rem;
    color: var(--brown);
    margin-bottom: 24px;
    font-weight: 500;
}

.auth-form {
    text-align: left;
    margin-top: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--brown);
    margin-bottom: 6px;
}

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

.input-wrapper input {
    width: 100%;
    padding: 14px 44px 14px 16px;
    border-radius: 14px;
    border: 2px solid rgba(53, 32, 13, 0.2);
    background: rgba(255, 255, 255, 0.95);
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    color: var(--text-color);
    outline: none;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.input-wrapper input:focus {
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(188, 67, 13, 0.15);
}

.toggle-password {
    position: absolute;
    right: 12px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 6px;
    user-select: none;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--brown);
    opacity: 0.6;
    transition: opacity 0.2s ease, color 0.2s ease;
}

.toggle-password:hover {
    opacity: 1;
    color: var(--primary);
}

.toggle-password svg {
    display: block;
}

.auth-action-btn {
    width: 100%;
    max-width: 100%;
    margin-top: 20px;
    background-color: var(--primary);
    cursor: pointer;
    border: none;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    gap: 8px;
}

.auth-action-btn:hover {
    background-color: #9c3508;
}

.auth-error-banner {
    background: rgba(211, 47, 47, 0.1);
    border: 1px solid rgba(211, 47, 47, 0.3);
    color: #b71c1c;
    padding: 12px 16px;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 500;
    margin-bottom: 16px;
}

.auth-status-text {
    font-size: 1rem;
    font-weight: 600;
    color: var(--brown);
    margin-top: 16px;
}

/* Spinners */
.spinner {
    width: 48px;
    height: 48px;
    border: 4px solid rgba(188, 67, 13, 0.2);
    border-top: 4px solid var(--primary);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
    margin: 20px auto;
}

.spinner-small {
    width: 18px;
    height: 18px;
    border: 2px solid rgba(255, 255, 255, 0.4);
    border-top: 2px solid var(--white);
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Coming Soon Modal Dialog */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(36, 23, 5, 0.6);
    backdrop-filter: blur(4px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    padding: 20px;
}

.modal-overlay.active {
    opacity: 1;
    visibility: visible;
}

.modal-card {
    background: var(--white);
    border: 2px solid rgba(240, 148, 16, 0.4);
    border-radius: 24px;
    padding: 32px 24px;
    max-width: 380px;
    width: 100%;
    text-align: center;
    box-shadow: 0 20px 40px rgba(53, 32, 13, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.modal-overlay.active .modal-card {
    transform: scale(1);
}

.modal-icon {
    font-size: 2.8rem;
    margin-bottom: 12px;
}

.modal-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--primary);
    margin-bottom: 10px;
}

.modal-text {
    font-size: 0.95rem;
    color: var(--text-color);
    line-height: 1.5;
    margin-bottom: 24px;
}

.modal-close-btn {
    background-color: var(--primary);
    color: var(--white);
    border: none;
    padding: 10px 28px;
    font-family: 'Montserrat', sans-serif;
    font-size: 0.95rem;
    font-weight: 700;
    border-radius: 999px;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(188, 67, 13, 0.3);
    transition: all 0.2s ease;
}

.modal-close-btn:hover {
    background-color: #9c3508;
    transform: translateY(-1px);
}

