/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
    background: linear-gradient(135deg, #0f0f23 0%, #1a1a3e 50%, #2d1b69 100%);
    min-height: 100vh;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-family: 'Orbitron', monospace;
    font-weight: 700;
}

.section-title {
    font-size: 3rem;
    text-align: center;
    margin-bottom: 2rem;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b, #4ecdc4);
    background-size: 200% 200%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: gradientShift 3s ease-in-out infinite;
}

.section-subtitle {
    text-align: center;
    font-size: 1.2rem;
    color: #888;
    margin-bottom: 3rem;
}

@keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Header Styles */
.header {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(15, 15, 35, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.navbar {
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00d4ff;
}

.logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.5rem;
    font-weight: 900;
    color: #00d4ff;
    text-shadow: 0 0 10px rgba(0, 212, 255, 0.5);
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.nav-link {
    color: #fff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: #00d4ff;
    transform: translateY(-2px);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b);
    transition: width 0.3s ease;
}

.nav-link:hover::after {
    width: 100%;
}

.hamburger {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.bar {
    width: 25px;
    height: 3px;
    background: #fff;
    margin: 3px 0;
    transition: 0.3s;
}

/* Hero Section */
.hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: url('images/background.png') center/cover no-repeat;
    opacity: 0.3;
    z-index: -1;
}

.hero-background::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(15, 15, 35, 0.8) 0%, rgba(26, 26, 62, 0.6) 50%, rgba(45, 27, 105, 0.8) 100%);
}

.hero-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    z-index: 1;
}

.hero-title {
    font-size: 4rem;
    line-height: 1.2;
    margin-bottom: 1.5rem;
}

.pip-token {
    display: block;
    font-family: 'Orbitron', monospace;
    font-weight: 900;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b, #4ecdc4, #45b7d1);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowGlow 4s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.3);
}

.subtitle {
    display: block;
    font-size: 1.5rem;
    color: #fff;
    font-weight: 400;
    margin-top: 0.5rem;
}

@keyframes rainbowGlow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

.hero-description {
    font-size: 1.2rem;
    color: #ccc;
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
}

.btn {
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    position: relative;
    overflow: hidden;
}

.btn-primary {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 212, 255, 0.4);
}

.btn-secondary {
    background: transparent;
    color: #00d4ff;
    border: 2px solid #00d4ff;
}

.btn-secondary:hover {
    background: #00d4ff;
    color: #0f0f23;
    transform: translateY(-3px);
}

/* Hero Visual */
.hero-visual {
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
}

.pip-character {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    justify-content: center;
    align-items: center;
}

.pip-glow {
    position: absolute;
    width: 200px;
    height: 200px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0, 212, 255, 0.3) 0%, transparent 70%);
    animation: pulse 2s ease-in-out infinite;
}

.pip-dot {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(45deg, #00d4ff, #ff6b6b);
    box-shadow: 0 0 30px rgba(0, 212, 255, 0.6);
    animation: float 3s ease-in-out infinite;
    position: relative;
}

.pip-dot::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

@keyframes pulse {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.2); opacity: 0.9; }
}

@keyframes float {
    0%, 100% { transform: translateY(0px) rotate(0deg); }
    50% { transform: translateY(-20px) rotate(180deg); }
}

/* Gallery Section */
.gallery {
    padding: 6rem 0;
    background: rgba(15, 15, 35, 0.8);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 3rem;
}

.meme-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    cursor: pointer;
}

.meme-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.6s ease;
    z-index: 1;
}

.meme-card:hover::before {
    left: 100%;
}

.meme-card:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.2);
}

.meme-image-container {
    position: relative;
    width: 100%;
    height: 400px;
    overflow: hidden;
    border-radius: 20px 20px 0 0;
}

.meme-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.meme-card:hover .meme-image {
    transform: scale(1.05);
}

.meme-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meme-card:hover .meme-overlay {
    opacity: 1;
}

.meme-actions {
    display: flex;
    gap: 1rem;
}

.meme-btn {
    background: rgba(0, 212, 255, 0.9);
    color: white;
    border: none;
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    backdrop-filter: blur(10px);
}

.meme-btn:hover {
    background: rgba(0, 212, 255, 1);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.meme-btn:nth-child(2) {
    background: rgba(255, 107, 107, 0.9);
}

.meme-btn:nth-child(2):hover {
    background: rgba(255, 107, 107, 1);
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

.meme-info {
    padding: 1.5rem;
    text-align: center;
}

.meme-info h3 {
    color: #00d4ff;
    margin-bottom: 0.5rem;
    font-size: 1.2rem;
    font-family: 'Orbitron', monospace;
}

.meme-info p {
    color: #ccc;
    font-size: 0.9rem;
    line-height: 1.4;
}

/* Meme Modal */
.meme-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2000;
    animation: fadeIn 0.3s ease;
}

.modal-backdrop {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(15, 15, 35, 0.95);
    border-radius: 20px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    max-width: 90vw;
    max-height: 90vh;
    overflow: hidden;
    backdrop-filter: blur(20px);
    box-shadow: 0 20px 60px rgba(0, 212, 255, 0.2);
}

.modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 1.5rem;
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    backdrop-filter: blur(10px);
}

