/* Contact Page Specific Styles */

body {
    background: #11111a;
}

/* Logo header */
.site-header {
    width: 100%;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 25px 0 10px 0;
    margin-bottom: 30px;
}

.logo {
    font-weight: 700;
    font-size: 2rem;
    color: #fff;
}

.logo span {
    color: #a855f7;
}

/* Container for contact page content */
.contact-container {
    max-width: 1000px;
    width: 100%;
    margin: 0 auto 150px;
    padding: 0 20px;
}

/* Title section */
.page-title {
    text-align: center;
    margin-bottom: 50px;
}

.page-title h1 {
    font-size: 2.8rem;
    font-weight: 700;
    margin-bottom: 15px;
}

.page-title .accent {
    color: #a855f7;
}

.page-title p {
    color: rgba(255, 255, 255, 0.7);
    font-size: 1.05rem;
    max-width: 700px;
    margin: 0 auto;
    font-weight: 400;
}

/* Contact Cards Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(340px, 1fr));
    gap: 30px;
    margin: 60px 0;
}

/* Contact Card Styling */
.contact-card {
    background: #16161c;
    border-radius: 15px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    min-height: 260px;
    border: 1px solid #222;
}

.contact-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.5);
    border-color: #a855f7;
}

.contact-header {
    display: flex;
    align-items: center;
    padding: 25px 25px 15px;
    gap: 15px;
}

.contact-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.6rem;
    color: white;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Specific platform icons */
.contact-icon.discord {
    background: linear-gradient(135deg, #5865F2, #404EED);
}

.contact-icon.email {
    background: linear-gradient(135deg, #a855f7, #6366f1);
}

.contact-title {
    font-size: 1.5rem;
    font-weight: 600;
}

.contact-info {
    padding: 0 25px 20px;
    color: #c7c7e0;
    line-height: 1.6;
    flex-grow: 1;
}

.contact-info p {
    margin-bottom: 15px;
}

.contact-value {
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
    padding: 12px 15px;
    display: flex;
    align-items: center;
    position: relative;
    min-height: 46px;
}

/* Make email field display better */
.contact-value.email-value {
    display: block;
    padding-right: 40px; /* Space for the copy button */
}

.contact-value .label {
    font-size: 0.9rem;
    opacity: 0.7;
    margin-right: 5px;
    display: inline-block;
}

.contact-value .value {
    font-weight: 500;
    color: white;
    font-family: 'Roboto Mono', monospace;
    word-break: break-all; /* Ensures long emails can wrap if needed */
    font-size: 0.95rem;
}

.copy-btn {
    position: absolute;
    right: 12px;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: #6366f1;
    cursor: pointer;
    font-size: 0.9rem;
    opacity: 0.7;
    transition: opacity 0.2s;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.copy-btn:hover {
    opacity: 1;
}

.contact-action {
    padding: 20px 25px;
    border-top: 1px solid #222;
    background: #14141a;
}

.action-button {
    background: #a855f7;
    color: white;
    padding: 10px 20px;
    border-radius: 25px;
    text-decoration: none;
    font-size: 0.95rem;
    transition: all 0.2s;
    text-align: center;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.action-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

/* Add Contact Card (Placeholder) */
.contact-card.add-contact {
    background: rgba(22, 22, 28, 0.5);
    border: 2px dashed #333;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 260px;
}

.add-contact-content {
    text-align: center;
    padding: 30px;
}

.add-icon {
    font-size: 2.5rem;
    color: #333;
    margin-bottom: 15px;
}

.add-contact-content p {
    color: #555;
}

/* Contact Note */
.contact-note {
    background: rgba(22, 22, 28, 0.7);
    border-left: 3px solid #a855f7;
    padding: 20px;
    border-radius: 8px;
    display: flex;
    align-items: flex-start;
    gap: 15px;
    max-width: 800px;
    margin: 0 auto;
}

.note-icon {
    color: #a855f7;
    font-size: 1.2rem;
    padding-top: 2px;
}

.contact-note p {
    color: #c7c7e0;
    font-size: 0.95rem;
    margin: 0;
    line-height: 1.5;
}

/* Gradient Background */
.gradient-bg {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    height: 150px;
    background: linear-gradient(to top, #2d1a4d, transparent);
    z-index: -1;
}

/* Bottom Navigation */
.bottom-nav {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    display: flex;
    justify-content: center;
    gap: 40px;
    padding-bottom: 20px;
    z-index: 10;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-size: 1rem;
    position: relative;
    padding-bottom: 5px;
    opacity: 0.8;
    transition: all 0.2s;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: #a855f7;
    transition: width 0.2s;
}

.nav-link:hover, .nav-link.active {
    opacity: 1;
}

.nav-link:hover::after, .nav-link.active::after {
    width: 100%;
}

/* Responsive Adjustments */
@media (max-width: 767px) {
    .contact-grid {
        grid-template-columns: 1fr;
    }

    .contact-card {
        max-width: 500px;
        margin: 0 auto;
        width: 100%;
    }

    .page-title h1 {
        font-size: 2.2rem;
    }
}

@media (max-width: 480px) {
    .page-title h1 {
        font-size: 1.8rem;
    }

    .contact-header {
        padding: 20px 20px 10px;
    }

    .contact-info, .contact-action {
        padding: 10px 20px;
    }

    .contact-note {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 10px;
    }
}