/*
    Developed by: Igor Kalen  
    Contact: igor@igorkalen.dev  
    Creation Date: July 31, 2025  
    Last Updated: August 1, 2025
    Version: 2.0.0
    Status: IN PRODUCTION
    File: contact.css

    ----
    © 2025 Laius Entertainment. All rights reserved.

    This code is the exclusive property of Laius Entertainment.  
    Unauthorized use, copying, distribution, or modification  
    is strictly prohibited.

    For internal use only on systems, services, and domains  
    officially managed by Laius Entertainment.
*/
:root {
    --primary: #27742d;
    --primary-light: #2f8235;
    --primary-dark: #1e5d22;
    --text-primary: #1a1a1a;
    --text-secondary: #666666;
    --text-muted: #999999;
    --background: #ffffff;
    --background-subtle: #fafafa;
    --border: #e5e7eb;
    --border-light: #f3f4f6;
    --shadow: rgba(0, 0, 0, 0.04);
    --shadow-md: rgba(0, 0, 0, 0.08);
    --error: #dc2626;
}

  .cookie-banner {
            position: fixed;
            bottom: 0;
            left: 0;
            right: 0;
            background: var(--background);
            border-top: 1px solid var(--border);
            padding: 1.5rem;
            z-index: 10002;
            box-shadow: 0 -4px 20px var(--shadow-md);
            transform: translateY(100%);
            opacity: 0;
            transition: all 0.4s ease;
        }

        .cookie-banner.show {
            transform: translateY(0);
            opacity: 1;
        }

        .cookie-banner.hide {
            transform: translateY(100%);
            opacity: 0;
        }

        .cookie-content {
            max-width: 1200px;
            margin: 0 auto;
            display: flex;
            align-items: center;
            justify-content: space-between;
            gap: 1.5rem;
        }

        .cookie-text {
            flex: 1;
            color: var(--text-secondary);
            font-size: 0.95rem;
            line-height: 1.5;
        }

        .cookie-text strong {
            color: var(--text-primary);
            font-weight: 600;
        }

        .cookie-text a {
            color: var(--primary);
            text-decoration: none;
            font-weight: 500;
        }

        .cookie-text a:hover {
            text-decoration: underline;
        }

        .cookie-actions {
            display: flex;
            gap: 0.75rem;
            flex-shrink: 0;
        }

        .cookie-btn {
            padding: 0.75rem 1.5rem;
            border-radius: 8px;
            font-weight: 500;
            text-decoration: none;
            display: inline-flex;
            align-items: center;
            gap: 0.5rem;
            transition: all 0.2s ease;
            font-size: 0.9rem;
            border: none;
            cursor: pointer;
            white-space: nowrap;
        }

        .cookie-btn-primary {
            background: var(--primary);
            color: white;
        }

        .cookie-btn-primary:hover {
            background: var(--primary-dark);
            transform: translateY(-1px);
        }

        .cookie-btn-secondary {
            background: transparent;
            color: var(--text-primary);
            border: 1px solid var(--border);
        }

        .cookie-btn-secondary:hover {
            background: var(--background-subtle);
            border-color: var(--primary);
        }

        .preferences-button {
            position: fixed;
            bottom: 20px;
            left: 20px;
            background: var(--background);
            border: 1px solid var(--border);
            border-radius: 8px;
            width: 50px;
            height: 50px;
            display: none;
            align-items: center;
            justify-content: center;
            cursor: pointer;
            box-shadow: 0 4px 20px var(--shadow-md);
            transition: all 0.2s ease;
            z-index: 9999999999;
            color: var(--text-secondary);
        }

        .preferences-button:hover {
            background: var(--primary);
            color: white;
            border-color: var(--primary);
            transform: translateY(-2px);
        }

        .preferences-button svg {
            width: 20px;
            height: 20px;
            fill: currentColor;
        }

        .preferences-modal {
            position: fixed;
            top: 0;
            left: 0;
            right: 0;
            bottom: 0;
            background: rgba(0, 0, 0, 0.5);
            display: none;
            align-items: center;
            justify-content: center;
            z-index: 10003;
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .preferences-modal.show {
            opacity: 1;
        }

        .preferences-content {
            background: var(--background);
            border-radius: 8px;
            padding: 2rem;
            max-width: 500px;
            width: 90%;
            max-height: 80vh;
            overflow-y: auto;
            transform: scale(0.9);
            transition: transform 0.3s ease;
        }

        .preferences-modal.show .preferences-content {
            transform: scale(1);
        }

        .preferences-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 1.5rem;
        }

        .preferences-title {
            font-family: 'Space Grotesk', sans-serif;
            font-size: 1.5rem;
            font-weight: 600;
            color: var(--text-primary);
        }

        .preferences-close {
            background: none;
            border: none;
            color: var(--text-muted);
            cursor: pointer;
            padding: 4px;
            border-radius: 8px;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.2s ease;
        }

        .preferences-close:hover {
            background: var(--background-subtle);
            color: var(--text-primary);
        }

        .preference-item {
            margin-bottom: 1.5rem;
            padding-bottom: 1.5rem;
            border-bottom: 1px solid var(--border-light);
        }

        .preference-item:last-child {
            border-bottom: none;
            margin-bottom: 0;
            padding-bottom: 0;
        }

        .preference-header {
            display: flex;
            justify-content: space-between;
            align-items: center;
            margin-bottom: 0.5rem;
        }

        .preference-name {
            font-weight: 600;
            color: var(--text-primary);
        }

        .preference-toggle {
            position: relative;
            width: 44px;
            height: 24px;
            background: var(--border);
            border-radius: 8px;
            cursor: pointer;
            transition: background 0.2s ease;
        }

        .preference-toggle.active {
            background: var(--primary);
        }

        .preference-toggle::before {
            content: '';
            position: absolute;
            top: 2px;
            left: 2px;
            width: 20px;
            height: 20px;
            background: white;
            border-radius: 8px;
            transition: transform 0.2s ease;
        }

        .preference-toggle.active::before {
            transform: translateX(20px);
        }

        .preference-description {
            color: var(--text-secondary);
            font-size: 0.9rem;
            line-height: 1.4;
        }

        .preferences-actions {
            display: flex;
            gap: 0.75rem;
            justify-content: flex-end;
            margin-top: 2rem;
            padding-top: 1.5rem;
            border-top: 1px solid var(--border-light);
        }


        .feedback-popup {
    position: fixed;
    bottom: 80px;
    left: 20px;
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 1.5rem;
    max-width: 320px;
    box-shadow: 0 8px 32px var(--shadow-md);
    z-index: 10001;
    transform: translateY(100px);
    opacity: 0;
    transition: all 0.3s ease;
}