.modal-close:hover {
    background: rgba(255, 107, 107, 0.8);
    transform: scale(1.1);
}

.modal-image {
    width: 100%;
    max-width: 600px;
    height: auto;
    display: block;
}

.modal-info {
    padding: 2rem;
    text-align: center;
}

.modal-info h3 {
    color: #00d4ff;
    margin-bottom: 1rem;
    font-size: 1.5rem;
    font-family: 'Orbitron', monospace;
}

.modal-info p {
    color: #ccc;
    margin-bottom: 2rem;
    font-size: 1rem;
}

.modal-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
}

.modal-btn {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    padding: 1rem 2rem;
    border-radius: 25px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.modal-btn:nth-child(2) {
    background: linear-gradient(45deg, #ff6b6b, #e55353);
}

.modal-btn:nth-child(2):hover {
    box-shadow: 0 10px 20px rgba(255, 107, 107, 0.3);
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideInUp {
    from {
        transform: translateY(100px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

@keyframes slideOutDown {
    from {
        transform: translateY(0);
        opacity: 1;
    }
    to {
        transform: translateY(100px);
        opacity: 0;
    }
}

/* Gallery specific glows */
.meme-card[data-meme="1"]:hover {
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.3);
}

.meme-card[data-meme="2"]:hover {
    box-shadow: 0 20px 40px rgba(255, 107, 107, 0.3);
}

.meme-card[data-meme="3"]:hover {
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.3);
}

.meme-card[data-meme="4"]:hover {
    box-shadow: 0 20px 40px rgba(69, 183, 209, 0.3);
}

.meme-card[data-meme="5"]:hover {
    box-shadow: 0 20px 40px rgba(255, 193, 7, 0.3);
}

.meme-card[data-meme="6"]:hover {
    box-shadow: 0 20px 40px rgba(156, 39, 176, 0.3);
}

.meme-card[data-meme="7"]:hover {
    box-shadow: 0 20px 40px rgba(76, 175, 80, 0.3);
}

.meme-card[data-meme="8"]:hover {
    box-shadow: 0 20px 40px rgba(255, 152, 0, 0.3);
}

/* Live Charts Section */
.live-charts {
    padding: 6rem 0;
    background: rgba(26, 26, 62, 0.8);
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.stat-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 15px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card:hover {
    transform: translateY(-5px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 15px 30px rgba(0, 212, 255, 0.1);
}

.stat-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.pump-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.stat-logo {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    object-fit: cover;
}

.stat-platform {
    color: #00d4ff;
    font-weight: 600;
    font-size: 0.9rem;
}

.live-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #4ecdc4;
    font-size: 0.8rem;
    font-weight: 600;
}

.live-dot {
    width: 8px;
    height: 8px;
    background: #4ecdc4;
    border-radius: 50%;
    animation: pulse-dot 2s ease-in-out infinite;
}

@keyframes pulse-dot {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.6;
        transform: scale(1.2);
    }
}

.stat-card h3 {
    color: #fff;
    font-size: 1.2rem;
    margin: 0;
}

.stat-label {
    color: #888;
    font-size: 0.9rem;
    margin-bottom: 0.5rem;
}

.stat-value {
    color: #fff;
    font-size: 1.8rem;
    font-weight: 700;
    font-family: 'Orbitron', monospace;
}

.stat-value.positive {
    color: #4ecdc4;
}

.stat-value.negative {
    color: #ff6b6b;
}

.market-cap .stat-value {
    color: #00d4ff;
}

.volume .stat-value {
    color: #ff6b6b;
}

.price .stat-value {
    color: #45b7d1;
}

/* Live Transactions */
.live-transactions {
    margin-top: 4rem;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 20px;
    padding: 2rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.transactions-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 2rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.transactions-header h3 {
    color: #fff;
    margin: 0;
    font-size: 1.4rem;
}

.transactions-container {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    max-height: 600px;
    overflow-y: auto;
}

.transaction-item {
    display: flex;
    align-items: flex-start;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 1.5rem;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    transition: all 0.3s ease;
    animation: slideInFromRight 0.5s ease-out;
}

@keyframes slideInFromRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

.transaction-item:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: rgba(0, 212, 255, 0.2);
}

.tx-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

.tx-status.accepted {
    background: #4ecdc4;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

.tx-status.real-data {
    background: #00d4ff;
    box-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
    animation: pulse-real 2s ease-in-out infinite;
}

.tx-status.simulated-data {
    background: #4ecdc4;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.5);
}

@keyframes pulse-real {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
        box-shadow: 0 0 10px rgba(0, 212, 255, 0.7);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
        box-shadow: 0 0 15px rgba(0, 212, 255, 0.9);
    }
}

.tx-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.3rem;
}

.tx-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 1rem;
}

.tx-label {
    color: #888;
    font-size: 0.85rem;
    min-width: 80px;
    font-weight: 500;
}

.tx-value {
    color: #ccc;
    font-family: 'Orbitron', monospace;
    font-size: 0.85rem;
    text-align: right;
    word-break: break-all;
    flex: 1;
}

.tx-value.amount {
    color: #00d4ff;
    font-weight: 600;
}

.tx-status-text {
    color: #4ecdc4;
    font-size: 0.8rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-top: 0.5rem;
    flex-shrink: 0;
}

/* Scrollbar styling for transactions */
.transactions-container::-webkit-scrollbar {
    width: 6px;
}

.transactions-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 3px;
}

.transactions-container::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.5);
    border-radius: 3px;
}

