﻿* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    background-color: #fff;
    color: #333;
}

.container {
    margin: 0 13% 1%;
}

header {
    position: relative;
}

.header-content {
    height: 70px;
    display: flex;
    align-items: center;
}

.logo-container {
    display: flex;
    align-items: center;
    padding-left: 8%;
}

.logo {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    object-fit: contain;
}

.site-info h1 {
    color: #101010;
    font-size: 28px;
    margin-bottom: 5px;
}

.auth-buttons {
    position: absolute;
    top: 0;
    right: 20px;
    display: flex;
    line-height: 70px;
}

.btn {
    padding: 0 10px;
    border: none;
    cursor: pointer;
    font-size: 14px;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.btn-login {
    background-color: #3568F1;
    color: #fff;
    margin-right: 10px;
}

.btn-login:hover {
    background-color: #0056b3;
}

.btn-register {
    color: #101010;
}

.btn-register:hover {
    background-color: rgba(0, 123, 255, 0.1);
}

.main-title {
    font-size: 24px;
    color: #fff;
    width: 255px;
    height: 55px;
    border-radius: 40px;
    background: linear-gradient(180deg, rgba(53,104,241,1) 0%,rgba(95,115,255,1) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 20px auto;
}

.main-title img {
    width: 32px;
    margin-left: -8px;
    margin-right: 5px;
}

.functions-grid {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: flex-start;
}

.function-box {
    width: calc(33.333% - 0.666rem);
    box-sizing: border-box;
    min-height: 130px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.function-card {
    background-color: white;
    border-radius: 4px;
    padding: 20px 15px;
    box-shadow: 0 3px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s ease;
    display: flex;
    text-decoration: none;
    color: inherit;
    border: 1px solid #E4DFDF;
    cursor: pointer;
    min-height: 130px;
}

.function-card:hover {
    box-shadow: 0px 2px 6px 0px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(228, 223, 223, 1);
}

.function-title {
    font-size: 18px;
    font-weight: 600;
    margin-bottom: 10px;
    color: #333;
}

.function-desc {
    font-size: 14px;
    color: #666;
    line-height: 1.6;
    flex-grow: 1;
}

.function-icon {
    width: 40px;
    height: 40px;
    margin-right: 10px;
}
