/* Animated Tiles Background with Warm Cream Theme */
.tiles-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 1;
    overflow: hidden;
    background: linear-gradient(135deg, #ffffff 0%, #fefcf7 25%, #faf6ed 50%, #f5eed8 100%);
    opacity: 1;
    pointer-events: none;
}

.tiles-container {
    display: flex;
    justify-content: center;
    position: relative;
}

.tiles-row {
    display: flex;
    flex-direction: column;
    width: 48px;
    height: 100%;
    border-left: 1px solid #e8dcc6;
    position: relative;
}

.tiles-row:last-child {
    border-right: 1px solid #e8dcc6;
}

.tile {
    width: 48px;
    height: 48px;
    border-top: 1px solid #e8dcc6;
    position: relative;
    transition: background-color 0.3s ease;
    cursor: pointer;
}

.tile:hover {
    background-color: rgba(196, 150, 90, 0.15);
    transition: background-color 0.1s ease;
}

/* Responsive tile sizes with better visibility on mobile */
@media (max-width: 768px) {
    .tiles-row {
        width: 36px;
        border-left: 1px solid rgba(232, 220, 198, 0.8);
    }
    
    .tile {
        width: 36px;
        height: 36px;
        border-top: 1px solid rgba(232, 220, 198, 0.8);
    }
    
    .tiles-background { opacity: 1; z-index: 1; }
}

@media (max-width: 480px) {
    .tiles-row {
        width: 32px;
        border-left: 1px solid rgba(232, 220, 198, 0.9);
    }
    
    .tile {
        width: 32px;
        height: 32px;
        border-top: 1px solid rgba(232, 220, 198, 0.9);
    }
    
    .tiles-background { opacity: 1; z-index: 1; }
}

/* Subtle animation for tiles */
.tile::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(circle at center, rgba(196, 150, 90, 0.1) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tile:hover::before {
    opacity: 1;
}

/* Warm cream hero section override */
.hero-3d.cream-theme {
    background: linear-gradient(135deg, #ffffff 0%, #fefcf7 25%, #faf6ed 50%, #f5eed8 100%) !important;
    background-image: none !important;
    color: #2d1810 !important;
    position: relative;
    overflow: hidden;
}

.hero-3d.cream-theme .hero-3d-content {
    position: relative;
    z-index: 10;
}

.hero-3d.cream-theme .hero-badge {
    background: rgba(196, 150, 90, 0.1) !important;
    border: 1px solid rgba(196, 150, 90, 0.2) !important;
    color: #2d1810 !important;
    backdrop-filter: blur(10px);
}

.hero-3d.cream-theme .hero-title {
    color: #2d1810 !important;
    background: linear-gradient(135deg, #2d1810, #5d4a3a) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

.hero-3d.cream-theme .hero-subtitle {
    color: #c4965a !important;
}

.hero-3d.cream-theme .hero-description {
    color: #5d4a3a !important;
}

.hero-3d.cream-theme .hero-btn.primary {
    background: #c4965a !important;
    border: 1px solid #c4965a !important;
    color: #ffffff !important;
    box-shadow: 0 4px 14px rgba(196, 150, 90, 0.3);
}

.hero-3d.cream-theme .hero-btn.primary:hover {
    background: #d4a574 !important;
    box-shadow: 0 6px 20px rgba(196, 150, 90, 0.4);
    transform: translateY(-1px);
}

.hero-3d.cream-theme .hero-btn.secondary {
    background: rgba(196, 150, 90, 0.1) !important;
    border: 1px solid rgba(196, 150, 90, 0.3) !important;
    color: #2d1810 !important;
    backdrop-filter: blur(10px);
}

.hero-3d.cream-theme .hero-btn.secondary:hover {
    background: rgba(196, 150, 90, 0.2) !important;
    border-color: rgba(196, 150, 90, 0.5) !important;
    transform: translateY(-1px);
}