.transactions-container::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.7);
}

/* Community Section */
.community {
    padding: 6rem 0;
    background: rgba(15, 15, 35, 0.8);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-top: 3rem;
}

.social-link {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1rem;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
    min-width: 120px;
}

.social-link:hover {
    transform: translateY(-10px);
    border-color: rgba(0, 212, 255, 0.3);
    box-shadow: 0 20px 40px rgba(0, 212, 255, 0.1);
}

.social-icon {
    font-size: 2.5rem;
}

/* Contract Section */
.contract {
    padding: 6rem 0;
    background: rgba(26, 26, 62, 0.8);
}

.contract-box {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.05);
    padding: 2rem;
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    max-width: 800px;
    margin: 0 auto;
}

.contract-address {
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    color: #00d4ff;
    background: rgba(0, 212, 255, 0.1);
    padding: 1rem;
    border-radius: 10px;
    border: 1px solid rgba(0, 212, 255, 0.3);
    flex-grow: 1;
    text-align: center;
    word-break: break-all;
}

.copy-btn {
    background: linear-gradient(45deg, #00d4ff, #0099cc);
    color: white;
    border: none;
    padding: 1rem 1.5rem;
    border-radius: 10px;
    cursor: pointer;
    font-weight: 600;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    min-width: 120px;
    justify-content: center;
}

.copy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 212, 255, 0.3);
}

.copy-success {
    text-align: center;
    color: #4ecdc4;
    font-weight: 600;
    margin-top: 1rem;
    opacity: 0;
    transform: translateY(10px);
    transition: all 0.3s ease;
}

.copy-success.show {
    opacity: 1;
    transform: translateY(0);
}

/* Footer */
.footer {
    background: rgba(15, 15, 35, 0.95);
    padding: 3rem 0 1rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    text-align: center;
    margin-bottom: 2rem;
}

.footer-logo {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    margin-bottom: 1rem;
}

.footer-logo-img {
    width: 30px;
    height: 30px;
    border-radius: 50%;
    object-fit: cover;
    border: 2px solid #00d4ff;
}

.footer-logo-text {
    font-family: 'Orbitron', monospace;
    font-size: 1.2rem;
    font-weight: 900;
    color: #00d4ff;
}

.footer-text {
    color: #ccc;
    margin-bottom: 2rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-links a {
    color: #ccc;
    text-decoration: none;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #00d4ff;
}

.footer-bottom {
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    padding-top: 1rem;
    text-align: center;
}

.footer-bottom p {
    color: #888;
    font-size: 0.9rem;
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(15, 15, 35, 0.95);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        backdrop-filter: blur(10px);
        padding: 2rem 0;
    }

    .nav-menu.active {
        left: 0;
    }

    .hero-content {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 2rem;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .section-title {
        font-size: 2rem;
    }

    .stats-grid {
        grid-template-columns: 1fr;
        gap: 1rem;
    }
    
    .transactions-header {
        flex-direction: column;
        align-items: flex-start;
        gap: 1rem;
    }
    
    .tx-row {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.2rem;
    }
    
    .tx-label {
        min-width: auto;
    }
    
    .tx-value {
        text-align: left;
        font-size: 0.8rem;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 1rem;
    }

    .contract-box {
        flex-direction: column;
        gap: 1rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .btn {
        width: 100%;
        max-width: 250px;
    }

    .footer-links {
        flex-wrap: wrap;
        gap: 1rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }

    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.5rem;
    }
    
    .meme-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .meme-btn {
        padding: 0.6rem 1rem;
        font-size: 0.9rem;
    }
    
    .modal-content {
        max-width: 95vw;
        max-height: 95vh;
    }
    
    .modal-actions {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .modal-btn {
        width: 100%;
        justify-content: center;
    }

    .contract-address {
        font-size: 0.9rem;
    }

    .pie-chart {
        width: 250px;
        height: 250px;
    }
    
    /* Additional mobile improvements for gallery */
    .gallery-grid {
        grid-template-columns: 1fr !important;
        gap: 1rem !important;
    }
    
    .meme-image-container {
        height: 400px;
    }
    
    .meme-info {
        padding: 1rem;
    }
    
    .meme-info h3 {
        font-size: 1rem;
    }
    
    .toast {
        bottom: 1rem !important;
        right: 1rem !important;
        left: 1rem !important;
        right: auto !important;
        text-align: center;
        font-size: 0.9rem;
    }
}

/* Animations for scroll effects */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

/* Loading animation */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: #00d4ff;
    animation: spin 1s ease-in-out infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}