:root {
    --font-sans: Arial, "Helvetica Neue", Helvetica, ui-sans-serif, system-ui, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol", "Noto Color Emoji";
}

/* Only GoLink custom areas */
.golink-navbar,
.golink-main,
.golink-footer,
.golink-hero,
.golink-auth {
    font-family: var(--font-sans);
}

.golink-navbar a,
.golink-main a,
.golink-footer a {
    text-decoration: none;
}

.golink-navbar button,
.golink-main button,
.golink-main input {
    font-family: var(--font-sans);
}

.golink-text-primary {
    color: #ff2d20;
}

.golink-border-primary {
    border-color: #ff2d20;
}

.golink-bg-primary {
    background-color: #ff2d20;
}

.golink-title-dark {
    margin: 0;
    color: #111827;
    font-size: 24px;
    font-weight: 900;
}

/* Navbar */

.golink-navbar {
    width: 100%;
    background: #ffffff;
    border-bottom: 1px solid #e5e7eb;
    position: sticky;
    top: 0;
    z-index: 50;
}

.golink-nav-inner {
    max-width: 1280px;
    height: 72px;
    margin: 0 auto;
    padding: 0 24px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 24px;
}

.golink-logo {
    display: flex;
    align-items: center;
    flex-shrink: 0;
}

.golink-logo img {
    height: 38px;
    width: auto;
    display: block;
}

.golink-desktop-menu {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 24px;
    flex: 1;
}

