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

body {
    font-family: 'Arial', sans-serif;
    background: linear-gradient(135deg, #FFD700 0%, #FFA500 100%);
    min-height: 100vh;
    background-image: 
        repeating-linear-gradient(45deg, transparent, transparent 35px, rgba(255,255,255,.1) 35px, rgba(255,255,255,.1) 70px);
}

header {
    background: #fff;
    padding: 15px 20px;
    box-shadow: 0 2px 10px rgba(0,0,0,0.1);
}

.header-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    max-width: 1400px;
    margin: 0 auto;
}

.logo {
    background: #4CAF50;
    color: white;
    padding: 10px 20px;
    font-weight: bold;
    font-size: 18px;
    letter-spacing: 2px;
    border-radius: 4px;
}

.main-nav {
    display: flex;
    gap: 10px;
    flex: 1;
    justify-content: center;
}

.nav-btn {
    padding: 10px 15px;
    border: none;
    border-radius: 6px;
    font-weight: bold;
    cursor: pointer;
    font-size: 14px;
    transition: transform 0.2s;
}

.nav-btn:hover {
    transform: scale(1.05);
}

.nav-btn.games {
    background: #87CEEB;
    color: white;
}

.nav-btn.videos {
    background: #FF8C00;
    color: white;
}

.nav-btn.art {
    background: #FF69B4;
    color: white;
}

.nav-btn.muppets {
    background: #9370DB;
    color: white;
}

.nav-btn.favorites {
    background: #FF4444;
    color: white;
}

.header-right {
    display: flex;
    align-items: center;
    gap: 15px;
}

.sign-in, .grown-ups {
    color: #333;
    text-decoration: none;
    font-size: 14px;
    font-weight: 500;
}

.social-link-header {
    display: inline-block;
    background: #1DA1F2;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.2s;
}

.social-link-header:hover {
    background: #0d8bd9;
}

.menu-toggle {
    background: none;
    border: none;
    font-size: 24px;
    cursor: pointer;
}

main {
    max-width: 1400px;
    margin: 30px auto;
    padding: 0 20px;
}

.content-wrapper {
    display: flex;
    justify-content: center;
    margin-bottom: 40px;
}

/* Game Section */
.game-section {
    background: linear-gradient(to bottom, #E0F7E0 0%, #B8E6B8 100%);
    border-radius: 15px;
    padding: 30px;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    position: relative;
    overflow: hidden;
}

.game-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        radial-gradient(circle at 20% 30%, rgba(255,255,255,0.3) 2px, transparent 2px),
        radial-gradient(circle at 80% 70%, rgba(255,255,255,0.3) 2px, transparent 2px);
    background-size: 50px 50px;
    pointer-events: none;
}

.game-container {
    position: relative;
    z-index: 1;
}

.sound-button {
    width: 100px;
    height: 100px;
    background: #FF8C00;
    border-radius: 50%;
    margin: 0 auto 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0,0,0,0.3);
    transition: transform 0.2s;
}

.sound-button:hover {
    transform: scale(1.1);
}

.speaker-icon {
    font-size: 40px;
}

.animals-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
    margin-bottom: 20px;
}

.animal-tile {
    aspect-ratio: 1;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 3px 8px rgba(0,0,0,0.2);
    cursor: pointer;
    transition: transform 0.2s;
}

.animal-tile:hover {
    transform: scale(1.05);
}

.animal-img {
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
}

