* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #e0e0e0;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

.auth-container {
    width: 100%;
    max-width: 400px;
    padding: 20px;
    margin: auto;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.auth-box {
    background: rgba(40, 40, 40, 0.95);
    border: 2px solid rgba(255, 68, 68, 0.3);
    border-radius: 15px;
    padding: 40px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.auth-title {
    font-size: 3em;
    color: #ff4444;
    text-align: center;
    margin-bottom: 10px;
    letter-spacing: 2px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.wrekt-title {
    display: inline-block;
}

.tilted-k {
    display: inline-block;
    transform: scaleX(-1) rotate(-12deg) translateX(6px);
    transform-origin: bottom center;
    margin-left: -4px;
    margin-right: -2px;
}

.auth-subtitle {
    text-align: center;
    color: #ff8888;
    font-style: italic;
    margin-bottom: 30px;
    font-size: 1.1em;
}

.auth-tabs {
    display: flex;
    gap: 10px;
    margin-bottom: 30px;
    border-bottom: 2px solid #555;
}

.tab-button {
    flex: 1;
    padding: 12px;
    background: transparent;
    color: #888;
    border: none;
    border-bottom: 3px solid transparent;
    cursor: pointer;
    font-size: 16px;
    font-weight: bold;
    transition: all 0.3s;
}

.tab-button.active {
    color: #ff4444;
    border-bottom-color: #ff4444;
}

.tab-button:hover {
    color: #ff6666;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #ffaaaa;
    font-weight: bold;
    font-size: 0.9em;
}

.form-group input {
    width: 100%;
    padding: 12px;
    background: #2a2a2a;
    color: #e0e0e0;
    border: 1px solid #555;
    border-radius: 5px;
    font-size: 16px;
}

.form-group input:focus {
    outline: none;
    border-color: #ff4444;
}

/* Consent checkbox (18+ + Terms) */
.consent-group {
    margin-top: 10px;
}

.consent-checkbox {
    display: flex;
    gap: 10px;
    align-items: flex-start;
    font-size: 0.9em;
    color: #ccc;
    line-height: 1.4;
}

.consent-checkbox input[type="checkbox"] {
    margin-top: 3px;
    width: 18px;
    height: 18px;
    accent-color: #ff4444;
}

.consent-checkbox a {
    color: #ff4444;
    text-decoration: none;
}

.consent-checkbox a:hover {
    text-decoration: underline;
}

.auth-button {
    width: 100%;
    padding: 14px;
    background: #ff4444;
    color: #000000;
    border: none;
    border-radius: 5px;
    font-size: 16px;
    font-weight: bold;
    cursor: pointer;
    transition: background 0.3s;
    margin-top: 10px;
}

.auth-button:hover {
    background: #ff6666;
}

.auth-button:active {
    background: #cc0000;
}

.error-message {
    margin-top: 15px;
    padding: 10px;
    background: rgba(255, 0, 0, 0.2);
    border: 1px solid #ff4444;
    border-radius: 5px;
    color: #ff8888;
    display: none;
    text-align: center;
}

.error-message.show {
    display: block;
}

.subscription-info {
    margin-top: 30px;
    padding: 20px;
    background: rgba(255, 100, 0, 0.1);
    border-radius: 8px;
    border: 1px solid rgba(255, 100, 0, 0.3);
    text-align: center;
}

.subscription-info strong {
    color: #ffaa44;
    font-size: 1.2em;
}

.subscription-info p {
    margin-bottom: 5px;
}

.subtext {
    font-size: 0.9em;
    color: #aaa;
}

/* Footer Styles for Auth Page */
.site-footer {
    background: rgba(20, 20, 20, 0.95);
    border-top: 2px solid rgba(255, 68, 68, 0.3);
    padding: 30px 20px 15px;
    margin-top: auto;
    color: #aaa;
    font-size: 0.9em;
}

.footer-content {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 30px;
    margin-bottom: 20px;
}

.footer-section h3 {
    color: #ff4444;
    font-size: 1.2em;
    margin-bottom: 10px;
}

.footer-section h4 {
    color: #ddd;
    font-size: 1em;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.footer-section p {
    color: #999;
    line-height: 1.6;
    margin: 0;
}

.footer-section ul {
    list-style: none;
    padding: 0;
    margin: 0;
}

.footer-section ul li {
    margin-bottom: 8px;
}

.footer-section ul li a {
    color: #aaa;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-section ul li a:hover {
    color: #ff4444;
    text-decoration: underline;
}

.footer-bottom {
    max-width: 1200px;
    margin: 0 auto;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    text-align: center;
    color: #888;
    font-size: 0.85em;
}

.footer-bottom p {
    margin: 0;
}

@media (max-width: 768px) {
    .auth-container {
        padding: 15px;
    }

    .auth-box {
        padding: 25px;
    }

    .auth-title {
        font-size: 2.2em;
    }

    .auth-subtitle {
        font-size: 1em;
    }

    .footer-content {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .footer-section {
        text-align: center;
    }

    .footer-bottom {
        text-align: center;
        font-size: 0.8em;
    }
}

@media (max-width: 480px) {
    .auth-box {
        padding: 20px;
    }

    .auth-title {
        font-size: 1.8em;
    }

    .subscription-info {
        padding: 15px;
    }

    .subscription-info strong {
        font-size: 1.1em;
    }
}