.feedback-popup.show {
    transform: translateY(0);
    opacity: 1;
}

.feedback-popup.hide {
    transform: translateY(100px);
    opacity: 0;
}

.feedback-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    margin-bottom: 1rem;
}

.feedback-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 1.1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
}

.feedback-close {
    background: none;
    border: none;
    color: var(--text-muted);
    cursor: pointer;
    padding: 0;
    width: 20px;
    height: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.feedback-close:hover {
    background: var(--background-subtle);
    color: var(--text-primary);
}

.feedback-text {
    color: var(--text-secondary);
    font-size: 0.9rem;
    line-height: 1.4;
    margin-bottom: 1.5rem;
}

.feedback-btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.2s ease;
    width: 100%;
}

.feedback-btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

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

body {
    font-family: 'Inter', sans-serif;
    line-height: 1.6;
    color: var(--text-primary);
    background: var(--background-subtle);
    font-size: 16px;
    min-height: 100vh;
}

.container {
    max-width: 600px;
    margin: 0 auto;
    padding: 2rem;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.header-wrapper {
    margin-bottom: 3rem;
    text-align: center;
}

.back-link {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-weight: 500;
    font-size: 0.95rem;
    transition: color 0.2s ease;
    margin-bottom: 2rem;
}

.back-link:hover {
    color: var(--primary);
}

.back-link svg {
    width: 20px;
    height: 20px;
}

.section-title {
    font-family: 'Space Grotesk', sans-serif;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-form {
    background: var(--background);
    border: 1px solid var(--border);
    border-radius: 8px;
    padding: 2rem;
    box-shadow: 0 4px 20px var(--shadow-md);
}

.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    font-weight: 500;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    font-size: 0.95rem;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 1px solid var(--border);
    border-radius: 8px;
    font-size: 0.95rem;
    font-family: inherit;
    background: var(--background);
    color: var(--text-primary);
    transition: all 0.2s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 0 3px rgba(39, 116, 45, 0.1);
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: var(--text-muted);
}

.form-group select {
    cursor: pointer;
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml;charset=UTF-8,%3csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='%23666666' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3e%3cpolyline points='6,9 12,15 18,9'%3e%3c/polyline%3e%3c/svg%3e");
    background-repeat: no-repeat;
    background-position: right 0.75rem center;
    background-size: 16px;
    padding-right: 2.5rem;
}

.form-group textarea {
    resize: vertical;
    min-height: 120px;
}

.error-msg {
    color: var(--error);
    font-size: 0.875rem;
    margin-top: 0.5rem;
    display: none;
}

.form-group.error input,
.form-group.error select,
.form-group.error textarea {
    border-color: var(--error);
    box-shadow: 0 0 0 3px rgba(220, 38, 38, 0.1);
}

.form-group.error .error-msg {
    display: block;
}

.btn {
    width: 100%;
    padding: 0.875rem 1.75rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 8px;
    font-weight: 500;
    font-size: 0.95rem;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
}

.btn:hover {
    background: var(--primary-dark);
    transform: translateY(-1px);
}

.btn:active {
    transform: translateY(0);
}

.btn:disabled {
    background: var(--text-muted);
    cursor: not-allowed;
    transform: none;
}

@media (max-width: 768px) {
    .container {
        padding: 1rem;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .contact-form {
        padding: 1.5rem;
    }
      .cookie-content {
                flex-direction: column;
                align-items: stretch;
                gap: 1rem;
            }

            .cookie-actions {
                flex-direction: column;
            }

            .cookie-btn {
                justify-content: center;
            }

            .preferences-content {
                margin: 1rem;
                width: calc(100% - 2rem);
            }

            .preferences-actions {
                flex-direction: column;
            }
               .feedback-popup {
        bottom: 80px;
        left: 15px;
        right: 15px;
        max-width: none;
    }
}