/* Global Styles */
body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #87CEEB 0%, #E6E6FA 50%, #DDA0DD 100%);
    margin: 0;
    min-height: 100vh;
    overflow-x: hidden;
}

.app-container {
    min-height: 100vh;
}

/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Navigation Header */
.nav-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 0 0 25px 25px;
    margin: 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: linear-gradient(45deg, #9370DB, #8A2BE2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(147, 112, 219, 0.1);
    color: #9370DB;
}

.nav-link.active {
    background: #9370DB;
    color: white;
}

.nav-link.signin-btn {
    background: linear-gradient(45deg, #9370DB, #8A2BE2);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(147, 112, 219, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.nav-link.signin-btn:hover {
    background: linear-gradient(45deg, #8A2BE2, #9370DB);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.4);
}

/* Common Header Styles */
.header {
    background: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    display: flex;
    align-items: center;
    gap: 15px;
}

.logo img {
    width: 60px;
    height: 60px;
    object-fit: cover;
}

.logo h1 {
    margin: 0;
    color: #6A5ACD;
    font-size: 1.5rem;
}

.nav-links {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: #6A5ACD;
    text-decoration: none;
    padding: 0.5rem 1rem;
    border-radius: 5px;
    transition: background 0.3s;
}

.nav-link:hover {
    background: #f0f0f0;
}

.logout-btn {
    padding: 0.5rem 1rem;
    background: linear-gradient(90deg, #FF9AA2, #C7CEEA);
    color: white;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    text-decoration: none;
}

.logout-btn:hover {
    opacity: 0.9;
}

/* Login/Register Page Styles */
.login-body {
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 20px 0;
}

.auth-container {
    background: white;
    padding: 2rem;
    padding-top: 4rem;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
    width: 100%;
    max-width: 400px;
    position: relative;
    margin: 80px auto;
}

.pet-image-container {
    text-align: center;
    position: absolute;
    top: -60px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 10;
}

.pet-image {
    width: 120px;
    height: 120px;
    box-shadow: 0 4px 15px rgba(255, 154, 162, 0.3);
    object-fit: cover;
    animation: float 3s ease-in-out infinite;
}

@keyframes float {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-10px); }
}

.site-title {
    margin-top: 0.5rem;
    font-size: 1.2rem;
    font-weight: bold;
    color: #333;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.1);
}

.auth-tabs {
    display: flex;
    margin-bottom: 2rem;
    margin-top: 3rem;
}

.tab-button {
    flex: 1;
    padding: 1rem;
    background: #f8f9fa;
    border: none;
    cursor: pointer;
    border-bottom: 3px solid transparent;
    transition: all 0.3s;
}

.tab-button.active {
    background: linear-gradient(90deg, #FF9AA2, #C7CEEA);
    color: white;
    border-bottom-color: #FFB7B2;
}

.auth-form {
    display: none;
}

.auth-form.active {
    display: block;
}

#registerForm {
    margin-top: 6rem;
}

/* Form Styles */
.form-group {
    margin-bottom: 1rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: bold;
    color: #333;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.75rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
    box-sizing: border-box;
    font-family: inherit;
}

.form-group textarea {
    resize: vertical;
    min-height: 100px;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: #FF9AA2;
    box-shadow: 0 0 5px rgba(255, 154, 162, 0.3);
}

.form-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.checkbox-group {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.checkbox-group input[type="checkbox"] {
    width: auto;
    margin-right: 0.5rem;
}

.submit-btn {
    width: 100%;
    padding: 1rem;
    background: linear-gradient(90deg, #FF9AA2, #C7CEEA);
    color: white;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    transition: background 0.3s;
}

.submit-btn:hover {
    background: linear-gradient(90deg, #FFB7B2, #E2F0CB);
}

.submit-btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

/* Message Styles */
.message {
    margin-top: 1rem;
    padding: 0.75rem;
    border-radius: 5px;
    text-align: center;
    display: none;
}

.message.success {
    background: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
}

.message.error {
    background: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
}

/* Loading Spinner */
.loading {
    display: none;
    text-align: center;
    margin-top: 1rem;
}

.spinner {
    border: 4px solid #f3f3f3;
    border-top: 4px solid #FF9AA2;
    border-radius: 50%;
    width: 30px;
    height: 30px;
    animation: spin 1s linear infinite;
    margin: 0 auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Portal Page Styles */
.portal-body {
    padding: 20px;
}

.user-info {
    display: flex;
    align-items: center;
    gap: 15px;
}

.user-name {
    font-weight: bold;
    color: #333;
}

.portal-container {
    max-width: 1200px;
    margin: 0 auto;
}

.welcome-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.welcome-section h2 {
    color: #6A5ACD;
    margin-bottom: 10px;
}

.pet-display {
    margin: 20px 0;
}

.pet-display img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(255, 154, 162, 0.3);
}

.portal-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 20px;
    margin-top: 30px;
}

.portal-card {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s ease;
}

.portal-card:hover {
    transform: translateY(-5px);
}

.portal-card h3 {
    color: #6A5ACD;
    margin-bottom: 15px;
}

.portal-card p {
    color: #666;
    margin-bottom: 20px;
}

.card-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    background: linear-gradient(90deg, #FF9AA2, #C7CEEA);
    color: white;
    text-decoration: none;
    border-radius: 5px;
    transition: opacity 0.3s ease;
}

.card-btn:hover {
    opacity: 0.9;
}

.stats-section {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.stat-item {
    text-align: center;
    padding: 1rem;
    background: #f8f9fa;
    border-radius: 8px;
}

.stat-number {
    font-size: 2rem;
    font-weight: bold;
    color: #FF9AA2;
}

.stat-label {
    color: #666;
    margin-top: 5px;
}

/* Profile Page Styles */
.profile-container {
    max-width: 800px;
    margin: 0 auto;
}

.profile-header {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 30px;
    text-align: center;
}

.profile-avatar {
    width: 120px;
    height: 120px;
    border-radius: 50%;
    border: 4px solid #FF9AA2;
    margin: 0 auto 20px;
    object-fit: cover;
    box-shadow: 0 4px 15px rgba(255, 154, 162, 0.3);
}

.profile-header h2 {
    color: #6A5ACD;
    margin-bottom: 10px;
}

.member-since {
    color: #666;
    font-size: 0.9rem;
}

.profile-form {
    background: white;
    padding: 2rem;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.1);
    margin-bottom: 20px;
}

.form-section {
    margin-bottom: 2rem;
}

.form-section h3 {
    color: #6A5ACD;
    margin-bottom: 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid #f0f0f0;
}

.form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 20px;
    margin-bottom: 1rem;
}

.form-group.full-width {
    grid-column: 1 / -1;
}

.form-actions {
    display: flex;
    gap: 15px;
    justify-content: flex-end;
    margin-top: 2rem;
    padding-top: 2rem;
    border-top: 2px solid #f0f0f0;
}

.btn {
    padding: 0.75rem 1.5rem;
    border: none;
    border-radius: 5px;
    font-size: 1rem;
    cursor: pointer;
    text-decoration: none;
    display: inline-block;
    text-align: center;
    transition: opacity 0.3s;
}

.btn-primary {
    background: linear-gradient(90deg, #FF9AA2, #C7CEEA);
    color: white;
}

.btn-secondary {
    background: #6c757d;
    color: white;
}

.btn:hover {
    opacity: 0.9;
}

.btn:disabled {
    background: #ccc;
    cursor: not-allowed;
}

.required {
    color: #dc3545;
}

/* Responsive Design */
@media (max-width: 600px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .form-actions {
        flex-direction: column;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 10px;
    }
    
    .header {
        flex-direction: column;
        text-align: center;
    }
    
    .portal-grid {
        grid-template-columns: 1fr;
    }
}
/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: linear-gradient(135deg, #87CEEB 0%, #E6E6FA 50%, #DDA0DD 100%);
    min-height: 100vh;
    overflow-x: hidden;
}

.app-container {
    min-height: 100vh;
}

/* Navigation Header */
.nav-header {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(20px);
    border-radius: 0 0 25px 25px;
    margin: 0 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.main-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 15px 30px;
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 10px;
}

.brand-icon {
    width: 40px;
    height: 40px;
    object-fit: contain;
    background: linear-gradient(45deg, #9370DB, #8A2BE2);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
}

.brand-text {
    font-size: 18px;
    font-weight: 600;
    color: #333;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 30px;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    color: #666;
    font-weight: 500;
    padding: 8px 16px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

.nav-link:hover {
    background: rgba(147, 112, 219, 0.1);
    color: #9370DB;
}

.nav-link.active {
    background: #9370DB;
    color: white;
}

.nav-link.signin-btn {
    background: linear-gradient(45deg, #9370DB, #8A2BE2);
    color: white;
    font-weight: 600;
    padding: 10px 20px;
    border-radius: 25px;
    box-shadow: 0 2px 10px rgba(147, 112, 219, 0.3);
    transform: translateY(0);
    transition: all 0.3s ease;
}

.nav-link.signin-btn:hover {
    background: linear-gradient(45deg, #8A2BE2, #9370DB);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.4);
}

/* Main Content */
.main-content {
    padding: 40px 20px 0;
}

/* Hero Pet Section */
.hero-pet-section {
    height: 400px;
    position: relative;
    margin-bottom: 40px;
}

.sky-background {
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, #87CEEB 0%, #E6E6FA 70%, #DDA0DD 100%);
    border-radius: 25px;
    position: relative;
    overflow: hidden;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.sparkles {
    position: absolute;
    width: 100%;
    height: 100%;
    z-index: 2;
}

.sparkle {
    position: absolute;
    font-size: 20px;
    animation: sparkle 3s ease-in-out infinite;
}

.sparkle:nth-child(1) {
    top: 20%;
    left: 15%;
    animation-delay: 0s;
}

.sparkle:nth-child(2) {
    top: 30%;
    right: 20%;
    animation-delay: 1s;
}

.sparkle:nth-child(3) {
    bottom: 40%;
    left: 25%;
    animation-delay: 2s;
}

.sparkle:nth-child(4) {
    bottom: 25%;
    right: 15%;
    animation-delay: 1.5s;
}

@keyframes sparkle {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

.hero-pet-container {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 3;
}

.main-cloud {
    width: 200px;
    height: 120px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border-radius: 60px;
    position: relative;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    animation: float 4s ease-in-out infinite;
}

.main-cloud::before,
.main-cloud::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border-radius: 50%;
}

.main-cloud::before {
    width: 80px;
    height: 80px;
    top: -40px;
    left: 20px;
}

.main-cloud::after {
    width: 100px;
    height: 100px;
    top: -50px;
    right: 20px;
}

.featured-pet {
    position: absolute;
    top: -80px;
    left: 50%;
    transform: translateX(-50%);
    z-index: 4;
}

.hero-pet-image {
    width: 150px;
    height: auto;
    filter: drop-shadow(0 5px 15px rgba(0, 0, 0, 0.3));
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

/* Collection Section */
.collection-section {
    padding: 0 20px;
}

.collection-container {
    max-width: 1200px;
    margin: 0 auto;
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 40px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 24px;
    font-weight: 600;
    color: #333;
    margin-bottom: 30px;
}

/* Pet Collection Grid */
.pets-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}

.pet-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    transition: transform 0.3s ease;
}

.pet-card:hover {
    transform: translateY(-5px);
}

.pet-cloud {
    width: 80px;
    height: 50px;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border-radius: 40px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
}

.pet-cloud::before,
.pet-cloud::after {
    content: '';
    position: absolute;
    background: linear-gradient(135deg, #ffffff 0%, #f0f8ff 100%);
    border-radius: 50%;
}

.pet-cloud::before {
    width: 30px;
    height: 30px;
    top: -15px;
    left: 15px;
}

.pet-cloud::after {
    width: 35px;
    height: 35px;
    top: -17px;
    right: 15px;
}

.pet-avatar {
    font-size: 24px;
    z-index: 2;
    position: relative;
}

.pet-avatar-simple {
    width: 60px;
    height: 60px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-radius: 15px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.pet-avatar-simple:hover {
    transform: scale(1.1);
}

.breed-badge {
    background: linear-gradient(45deg, #9370DB, #8A2BE2);
    color: white;
    padding: 4px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 4px;
}

/* New Arrivals Panel */
.arrivals-panel {
    background: linear-gradient(135deg, #f8f9ff 0%, #e8f0fe 100%);
    border-radius: 20px;
    padding: 30px;
    border: 2px solid rgba(147, 112, 219, 0.2);
}

.arrivals-grid {
    display: flex;
    flex-direction: column;
    gap: 20px;
    align-items: center;
}

.arrival-group {
    display: flex;
    gap: 15px;
}

.arrival-pet {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 24px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
    transition: transform 0.3s ease;
    cursor: pointer;
}

.arrival-pet:hover {
    transform: scale(1.1);
}

.sparkle-divider {
    font-size: 20px;
    color: #9370DB;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% {
        opacity: 0.5;
        transform: scale(1);
    }
    50% {
        opacity: 1;
        transform: scale(1.2);
    }
}

/* Pet Modal Styles */
.pet-modal {
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(5px);
}

.pet-modal-content {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    margin: 5% auto;
    padding: 0;
    border-radius: 20px;
    width: 90%;
    max-width: 500px;
    position: relative;
    animation: modalSlideIn 0.3s ease-out;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.3);
}

@keyframes modalSlideIn {
    from {
        opacity: 0;
        transform: translateY(-50px) scale(0.9);
    }
    to {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 20px;
    font-size: 28px;
    font-weight: bold;
    color: #999;
    cursor: pointer;
    z-index: 10;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.8);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.close-modal:hover {
    color: #333;
    background: rgba(255, 255, 255, 1);
    transform: scale(1.1);
}

.pet-detail-card {
    padding: 30px;
    text-align: center;
}

.pet-detail-image {
    width: 200px;
    height: 200px;
    object-fit: cover;
    border-radius: 20px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.pet-detail-placeholder {
    width: 200px;
    height: 200px;
    border-radius: 20px;
    margin: 0 auto 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 100px;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.pet-detail-card h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 2rem;
}

.pet-detail-info {
    text-align: left;
    background: rgba(255, 255, 255, 0.5);
    border-radius: 15px;
    padding: 20px;
    margin: 20px 0;
}

.pet-detail-info p {
    margin-bottom: 10px;
    color: #555;
    font-size: 1.1rem;
}

.pet-detail-badges {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 20px;
}

.badge {
    display: inline-block;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    text-transform: uppercase;
}

.badge-featured {
    background: linear-gradient(45deg, #9370DB, #8A2BE2);
    color: white;
}

.badge-new {
    background: linear-gradient(45deg, #ff6b6b, #ff5252);
    color: white;
}

/* Pet placeholder styles */
.pet-placeholder {
    opacity: 0.6;
    cursor: default;
}

.pet-placeholder:hover {
    transform: none !important;
}

/* Enhanced hover effects for clickable pets */
.pet-card[data-pet-id] {
    cursor: pointer;
    transition: all 0.3s ease;
}

.pet-card[data-pet-id]:hover {
    transform: translateY(-8px) scale(1.02);
}

.arrival-pet[data-pet-id] {
    cursor: pointer;
    transition: all 0.3s ease;
}

.arrival-pet[data-pet-id]:hover {
    transform: scale(1.2) rotate(10deg);
}

/* Hero CTA Styles */
.hero-cta {
    text-align: center;
    margin-top: 30px;
    z-index: 10;
    position: relative;
}

.join-tribe-btn {
    background: linear-gradient(45deg, #9370DB, #8A2BE2);
    color: white;
    font-weight: 600;
    padding: 15px 30px;
    border-radius: 25px;
    text-decoration: none;
    display: inline-block;
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.4);
    transform: translateY(0);
    transition: all 0.3s ease;
    font-size: 16px;
}

.join-tribe-btn:hover {
    background: linear-gradient(45deg, #8A2BE2, #9370DB);
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(147, 112, 219, 0.5);
}

/* Thank You Page Styles */
.thankyou-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 20px;
    min-height: 80vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.thankyou-card {
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    border-radius: 25px;
    padding: 50px;
    text-align: center;
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.1);
    position: relative;
    overflow: hidden;
}

/* Success Animation */
.success-animation {
    position: relative;
    margin-bottom: 30px;
}

.checkmark-circle {
    width: 100px;
    height: 100px;
    background: linear-gradient(45deg, #4CAF50, #45a049);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    animation: scaleIn 0.6s ease-out;
    box-shadow: 0 8px 25px rgba(76, 175, 80, 0.3);
}

.checkmark {
    color: white;
    font-size: 40px;
    font-weight: bold;
    animation: checkmarkPop 0.4s ease-out 0.6s both;
}

.sparkles-animation {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
}

.sparkles-animation .sparkle {
    position: absolute;
    font-size: 20px;
    animation: sparkleFloat 2s ease-in-out infinite;
}

.sparkles-animation .sparkle:nth-child(1) {
    top: 20%;
    left: 20%;
    animation-delay: 0s;
}

.sparkles-animation .sparkle:nth-child(2) {
    top: 30%;
    right: 15%;
    animation-delay: 0.4s;
}

.sparkles-animation .sparkle:nth-child(3) {
    bottom: 30%;
    left: 15%;
    animation-delay: 0.8s;
}

.sparkles-animation .sparkle:nth-child(4) {
    bottom: 20%;
    right: 20%;
    animation-delay: 1.2s;
}

.sparkles-animation .sparkle:nth-child(5) {
    top: 50%;
    left: 50%;
    animation-delay: 1.6s;
}

/* Thank You Content */
.thankyou-content h1 {
    color: #333;
    font-size: 2.5rem;
    margin-bottom: 20px;
    font-weight: 600;
}

.thankyou-message {
    color: #666;
    font-size: 1.2rem;
    line-height: 1.6;
    margin-bottom: 40px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

/* Next Steps Section */
.next-steps {
    margin: 40px 0;
}

.next-steps h2 {
    color: #9370DB;
    font-size: 1.8rem;
    margin-bottom: 25px;
    font-weight: 600;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
    margin-bottom: 40px;
}

.step-card {
    background: rgba(147, 112, 219, 0.1);
    border-radius: 15px;
    padding: 25px 20px;
    transition: transform 0.3s ease;
}

.step-card:hover {
    transform: translateY(-5px);
}

.step-icon {
    font-size: 2rem;
    margin-bottom: 15px;
}

.step-card h3 {
    color: #333;
    font-size: 1.1rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.step-card p {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

/* Action Buttons */
.action-buttons {
    display: flex;
    gap: 20px;
    justify-content: center;
    margin: 30px 0;
    flex-wrap: wrap;
}

.btn-primary, .btn-secondary {
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
    display: inline-block;
}

.btn-primary {
    background: linear-gradient(45deg, #9370DB, #8A2BE2);
    color: white;
    box-shadow: 0 4px 15px rgba(147, 112, 219, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(45deg, #8A2BE2, #9370DB);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(147, 112, 219, 0.5);
}

.btn-secondary {
    background: rgba(147, 112, 219, 0.1);
    color: #9370DB;
    border: 2px solid rgba(147, 112, 219, 0.3);
}

.btn-secondary:hover {
    background: rgba(147, 112, 219, 0.2);
    border-color: #9370DB;
}

/* Notice Box */
.notice-box {
    background: rgba(255, 193, 7, 0.1);
    border: 2px solid rgba(255, 193, 7, 0.3);
    border-radius: 15px;
    padding: 20px;
    margin-top: 30px;
}

.notice-box h3 {
    color: #e67e22;
    font-size: 1.2rem;
    margin-bottom: 10px;
    font-weight: 600;
}

.notice-box p {
    color: #666;
    margin: 0;
    line-height: 1.5;
}

/* Animations */
@keyframes scaleIn {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes checkmarkPop {
    0% {
        transform: scale(0);
        opacity: 0;
    }
    50% {
        transform: scale(1.2);
    }
    100% {
        transform: scale(1);
        opacity: 1;
    }
}

@keyframes sparkleFloat {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
        opacity: 0.7;
    }
    50% {
        transform: translateY(-20px) rotate(180deg);
        opacity: 1;
    }
}

/* Responsive Design */
@media (max-width: 1024px) {
    .collection-container {
        grid-template-columns: 1fr;
        gap: 30px;
    }
    
    .pets-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 768px) {
    .main-nav {
        flex-direction: column;
        gap: 20px;
        padding: 20px;
    }
    
    .nav-links {
        gap: 15px;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .pets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .hero-pet-image {
        width: 120px;
    }
    
    .main-cloud {
        width: 160px;
        height: 100px;
    }
    
    .collection-container {
        padding: 20px;
        margin: 0 10px;
    }
}

@media (max-width: 480px) {
    .pets-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .nav-links {
        font-size: 14px;
    }
    
    .hero-pet-section {
        height: 300px;
    }
}

@media (max-width: 768px) {
    .thankyou-card {
        padding: 30px 20px;
        margin: 10px;
    }
    
    .thankyou-content h1 {
        font-size: 2rem;
    }
    
    .thankyou-message {
        font-size: 1.1rem;
    }
    
    .steps-grid {
        grid-template-columns: 1fr;
    }
    
    .action-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .btn-primary, .btn-secondary {
        width: 200px;
        text-align: center;
    }
}
