/* contact-style.css */

/* Hero Section */
.contact-hero {
    text-align: center;
    padding: 120px 20px 60px;
    background: radial-gradient(circle at center top, rgba(177, 18, 122, 0.15), transparent 70%);
}

.contact-hero h1 {
    font-family: 'Russo One', sans-serif;
    font-size: 3.5rem;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #fff 30%, rgba(255, 255, 255, 0.7));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.contact-hero p {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.7);
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.6;
}

/* Contact Container */
.contact-container {
    display: flex;
    justify-content: center;
    gap: 40px;
    max-width: 1000px;
    margin: 0 auto 100px;
    padding: 20px;
    flex-wrap: wrap;
}

/* Glass Card Shared Styles */
.contact-card {
    flex: 1;
    min-width: 300px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 24px;
    padding: 40px;
    text-align: center;
    backdrop-filter: blur(12px);
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    position: relative;
    overflow: hidden;
}

.contact-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

/* Discord Specifics */
.contact-card.discord:hover {
    border-color: rgba(88, 101, 242, 0.4);
    box-shadow: 0 20px 50px rgba(88, 101, 242, 0.2);
}

.discord-icon {
    width: 80px;
    height: 80px;
    margin-bottom: 20px;
    color: #5865F2;
    /* Discord Color */
    filter: drop-shadow(0 0 15px rgba(88, 101, 242, 0.4));
}

@keyframes float {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-10px);
    }
}

.contact-card h2 {
    font-family: 'Russo One', sans-serif;
    font-size: 2rem;
    margin-bottom: 10px;
    color: #fff;
}

.contact-card p {
    color: rgba(255, 255, 255, 0.6);
    margin-bottom: 30px;
}

/* Discord Button */
.discord-btn {
    display: inline-block;
    background: #5865F2;
    /* Discord Blurple */
    color: #fff;
    font-family: 'Russo One', sans-serif;
    padding: 14px 32px;
    border-radius: 30px;
    text-decoration: none;
    font-size: 1.1rem;
    transition: 0.3s;
    box-shadow: 0 5px 20px rgba(88, 101, 242, 0.3);
}

.discord-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(88, 101, 242, 0.5);
    background: #4752c4;
}

/* Email Specifics */
.contact-card.email:hover {
    border-color: rgba(255, 71, 87, 0.4);
    /* Use a reddish/brand tone */
    box-shadow: 0 20px 50px rgba(255, 71, 87, 0.2);
}

.email-icon {
    margin-bottom: 20px;
    margin: 0 auto 20px;
}

.email-icon svg {
    width: 70px;
    height: 70px;
    color: #fff;
}

.email-link {
    color: #fff;
    font-size: 1.2rem;
    text-decoration: none;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
    padding-bottom: 2px;
    transition: 0.3s;
}

.email-link:hover {
    border-color: #fff;
    color: var(--accent);
}

/* Responsive */
@media (max-width: 768px) {
    .contact-container {
        flex-direction: column;
    }

    .contact-hero h1 {
        font-size: 2.4rem;
        word-wrap: break-word;
    }
}

/* LIGHT THEME OVERRIDES */
body.light .contact-hero h1 {
    background: linear-gradient(135deg, var(--primary), var(--accent));
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: none;
}

body.light .contact-hero p {
    color: #444;
}

body.light .contact-card {
    background: rgba(255, 255, 255, 0.6);
    border-color: rgba(0, 0, 0, 0.1);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.05);
}

body.light .contact-card h2 {
    color: #111;
}

body.light .contact-card p {
    color: #555;
}

body.light .email-icon svg {
    color: #333;
}

body.light .email-link {
    color: #333;
    border-bottom-color: rgba(0, 0, 0, 0.2);
}

body.light .email-link:hover {
    color: var(--accent);
    border-color: var(--accent);
}