/* === Unified Marvel Rivals-Inspired Theme — Updated === */

body {
    background-color: #0D0D0D;
    color: #F2F2F2;
    font-family: 'Inter', sans-serif;
    transition: background-color 0.3s ease, color 0.3s ease;
}

/* Headings */
h1, h2, h3, h4, h5 {
    font-family: 'Orbitron', sans-serif;
    color: #FF0059;
    background: linear-gradient(90deg, #FF0059, #00E0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

/* Links - Now full gradient like h2 */
a {
    font-weight: 500;
    background: linear-gradient(90deg, #00E0FF, #FF0059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    transition: all 0.3s ease;
}
a:hover {
    background: linear-gradient(90deg, #FF0059, #00E0FF);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 0 6px rgba(255, 0, 89, 0.4);
    text-decoration: underline;
}

/* Hero Section */
.hero {
    background: linear-gradient(to bottom, #1F1F1F, #0D0D0D);
    padding: 100px 0;
    text-align: center;
    color: #F2F2F2;
    text-shadow: 1px 1px 3px rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}
.hero h2 {
    font-size: 4vw;
}
.hero h3 {
    color: #8A8A8A;
}

/* Primary Buttons */
.primary-btn {
    background: #FF0059;
    color: #fff;
    padding: 14px 30px;
    font-size: 1rem;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s, box-shadow 0.3s, background-color 0.3s;
    border: 2px solid #FF0059;
}
.primary-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 0 20px #FF0059;
    background: transparent;
    color: #FF0059;
}

/* Navigation */
nav {
    background: rgba(18, 18, 24, 0.75);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    padding: 10px 30px;
    border-bottom: 1px solid #FF0059;
}
nav a {
    font-size: 1.1rem;
    margin: 0 15px;
    background: linear-gradient(90deg, #00E0FF, #FF0059);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-decoration: none;
    font-weight: 600;
    transition: color 0.3s ease, transform 0.3s;
}
nav a:hover {
    transform: translateY(-1px);
    text-shadow: 0 0 6px rgba(255, 0, 89, 0.6);
}

/* Section Styling */
section {
    padding: 80px 0;
    background-color: #0D0D0D;
    border-bottom: 1px solid #1F1F1F;
}

/* About Boxes */
.about-left,
.about-right {
    background-color: #1A1A1A;
    border: 1px solid #2C2C2C;
    border-radius: 10px;
    padding: 2rem;
    color: #F2F2F2;
    box-shadow: 0 0 10px rgba(255, 0, 89, 0.1);
}

/* Grid Styling */
.grid-wrapper a {
    transition: transform 0.4s ease, box-shadow 0.3s ease;
    border: 1px solid #333;
    background-color: #1b1d23;
}
.grid-wrapper a:hover {
    transform: scale(1.03);
    box-shadow: 0 0 20px rgba(0, 224, 255, 0.3);
}
.grid-wrapper img {
    object-fit: cover;
    background-color: #111;
    border: 1px solid #333;
    border-radius: 10px;
}
.grid-item-text {
    color: #ffffff !important;
    background: rgba(0, 0, 0, 0.7);
    font-size: 1.2rem;
    font-weight: bold;
    text-shadow: none !important;
    -webkit-text-fill-color: #ffffff !important;
    -webkit-background-clip: border-box !important;
}

/* Slider Navigation Buttons */
.btn {
    background-color: #FF0059;
    color: white;
    border: none;
    border-radius: 50%;
    font-weight: bold;
    transition: background-color 0.3s;
}
.btn:hover {
    background-color: #FF3377;
}

/* Footer */
footer {
    background: #1a1b20;
    color: #aaaaaa;
    border-top: 2px solid #FF0059;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #1F1F1F;
}
::-webkit-scrollbar-thumb {
    background: #FF0059;
    border-radius: 10px;
}

/* Paragraphs */
p {
    font-size: 1.05rem;
    line-height: 1.6;
    opacity: 0.9;
    font-weight: 300;
    margin-bottom: 1.2rem;
    max-width: 800px;
    text-align: center;
}

#section-4 p {
    margin: 0 auto 1.2rem auto;
    text-align: center;
}
/* === Final UI Polish === */

/* Fade-in animation */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Reveal animation on scroll */
.reveal {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease-out;
}
.reveal.visible {
    opacity: 1;
    transform: translateY(0);
}

/* Lift effect on card hover */
.grid-wrapper a {
    transition: transform 0.4s ease, box-shadow 0.4s ease;
}
.grid-wrapper a:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 0 12px 30px rgba(0, 224, 255, 0.2);
}

/* Button micro animation */
.primary-btn {
    transition: transform 0.25s ease, box-shadow 0.25s ease;
}
.primary-btn:hover {
    transform: translateY(-2px) scale(1.02);
    box-shadow: 0 0 12px rgba(255, 0, 89, 0.4);
}

/* Focus glow on inputs/buttons */
button:focus,
input:focus,
textarea:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(0, 224, 255, 0.4);
    border-radius: 5px;
}

/* Smooth color transitions for global elements */
body,
a,
nav a,
.grid-item-text,
h1, h2, h3, h4 {
    transition: color 0.3s ease, background-color 0.3s ease, text-shadow 0.3s ease;
}
