/* PEPIG Advanced Layout - Pink Theme */
@import url('https://fonts.googleapis.com/css2?family=Londrina+Solid:wght@100;300;400;900&family=Poppins:wght@400;500;700&display=swap');

:root {
    --primary-pink: #FF4D9D;
    --neon-pink: #ff007f;
    --neon-green: #22c55e;
    --glow-green: rgba(34, 197, 94, 0.4);
    --bg-light: #fde9e1;
    --text-dark: #343434;
    --bg-card: rgba(0, 0, 0, 0.05);
    --border-glass: rgba(52, 52, 52, 0.1);
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Londrina Solid', cursive;
}

body {
    background: var(--bg-light);
    color: var(--text-dark);
    overflow-x: hidden;
}

/* Utilities */
.glass {
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 2.5rem;
}

/* Navbar & Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 2rem 8%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: linear-gradient(to bottom, rgba(253, 233, 225, 0.8), transparent);
}

.nav-links {
    display: flex;
    gap: 2rem;
    list-style: none;
}

.nav-links a {
    color: var(--text-dark);
    text-decoration: none;
    font-size: 1.1rem;
    font-family: 'Poppins', sans-serif;
    opacity: 0.8;
    transition: var(--transition);
}

.nav-links a:hover {
    color: var(--primary-pink);
    opacity: 1;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    padding: 100px 10%;
    background: radial-gradient(circle at 20% 50%, rgba(255, 77, 157, 0.1), transparent 50%);
}

.hero-grid {
    display: grid;
    grid-template-columns: 0.8fr 1fr; /* Swapped for new layout */
    gap: 2rem;
    align-items: center;
    width: 100%;
}

.hero-left {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
    animation: fadeInLeft 1s forwards;
    opacity: 1; /* Ensure visible */
}

.nav-logo {
    height: 40px;
    display: block;
}

.hero-title-container {
    margin-bottom: 1rem;
}

.hero-title-img {
    width: 100%;
    max-width: 550px;
    display: block;
    filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.05));
}

.hero-subtitle {
    font-family: 'Poppins', sans-serif;
    font-size: 1.5rem;
    color: #343434;
    margin-bottom: 2rem;
}

/* CA Box */
.ca-box {
    background: rgba(0, 0, 0, 0.05);
    border: 1px solid var(--border-glass);
    padding: 0.8rem 1.2rem;
    border-radius: 12px;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    max-width: 500px;
    width: fit-content;
    cursor: pointer;
    transition: var(--transition);
}

.ca-box:hover {
    background: rgba(0, 0, 0, 0.1);
}

.ca-label {
    font-family: 'Poppins', sans-serif;
    font-weight: 700;
    color: #666;
    font-size: 0.9rem;
}

.ca-address {
    font-family: monospace;
    font-size: 0.75rem;
    letter-spacing: -0.2px;
    color: var(--text-dark);
    white-space: nowrap;
}

.copy-icon {
    margin-left: auto;
    width: 20px;
    opacity: 0.6;
}

/* Action Group */
.action-group {
    display: flex;
    gap: 1rem;
    align-items: center;
    margin-top: 1.5rem;
}

.social-btn {
    background: #343434;
    border: none;
    padding: 0.6rem 1rem;
    border-radius: 10px;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    text-decoration: none;
    color: #fde9e1;
    font-family: 'Poppins', sans-serif;
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: var(--transition);
}

.social-btn:hover {
    background: rgba(0, 0, 0, 0.1);
    transform: translateY(-3px);
}

.social-btn img {
    width: 20px;
    height: 20px;
    object-fit: contain;
}



/* Hero Right */
.hero-right {
    display: flex;
    justify-content: center;
    animation: fadeInRight 1s ease-out;
}

.hero-image {
    max-width: 100%;
    width: 500px;
    filter: drop-shadow(0 0 50px rgba(255, 77, 157, 0.3));
    animation: float 6s ease-in-out infinite;
}

/* Animations */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-20px); }
}

@keyframes fadeInLeft {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

@keyframes fadeInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* Visibility classes for script.js */
section {
    padding: 120px 10%;
}

section, .meme-card {
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.8s ease-out, transform 0.8s ease-out;
}

section.visible, .meme-card.visible {
    opacity: 1 !important;
    transform: translateY(0) !important;
}

.hero {
    opacity: 1 !important; /* Hero always visible */
    transform: none !important;
}

.hero-left, .hero-right {
    opacity: 1 !important;
}

.vault-title-container {
    display: flex;
    justify-content: center;
    margin-bottom: 1.5rem;
}

.vault-title-img {
    width: 100%;
    max-width: 380px;
    display: block;
    filter: drop-shadow(2px 2px 0px rgba(0,0,0,0.05));
}

.vault-subtitle {
    font-family: 'Poppins', sans-serif;
    color: #666;
    text-align: center;
    font-size: 1.2rem;
    margin-bottom: 5rem;
    opacity: 0.8;
}

.about-card {
    max-width: 800px;
    margin: 0 auto;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 1.5rem;
    padding: 2rem 5%;
}

.meme-card {
    background: rgba(0, 0, 0, 0.05);
    border: none;
    border-radius: 25px;
    padding: 0;
    overflow: hidden;
    transition: var(--transition);
}

.meme-card:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    z-index: 10;
}

.meme-card img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    aspect-ratio: 1/1;
    border-radius: 25px;
    display: block;
}

/* Footer */
footer {
    padding: 4rem 10%;
    text-align: center;
    border-top: 1px solid rgba(0, 0, 0, 0.05);
}

/* Responsive */
@media (max-width: 1024px) {
    .hero-grid {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .hero-left, .hero-right {
        align-items: center;
    }
    .ca-box {
        margin: 0 auto;
    }
    .action-group {
        flex-wrap: wrap;
        justify-content: center;
    }
}
