@import url('https://fonts.googleapis.com/css2?family=Comic+Neue:wght@400;700&display=swap');

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

body {
    font-family: 'Comic Neue', cursive;
    background: linear-gradient(45deg, #1a1a1a, #333);
    color: #ffeb3b;
    overflow-x: hidden;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Navigation */
nav {
    background: rgba(0,0,0,0.9);
    backdrop-filter: blur(10px);
    padding: 15px 0;
    position: fixed;
    width: 100%;
    top: 0;
    z-index: 1000;
    border-bottom: 3px solid #ffeb3b;
}

.nav-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-size: 2rem;
    font-weight: bold;
    color: #ffeb3b;
    text-shadow: 2px 2px 0 #2196f3;
}

.nav-links {
    display: flex;
    gap: 30px;
}

.nav-links a {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    cursor: pointer;
}

.nav-links a:hover {
    transform: rotate(5deg) scale(1.1);
    text-shadow: 0 0 10px #2196f3;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #333 0%, #1a1a1a 50%, #2196f3 100%);
    position: relative;
    overflow: hidden;
}

.hero-content h1 {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: bounce 2s infinite;
    text-shadow: 3px 3px 0 #2196f3;
}

.hero-content .tagline {
    font-size: 2rem;
    margin-bottom: 10px;
    color: #2196f3;
    font-weight: bold;
}

.hero-content .subtitle {
    font-size: 1.2rem;
    margin-bottom: 40px;
    opacity: 0.8;
}

.cta-button {
    background: linear-gradient(45deg, #ffeb3b, #ffc107);
    color: #333;
    border: none;
    padding: 20px 40px;
    font-size: 1.5rem;
    font-weight: bold;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(255,235,59,0.3);
    text-transform: uppercase;
    letter-spacing: 2px;
    margin: 10px;
}

.cta-button:hover {
    transform: scale(1.1) rotate(-2deg);
    box-shadow: 0 20px 60px rgba(255,235,59,0.5);
    animation: shake 0.5s ease-in-out;
}

/* User Dog Setup */
.user-setup {
    padding: 100px 0;
    background: linear-gradient(135deg, #2196f3, #1a1a1a);
    text-align: center;
}

.setup-card {
    background: linear-gradient(135deg, #333, #1a1a1a);
    padding: 40px;
    border-radius: 20px;
    max-width: 500px;
    margin: 0 auto;
    border: 3px solid #ffeb3b;
}

.setup-input {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #2196f3;
    border-radius: 10px;
    background: #1a1a1a;
    color: #ffeb3b;
    font-size: 1rem;
    font-family: 'Comic Neue', cursive;
}

.setup-input::placeholder {
    color: #666;
}

.setup-select {
    width: 100%;
    padding: 15px;
    margin: 10px 0;
    border: 2px solid #2196f3;
    border-radius: 10px;
    background: #1a1a1a;
    color: #ffeb3b;
    font-size: 1rem;
    font-family: 'Comic Neue', cursive;
}

.emoji-selector {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 10px;
    margin: 20px 0;
}

.emoji-btn {
    font-size: 2rem;
    padding: 10px;
    border: 2px solid #2196f3;
    background: #1a1a1a;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.emoji-btn:hover, .emoji-btn.selected {
    background: #2196f3;
    transform: scale(1.2);
}

/* Features Section */
.features {
    padding: 100px 0;
    background: #1a1a1a;
}

.section-title {
    text-align: center;
    font-size: 3rem;
    margin-bottom: 60px;
    color: #ffeb3b;
    text-shadow: 2px 2px 0 #2196f3;
}

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

.feature-card {
    background: linear-gradient(135deg, #333, #1a1a1a);
    padding: 40px;
    border-radius: 20px;
    text-align: center;
    border: 3px solid #2196f3;
    transition: all 0.3s ease;
    cursor: pointer;
}

.feature-card:hover {
    transform: rotate(-1deg) scale(1.05);
    box-shadow: 0 20px 50px rgba(33,150,243,0.3);
}

.feature-icon {
    font-size: 4rem;
    margin-bottom: 20px;
    animation: wobble 3s infinite;
}

.feature-card h3 {
    font-size: 1.8rem;
    margin-bottom: 15px;
    color: #2196f3;
}

.feature-card p {
    font-size: 1.1rem;
    line-height: 1.6;
}

/* Advanced Stats */
.advanced-stats {
    padding: 80px 0;
    background: linear-gradient(45deg, #333, #1a1a1a, #2196f3);
}

.stats-container {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.stat-card {
    background: rgba(255,235,59,0.1);
    padding: 30px;
    border-radius: 15px;
    border: 2px solid #ffeb3b;
    backdrop-filter: blur(10px);
    text-align: center;
}

.stat-number {
    font-size: 2.5rem;
    font-weight: bold;
    color: #2196f3;
    display: block;
    margin-bottom: 10px;
}

.stat-label {
    font-size: 1rem;
    color: #ffeb3b;
    text-transform: uppercase;
}

.stat-description {
    font-size: 0.9rem;
    color: #ccc;
    margin-top: 10px;
    font-style: italic;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.95);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.modal.active {
    display: flex;
    align-items: center;
    justify-content: center;
}

.modal-content {
    background: linear-gradient(135deg, #1a1a1a, #333);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    width: 90%;
    max-height: 80vh;
    overflow-y: auto;
    border: 3px solid #2196f3;
    position: relative;
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    background: none;
    border: none;
    font-size: 2rem;
    color: #ffeb3b;
    cursor: pointer;
}

/* Chat Styles */
.chat-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.9);
    z-index: 10000;
    backdrop-filter: blur(10px);
}

.chat-modal.active {
    display: flex;
    flex-direction: column;
}

.chat-header {
    background: linear-gradient(135deg, #1a1a1a, #333);
    padding: 20px;
    border-bottom: 3px solid #2196f3;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.chat-title {
    font-size: 1.8rem;
    color: #ffeb3b;
    text-shadow: 2px 2px 0 #2196f3;
}

.chat-container {
    flex: 1;
    display: flex;
    max-height: calc(100vh - 140px);
}

.chat-sidebar {
    width: 300px;
    background: #1a1a1a;
    border-right: 2px solid #2196f3;
    overflow-y: auto;
}

.match-item {
    padding: 15px;
    border-bottom: 1px solid #333;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 15px;
}

.match-item:hover {
    background: rgba(33,150,243,0.1);
}

.match-item.active {
    background: rgba(255,235,59,0.1);
    border-left: 4px solid #ffeb3b;
}

.match-avatar {
    width: 50px;
    height: 50px;
    background: linear-gradient(45deg, #2196f3, #ffeb3b);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.match-info {
    flex: 1;
}

.match-name {
    font-weight: bold;
    color: #ffeb3b;
    margin-bottom: 5px;
}

.match-preview {
    font-size: 0.8rem;
    color: #ccc;
    opacity: 0.7;
}

.chat-main {
    flex: 1;
    display: flex;
    flex-direction: column;
    background: #1a1a1a;
}

.chat-messages {
    flex: 1;
    padding: 20px;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.message {
    max-width: 70%;
    padding: 12px 18px;
    border-radius: 20px;
    position: relative;
    animation: messageSlideIn 0.3s ease-out;
}

.message.sent {
    align-self: flex-end;
    background: linear-gradient(45deg, #2196f3, #1976d2);
    color: white;
}

.message.received {
    align-self: flex-start;
    background: linear-gradient(45deg, #333, #555);
    color: #ffeb3b;
}

.message-time {
    font-size: 0.7rem;
    opacity: 0.7;
    margin-top: 5px;
}

.chat-input-container {
    padding: 20px;
    border-top: 2px solid #2196f3;
    background: #222;
}

.chat-input-group {
    display: flex;
    gap: 10px;
    align-items: center;
}

.chat-input {
    flex: 1;
    padding: 12px 18px;
    border: 2px solid #2196f3;
    border-radius: 25px;
    background: #1a1a1a;
    color: #ffeb3b;
    font-size: 1rem;
    outline: none;
}

.send-btn {
    background: linear-gradient(45deg, #4caf50, #388e3c);
    color: white;
    border: none;
    padding: 12px 20px;
    border-radius: 25px;
    cursor: pointer;
    font-weight: bold;
    transition: all 0.3s ease;
}

.woof-suggestions {
    display: flex;
    gap: 10px;
    margin-bottom: 10px;
    flex-wrap: wrap;
}

.woof-btn {
    background: rgba(255,235,59,0.1);
    color: #ffeb3b;
    border: 1px solid #ffeb3b;
    padding: 8px 15px;
    border-radius: 20px;
    cursor: pointer;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.woof-btn:hover {
    background: #ffeb3b;
    color: #1a1a1a;
    transform: scale(1.05);
}

/* Live Activity Feed */
.live-feed {
    padding: 80px 0;
    background: linear-gradient(135deg, #1a1a1a, #333);
}

.activity-feed {
    max-height: 400px;
    overflow-y: auto;
    background: rgba(0,0,0,0.3);
    border-radius: 15px;
    padding: 20px;
    border: 2px solid #2196f3;
}

.activity-item {
    display: flex;
    align-items: center;
    padding: 15px;
    margin-bottom: 10px;
    background: rgba(255,235,59,0.1);
    border-radius: 10px;
    border-left: 4px solid #ffeb3b;
    animation: slideInRight 0.5s ease-out;
}

.activity-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(45deg, #2196f3, #ffeb3b);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 15px;
    font-size: 1.5rem;
}

.activity-content {
    flex: 1;
}

.activity-user {
    font-weight: bold;
    color: #2196f3;
}

.activity-action {
    color: #ffeb3b;
    margin-left: 5px;
}

.activity-time {
    font-size: 0.8rem;
    opacity: 0.7;
    margin-top: 5px;
}

/* Footer */
footer {
    background: #000;
    padding: 50px 0;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 30px;
}

.footer-links a {
    color: #ffeb3b;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.footer-links a:hover {
    color: #2196f3;
    transform: scale(1.1);
}

.social-icons {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 30px 0;
}

.social-icon {
    font-size: 2rem;
    color: #ffeb3b;
    cursor: pointer;
    transition: all 0.3s ease;
}

.social-icon:hover {
    color: #2196f3;
    transform: rotate(360deg);
}
/* Animations */
@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-20px); }
    60% { transform: translateY(-10px); }
}

@keyframes wobble {
    0% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    50% { transform: rotate(0deg); }
    75% { transform: rotate(-5deg); }
    100% { transform: rotate(0deg); }
}

@keyframes shake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

@keyframes messageSlideIn {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

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

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

.user-dog-display {
    position: fixed;
    bottom: 20px;
    right: 20px;
    background: linear-gradient(45deg, #2196f3, #ffeb3b);
    padding: 15px;
    border-radius: 50px;
    color: #333;
    font-weight: bold;
    box-shadow: 0 10px 30px rgba(33,150,243,0.3);
    z-index: 1000;
    cursor: pointer;
    transition: all 0.3s ease;
}

.user-dog-display:hover {
    transform: scale(1.1);
}

/* Responsive */
@media (max-width: 768px) {
    .hero-content h1 { font-size: 2.5rem; }
    .hero-content .tagline { font-size: 1.5rem; }
    .section-title { font-size: 2rem; }
    .nav-links { display: none; }
    .chat-sidebar { width: 250px; }
    .emoji-selector { grid-template-columns: repeat(4, 1fr); }
}
.download {
    padding: 80px 0;
    background: linear-gradient(135deg, #ffeb3b, #ffc107);
    color: #333;
    text-align: center;
}

.download h2 {
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.app-badges {
    display: flex;
    justify-content: center;
    gap: 20px;
    margin: 40px 0;
}

.badge {
    background: #333;
    color: #ffeb3b;
    padding: 15px 30px;
    border-radius: 10px;
    font-weight: bold;
    text-decoration: none;
    transition: all 0.3s ease;
}

.badge:hover {
    transform: scale(1.1) rotate(2deg);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}

.qr-code {
    width: 150px;
    height: 150px;
    background: #333;
    margin: 30px auto;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.qr-code:hover {
    transform: rotate(5deg) scale(1.1);
}