.animal-1 {
    background: linear-gradient(135deg, #87CEEB 0%, #4682B4 100%);
}

.animal-2 {
    background: linear-gradient(135deg, #FFB6C1 0%, #FF69B4 100%);
}

.animal-3 {
    background: linear-gradient(135deg, #9370DB 0%, #8A2BE2 100%);
}

.animal-4 {
    background: linear-gradient(135deg, #9370DB 0%, #8A2BE2 100%);
}

.animal-5 {
    background: linear-gradient(135deg, #FF8C00 0%, #FF6347 100%);
}

.animal-6 {
    background: linear-gradient(135deg, #20B2AA 0%, #008B8B 100%);
}

.game-footer {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
}

.game-title {
    font-weight: bold;
    font-size: 18px;
    color: #333;
}

.game-icon {
    font-size: 24px;
}

/* Thumbnails Section */
.thumbnails-section {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    max-width: 800px;
    width: 100%;
}

.thumbnail-item {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    cursor: pointer;
    transition: transform 0.2s;
    position: relative;
}

.thumbnail-item:hover {
    transform: translateY(-5px);
}

.thumbnail-item.circular {
    border-radius: 50%;
    aspect-ratio: 1;
}

.thumbnail-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
}

.thumbnail-item.circular .thumbnail-image {
    height: 100%;
    border-radius: 50%;
}

.thumbnail-1 {
    background-image: url('images/G6XoUUYXUAASxyM.jpeg');
}

.thumbnail-2 {
    background-image: url('images/G6Xl9s0XkAAibdW.png');
}

.thumbnail-3 {
    background-image: url('images/9M4UvDlQ_400x400.jpg');
}

.thumbnail-4 {
    background: linear-gradient(135deg, #4169E1 0%, #1E90FF 100%);
}

.thumbnail-title {
    padding: 15px;
    font-weight: bold;
    font-size: 16px;
    color: #333;
    text-align: center;
}

.thumbnail-icon {
    position: absolute;
    bottom: 10px;
    right: 10px;
    background: #87CEEB;
    width: 35px;
    height: 35px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 18px;
}

.play-icon {
    position: absolute;
    bottom: 15px;
    right: 15px;
    background: #FF8C00;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 16px;
}

/* Contract Section */
.contract-section {
    background: white;
    border-radius: 15px;
    padding: 30px;
    margin: 30px 0;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2);
    text-align: center;
}

.contract-container {
    max-width: 600px;
    margin: 0 auto;
}

.character-name {
    color: #4CAF50;
    margin-bottom: 15px;
    font-size: 32px;
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.contract-container h2 {
    color: #333;
    margin-bottom: 20px;
    font-size: 24px;
}

.contract-box {
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f5f5f5;
    padding: 15px 20px;
    border-radius: 10px;
    border: 2px solid #ddd;
}

.contract-label {
    font-weight: bold;
    color: #666;
    font-size: 18px;
}

.contract-address {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #fff;
    word-break: break-all;
    cursor: pointer;
    transition: all 0.3s;
    text-align: center;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    font-weight: bold;
    display: inline-block;
}

.contract-address:hover {
    background: linear-gradient(135deg, #45a049 0%, #4CAF50 100%);
    box-shadow: 0 6px 20px rgba(76, 175, 80, 0.6);
    transform: translateY(-2px);
}

.copy-btn {
    background: #4CAF50;
    border: none;
    padding: 8px 12px;
    border-radius: 6px;
    cursor: pointer;
    font-size: 18px;
    transition: background 0.2s;
}

.copy-btn:hover {
    background: #45a049;
}

.copy-message {
    font-family: 'Courier New', monospace;
    font-size: 16px;
    color: #fff;
    font-weight: bold;
    text-align: center;
    background: linear-gradient(135deg, #4CAF50 0%, #45a049 100%);
    padding: 12px 20px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(76, 175, 80, 0.4);
    display: none;
    transition: opacity 0.3s;
    margin: 0;
}

.copy-message.show {
    display: inline-block;
    opacity: 1;
}

/* Social Section */
.social-section {
    text-align: center;
    padding: 20px;
}

.social-link {
    display: inline-block;
    background: #1DA1F2;
    color: white;
    padding: 12px 30px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 16px;
    transition: background 0.2s;
}

.social-link:hover {
    background: #0d8bd9;
}

/* Responsive */
@media (max-width: 968px) {
    .content-wrapper {
        grid-template-columns: 1fr;
    }
    
    .main-nav {
        display: none;
    }
    
    .header-content {
        flex-wrap: wrap;
    }
}

