﻿/* Ransomware Research Page Styles */

.rr-hero-section {
    position: relative;
    padding: 10rem 2rem 6rem;
    background: #0e0e0e;
    overflow: hidden;
    min-height: 500px;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
}

#rr-dots-canvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    pointer-events: none;
}

.rr-hero-container {
    position: relative;
    z-index: 10;
    max-width: 800px;
    width: 100%;
}

.rr-title {
    font-size: 3rem;
    font-weight: 600;
    color: #fff;
    line-height: 1.1;
    margin-bottom: 1.5rem;
    letter-spacing: -0.02em;
}

.rr-subtitle {
    font-size: 1.125rem;
    color: #a1a1aa;
    line-height: 1.6;
    margin-bottom: 3rem;
}

/* Search Box */
.rr-search-wrapper {
    max-width: 500px;
    margin: 0 auto;
    position: relative;
}

.rr-search-input-container {
    position: relative;
    display: flex;
    align-items: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    background: rgba(9, 9, 11, 0.5);
    backdrop-filter: blur(10px);
    border-radius: 4px;
    /* Industrial rectangle look */
    padding: 0 1.25rem;
    transition: border-color 0.3s, box-shadow 0.3s;
}

.rr-search-input-container:focus-within {
    border-color: rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.rr-search-input {
    width: 100%;
    height: 3.5rem;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1rem;
    outline: none;
}

.rr-search-input::placeholder {
    color: #52525b;
}

.rr-search-icon {
    color: #a1a1aa;
    width: 1.25rem;
    height: 1.25rem;
    margin-left: 1rem;
}

/* Groups List Section */
.rr-groups-section {
    background: #0e0e0e;
    padding: 4rem 2rem 10rem;
}

.rr-groups-container {
    max-width: 100%;
    /* Spans full width as in image */
    margin: 0 auto;
}

.rr-group-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 2rem 2.5rem;
    /* Increased padding */
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.2s ease;
    text-decoration: none;
}

.rr-group-row:hover {
    background: rgba(255, 255, 255, 0.03);
    padding-left: 3rem;
    /* Slight slide-right effect on hover */
}

/* Removed highlighted class background */
.rr-group-row.highlighted {
    background: transparent;
}

.rr-group-row.highlighted:hover {
    opacity: 0.9;
}

.rr-group-name {
    font-size: 1.25rem;
    /* Increased font size */
    font-weight: 500;
    color: #fff;
    letter-spacing: -0.01em;
}

.rr-group-link {
    font-size: 0.7rem;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.6);
    text-transform: uppercase;
    letter-spacing: 0.1em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.rr-group-row:hover .rr-group-link {
    color: #fff;
}

@media (max-width: 1024px) {
    .rr-title { font-size: 2.5rem; }
    .rr-hero-section { padding: 8rem 1.5rem 5rem; min-height: 400px; }
}

@media (max-width: 768px) {
    .rr-title { font-size: 2rem; }
    .rr-subtitle { font-size: 1rem; margin-bottom: 2rem; }
    .rr-hero-section { padding: 7rem 1.25rem 4rem; min-height: 350px; }
    .rr-search-wrapper { max-width: 100%; }
    .rr-search-input { height: 3rem; font-size: 0.9rem; }
    .rr-search-input-container { padding: 0 1rem; }
    .rr-groups-section { padding: 2rem 1rem 6rem; }
    .rr-group-row { padding: 1.5rem 1.25rem; }
    .rr-group-row:hover { padding-left: 1.75rem; }
    .rr-group-name { font-size: 1.1rem; }
}

@media (max-width: 480px) {
    .rr-title { font-size: 1.75rem; }
    .rr-subtitle { font-size: 0.9rem; }
    .rr-hero-section { padding: 6rem 1rem 3rem; min-height: 300px; }
    .rr-group-row { padding: 1.25rem 1rem; flex-direction: column; align-items: flex-start; gap: 0.5rem; }
    .rr-group-row:hover { padding-left: 1.5rem; }
    .rr-group-name { font-size: 1rem; }
    .rr-group-link { font-size: 0.65rem; }
}