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

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    color: #fff;
    line-height: 1.6;
}

header {
    background: #000;
    padding: 1rem 2rem;
    box-shadow: 0 2px 10px rgba(255,0,0,0.3);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    flex-wrap: wrap;
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    color: #ff0000;
    text-transform: uppercase;
    letter-spacing: 2px;
}

nav {
    display: flex;
    gap: 2rem;
}

nav a {
    color: #fff;
    text-decoration: none;
    transition: color 0.3s;
    font-weight: 500;
}

nav a:hover {
    color: #ff0000;
}

.container {
    max-width: 1400px;
    margin: 2rem auto;
    padding: 2rem;
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 1024px) {
    .container {
        grid-template-columns: 1fr 300px;
    }
}

.profile-header {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 15px;
    padding: 2rem;
    margin-bottom: 2rem;
    box-shadow: 0 4px 20px rgba(0,0,0,0.5);
    display: grid;
    grid-template-columns: 1fr;
    gap: 2rem;
}

@media (min-width: 768px) {
    .profile-header {
        grid-template-columns: 400px 1fr;
        align-items: start;
    }
}

.profile-main-img {
    width: 100%;
    height: auto;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255,0,0,0.3);
}

.profile-details-section {
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    min-height: 100%;
}

h1 {
    font-size: 2.5rem;
    color: #ff0000;
    margin-bottom: 0.5rem;
}

.online-status {
    display: inline-block;
    background: #ff0000;
    color: #fff;
    padding: 0.5rem 1.5rem;
    border-radius: 25px;
    font-weight: bold;
    animation: pulse 2s infinite;
    margin-bottom: 1.5rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

.profile-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin: 1.5rem 0;
}

.info-item {
    background: #1a1a1a;
    padding: 1rem;
    border-radius: 10px;
    border-left: 3px solid #ff0000;
}

.info-label {
    color: #999;
    font-size: 0.9rem;
    margin-bottom: 0.3rem;
}

.info-value {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 600;
}

.hobbies-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
    margin: 1.5rem 0;
}

.hobby-tag {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    padding: 0.6rem 1.2rem;
    border-radius: 25px;
    font-size: 0.95rem;
    font-weight: 500;
}

.contact-btn {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    color: #fff;
    padding: 1.2rem 3rem;
    border: none;
    border-radius: 30px;
    font-size: 1.3rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
    text-align: center;
    margin-top: 1rem;
}

.contact-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(255,0,0,0.5);
}

h2 {
    font-size: 1.8rem;
    color: #ff0000;
    margin: 2rem 0 1rem 0;
    border-bottom: 2px solid #ff0000;
    padding-bottom: 0.5rem;
}

.about-section, .looking-for-section {
    background: #2a2a2a;
    padding: 2rem;
    border-radius: 10px;
    margin-bottom: 2rem;
    border-left: 4px solid #ff0000;
}

.related-profiles {
    background: #2a2a2a;
    padding: 1.5rem;
    border-radius: 10px;
    margin-bottom: 2rem;
}

.mini-profile {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin: 0.5rem 0;
    background: #1f1f1f;
    border-radius: 8px;
    transition: all 0.3s;
    cursor: pointer;
}

.mini-profile:hover {
    background: #333;
    transform: translateX(5px);
}

.mini-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    margin-right: 1rem;
    border: 2px solid #ff0000;
}

.mini-info {
    flex: 1;
}

.mini-name {
    font-weight: bold;
    color: #ff0000;
    font-size: 1.1rem;
}

.mini-details {
    color: #ccc;
    font-size: 0.9rem;
}

.more-profiles-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

@media (min-width: 768px) {
    .more-profiles-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

.small-profile-card {
    background: linear-gradient(145deg, #2a2a2a, #1f1f1f);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
    transition: transform 0.3s;
    cursor: pointer;
}

.small-profile-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255,0,0,0.4);
}

.small-profile-img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.small-profile-info {
    padding: 1rem;
    text-align: center;
}

.small-profile-name {
    font-weight: bold;
    color: #ff0000;
    margin-bottom: 0.3rem;
}

.cta-sidebar {
    background: linear-gradient(135deg, #ff0000 0%, #cc0000 100%);
    padding: 2rem;
    border-radius: 10px;
    text-align: center;
    margin-bottom: 2rem;
    position: sticky;
    top: 100px;
}

.cta-sidebar h3 {
    color: #fff;
    margin-bottom: 1rem;
}

.cta-sidebar-btn {
    background: #fff;
    color: #ff0000;
    padding: 1rem 2rem;
    border: none;
    border-radius: 30px;
    font-size: 1.1rem;
    font-weight: bold;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-block;
    text-decoration: none;
}

.cta-sidebar-btn:hover {
    background: #000;
    color: #fff;
}

footer {
    background: #000;
    padding: 2rem;
    margin-top: 3rem;
    border-top: 2px solid #ff0000;
}

.footer-container {
    max-width: 1400px;
    margin: 0 auto;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 1rem;
    flex-wrap: wrap;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s;
}

.footer-links a:hover {
    color: #ff0000;
}

.footer-text {
    color: #888;
    font-size: 0.9rem;
}

@media (max-width: 768px) {
    h1 { font-size: 1.8rem; }
    .header-container { justify-content: center; }
    .logo { margin-bottom: 1rem; width: 100%; text-align: center; }
    .profile-info-grid {
        grid-template-columns: 1fr;
    }
    .footer-links { gap: 1rem; }
}
