/* Rotating Logo */
.logo-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 1000;
    width: 80px;
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.rotating-logo {
    width: 100%;
    height: 100%;
    object-fit: contain;
    animation: rotate 20s linear infinite;
    filter: drop-shadow(0 0 10px rgba(255, 215, 0, 0.5));
    transition: all 0.3s ease;
    margin-right: 20px;
}

.rotating-logo:hover {
    transform: scale(1.1);
    filter: drop-shadow(0 0 20px rgba(255, 215, 0, 0.8));
}

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    background: #1a1a2e;
    min-height: 100vh;
}

body {
    font-family: 'Press Start 2P', cursive;
    background: #1a1a2e;
    background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    background: -webkit-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    background: -moz-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    background: -o-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    min-height: 100vh;
    overflow-x: hidden;
    color: white;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}



.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
    text-align: center;
    position: relative;
    z-index: 1;
}

.hero {
    padding: 60px 0 0;
    position: relative;
}

.title {
    font-size: clamp(2rem, 8vw, 4rem);
    margin-bottom: 20px;
    background: linear-gradient(45deg, #ff6b6b, #4ecdc4, #45b7d1, #96ceb4, #feca57, #ff9ff3, #54a0ff);
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbow 3s ease-in-out infinite;
    text-shadow: 0 0 30px rgba(255, 255, 255, 0.5);
}

.subtitle {
    font-size: clamp(1rem, 4vw, 1.5rem);
    margin-bottom: 10px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.tagline {
    font-size: clamp(0.8rem, 2vw, 1rem);
    margin-bottom: 30px;
    color: #ff6b6b;
    font-style: italic;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.contract-section {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 255, 255, 0.15);
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.contract-label {
    font-size: 1rem;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.contract-address {
    font-size: 0.9rem;
    padding: 15px;
    background: rgba(0, 0, 0, 0.6);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
    position: relative;
    word-break: break-all;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.contract-address:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #ffd700;
    transform: scale(1.02);
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.3);
}

.copy-icon {
    margin-left: 10px;
    opacity: 0.7;
}

.copy-message {
    margin-top: 20px;
    color: #4ecdc4;
    font-size: 0.8rem;
    opacity: 0;
    visibility: hidden;
    display: none;
    transition: all 0.3s ease;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    transform: translateY(-10px);
}

.copy-message.show {
    opacity: 1;
    visibility: visible;
    display: block;
    transform: translateY(0);
}

.stats-section {
    margin: 0 0 40px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.update-timer {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 10px;
    background: rgba(0, 0, 0, 0.6);
    padding: 10px 20px;
    border-radius: 25px;
    border: 2px solid rgba(78, 205, 196, 0.3);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    margin-top: 20px;
    backdrop-filter: blur(10px);
}

.timer-label {
    font-size: 0.7rem;
    color: #4ecdc4;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.timer-countdown {
    font-size: 0.8rem;
    font-weight: bold;
    color: #ff6b6b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    animation: pulse 1s infinite alternate;
}

.stat-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px 20px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
    min-height: 120px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    transform: translateY(-10px) scale(1.05);
    border-color: #ffd700;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.5);
}

.stat-number {
    font-size: 1.5rem;
    font-weight: bold;
    color: #ffd700;
    margin-bottom: 10px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
    text-align: center;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
    line-height: 1.2;
}

.stat-label {
    font-size: 0.9rem;
    color: #ffffff;
    opacity: 0.95;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    text-align: center;
}

.features-section {
    margin: 60px 0;
}

.section-title {
    font-size: 2rem;
    margin-bottom: 40px;
    color: #ffd700;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.8);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 30px;
    border-radius: 20px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.feature-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.feature-card:hover::before {
    transform: translateX(100%);
}

.feature-card:hover {
    transform: translateY(-15px) rotateY(5deg);
    border-color: #ffd700;
    box-shadow: 0 25px 50px rgba(0, 0, 0, 0.5);
}

.feature-icon {
    font-size: 3rem;
    margin-bottom: 20px;
    display: block;
    animation: iconBreathing 3s ease-in-out infinite;
    transition: all 0.3s ease;
}

@keyframes iconBreathing {
    0%, 100% {
        transform: translateY(0) scale(1);
    }
    50% {
        transform: translateY(-8px) scale(1.1);
    }
}

.feature-card h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #ffd700;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.feature-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    opacity: 0.95;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.meme-section {
    margin: 60px 0;
}

.meme-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
    margin-top: 40px;
}

.meme-card {
    background: rgba(255, 255, 255, 0.15);
    padding: 25px;
    border-radius: 15px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    position: relative;
    min-height: 150px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

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

.meme-card h3 {
    font-size: 1.1rem;
    margin-bottom: 15px;
    color: #ff6b6b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.meme-card p {
    font-size: 0.8rem;
    line-height: 1.5;
    opacity: 0.95;
    font-style: italic;
    color: #ffffff;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.disclaimer {
    margin: 40px 0;
    padding: 20px;
    background: rgba(255, 107, 107, 0.2);
    border-radius: 15px;
    border: 2px solid rgba(255, 107, 107, 0.4);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.disclaimer p {
    font-size: 0.8rem;
    line-height: 1.6;
    color: #ff6b6b;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
    flex-wrap: wrap;
}

.social-link {
    display: inline-block;
    padding: 15px 25px;
    background: rgba(255, 255, 255, 0.15);
    color: white;
    text-decoration: none;
    border-radius: 25px;
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
    font-size: 0.9rem;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.8);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.3);
}

.social-link:hover {
    background: rgba(255, 255, 255, 0.25);
    transform: translateY(-5px) scale(1.05);
    border-color: #ffd700;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.5);
}

/* Floating particles */
.floating-particles {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.4);
    border-radius: 50%;
    animation: float 6s infinite linear;
}

/* Floating emojis */
.floating-emojis {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
}

.floating-emoji {
    position: absolute;
    font-size: 2rem;
    animation: floatEmoji 8s infinite linear;
    opacity: 0.5;
}

/* Animations */
@keyframes rainbow {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

@keyframes float {
    0% {
        transform: translateY(100vh) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 1;
    }
    90% {
        opacity: 1;
    }
    100% {
        transform: translateY(-100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes floatEmoji {
    0% {
        transform: translateY(100vh) translateX(0) rotate(0deg);
        opacity: 0;
    }
    10% {
        opacity: 0.5;
    }
    90% {
        opacity: 0.5;
    }
    100% {
        transform: translateY(-100px) translateX(100px) rotate(360deg);
        opacity: 0;
    }
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-10px);
    }
    60% {
        transform: translateY(-5px);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

/* CHILL DISCO MODE ANIMATIONS! 🌈✨ */
@keyframes chillDiscoBackground {
    0%, 100% { 
        background: linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    }
    33% { 
        background: linear-gradient(135deg, rgba(255, 107, 107, 0.1) 0%, rgba(78, 205, 196, 0.1) 50%, rgba(69, 183, 209, 0.1) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    }
    66% { 
        background: linear-gradient(135deg, rgba(150, 206, 180, 0.1) 0%, rgba(254, 202, 87, 0.1) 50%, rgba(255, 159, 243, 0.1) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    }
}

@keyframes chillRainbowText {
    0% { color: #ff6b6b; }
    25% { color: #4ecdc4; }
    50% { color: #45b7d1; }
    75% { color: #feca57; }
    100% { color: #ff6b6b; }
}

@keyframes chillDiscoLight {
    0% {
        transform: scale(0) rotate(0deg);
        opacity: 0;
    }
    50% {
        transform: scale(1.2) rotate(180deg);
        opacity: 0.6;
    }
    100% {
        transform: scale(0) rotate(360deg);
        opacity: 0;
    }
}

@keyframes chillImageDisco {
    0% { 
        filter: hue-rotate(0deg) brightness(1.1) contrast(1.1);
        transform: scale(1) rotate(0deg);
    }
    33% { 
        filter: hue-rotate(120deg) brightness(1.15) contrast(1.15);
        transform: scale(1.05) rotate(2deg);
    }
    66% { 
        filter: hue-rotate(240deg) brightness(1.1) contrast(1.1);
        transform: scale(1) rotate(0deg);
    }
    100% { 
        filter: hue-rotate(360deg) brightness(1.15) contrast(1.15);
        transform: scale(1.05) rotate(-2deg);
    }
}

@keyframes chillDiscoParticle {
    0% {
        transform: translateY(0) scale(0);
        opacity: 0;
    }
    20% {
        transform: translateY(-15px) scale(1);
        opacity: 1;
    }
    80% {
        transform: translateY(-80px) scale(1);
        opacity: 1;
    }
    100% {
        transform: translateY(-120px) scale(0);
        opacity: 0;
    }
}

@keyframes iconDiscoRotate {
    0% {
        transform: rotate(0deg) scale(1.1);
        filter: hue-rotate(0deg) brightness(1.2) contrast(1.2);
    }
    25% {
        transform: rotate(90deg) scale(1.2);
        filter: hue-rotate(90deg) brightness(1.3) contrast(1.3);
    }
    50% {
        transform: rotate(180deg) scale(1.1);
        filter: hue-rotate(180deg) brightness(1.2) contrast(1.2);
    }
    75% {
        transform: rotate(270deg) scale(1.2);
        filter: hue-rotate(270deg) brightness(1.3) contrast(1.3);
    }
    100% {
        transform: rotate(360deg) scale(1.1);
        filter: hue-rotate(360deg) brightness(1.2) contrast(1.2);
    }
}

/* Safari and iOS specific fixes */
@supports (-webkit-appearance: none) {
    body {
        background: #1a1a2e;
        background: -webkit-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    }
}

/* iOS Safari specific */
@media screen and (-webkit-min-device-pixel-ratio: 0) {
    body {
        background: #1a1a2e;
        background: -webkit-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
        background: -webkit-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
        -webkit-background-size: cover;
        background-size: cover;
        background-position: center;
        background-repeat: no-repeat;
    }
}

/* Additional iOS fixes */
@media only screen and (max-device-width: 1024px) and (-webkit-min-device-pixel-ratio: 2) {
    body {
        background: #1a1a2e;
        background: -webkit-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover;
    }
}

/* Force background on all iOS devices */
@media only screen and (max-device-width: 1024px) {
    html {
        background: #1a1a2e !important;
    }
    body {
        background: #1a1a2e !important;
        background: -webkit-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}

/* iPhone specific fix */
@media only screen and (max-device-width: 812px) {
    html {
        background: #1a1a2e !important;
    }
    body {
        background: #1a1a2e !important;
        background: -webkit-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}

/* Force dark background on all mobile devices */
@media (max-width: 768px) {
    html {
        background: #1a1a2e !important;
    }
    body {
        background: #1a1a2e !important;
        background: -webkit-linear-gradient(135deg, rgba(26, 26, 46, 0.9) 0%, rgba(22, 33, 62, 0.9) 50%, rgba(15, 52, 96, 0.9) 100%), url('https://i.imgur.com/QeRS6QM.png') center/cover !important;
        background-size: cover !important;
        background-position: center !important;
        background-repeat: no-repeat !important;
    }
}

/* Responsive design */
@media (max-width: 1200px) {
    .meme-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 25px;
    }
    
    .stat-number {
        font-size: 1.4rem;
    }
    
    .logo-container {
        width: 70px;
        height: 70px;
        bottom: 15px;
        right: 15px;
    }
}

@media (max-width: 768px) {
    .container {
        padding: 15px;
    }
    
    .hero {
        padding: 40px 0 0;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .meme-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .social-links {
        flex-direction: column;
        align-items: center;
    }
    
    .stat-number {
        font-size: 1.2rem;
    }
    
    .feature-card {
        padding: 20px;
    }
    
    .meme-card {
        min-height: 120px;
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.5rem;
    }
    
    .title {
        font-size: 2.5rem;
    }
    
    .subtitle {
        font-size: 1.2rem;
    }
    
    .tagline {
        font-size: 0.9rem;
    }
    
    .logo-container {
        width: 60px;
        height: 60px;
        bottom: 10px;
        right: 10px;
    }
}

@media (max-width: 480px) {
    .stats-grid {
        grid-template-columns: 1fr;
    }
    
    .title {
        font-size: 2rem;
    }
    
    .subtitle {
        font-size: 1rem;
    }
    
    .tagline {
        font-size: 0.8rem;
    }
    
    .contract-address {
        font-size: 0.7rem;
        padding: 10px;
    }
    
    .stat-number {
        font-size: 1.1rem;
    }
    
    .stat-label {
        font-size: 0.8rem;
    }
    
    .feature-card h3 {
        font-size: 1rem;
    }
    
    .feature-card p {
        font-size: 0.8rem;
    }
    
    .meme-card h3 {
        font-size: 1rem;
    }
    
    .meme-card p {
        font-size: 0.7rem;
    }
    
    .social-link {
        padding: 12px 20px;
        font-size: 0.8rem;
    }
    
    .disclaimer p {
        font-size: 0.7rem;
    }
    
    .logo-container {
        width: 50px;
        height: 50px;
        bottom: 8px;
        right: 8px;
    }
}

@media (max-width: 360px) {
    .container {
        padding: 10px;
    }
    
    .hero {
        padding: 30px 0 0;
    }
    
    .title {
        font-size: 1.8rem;
    }
    
    .subtitle {
        font-size: 0.9rem;
    }
    
    .tagline {
        font-size: 0.7rem;
    }
    
    .contract-section {
        padding: 15px;
    }
    
    .contract-label {
        font-size: 0.9rem;
    }
    
    .contract-address {
        font-size: 0.6rem;
        padding: 8px;
    }
    
    .stat-card {
        padding: 20px 15px;
    }
    
    .stat-number {
        font-size: 1rem;
    }
    
    .stat-label {
        font-size: 0.7rem;
    }
    
    .feature-card {
        padding: 15px;
    }
    
    .feature-icon {
        font-size: 2.5rem;
    }
    
    .feature-card h3 {
        font-size: 0.9rem;
    }
    
    .feature-card p {
        font-size: 0.7rem;
    }
    
    .meme-card {
        padding: 15px;
        min-height: 100px;
    }
    
    .meme-card h3 {
        font-size: 0.9rem;
    }
    
    .meme-card p {
        font-size: 0.6rem;
    }
    
    .section-title {
        font-size: 1.3rem;
    }
    
    .social-link {
        padding: 10px 15px;
        font-size: 0.7rem;
    }
    
    .disclaimer {
        padding: 15px;
    }
    
    .disclaimer p {
        font-size: 0.6rem;
    }
    
    .logo-container {
        width: 40px;
        height: 40px;
        bottom: 5px;
        right: 5px;
    }
} 