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

body {
    background: #eef2f8;
    font-family: system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', sans-serif;
    padding: 2rem;
    min-height: 100vh;
}

/* Header */
.site-header {
    max-width: 1400px;
    margin: 0 auto 1.6rem auto;
}

.site-title {
    font-size: 2.3rem;
    font-weight: 650;
    background: linear-gradient(135deg, #1f3a4b, #2c5a7a);
    background-clip: text;
    -webkit-background-clip: text;
    color: transparent;
    letter-spacing: -0.3px;
    display: inline-flex;
    align-items: center;
    gap: 0.7rem;
}

.site-title span {
    background: none;
    color: #1f5e94;
    font-size: 2.2rem;
}

.subhead {
    font-size: 1rem;
    color: #5c7f9c;
    margin-top: 0.3rem;
    border-left: 4px solid #8db5d0;
    padding-left: 0.9rem;
}

/* Main grid */
.main-grid {
    max-width: 1400px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 1.6rem;
    margin-bottom: 2rem;
}

/* Cards */
.card {
    background: white;
    border-radius: 1.6rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    height: fit-content;
}

.card-header {
    padding: 1.1rem 1.3rem 0.5rem 1.3rem;
    border-bottom: 1px solid #eef2f8;
}

.card-header h2 {
    font-size: 1.55rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 0.4rem;
    color: #1f2e3a;
}

.card-header p {
    font-size: 0.85rem;
    color: #6f8eaa;
    margin-top: 0.2rem;
}

.card-content {
    padding: 1rem 1.3rem 1.3rem 1.3rem;
}

/* Resources grid */
.resources-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 0.7rem;
}

.resource-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: #f8fafd;
    padding: 0.6rem 0.9rem;
    border-radius: 1.1rem;
    text-decoration: none;
    transition: 0.1s;
    border: 1px solid #e9edf2;
}

.resource-item:hover {
    background: #eef3fc;
    transform: translateX(3px);
    border-color: #cbdde9;
}

.res-icon {
    font-size: 1.3rem;
    width: 30px;
    text-align: center;
    opacity: 0.85;
}

.res-info {
    flex: 1;
    min-width: 0;
}

.res-name {
    font-weight: 600;
    color: #1a5d9c;
    font-size: 1rem;
    line-height: 1.3;
}

.res-url {
    font-size: 0.7rem;
    color: #8aa0b5;
    font-family: monospace;
    word-break: break-all;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

/* Development items */
.dev-item {
    background: linear-gradient(135deg, #f8fafd 0%, #ffffff 100%);
    border-radius: 1.1rem;
    border: 1px solid #e2edf5;
    transition: 0.15s;
    margin-bottom: 0.9rem;
}

.dev-item:last-child {
    margin-bottom: 0;
}

.dev-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 14px -8px rgba(0, 0, 0, 0.12);
    border-color: #cde0ed;
}

.dev-link {
    display: flex;
    align-items: center;
    gap: 0.9rem;
    padding: 0.85rem 1.1rem;
    text-decoration: none;
}

.dev-icon {
    font-size: 1.7rem;
    background: #eef3fc;
    width: 48px;
    height: 48px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
}

.dev-info {
    flex: 1;
}

.dev-name {
    font-weight: 700;
    color: #1a5d9c;
    font-size: 1.05rem;
}

.dev-desc {
    font-size: 0.85rem;
    color: #5f7f9e;
    margin-top: 0.2rem;
}

.arrow {
    color: #8ba5bc;
    font-size: 1.3rem;
    transition: 0.1s;
}

.dev-link:hover .arrow {
    transform: translateX(4px);
    color: #1a73e8;
}

/* Feedback form */
.feedback-wrapper {
    max-width: 1400px;
    margin: 0 auto;
}

.feedback-card {
    background: white;
    border-radius: 1.6rem;
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.05);
    padding: 1.1rem 1.3rem 1.3rem;
}

.feedback-header {
    display: flex;
    align-items: baseline;
    justify-content: space-between;
    flex-wrap: wrap;
    margin-bottom: 0.85rem;
    border-bottom: 1px solid #eef2f8;
    padding-bottom: 0.5rem;
}

.feedback-header h3 {
    font-size: 1.3rem;
    font-weight: 600;
    color: #1f2e3a;
    display: flex;
    align-items: center;
    gap: 6px;
}

.comments-count {
    font-size: 0.85rem;
    color: #7f9ab5;
}

.compact-form {
    display: flex;
    flex-wrap: wrap;
    gap: 0.8rem;
    align-items: flex-end;
    margin-bottom: 1rem;
}

.form-field {
    flex: 1;
    min-width: 160px;
}

.form-field label {
    font-size: 0.85rem;
    font-weight: 600;
    color: #4a627a;
    display: block;
    margin-bottom: 0.25rem;
}

.form-field input,
.form-field textarea {
    width: 100%;
    padding: 0.6rem 0.9rem;
    border: 1px solid #d4e0ea;
    border-radius: 1.3rem;
    font-size: 1rem;
    font-family: inherit;
    background: #fefefe;
    transition: 0.1s;
}

.form-field input:focus,
.form-field textarea:focus {
    outline: none;
    border-color: #1a73e8;
    box-shadow: 0 0 0 3px rgba(26, 115, 232, 0.1);
}

.form-field textarea {
    resize: vertical;
    min-height: 70px;
}

.submit-btn {
    background: #1a73e8;
    color: white;
    border: none;
    padding: 0.6rem 1.3rem;
    border-radius: 2.6rem;
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    transition: 0.1s;
    height: 46px;
    white-space: nowrap;
}

.submit-btn:hover {
    background: #1557b0;
    transform: translateY(-2px);
}

/* Comments list */
.comments-compact {
    margin-top: 0.9rem;
    max-height: 270px;
    overflow-y: auto;
    border-top: 1px solid #eef2f8;
    padding-top: 0.9rem;
}

.comment-item {
    background: #f9fbfd;
    border-radius: 1.1rem;
    padding: 0.7rem 0.9rem;
    margin-bottom: 0.7rem;
    border-left: 4px solid #1a73e8;
}

.comment-head {
    display: flex;
    align-items: baseline;
    gap: 0.7rem;
    flex-wrap: wrap;
    margin-bottom: 0.3rem;
}

.comment-name {
    font-weight: 700;
    font-size: 0.9rem;
    color: #1a5d9c;
}

.comment-date {
    font-size: 0.7rem;
    color: #8ba0b2;
}

.comment-text {
    font-size: 0.95rem;
    color: #2c3e50;
    word-break: break-word;
    line-height: 1.4;
}

.delete-comment {
    background: none;
    border: none;
    font-size: 0.8rem;
    color: #b88;
    cursor: pointer;
    margin-left: auto;
    opacity: 0.5;
    padding: 0 0.3rem;
}

.delete-comment:hover {
    opacity: 1;
}

.empty-msg {
    text-align: center;
    font-size: 0.9rem;
    color: #9bb0c2;
    padding: 0.8rem;
}

.footer-note {
    font-size: 0.8rem;
    text-align: center;
    color: #8ba0b2;
    margin-top: 1rem;
}

/* Responsive */
@media (max-width: 780px) {
    .main-grid {
        grid-template-columns: 1fr;
        gap: 1.3rem;
    }
    body {
        padding: 1.3rem;
    }
    .compact-form {
        flex-direction: column;
        align-items: stretch;
    }
    .submit-btn {
        align-self: flex-start;
    }
    .resources-grid {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 500px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }
}