.golink-desktop-right {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.golink-nav-link {
    font-size: 14px;
    font-weight: 600;
    color: #374151;
    transition: 0.2s ease;
    white-space: nowrap;
}

.golink-nav-link:hover {
    color: #ff2d20;
}

.golink-nav-link.admin {
    color: #ef4444;
    font-weight: 800;
}

.golink-nav-link.user {
    color: #2563eb;
    font-weight: 800;
}

.golink-lang {
    min-width: 42px;
    height: 34px;
    padding: 0 12px;
    border-radius: 10px;
    background: #f3f4f6;
    color: #6b7280;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 13px;
    font-weight: 800;
    transition: 0.2s ease;
}

.golink-lang.active {
    background: #ff2d20;
    color: #ffffff;
    box-shadow: 0 8px 18px rgba(255, 45, 32, 0.25);
}

.golink-logout {
    border: none;
    background: transparent;
    color: #6b7280;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    padding: 0 0 0 8px;
}

.golink-logout:hover {
    color: #ff2d20;
}

.golink-mobile-button {
    display: none;
    width: 42px;
    height: 42px;
    border: 1px solid #e5e7eb;
    border-radius: 12px;
    background: #ffffff;
    color: #374151;
    font-size: 24px;
    line-height: 1;
    cursor: pointer;
}

.golink-mobile-menu {
    display: none;
    background: #ffffff;
    border-top: 1px solid #e5e7eb;
    padding: 16px 24px 20px;
}

.golink-mobile-menu.is-open {
    display: block;
}

.golink-mobile-list {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.golink-mobile-actions {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-top: 8px;
    padding-top: 14px;
    border-top: 1px solid #f1f5f9;
}

/* Main wrapper */

.golink-main {
    width: 100%;
    flex: 1;
    padding: 56px 0 40px;
}

/* Home */

.golink-hero {
    width: 100%;
    padding: 0 24px;
}

.golink-hero-grid {
    max-width: 1280px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1.05fr 0.95fr;
    align-items: center;
    gap: 56px;
}

.golink-badge {
    display: inline-flex;
    align-items: center;
    border-radius: 999px;
    background: #fff1f0;
    color: #ff2d20;
    padding: 8px 14px;
    font-size: 13px;
    font-weight: 800;
}

.golink-hero-text h1 {
    margin: 18px 0 0;
    max-width: 700px;
    font-size: 48px;
    line-height: 1.08;
    letter-spacing: -0.04em;
    color: #111827;
    font-weight: 900;
}

.golink-hero-text p {
    margin: 20px 0 0;
    max-width: 700px;
    color: #4b5563;
    font-size: 18px;
    line-height: 1.8;
}

.golink-hero-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    margin-top: 28px;
}

.golink-btn {
    min-height: 48px;
    padding: 0 22px;
    border-radius: 14px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 14px;
    font-weight: 800;
    transition: 0.2s ease;
}

.golink-btn-primary {
    background: #ff2d20;
    color: #ffffff;
    box-shadow: 0 12px 24px rgba(255, 45, 32, 0.22);
}

.golink-btn-primary:hover {
    background: #dc2626;
}

.golink-btn-secondary {
    background: #ffffff;
    color: #374151;
    border: 1px solid #d1d5db;
}

.golink-btn-secondary:hover {
    background: #f9fafb;
}

.golink-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.golink-short-card {
    padding: 30px;
}

.golink-short-card h2 {
    margin: 0;
}

.golink-short-card p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

.golink-form {
    margin-top: 24px;
    display: grid;
    gap: 16px;
}

.golink-form label {
    display: block;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
    margin-bottom: 8px;
}

.golink-form input {
    width: 100%;
    height: 50px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 14px;
    font-size: 15px;
    outline: none;
}

.golink-form input:focus {
    border-color: #ff2d20;
    box-shadow: 0 0 0 4px rgba(255, 45, 32, 0.12);
}

.golink-form button {
    height: 50px;
    border: 0;
    border-radius: 14px;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.golink-form button:hover {
    background: #1f2937;
}

.golink-features {
    max-width: 1280px;
    margin: 40px auto 0;
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.golink-feature-card {
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 20px;
    padding: 22px;
    box-shadow: 0 10px 24px rgba(15, 23, 42, 0.05);
}

.golink-feature-card h3 {
    margin: 0;
    color: #111827;
    font-size: 17px;
    font-weight: 900;
}

.golink-feature-card p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 14px;
    line-height: 1.6;
}

/* Auth pages */

.golink-auth {
    width: 100%;
    min-height: calc(100vh - 180px);
    padding: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.golink-auth-card {
    width: 100%;
    max-width: 460px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    border-radius: 24px;
    padding: 32px;
    box-shadow: 0 18px 40px rgba(15, 23, 42, 0.08);
}

.golink-auth-head h1 {
    margin: 0;
    color: #111827;
    font-size: 32px;
    line-height: 1.2;
    font-weight: 900;
}

.golink-auth-head p {
    margin: 10px 0 0;
    color: #6b7280;
    font-size: 15px;
    line-height: 1.6;
}

.golink-google-btn {
    margin-top: 22px;
    width: 100%;
    min-height: 50px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    background: #ffffff;
    color: #1f2937;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    font-size: 15px;
    font-weight: 900;
    text-decoration: none;
    font-family: var(--font-sans);
    transition: 0.2s ease;
}

.golink-google-btn:hover {
    border-color: #ff2d20;
    background: #fff7f6;
    color: #ff2d20;
    box-shadow: 0 10px 24px rgba(255, 45, 32, 0.12);
}

.golink-google-btn span {
    width: 26px;
    height: 26px;
    border-radius: 999px;
    background: #ffffff;
    border: 1px solid #e5e7eb;
    color: #4285f4;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 15px;
    font-weight: 900;
}

.golink-auth-divider {
    margin: 20px 0;
    display: flex;
    align-items: center;
    gap: 12px;
}

.golink-auth-divider span {
    height: 1px;
    flex: 1;
    background: #e5e7eb;
}

.golink-auth-divider small {
    color: #9ca3af;
    font-size: 12px;
    font-weight: 700;
}

.golink-auth-form {
    display: grid;
    gap: 16px;
}

.golink-auth-form label {
    display: block;
    margin-bottom: 8px;
    color: #374151;
    font-size: 14px;
    font-weight: 800;
}

.golink-auth-form input[type="email"],
.golink-auth-form input[type="password"],
.golink-auth-form input[type="text"] {
    width: 100%;
    height: 48px;
    border: 1px solid #d1d5db;
    border-radius: 14px;
    padding: 0 14px;
    color: #111827;
    font-size: 15px;
    outline: none;
}

.golink-auth-form input:focus {
    border-color: #ff2d20;
    box-shadow: 0 0 0 4px rgba(255, 45, 32, 0.12);
}

.golink-auth-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    flex-wrap: wrap;
}

.golink-checkbox {
    display: inline-flex !important;
    align-items: center;
    gap: 8px;
    margin: 0 !important;
    color: #4b5563 !important;
    font-size: 14px !important;
    font-weight: 600 !important;
}

.golink-checkbox input {
    width: 16px;
    height: 16px;
}

.golink-auth-row a,
.golink-auth-bottom a {
    color: #ff2d20;
    font-size: 14px;
    font-weight: 800;
}

.golink-auth-form button {
    width: 100%;
    height: 48px;
    border: 0;
    border-radius: 14px;
    background: #111827;
    color: #ffffff;
    font-size: 15px;
    font-weight: 900;
    cursor: pointer;
    transition: 0.2s ease;
}

.golink-auth-form button:hover {
    background: #1f2937;
}

.golink-auth-bottom {
    margin: 22px 0 0;
    text-align: center;
    color: #6b7280;
    font-size: 14px;
}

.golink-error {
    display: block;
    margin-top: 6px;
    color: #dc2626;
    font-size: 13px;
    font-weight: 600;
}

/* Footer */

.golink-footer {
    margin-top: auto;
    border-top: 1px solid #e5e7eb;
    background: #ffffff;
    padding: 18px 16px;
    text-align: center;
    font-size: 14px;
    color: #6b7280;
}

/* Responsive */

@media (max-width: 1023px) {
    .golink-desktop-menu,
    .golink-desktop-right {
        display: none;
    }

    .golink-mobile-button {
        display: inline-flex;
        align-items: center;
        justify-content: center;
    }

    .golink-nav-inner {
        height: 66px;
    }

    .golink-main {
        padding: 36px 0 32px;
    }

    .golink-hero-grid {
        grid-template-columns: 1fr;
        gap: 28px;
    }

    .golink-hero-text h1 {
        font-size: 38px;
    }

    .golink-features {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .golink-nav-inner {
        padding: 0 16px;
    }

    .golink-logo img {
        height: 34px;
    }

    .golink-hero {
        padding: 0 16px;
    }

    .golink-hero-text h1 {
        font-size: 32px;
    }

    .golink-hero-text p {
        font-size: 16px;
    }

    .golink-hero-actions {
        flex-direction: column;
    }

    .golink-btn {
        width: 100%;
    }

    .golink-short-card {
        padding: 22px;
    }

    .golink-features {
        grid-template-columns: 1fr;
    }

    .golink-auth {
        padding: 16px;
        align-items: flex-start;
    }

    .golink-auth-card {
        padding: 24px;
        border-radius: 20px;
    }

    .golink-auth-head h1 {
        font-size: 28px;
    }
}